Changeset View
Changeset View
Standalone View
Standalone View
plugins/codeutils/codeutilsplugin.h
Show All 18 Lines | |||||
19 | */ | 19 | */ | ||
20 | #ifndef KDEVPLATFORM_PLUGIN_CODEUTILSPLUGIN_H | 20 | #ifndef KDEVPLATFORM_PLUGIN_CODEUTILSPLUGIN_H | ||
21 | #define KDEVPLATFORM_PLUGIN_CODEUTILSPLUGIN_H | 21 | #define KDEVPLATFORM_PLUGIN_CODEUTILSPLUGIN_H | ||
22 | 22 | | |||
23 | #include <interfaces/iplugin.h> | 23 | #include <interfaces/iplugin.h> | ||
24 | #include <interfaces/contextmenuextension.h> | 24 | #include <interfaces/contextmenuextension.h> | ||
25 | 25 | | |||
26 | #include <QVariant> | 26 | #include <QVariant> | ||
27 | #include <QLoggingCategory> | | |||
28 | Q_DECLARE_LOGGING_CATEGORY(PLUGIN_CODEUTILS) | | |||
29 | 27 | | |||
30 | class CodeUtilsPlugin : public KDevelop::IPlugin | 28 | class CodeUtilsPlugin : public KDevelop::IPlugin | ||
31 | { | 29 | { | ||
32 | Q_OBJECT | 30 | Q_OBJECT | ||
33 | 31 | | |||
34 | public: | 32 | public: | ||
35 | explicit CodeUtilsPlugin( QObject *parent, const QVariantList & = QVariantList() ); | 33 | explicit CodeUtilsPlugin( QObject *parent, const QVariantList & = QVariantList() ); | ||
36 | ~CodeUtilsPlugin() override; | 34 | ~CodeUtilsPlugin() override; | ||
37 | 35 | | |||
38 | private Q_SLOTS: | 36 | private Q_SLOTS: | ||
39 | void documentDeclaration(); | 37 | void documentDeclaration(); | ||
40 | }; | 38 | }; | ||
41 | 39 | | |||
42 | 40 | | |||
43 | #endif // KDEVPLATFORM_PLUGIN_CODEUTILSPLUGIN_H | 41 | #endif // KDEVPLATFORM_PLUGIN_CODEUTILSPLUGIN_H |