Diffstat (limited to 'core/launcher/mediummountgui.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/launcher/mediummountgui.h | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/core/launcher/mediummountgui.h b/core/launcher/mediummountgui.h new file mode 100644 index 0000000..0da2803 --- a/dev/null +++ b/core/launcher/mediummountgui.h | |||
@@ -0,0 +1,63 @@ | |||
1 | #ifndef MEDIUMMOUNTGUI_H | ||
2 | #define MEDIUMMOUNTGUI_H | ||
3 | |||
4 | #include <qvariant.h> | ||
5 | #include <qwidget.h> | ||
6 | class QVBoxLayout; | ||
7 | class QHBoxLayout; | ||
8 | class QGridLayout; | ||
9 | class QCheckBox; | ||
10 | class QGroupBox; | ||
11 | class QLabel; | ||
12 | class QLineEdit; | ||
13 | class QPushButton; | ||
14 | |||
15 | class MediumMountGui : public QWidget | ||
16 | { | ||
17 | Q_OBJECT | ||
18 | |||
19 | public: | ||
20 | MediumMountGui( const QString &path = "/tmp/", QWidget* parent = 0, const char* name = 0, WFlags fl = 0 ); | ||
21 | ~MediumMountGui(); | ||
22 | |||
23 | protected: | ||
24 | QPushButton* quit; | ||
25 | QPushButton* quit_2; | ||
26 | QLabel* DirSelectText_2; | ||
27 | QLineEdit* LineEdit1; | ||
28 | QPushButton* PushButton3; | ||
29 | QLabel* DirSelectText; | ||
30 | QLabel* Text_2; | ||
31 | QLabel* Text; | ||
32 | QGroupBox* GroupBox1; | ||
33 | QCheckBox* CheckBoxAudio; | ||
34 | QCheckBox* CheckBoxImage; | ||
35 | QCheckBox* CheckBoxText; | ||
36 | QCheckBox* CheckBoxVideo; | ||
37 | QCheckBox* AskBox; | ||
38 | |||
39 | public: | ||
40 | bool check(); | ||
41 | |||
42 | private: | ||
43 | void startGui(); | ||
44 | void readConfig(); | ||
45 | void writeConfig(); | ||
46 | |||
47 | private slots: | ||
48 | void yesPressed(); | ||
49 | void noPressed(); | ||
50 | private: | ||
51 | QString mediumPath; | ||
52 | |||
53 | bool checkagain; | ||
54 | bool checkmimeaudio; | ||
55 | bool checkmimeimage; | ||
56 | bool checkmimetext; | ||
57 | bool checkmimevideo; | ||
58 | QString limittodirs; | ||
59 | |||
60 | |||
61 | }; | ||
62 | |||
63 | #endif \ No newline at end of file | ||