Changeset View
Changeset View
Standalone View
Standalone View
shell/currentcontainmentactionsmodel.h
Show First 20 Lines • Show All 54 Lines • ▼ Show 20 Line(s) | 41 | public: | |||
---|---|---|---|---|---|
55 | Q_INVOKABLE QString wheelEventString(const QPointF &delta, int mouseButtons, int modifiers); | 55 | Q_INVOKABLE QString wheelEventString(const QPointF &delta, int mouseButtons, int modifiers); | ||
56 | Q_INVOKABLE bool append(const QString &action, const QString &plugin); | 56 | Q_INVOKABLE bool append(const QString &action, const QString &plugin); | ||
57 | Q_INVOKABLE void update(int row, const QString &action, const QString &plugin); | 57 | Q_INVOKABLE void update(int row, const QString &action, const QString &plugin); | ||
58 | Q_INVOKABLE void remove(int row); | 58 | Q_INVOKABLE void remove(int row); | ||
59 | Q_INVOKABLE void showConfiguration(int row, QQuickItem *ctx = nullptr); | 59 | Q_INVOKABLE void showConfiguration(int row, QQuickItem *ctx = nullptr); | ||
60 | Q_INVOKABLE void showAbout(int row, QQuickItem *ctx = nullptr); | 60 | Q_INVOKABLE void showAbout(int row, QQuickItem *ctx = nullptr); | ||
61 | Q_INVOKABLE void save(); | 61 | Q_INVOKABLE void save(); | ||
62 | 62 | | |||
63 | signals: | ||||
64 | void configurationChanged(); | ||||
65 | | ||||
63 | private: | 66 | private: | ||
64 | Plasma::Containment *m_containment; | 67 | Plasma::Containment *m_containment; | ||
65 | QHash<QString, Plasma::ContainmentActions *> m_plugins; | 68 | QHash<QString, Plasma::ContainmentActions *> m_plugins; | ||
66 | KConfigGroup m_baseCfg; | 69 | KConfigGroup m_baseCfg; | ||
67 | KConfigGroup m_tempConfig; | 70 | KConfigGroup m_tempConfig; | ||
68 | KConfig m_tempConfigParent; | 71 | KConfig m_tempConfigParent; | ||
69 | QStringList m_removedTriggers; | 72 | QStringList m_removedTriggers; | ||
70 | }; | 73 | }; | ||
71 | 74 | | |||
72 | #endif | 75 | #endif |