Changeset View
Changeset View
Standalone View
Standalone View
kcmkwin/kwinoptions/windows.h
Show All 35 Lines | |||||
36 | class QGroupBox; | 36 | class QGroupBox; | ||
37 | class QLabel; | 37 | class QLabel; | ||
38 | class QSlider; | 38 | class QSlider; | ||
39 | class QGroupBox; | 39 | class QGroupBox; | ||
40 | class QSpinBox; | 40 | class QSpinBox; | ||
41 | 41 | | |||
42 | class KColorButton; | 42 | class KColorButton; | ||
43 | 43 | | |||
44 | class KWinOptionsSettings; | ||||
44 | 45 | | |||
45 | class KWinFocusConfigForm : public QWidget, public Ui::KWinFocusConfigForm | 46 | class KWinFocusConfigForm : public QWidget, public Ui::KWinFocusConfigForm | ||
46 | { | 47 | { | ||
47 | Q_OBJECT | 48 | Q_OBJECT | ||
48 | 49 | | |||
49 | public: | 50 | public: | ||
50 | explicit KWinFocusConfigForm(QWidget* parent); | 51 | explicit KWinFocusConfigForm(QWidget* parent); | ||
51 | }; | 52 | }; | ||
▲ Show 20 Lines • Show All 61 Lines • ▼ Show 20 Line(s) | 96 | private: | |||
113 | 114 | | |||
114 | KWinFocusConfigForm *m_ui; | 115 | KWinFocusConfigForm *m_ui; | ||
115 | }; | 116 | }; | ||
116 | 117 | | |||
117 | class KMovingConfig : public KCModule | 118 | class KMovingConfig : public KCModule | ||
118 | { | 119 | { | ||
119 | Q_OBJECT | 120 | Q_OBJECT | ||
120 | public: | 121 | public: | ||
121 | KMovingConfig(bool _standAlone, KConfig *config, QWidget *parent); | 122 | KMovingConfig(bool _standAlone, QWidget *parent); | ||
122 | ~KMovingConfig() override; | 123 | ~KMovingConfig() override; | ||
123 | 124 | | |||
124 | void load() override; | | |||
125 | void save() override; | 125 | void save() override; | ||
126 | void defaults() override; | | |||
127 | 126 | | |||
128 | protected: | 127 | protected: | ||
129 | void showEvent(QShowEvent *ev) override; | 128 | void showEvent(QShowEvent *ev) override; | ||
130 | 129 | | |||
131 | private Q_SLOTS: | | |||
132 | void changed() { | | |||
133 | emit KCModule::changed(true); | | |||
134 | } | | |||
135 | | ||||
136 | private: | 130 | private: | ||
137 | bool getGeometryTip(void); //KS | 131 | KWinOptionsSettings *m_config; | ||
zzag: While you're on this, could you please rename it to m_config? | |||||
138 | | ||||
139 | void setGeometryTip(bool); //KS | | |||
140 | | ||||
141 | KConfig *config; | | |||
142 | bool standAlone; | 132 | bool standAlone; | ||
143 | KWinMovingConfigForm *m_ui; | 133 | KWinMovingConfigForm *m_ui; | ||
144 | | ||||
145 | int getBorderSnapZone(); | | |||
146 | void setBorderSnapZone(int); | | |||
147 | int getWindowSnapZone(); | | |||
148 | void setWindowSnapZone(int); | | |||
149 | int getCenterSnapZone(); | | |||
150 | void setCenterSnapZone(int); | | |||
151 | | ||||
152 | }; | 134 | }; | ||
153 | 135 | | |||
154 | class KAdvancedConfig : public KCModule | 136 | class KAdvancedConfig : public KCModule | ||
155 | { | 137 | { | ||
156 | Q_OBJECT | 138 | Q_OBJECT | ||
157 | public: | 139 | public: | ||
158 | KAdvancedConfig(bool _standAlone, KConfig *config, QWidget *parent); | 140 | KAdvancedConfig(bool _standAlone, KConfig *config, QWidget *parent); | ||
159 | ~KAdvancedConfig() override; | 141 | ~KAdvancedConfig() override; | ||
Show All 29 Lines |
While you're on this, could you please rename it to m_config?