summaryrefslogtreecommitdiff
path: root/noncore/tools/formatter/formatter.h
authorllornkcor <llornkcor>2002-04-25 00:11:44 (UTC)
committer llornkcor <llornkcor>2002-04-25 00:11:44 (UTC)
commitfd9fe8316525d3d7dac85d8d71dd8267b5abbd8f (patch) (side-by-side diff)
treefaf04b23270a222baae30e5ea29c77f308f0328e /noncore/tools/formatter/formatter.h
parent5d3d95245768f7949208d367db1b5dc1d7f5e314 (diff)
downloadopie-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.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 @@
+/****************************************************************************
+** formatter.h
+**
+** Copyright: Thu Apr 11 11:01:01 2002
+** by: L.J. Potter
+**
+****************************************************************************/
+
+#ifndef FORMATTERAPP_H
+#define FORMATTERAPP_H
+
+#include <qvariant.h>
+//#include <qdialog.h>
+#include <qmainwindow.h>
+
+class QVBoxLayout;
+class QHBoxLayout;
+class QGridLayout;
+class QComboBox;
+class QLabel;
+class QLineEdit;
+class QPushButton;
+class QTabWidget;
+class QWidget;
+class QStringList;
+
+class FormatterApp : public QMainWindow
+//public QDialog
+{
+ Q_OBJECT
+
+public:
+ FormatterApp( QWidget* parent = 0, const char* name = 0, bool modal = FALSE, WFlags fl = 0 );
+ ~FormatterApp();
+
+ QTabWidget *TabWidget;
+ QWidget *tab, *tab_2;;
+ QLabel *TextLabel1, *TextLabel2, *TextLabel3, *TextLabel4, *TextLabel5;
+ QComboBox *storageComboBox, *fileSystemsCombo, *deviceComboBox;
+ QPushButton *formatPushButton, *editPushButton, *fsckButton;
+ QLineEdit* mountPointLineEdit;
+ QStringList fileSystemTypeList, fsList;
+protected:
+ QGridLayout *FormatterAppLayout, *tabLayout, *tabLayout_2;
+ QString getFileSystemType(const QString &);
+
+protected slots:
+ void doFormat();
+ void fillCombos();
+ void cleanUp();
+ void fsComboSelected(int);
+ void storageComboSelected(int );
+ void deviceComboSelected(int );
+ void editFstab();
+ void parsetab();
+ void doFsck();
+};
+
+#endif // FORMATTERAPP_H