author | zecke <zecke> | 2002-04-27 16:11:28 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-27 16:11:28 (UTC) |
commit | 68a364bbab96b8a26bf6a4a1f9f9989c08a001c5 (patch) (side-by-side diff) | |
tree | 81feaabb443fd4e80dc0f1469587ab5951a16e00 /noncore/settings/mediummount/mediumglobal.h | |
parent | d0a9aaaca068af74d845743b0bf4f13f6f179f27 (diff) | |
download | opie-68a364bbab96b8a26bf6a4a1f9f9989c08a001c5.zip opie-68a364bbab96b8a26bf6a4a1f9f9989c08a001c5.tar.gz opie-68a364bbab96b8a26bf6a4a1f9f9989c08a001c5.tar.bz2 |
Add the medium mount settings app. Now launcher needs to catch up again
Diffstat (limited to 'noncore/settings/mediummount/mediumglobal.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/settings/mediummount/mediumglobal.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/noncore/settings/mediummount/mediumglobal.h b/noncore/settings/mediummount/mediumglobal.h new file mode 100644 index 0000000..7b3cea0 --- a/dev/null +++ b/noncore/settings/mediummount/mediumglobal.h @@ -0,0 +1,59 @@ + + +#ifndef MediumGlobalWidget_H +#define MediumGlobalWidget_H + +#include <qwidget.h> + +class Config; +class QCheckBox; +class QGroupBox; +class QFrame; +class QLineEdit; +class QVBoxLayout; +class QGridLayout; +class QLabel; + +namespace MediumMountSetting { + enum States { GLOBAL_ENABLED = 0, GLOBAL_DISABLED }; + enum Checks { ENABLE_CHECKS = 0, DISABLE_CHECKS }; + + class MediumGlobalWidget : public QWidget { + Q_OBJECT + public: + MediumGlobalWidget(QWidget *parent = 0, const char *name =0 ); + ~MediumGlobalWidget(); + signals: + // the global status changed + void globalStateChanged( int ); + void enableStateChanged( int ); + private slots: + void slotGlobalChanged(); + void slotEnableChecking(); + void slotAllChanged(); + + private: + void initGUI(); + void readConfig(); + void writeConfig(); + Config *m_config; + QCheckBox *m_check; + QCheckBox *m_useglobal; + + QGroupBox *m_global; + + QCheckBox *m_all; + QCheckBox *m_audio; + QCheckBox *m_video; + QCheckBox *m_text; + QCheckBox *m_image; + + QFrame *m_frame; + QGridLayout *m_frameLay; + QVBoxLayout *m_layout; + QVBoxLayout *m_box; + QLabel *m_label; + }; +}; + +#endif |