Diffstat (limited to 'noncore/settings/mediummount/mediumglobal.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mediumglobal.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/noncore/settings/mediummount/mediumglobal.h b/noncore/settings/mediummount/mediumglobal.h index 7b3cea0..ea1f0df 100644 --- a/noncore/settings/mediummount/mediumglobal.h +++ b/noncore/settings/mediummount/mediumglobal.h | |||
@@ -14,37 +14,38 @@ class QVBoxLayout; | |||
14 | class QGridLayout; | 14 | class QGridLayout; |
15 | class QLabel; | 15 | class QLabel; |
16 | 16 | ||
17 | namespace MediumMountSetting { | 17 | namespace MediumMountSetting { |
18 | enum States { GLOBAL_ENABLED = 0, GLOBAL_DISABLED }; | 18 | enum States { GLOBAL_ENABLED = 0, GLOBAL_DISABLED }; |
19 | enum Checks { ENABLE_CHECKS = 0, DISABLE_CHECKS }; | 19 | enum Checks { ENABLE_CHECKS = 0, DISABLE_CHECKS }; |
20 | 20 | ||
21 | class MediumGlobalWidget : public QWidget { | 21 | class MediumGlobalWidget : public QWidget { |
22 | Q_OBJECT | 22 | Q_OBJECT |
23 | public: | 23 | public: |
24 | MediumGlobalWidget(QWidget *parent = 0, const char *name =0 ); | 24 | MediumGlobalWidget(QWidget *parent = 0, const char *name =0 ); |
25 | ~MediumGlobalWidget(); | 25 | ~MediumGlobalWidget(); |
26 | |||
27 | void writeConfig(); | ||
26 | signals: | 28 | signals: |
27 | // the global status changed | 29 | // the global status changed |
28 | void globalStateChanged( int ); | 30 | void globalStateChanged( int ); |
29 | void enableStateChanged( int ); | 31 | void enableStateChanged( int ); |
30 | private slots: | 32 | private slots: |
31 | void slotGlobalChanged(); | 33 | void slotGlobalChanged(); |
32 | void slotEnableChecking(); | 34 | void slotEnableChecking(); |
33 | void slotAllChanged(); | 35 | void slotAllChanged(); |
34 | 36 | ||
35 | private: | 37 | private: |
36 | void initGUI(); | 38 | void initGUI(); |
37 | void readConfig(); | 39 | void readConfig(); |
38 | void writeConfig(); | ||
39 | Config *m_config; | 40 | Config *m_config; |
40 | QCheckBox *m_check; | 41 | QCheckBox *m_check; |
41 | QCheckBox *m_useglobal; | 42 | QCheckBox *m_useglobal; |
42 | 43 | ||
43 | QGroupBox *m_global; | 44 | QGroupBox *m_global; |
44 | 45 | ||
45 | QCheckBox *m_all; | 46 | QCheckBox *m_all; |
46 | QCheckBox *m_audio; | 47 | QCheckBox *m_audio; |
47 | QCheckBox *m_video; | 48 | QCheckBox *m_video; |
48 | QCheckBox *m_text; | 49 | QCheckBox *m_text; |
49 | QCheckBox *m_image; | 50 | QCheckBox *m_image; |
50 | 51 | ||