Changeset View
Changeset View
Standalone View
Standalone View
plugins/grepview/grepviewplugin.h
Show All 10 Lines | |||||
11 | ***************************************************************************/ | 11 | ***************************************************************************/ | ||
12 | 12 | | |||
13 | #ifndef KDEVPLATFORM_PLUGIN_GREPVIEWPLUGIN_H | 13 | #ifndef KDEVPLATFORM_PLUGIN_GREPVIEWPLUGIN_H | ||
14 | #define KDEVPLATFORM_PLUGIN_GREPVIEWPLUGIN_H | 14 | #define KDEVPLATFORM_PLUGIN_GREPVIEWPLUGIN_H | ||
15 | 15 | | |||
16 | #include <interfaces/iplugin.h> | 16 | #include <interfaces/iplugin.h> | ||
17 | #include <interfaces/contextmenuextension.h> | 17 | #include <interfaces/contextmenuextension.h> | ||
18 | 18 | | |||
19 | #include <QList> | ||||
19 | #include <QPointer> | 20 | #include <QPointer> | ||
20 | #include <QVariant> | 21 | #include <QVariant> | ||
21 | 22 | | |||
22 | class KJob; | 23 | class KJob; | ||
23 | class GrepDialog; | 24 | class GrepDialog; | ||
24 | class GrepJob; | 25 | class GrepJob; | ||
25 | class GrepOutputViewFactory; | 26 | class GrepOutputViewFactory; | ||
26 | 27 | | |||
Show All 31 Lines | |||||
58 | 59 | | |||
59 | private Q_SLOTS: | 60 | private Q_SLOTS: | ||
60 | void showDialogFromMenu(); | 61 | void showDialogFromMenu(); | ||
61 | void showDialogFromProject(); | 62 | void showDialogFromProject(); | ||
62 | void jobFinished(KJob *job); | 63 | void jobFinished(KJob *job); | ||
63 | 64 | | |||
64 | private: | 65 | private: | ||
65 | GrepJob *m_currentJob; | 66 | GrepJob *m_currentJob; | ||
66 | QPointer<GrepDialog> m_currentDialog; | 67 | QList<QPointer<GrepDialog> > m_currentDialogs; | ||
67 | QString m_directory; | 68 | QString m_directory; | ||
68 | QString m_contextMenuDirectory; | 69 | QString m_contextMenuDirectory; | ||
69 | GrepOutputViewFactory* m_factory; | 70 | GrepOutputViewFactory* m_factory; | ||
70 | }; | 71 | }; | ||
71 | 72 | | |||
72 | #endif | 73 | #endif |