author | llornkcor <llornkcor> | 2002-04-25 00:11:44 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-04-25 00:11:44 (UTC) |
commit | fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f (patch) (unidiff) | |
tree | faf04b23270a222baae30e5ea29c77f308f0328e /noncore/tools/formatter/formatter.h | |
parent | 5d3d95245768f7949208d367db1b5dc1d7f5e314 (diff) | |
download | opie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.zip opie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.tar.gz opie-fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f.tar.bz2 |
initial commit
Diffstat (limited to 'noncore/tools/formatter/formatter.h') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/tools/formatter/formatter.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/noncore/tools/formatter/formatter.h b/noncore/tools/formatter/formatter.h new file mode 100644 index 0000000..a566ec0 --- a/dev/null +++ b/noncore/tools/formatter/formatter.h | |||
@@ -0,0 +1,59 @@ | |||
1 | /**************************************************************************** | ||
2 | ** formatter.h | ||
3 | ** | ||
4 | ** Copyright: Thu Apr 11 11:01:01 2002 | ||
5 | ** by: L.J. Potter | ||
6 | ** | ||
7 | ****************************************************************************/ | ||
8 | |||
9 | #ifndef FORMATTERAPP_H | ||
10 | #define FORMATTERAPP_H | ||
11 | |||
12 | #include <qvariant.h> | ||
13 | //#include <qdialog.h> | ||
14 | #include <qmainwindow.h> | ||
15 | |||
16 | class QVBoxLayout; | ||
17 | class QHBoxLayout; | ||
18 | class QGridLayout; | ||
19 | class QComboBox; | ||
20 | class QLabel; | ||
21 | class QLineEdit; | ||
22 | class QPushButton; | ||
23 | class QTabWidget; | ||
24 | class QWidget; | ||
25 | class QStringList; | ||
26 | |||
27 | class FormatterApp : public QMainWindow | ||
28 | //public QDialog | ||
29 | { | ||
30 | Q_OBJECT | ||
31 | |||
32 | public: | ||
33 | FormatterApp( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 ); | ||
34 | ~FormatterApp(); | ||
35 | |||
36 | QTabWidget *TabWidget; | ||
37 | QWidget *tab, *tab_2;; | ||
38 | QLabel *TextLabel1, *TextLabel2, *TextLabel3, *TextLabel4, *TextLabel5; | ||
39 | QComboBox *storageComboBox, *fileSystemsCombo, *deviceComboBox; | ||
40 | QPushButton *formatPushButton, *editPushButton, *fsckButton; | ||
41 | QLineEdit* mountPointLineEdit; | ||
42 | QStringList fileSystemTypeList, fsList; | ||
43 | protected: | ||
44 | QGridLayout *FormatterAppLayout, *tabLayout, *tabLayout_2; | ||
45 | QString getFileSystemType(const QString &); | ||
46 | |||
47 | protected slots: | ||
48 | void doFormat(); | ||
49 | void fillCombos(); | ||
50 | void cleanUp(); | ||
51 | void fsComboSelected(int); | ||
52 | void storageComboSelected(int ); | ||
53 | void deviceComboSelected(int ); | ||
54 | void editFstab(); | ||
55 | void parsetab(); | ||
56 | void doFsck(); | ||
57 | }; | ||
58 | |||
59 | #endif // FORMATTERAPP_H | ||