Changeset View
Changeset View
Standalone View
Standalone View
plugins/classbrowser/classbrowserplugin.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | public: | 42 | public: | ||
43 | explicit ClassBrowserPlugin(QObject *parent, const QVariantList & = QVariantList() ); | 43 | explicit ClassBrowserPlugin(QObject *parent, const QVariantList & = QVariantList() ); | ||
44 | ~ClassBrowserPlugin() override; | 44 | ~ClassBrowserPlugin() override; | ||
45 | 45 | | |||
46 | void setActiveClassTree(ClassTree* a_classTree) { m_activeClassTree = a_classTree; } | 46 | void setActiveClassTree(ClassTree* a_classTree) { m_activeClassTree = a_classTree; } | ||
47 | 47 | | |||
48 | public: // KDevelop::Plugin overrides | 48 | public: // KDevelop::Plugin overrides | ||
49 | void unload() override; | 49 | void unload() override; | ||
50 | KDevelop::ContextMenuExtension contextMenuExtension( KDevelop::Context* ) override; | 50 | KDevelop::ContextMenuExtension contextMenuExtension(KDevelop::Context* context, QWidget* parent) override; | ||
51 | 51 | | |||
52 | // The duchain must not be locked when this is called! | 52 | // The duchain must not be locked when this is called! | ||
53 | void showDefinition(KDevelop::DeclarationPointer declaration); | 53 | void showDefinition(KDevelop::DeclarationPointer declaration); | ||
54 | private Q_SLOTS: | 54 | private Q_SLOTS: | ||
55 | void findInClassBrowser(); | 55 | void findInClassBrowser(); | ||
56 | 56 | | |||
57 | private: | 57 | private: | ||
58 | class ClassBrowserFactory* m_factory; | 58 | class ClassBrowserFactory* m_factory; | ||
59 | ClassTree* m_activeClassTree; | 59 | ClassTree* m_activeClassTree; | ||
60 | QAction* m_findInBrowser; | 60 | QAction* m_findInBrowser; | ||
61 | }; | 61 | }; | ||
62 | 62 | | |||
63 | #endif // KDEVPLATFORM_PLUGIN_CLASSBROWSERPLUGIN_H | 63 | #endif // KDEVPLATFORM_PLUGIN_CLASSBROWSERPLUGIN_H | ||
64 | 64 | | |||
65 | // kate: space-indent on; indent-width 2; tab-width 4; replace-tabs on; auto-insert-doxygen on | 65 | // kate: space-indent on; indent-width 2; tab-width 4; replace-tabs on; auto-insert-doxygen on |