Changeset View
Changeset View
Standalone View
Standalone View
runners/powerdevil/PowerDevilRunner.h
Show All 39 Lines | 39 | private Q_SLOTS: | |||
---|---|---|---|---|---|
40 | void updateStatus(); | 40 | void updateStatus(); | ||
41 | 41 | | |||
42 | private: | 42 | private: | ||
43 | void initUpdateTriggers(); | 43 | void initUpdateTriggers(); | ||
44 | void updateSyntaxes(); | 44 | void updateSyntaxes(); | ||
45 | void addSuspendMatch(int value, QList<Plasma::QueryMatch> &matches); | 45 | void addSuspendMatch(int value, QList<Plasma::QueryMatch> &matches); | ||
46 | bool parseQuery(const QString& query, const QList<QRegExp>& rxList, QString& parameter) const; | 46 | bool parseQuery(const QString& query, const QList<QRegExp>& rxList, QString& parameter) const; | ||
47 | 47 | | |||
48 | StringStringMap m_availableProfiles; | | |||
49 | QHash<QString, QString> m_profileIcon; | | |||
50 | | ||||
51 | int m_shortestCommand; | 48 | int m_shortestCommand; | ||
52 | }; | 49 | }; | ||
53 | 50 | | |||
54 | Q_DECLARE_METATYPE(StringStringMap) | 51 | Q_DECLARE_METATYPE(StringStringMap) | ||
55 | 52 | | |||
56 | #endif | 53 | #endif |