Changeset View
Changeset View
Standalone View
Standalone View
kcm/src/widget.h
Show All 22 Lines | |||||
23 | #include <QWidget> | 23 | #include <QWidget> | ||
24 | #include <QVariantMap> | 24 | #include <QVariantMap> | ||
25 | 25 | | |||
26 | #include <kscreen/config.h> | 26 | #include <kscreen/config.h> | ||
27 | 27 | | |||
28 | class QMLOutput; | 28 | class QMLOutput; | ||
29 | class QMLScreen; | 29 | class QMLScreen; | ||
30 | class ControlPanel; | 30 | class ControlPanel; | ||
31 | 31 | class ControlConfig; | |||
32 | 32 | | |||
33 | class QQuickView; | 33 | class QQuickView; | ||
34 | 34 | | |||
35 | namespace KScreen | 35 | namespace KScreen | ||
36 | { | 36 | { | ||
37 | class ConfigOperation; | 37 | class ConfigOperation; | ||
38 | } | 38 | } | ||
39 | 39 | | |||
Show All 13 Lines | 49 | public: | |||
53 | void setConfig(const KScreen::ConfigPtr &config); | 53 | void setConfig(const KScreen::ConfigPtr &config); | ||
54 | KScreen::ConfigPtr currentConfig() const; | 54 | KScreen::ConfigPtr currentConfig() const; | ||
55 | 55 | | |||
56 | protected: | 56 | protected: | ||
57 | bool eventFilter(QObject *object, QEvent *event) override; | 57 | bool eventFilter(QObject *object, QEvent *event) override; | ||
58 | 58 | | |||
59 | Q_SIGNALS: | 59 | Q_SIGNALS: | ||
60 | void changed(); | 60 | void changed(); | ||
61 | void saveControls(); | ||||
61 | 62 | | |||
62 | private Q_SLOTS: | 63 | private Q_SLOTS: | ||
63 | void slotFocusedOutputChanged(QMLOutput *output); | 64 | void slotFocusedOutputChanged(QMLOutput *output); | ||
64 | 65 | | |||
65 | void slotOutputEnabledChanged(); | 66 | void slotOutputEnabledChanged(); | ||
66 | void slotOutputConnectedChanged(); | 67 | void slotOutputConnectedChanged(); | ||
67 | 68 | | |||
68 | void slotUnifyOutputs(); | 69 | void slotUnifyOutputs(); | ||
Show All 30 Lines |