Changeset View
Changeset View
Standalone View
Standalone View
plugins/flatpak/flatpakplugin.h
Show All 25 Lines | |||||
26 | 26 | | |||
27 | class FlatpakPlugin : public KDevelop::IPlugin | 27 | class FlatpakPlugin : public KDevelop::IPlugin | ||
28 | { | 28 | { | ||
29 | Q_OBJECT | 29 | Q_OBJECT | ||
30 | public: | 30 | public: | ||
31 | FlatpakPlugin(QObject *parent, const QVariantList & args); | 31 | FlatpakPlugin(QObject *parent, const QVariantList & args); | ||
32 | ~FlatpakPlugin() override; | 32 | ~FlatpakPlugin() override; | ||
33 | 33 | | |||
34 | KDevelop::ContextMenuExtension contextMenuExtension(KDevelop::Context * context) override; | 34 | KDevelop::ContextMenuExtension contextMenuExtension(KDevelop::Context * context, QWidget* parent) override; | ||
35 | 35 | | |||
36 | private: | 36 | private: | ||
37 | void runtimeChanged(KDevelop::IRuntime* newRuntime); | 37 | void runtimeChanged(KDevelop::IRuntime* newRuntime); | ||
38 | void rebuildCurrent(); | 38 | void rebuildCurrent(); | ||
39 | void exportCurrent(); | 39 | void exportCurrent(); | ||
40 | void setupArches(); | 40 | void setupArches(); | ||
41 | void executeOnRemoteDevice(); | 41 | void executeOnRemoteDevice(); | ||
42 | void createRuntime(const KDevelop::Path &file, const QString &arch); | 42 | void createRuntime(const KDevelop::Path &file, const QString &arch); | ||
43 | 43 | | |||
44 | QHash<KDevelop::Path, KDevelop::IRuntime *> m_runtimes; | 44 | QHash<KDevelop::Path, KDevelop::IRuntime *> m_runtimes; | ||
45 | }; | 45 | }; | ||
46 | 46 | | |||
47 | #endif | 47 | #endif |