Changeset View
Changeset View
Standalone View
Standalone View
kcm/src/kcm_kscreen.h
Show All 31 Lines | |||||
32 | class KCMKScreen : public KCModule | 32 | class KCMKScreen : public KCModule | ||
33 | { | 33 | { | ||
34 | Q_OBJECT | 34 | Q_OBJECT | ||
35 | 35 | | |||
36 | public: | 36 | public: | ||
37 | explicit KCMKScreen (QWidget* parent = 0, const QVariantList& args = QVariantList()); | 37 | explicit KCMKScreen (QWidget* parent = 0, const QVariantList& args = QVariantList()); | ||
38 | virtual ~KCMKScreen(); | 38 | virtual ~KCMKScreen(); | ||
39 | 39 | | |||
40 | virtual QSize sizeHint() const Q_DECL_OVERRIDE; | ||||
41 | | ||||
40 | public Q_SLOTS: | 42 | public Q_SLOTS: | ||
41 | void load() Q_DECL_OVERRIDE; | 43 | void load() Q_DECL_OVERRIDE; | ||
42 | void save() Q_DECL_OVERRIDE; | 44 | void save() Q_DECL_OVERRIDE; | ||
43 | void defaults() Q_DECL_OVERRIDE; | 45 | void defaults() Q_DECL_OVERRIDE; | ||
44 | void changed(); | 46 | void changed(); | ||
45 | 47 | | |||
46 | private: | 48 | private: | ||
47 | void configReady(KScreen::ConfigOperation *op); | 49 | void configReady(KScreen::ConfigOperation *op); | ||
48 | 50 | | |||
49 | Widget *mKScreenWidget; | 51 | Widget *mKScreenWidget; | ||
50 | bool m_blockChanges = false; | 52 | bool m_blockChanges = false; | ||
51 | 53 | | |||
52 | }; | 54 | }; | ||
53 | 55 | | |||
54 | #endif // DisplayConfiguration_H | 56 | #endif // DisplayConfiguration_H |