Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwindecoration/kcm.h
Show First 20 Lines • Show All 51 Lines • ▼ Show 20 Line(s) | 50 | public: | |||
---|---|---|---|---|---|
52 | virtual ~ConfigurationModule(); | 52 | virtual ~ConfigurationModule(); | ||
53 | 53 | | |||
54 | bool eventFilter(QObject *watched, QEvent *e) override; | 54 | bool eventFilter(QObject *watched, QEvent *e) override; | ||
55 | 55 | | |||
56 | public Q_SLOTS: | 56 | public Q_SLOTS: | ||
57 | void defaults() override; | 57 | void defaults() override; | ||
58 | void load() override; | 58 | void load() override; | ||
59 | void save() override; | 59 | void save() override; | ||
60 | //what index is in the model the theme saved as current? needed to move the view at the proper index right at startup | ||||
61 | int savedIndex() const; | ||||
60 | 62 | | |||
61 | protected: | 63 | protected: | ||
62 | void showEvent(QShowEvent *ev) override; | 64 | void showEvent(QShowEvent *ev) override; | ||
63 | 65 | | |||
64 | private: | 66 | private: | ||
65 | void showKNS(const QString &config); | 67 | void showKNS(const QString &config); | ||
66 | void updateColors(); | 68 | void updateColors(); | ||
67 | DecorationsModel *m_model; | 69 | DecorationsModel *m_model; | ||
Show All 13 Lines |