Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwinrules/ruleslist.h
Show All 17 Lines | |||||
18 | 18 | | |||
19 | 19 | | |||
20 | #ifndef __RULESLIST_H__ | 20 | #ifndef __RULESLIST_H__ | ||
21 | #define __RULESLIST_H__ | 21 | #define __RULESLIST_H__ | ||
22 | 22 | | |||
23 | #include "../../rules.h" | 23 | #include "../../rules.h" | ||
24 | 24 | | |||
25 | #include "ui_ruleslist.h" | 25 | #include "ui_ruleslist.h" | ||
26 | #include "rulesettingsmanager.h" | ||||
26 | 27 | | |||
27 | namespace KWin | 28 | namespace KWin | ||
28 | { | 29 | { | ||
29 | 30 | | |||
30 | class KCMRulesList | 31 | class KCMRulesList | ||
31 | : public QWidget, Ui_KCMRulesList | 32 | : public QWidget, Ui_KCMRulesList | ||
32 | { | 33 | { | ||
33 | Q_OBJECT | 34 | Q_OBJECT | ||
Show All 10 Lines | 43 | private Q_SLOTS: | |||
44 | void modifyClicked(); | 45 | void modifyClicked(); | ||
45 | void deleteClicked(); | 46 | void deleteClicked(); | ||
46 | void moveupClicked(); | 47 | void moveupClicked(); | ||
47 | void movedownClicked(); | 48 | void movedownClicked(); | ||
48 | void exportClicked(); | 49 | void exportClicked(); | ||
49 | void importClicked(); | 50 | void importClicked(); | ||
50 | void activeChanged(); | 51 | void activeChanged(); | ||
51 | private: | 52 | private: | ||
52 | QVector< Rules* > rules; | 53 | QVector< Rules* > m_rules; | ||
54 | RuleSettingsManager m_settings; | ||||
zzag: While you're on this, could you please fix coding style?
```lang=cpp
QVector<Rules *>… | |||||
53 | }; | 55 | }; | ||
54 | 56 | | |||
55 | } // namespace | 57 | } // namespace | ||
56 | 58 | | |||
57 | #endif | 59 | #endif |
While you're on this, could you please fix coding style?