Changeset View
Changeset View
Standalone View
Standalone View
plugins/externalscript/externalscriptplugin.h
Show All 37 Lines | 37 | { | |||
---|---|---|---|---|---|
38 | Q_OBJECT | 38 | Q_OBJECT | ||
39 | Q_CLASSINFO( "D-Bus Interface", "org.kdevelop.ExternalScriptPlugin" ) | 39 | Q_CLASSINFO( "D-Bus Interface", "org.kdevelop.ExternalScriptPlugin" ) | ||
40 | 40 | | |||
41 | public: | 41 | public: | ||
42 | explicit ExternalScriptPlugin( QObject *parent, const QVariantList &args = QVariantList() ); | 42 | explicit ExternalScriptPlugin( QObject *parent, const QVariantList &args = QVariantList() ); | ||
43 | 43 | | |||
44 | ~ExternalScriptPlugin() override; | 44 | ~ExternalScriptPlugin() override; | ||
45 | void unload() override; | 45 | void unload() override; | ||
46 | KDevelop::ContextMenuExtension contextMenuExtension(KDevelop::Context* context) override; | 46 | KDevelop::ContextMenuExtension contextMenuExtension(KDevelop::Context* context, QWidget* parent) override; | ||
47 | 47 | | |||
48 | static ExternalScriptPlugin* self(); | 48 | static ExternalScriptPlugin* self(); | ||
49 | 49 | | |||
50 | /** | 50 | /** | ||
51 | * @return The model storing all external scripts managed by this plugin. | 51 | * @return The model storing all external scripts managed by this plugin. | ||
52 | * @NOTE: always append() items, never insert in the middle! | 52 | * @NOTE: always append() items, never insert in the middle! | ||
53 | */ | 53 | */ | ||
54 | QStandardItemModel* model() const; | 54 | QStandardItemModel* model() const; | ||
▲ Show 20 Lines • Show All 50 Lines • Show Last 20 Lines |