-
Notifications
You must be signed in to change notification settings - Fork 0
/
config_dlg.h
61 lines (45 loc) · 1.11 KB
/
config_dlg.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**********************************************************************
--- Qt Architect generated file ---
File: config_dlg.h
Last generated: Wed Mar 10 16:24:20 1999
*********************************************************************/
#ifndef config_dlg_included
#define config_dlg_included
#include "config_dlgData.h"
struct fmt_config
{
bool ok;
bool dos_ok;
bool e2_ok;
QString *sfdisk_pos;
QString *dd_pos;
QString *mke2fs_pos;
QString *mkdosfs_pos;
QString *echo_pos;
};
bool readConfig(QWidget *, struct fmt_config *c);
class config_dlg : public config_dlgData
{
Q_OBJECT
public:
config_dlg
(
QWidget* parent = NULL,
const char* name = NULL,
struct fmt_config *fcfg = NULL
);
virtual ~config_dlg();
private:
struct fmt_config *fmt_cfg;
bool chkpos();
private slots:
virtual void delete_click();
virtual void cancel_click();
virtual void save_click();
virtual void sfdisk_br();
virtual void dd_br();
virtual void mke2fs_br();
virtual void mkdosfs_br();
virtual void echo_br();
};
#endif // config_dlg_included