Diffstat (limited to 'core/launcher/mediummountgui.h') (more/less context) (ignore 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: |
@@ -37,6 +38,7 @@ protected: | |||
37 | QCheckBox* CheckBoxAll; | 38 | QCheckBox* CheckBoxAll; |
38 | QCheckBox* CheckBoxLink; | 39 | QCheckBox* CheckBoxLink; |
39 | QCheckBox* AskBox; | 40 | QCheckBox* AskBox; |
41 | |||
40 | 42 | ||
41 | public: | 43 | public: |
42 | bool check(); | 44 | bool check(); |
@@ -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 | ||