summaryrefslogtreecommitdiff
path: root/noncore/tools/formatter/formatter.h
Unidiff
Diffstat (limited to 'noncore/tools/formatter/formatter.h') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/tools/formatter/formatter.h59
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
16class QVBoxLayout;
17class QHBoxLayout;
18class QGridLayout;
19class QComboBox;
20class QLabel;
21class QLineEdit;
22class QPushButton;
23class QTabWidget;
24class QWidget;
25class QStringList;
26
27class FormatterApp : public QMainWindow
28//public QDialog
29{
30 Q_OBJECT
31
32public:
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;
43protected:
44 QGridLayout *FormatterAppLayout, *tabLayout, *tabLayout_2;
45 QString getFileSystemType(const QString &);
46
47protected 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