From fd9fe8316525d3d7dac85d8d71dd8267b5abbd8f Mon Sep 17 00:00:00 2001 From: llornkcor Date: Thu, 25 Apr 2002 00:11:44 +0000 Subject: initial commit --- (limited to 'noncore/tools/formatter/formatter.h') 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 +//#include +#include + +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 -- cgit v0.9.0.2