author | zecke <zecke> | 2002-04-23 17:18:31 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-23 17:18:31 (UTC) |
commit | adf10e0e160b18fe329b6baccf5dc666d612fe8e (patch) (unidiff) | |
tree | afe9af2b6a884ef31ce64e22f2a6fbcfb839742a /core/launcher/mediummountgui.h | |
parent | 20959a35ed4ffa132643968b23d9af74003b41a2 (diff) | |
download | opie-adf10e0e160b18fe329b6baccf5dc666d612fe8e.zip opie-adf10e0e160b18fe329b6baccf5dc666d612fe8e.tar.gz opie-adf10e0e160b18fe329b6baccf5dc666d612fe8e.tar.bz2 |
fix the bugs
Diffstat (limited to 'core/launcher/mediummountgui.h') (more/less context) (show whitespace changes)
-rw-r--r-- | core/launcher/mediummountgui.h | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/core/launcher/mediummountgui.h b/core/launcher/mediummountgui.h index 2e04f94..8292c3a 100644 --- a/core/launcher/mediummountgui.h +++ b/core/launcher/mediummountgui.h | |||
@@ -11,13 +11,14 @@ class QGroupBox; | |||
11 | class QLabel; | 11 | class QLabel; |
12 | class QLineEdit; | 12 | class QLineEdit; |
13 | class QPushButton; | 13 | class QPushButton; |
14 | class Config; | ||
14 | 15 | ||
15 | class MediumMountGui : public QDialog | 16 | class MediumMountGui : public QDialog |
16 | { | 17 | { |
17 | Q_OBJECT | 18 | Q_OBJECT |
18 | 19 | ||
19 | public: | 20 | public: |
20 | MediumMountGui( const QString &path = "tmp/", QWidget* parent = 0, const char* name = 0, bool modal = FALSE ,WFlags fl = 0 ); | 21 | MediumMountGui( Config *cfg, const QString &path = "tmp/", QWidget* parent = 0, const char* name = 0, bool modal = FALSE ,WFlags fl = 0 ); |
21 | ~MediumMountGui(); | 22 | ~MediumMountGui(); |
22 | 23 | ||
23 | protected: | 24 | protected: |
@@ -38,6 +39,7 @@ protected: | |||
38 | QCheckBox* CheckBoxLink; | 39 | QCheckBox* CheckBoxLink; |
39 | QCheckBox* AskBox; | 40 | QCheckBox* AskBox; |
40 | 41 | ||
42 | |||
41 | public: | 43 | public: |
42 | bool check(); | 44 | bool check(); |
43 | QStringList mimeTypes(); | 45 | QStringList mimeTypes(); |
@@ -54,14 +56,15 @@ private slots: | |||
54 | private: | 56 | private: |
55 | QString mediumPath; | 57 | QString mediumPath; |
56 | 58 | ||
57 | bool checkagain; | 59 | bool checkagain:1; |
58 | bool checkmimeaudio; | 60 | bool checkmimeaudio:1; |
59 | bool checkmimeimage; | 61 | bool checkmimeimage:1; |
60 | bool checkmimetext; | 62 | bool checkmimetext:1; |
61 | bool checkmimevideo; | 63 | bool checkmimevideo:1; |
62 | bool checkmimeall; | 64 | bool checkmimeall:1; |
63 | QString limittodirs; | 65 | QString limittodirs; |
64 | QStringList mimeTypeList; | 66 | QStringList mimeTypeList; |
67 | Config *m_cfg; | ||
65 | 68 | ||
66 | }; | 69 | }; |
67 | 70 | ||