diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:52:55 +0000 |
commit | 5f5ee2367157176ed223b86343eb0a9e4022e020 (patch) | |
tree | 6a9c87f14ee38e90eff3c77c784f14e4f38fd5a1 /kfloppy/floppy.h | |
parent | 4facf42feec57b22dcf46badc115ad6c5b5cc512 (diff) | |
download | tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.tar.gz tdeutils-5f5ee2367157176ed223b86343eb0a9e4022e020.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeutils@1157653 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kfloppy/floppy.h')
-rw-r--r-- | kfloppy/floppy.h | 52 |
1 files changed, 26 insertions, 26 deletions
diff --git a/kfloppy/floppy.h b/kfloppy/floppy.h index 2d4d519..705193a 100644 --- a/kfloppy/floppy.h +++ b/kfloppy/floppy.h @@ -46,7 +46,7 @@ class FloppyData : public KDialog Q_OBJECT public: - FloppyData(QWidget* parent = 0, const char * name = 0); + FloppyData(TQWidget* parent = 0, const char * name = 0); virtual ~FloppyData(); /// Need to overload normal show() in order to mangle caption @@ -54,18 +54,18 @@ public: /// Maps combobox selection to drive and density bool findDevice(); /// set default device - bool setInitialDevice(const QString& dev); + bool setInitialDevice(const TQString& dev); /** Override closeEvent() in order to properly close the entire application.*/ - void closeEvent(QCloseEvent*); + void closeEvent(TQCloseEvent*); /// Writing the user-visible settings. void writeSettings(); /// Reading the user-visible settings. void readSettings(); /// Map stored settings to widget status void setWidgets(); - /// A kind of QString::find() - int findKeyWord(QString &, const QString &); + /// A kind of TQString::find() + int findKeyWord(TQString &, const TQString &); /// Enable/disable all UI elements void setEnabled(bool); @@ -74,18 +74,18 @@ public slots: void format(); void reset(); - void formatStatus(const QString &,int); + void formatStatus(const TQString &,int); protected slots: private: int verifyconfig; int labelconfig; - QString labelnameconfig; + TQString labelnameconfig; int quickformatconfig; - QString driveconfig; - QString densityconfig; - QString filesystemconfig; + TQString driveconfig; + TQString densityconfig; + TQString filesystemconfig; KConfig *config; int drive; @@ -95,24 +95,24 @@ private: bool formating; //bool abort; - QGroupBox* outerframe; - QLabel* label1; - QLabel* label2; - QLabel* label3; - QButtonGroup* buttongroup; - QCheckBox* verifylabel; - QCheckBox* labellabel; - QLineEdit* lineedit; - QRadioButton* quick; - QRadioButton* zerooutformat; + TQGroupBox* outerframe; + TQLabel* label1; + TQLabel* label2; + TQLabel* label3; + TQButtonGroup* buttongroup; + TQCheckBox* verifylabel; + TQCheckBox* labellabel; + TQLineEdit* lineedit; + TQRadioButton* quick; + TQRadioButton* zerooutformat; KPushButton* quitbutton; KPushButton* helpbutton; - QRadioButton* fullformat; + TQRadioButton* fullformat; KPushButton* formatbutton; - QLabel* frame; - QComboBox* deviceComboBox; - QComboBox* filesystemComboBox; - QComboBox* densityComboBox; + TQLabel* frame; + TQComboBox* deviceComboBox; + TQComboBox* filesystemComboBox; + TQComboBox* densityComboBox; KProgress* progress; KHelpMenu* helpMenu; @@ -121,7 +121,7 @@ private: bool m_canLowLevel; ///< Low level formatting is possible (i.e. was fdformat found?) bool m_canZeroOut; ///< Is zero-out possible (i.e. was dd found?) protected: - void keyPressEvent(QKeyEvent *e); + void keyPressEvent(TQKeyEvent *e); }; |