Changeset View
Changeset View
Standalone View
Standalone View
plugins/grepview/grepviewplugin.h
Show All 31 Lines | |||||
32 | 32 | | |||
33 | public: | 33 | public: | ||
34 | explicit GrepViewPlugin( QObject *parent, const QVariantList & = QVariantList() ); | 34 | explicit GrepViewPlugin( QObject *parent, const QVariantList & = QVariantList() ); | ||
35 | ~GrepViewPlugin() override; | 35 | ~GrepViewPlugin() override; | ||
36 | 36 | | |||
37 | void unload() override; | 37 | void unload() override; | ||
38 | 38 | | |||
39 | void rememberSearchDirectory(QString const & directory); | 39 | void rememberSearchDirectory(QString const & directory); | ||
40 | KDevelop::ContextMenuExtension contextMenuExtension(KDevelop::Context* context) override; | 40 | KDevelop::ContextMenuExtension contextMenuExtension(KDevelop::Context* context, QWidget* parent) override; | ||
41 | void showDialog(bool setLastUsed = false, const QString& pattern = QString(), bool show = true); | 41 | void showDialog(bool setLastUsed = false, const QString& pattern = QString(), bool show = true); | ||
42 | 42 | | |||
43 | /** | 43 | /** | ||
44 | * Returns a new instance of GrepJob. Since the plugin supports only one job at the same time, | 44 | * Returns a new instance of GrepJob. Since the plugin supports only one job at the same time, | ||
45 | * previous job, if any, is killed before creating a new job. | 45 | * previous job, if any, is killed before creating a new job. | ||
46 | */ | 46 | */ | ||
47 | GrepJob *newGrepJob(); | 47 | GrepJob *newGrepJob(); | ||
48 | GrepJob *grepJob(); | 48 | GrepJob *grepJob(); | ||
Show All 25 Lines |