From aa3a1ca934bc541bddd3fa136a85f106f7da266e Mon Sep 17 00:00:00 2001 From: tpearson Date: Sat, 31 Jul 2010 19:25:18 +0000 Subject: Trinity Qt initial conversion git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kdat/VerifyDlg.h | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'kdat/VerifyDlg.h') diff --git a/kdat/VerifyDlg.h b/kdat/VerifyDlg.h index 0d7648e..a0ac521 100644 --- a/kdat/VerifyDlg.h +++ b/kdat/VerifyDlg.h @@ -19,8 +19,8 @@ #ifndef _VerifyDlg_h_ #define _VerifyDlg_h_ -#include -#include +#include +#include #include "Range.h" @@ -35,23 +35,23 @@ class TapeDrive; /** * @short Status dialog for verifying/restoring parts of an archive. */ -class VerifyDlg : public QDialog { +class VerifyDlg : public TQDialog { Q_OBJECT bool _restore; KProcess* _proc; - QString _workingDir; + TQString _workingDir; int _fileno; const RangeList& _ranges; - QString _leftover; - QLabel* _elapsedTime; - QLabel* _timeRemaining; - QLabel* _kbytesRead; - QLabel* _transferRate; - QLabel* _files; + TQString _leftover; + TQLabel* _elapsedTime; + TQLabel* _timeRemaining; + TQLabel* _kbytesRead; + TQLabel* _transferRate; + TQLabel* _files; LoggerWidget* _log; - QPushButton* _ok; - QPushButton* _save; - QPushButton* _abort; + TQPushButton* _ok; + TQPushButton* _save; + TQPushButton* _abort; int _startTime; float _totalKBytes; int _fileCount; @@ -59,7 +59,7 @@ class VerifyDlg : public QDialog { bool _wroteStdin; bool _aborted; bool _done; - QString _lastFileName; + TQString _lastFileName; void updateStats(); private slots: @@ -70,7 +70,7 @@ private slots: void slotAbort(); protected: void show(); - void timerEvent( QTimerEvent* e ); + void timerEvent( TQTimerEvent* e ); public: /** * Create a new verify/restore dialog. @@ -82,8 +82,8 @@ public: * @param parent The parent widget for the dialog. * @param name The name of this widget. */ - VerifyDlg( const QString & workingDir, int fileno, const RangeList& ranges, - bool restore = FALSE, QWidget* parent = 0, const char* name = 0 ); + VerifyDlg( const TQString & workingDir, int fileno, const RangeList& ranges, + bool restore = FALSE, TQWidget* parent = 0, const char* name = 0 ); /** * Destroy the verify/restore dialog. -- cgit v1.2.1