Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindecoration/kcm.h
Show First 20 Lines • Show All 41 Lines • ▼ Show 20 Line(s) | |||||
42 | { | 42 | { | ||
43 | public: | 43 | public: | ||
44 | explicit ConfigurationForm(QWidget* parent); | 44 | explicit ConfigurationForm(QWidget* parent); | ||
45 | }; | 45 | }; | ||
46 | 46 | | |||
47 | class ConfigurationModule : public KCModule | 47 | class ConfigurationModule : public KCModule | ||
48 | { | 48 | { | ||
49 | Q_OBJECT | 49 | Q_OBJECT | ||
50 | Q_PROPERTY(QAbstractItemModel* leftButtons READ leftButtons CONSTANT) | | |||
51 | Q_PROPERTY(QAbstractItemModel* rightButtons READ rightButtons CONSTANT) | | |||
52 | Q_PROPERTY(QAbstractItemModel* availableButtons READ availableButtons CONSTANT) | | |||
53 | public: | 50 | public: | ||
54 | explicit ConfigurationModule(QWidget *parent = nullptr, const QVariantList &args = QVariantList()); | 51 | explicit ConfigurationModule(QWidget *parent = nullptr, const QVariantList &args = QVariantList()); | ||
55 | virtual ~ConfigurationModule(); | 52 | virtual ~ConfigurationModule(); | ||
56 | 53 | | |||
57 | QAbstractItemModel *leftButtons() const; | | |||
58 | QAbstractItemModel *rightButtons() const; | | |||
59 | QAbstractItemModel *availableButtons() const; | | |||
60 | | ||||
61 | bool eventFilter(QObject *watched, QEvent *e) override; | 54 | bool eventFilter(QObject *watched, QEvent *e) override; | ||
62 | 55 | | |||
63 | public Q_SLOTS: | 56 | public Q_SLOTS: | ||
64 | void defaults() override; | 57 | void defaults() override; | ||
65 | void load() override; | 58 | void load() override; | ||
66 | void save() override; | 59 | void save() override; | ||
67 | 60 | | |||
68 | protected: | 61 | protected: | ||
Show All 19 Lines |