Changeset View
Changeset View
Standalone View
Standalone View
utils/okteta/oktetaplugin.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Line(s) | 42 | { | |||
---|---|---|---|---|---|
43 | Q_OBJECT | 43 | Q_OBJECT | ||
44 | 44 | | |||
45 | public: | 45 | public: | ||
46 | explicit OktetaPlugin( QObject* parent, const QVariantList& args = QVariantList() ); | 46 | explicit OktetaPlugin( QObject* parent, const QVariantList& args = QVariantList() ); | ||
47 | 47 | | |||
48 | ~OktetaPlugin() override; | 48 | ~OktetaPlugin() override; | ||
49 | 49 | | |||
50 | public: // KDevelop::IPlugin API | 50 | public: // KDevelop::IPlugin API | ||
51 | ContextMenuExtension contextMenuExtension( Context* context ) override; | 51 | ContextMenuExtension contextMenuExtension(Context* context, QWidget* parent) override; | ||
52 | 52 | | |||
53 | public: | 53 | public: | ||
54 | Kasten::ByteArrayViewProfileManager* viewProfileManager() const { return mViewProfileManager; } | 54 | Kasten::ByteArrayViewProfileManager* viewProfileManager() const { return mViewProfileManager; } | ||
55 | 55 | | |||
56 | private Q_SLOTS: | 56 | private Q_SLOTS: | ||
57 | void onOpenTriggered(); | 57 | void onOpenTriggered(); | ||
58 | 58 | | |||
59 | protected: | 59 | protected: | ||
60 | OktetaDocumentFactory* mDocumentFactory; | 60 | OktetaDocumentFactory* mDocumentFactory; | ||
61 | Kasten::ByteArrayViewProfileManager* const mViewProfileManager; | 61 | Kasten::ByteArrayViewProfileManager* const mViewProfileManager; | ||
62 | }; | 62 | }; | ||
63 | 63 | | |||
64 | } | 64 | } | ||
65 | #endif | 65 | #endif |