summaryrefslogtreecommitdiff
path: root/noncore/settings/mediummount/mediumwidget.h
authorzecke <zecke>2002-04-27 16:11:28 (UTC)
committer zecke <zecke>2002-04-27 16:11:28 (UTC)
commit68a364bbab96b8a26bf6a4a1f9f9989c08a001c5 (patch) (side-by-side diff)
tree81feaabb443fd4e80dc0f1469587ab5951a16e00 /noncore/settings/mediummount/mediumwidget.h
parentd0a9aaaca068af74d845743b0bf4f13f6f179f27 (diff)
downloadopie-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/mediumwidget.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/settings/mediummount/mediumwidget.h77
1 files changed, 77 insertions, 0 deletions
diff --git a/noncore/settings/mediummount/mediumwidget.h b/noncore/settings/mediummount/mediumwidget.h
new file mode 100644
index 0000000..7a801eb
--- a/dev/null
+++ b/noncore/settings/mediummount/mediumwidget.h
@@ -0,0 +1,77 @@
+
+#ifndef MediumMountWidget_H
+#define MediumMountWidget_H
+
+//#include <qpixmap.h>
+#include <qwidget.h>
+
+
+class QLabel;
+class QPixmap;
+class Config;
+class QGridLayout;
+class QCheckBox;
+class QPushButton;
+class QVBoxLayout;
+class QHBoxLayout;
+class QGroupBox;
+class QVBox;
+class QHBox;
+class QLineEdit;
+
+namespace MediumMountSetting {
+
+ class MediumMountWidget : public QWidget {
+ Q_OBJECT
+ public:
+ MediumMountWidget(const QString&, const QPixmap &, QWidget *parent, const char *name = 0 );
+ ~MediumMountWidget();
+
+ private slots:
+ void slotAdd();
+ void slotStateChanged();
+
+ private:
+ void readConfig();
+ void initGUI();
+ void writeConfig();
+
+ bool m_dirty : 1;
+
+ class MediumMountWidgetPrivate;
+ MediumMountWidgetPrivate *d;
+
+ QString m_path;
+
+ Config *m_config;
+
+ QHBox *m_infoBox;
+ QLabel *m_label;
+ QLabel *m_desc;
+
+ QLineEdit *m_edit;
+ QPushButton *m_add;
+
+ QVBoxLayout *m_box;
+ QGridLayout *m_checks;
+
+ QGroupBox *m_group;
+ QCheckBox *m_all;
+ QCheckBox *m_audio;
+ QCheckBox *m_image;
+ QCheckBox *m_text;
+ QCheckBox *m_video;
+
+ QCheckBox *m_always;
+ //QCheckBox *m_yesNo;
+
+ QHBox *m_hboxAdd;
+
+ QLabel *m_lblPath;
+ ////////////////
+
+
+
+ };
+};
+#endif