diff options
Diffstat (limited to 'kdat/VerifyDlg.h')
-rw-r--r-- | kdat/VerifyDlg.h | 34 |
1 files changed, 17 insertions, 17 deletions
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 <qdialog.h> -#include <qptrlist.h> +#include <tqdialog.h> +#include <tqptrlist.h> #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. |