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; | | |||
62 | 60 | | |||
63 | protected: | 61 | protected: | ||
64 | void showEvent(QShowEvent *ev) override; | 62 | void showEvent(QShowEvent *ev) override; | ||
65 | 63 | | |||
66 | private: | 64 | private: | ||
67 | void showKNS(const QString &config); | 65 | void showKNS(const QString &config); | ||
68 | void updateColors(); | 66 | void updateColors(); | ||
69 | DecorationsModel *m_model; | 67 | DecorationsModel *m_model; | ||
Show All 13 Lines |