diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2010-07-31 19:25:18 +0000 |
commit | aa3a1ca934bc541bddd3fa136a85f106f7da266e (patch) | |
tree | 9ad0b795aed8fa4ac30c2fe0fd1aacb8175714c0 /kdat/BackupDlg.h | |
parent | b10cf7066791a2f362495890cd50c984e8025412 (diff) | |
download | tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.tar.gz tdeadmin-aa3a1ca934bc541bddd3fa136a85f106f7da266e.zip |
Trinity Qt initial conversion
git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdeadmin@1157635 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'kdat/BackupDlg.h')
-rw-r--r-- | kdat/BackupDlg.h | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/kdat/BackupDlg.h b/kdat/BackupDlg.h index d15f5c4..c3c602b 100644 --- a/kdat/BackupDlg.h +++ b/kdat/BackupDlg.h @@ -19,7 +19,7 @@ #ifndef _BackupDlg_h_ #define _BackupDlg_h_ -#include <qdialog.h> +#include <tqdialog.h> class QLabel; class QPushButton; @@ -35,30 +35,30 @@ class TarParser; /** * @short Status dialog for backing up files. */ -class BackupDlg : public QDialog { +class BackupDlg : public TQDialog { Q_OBJECT KProcess* _proc; TarParser* _tarParser; - QString _archiveName; - QString _workingDir; - QStringList _files; + TQString _archiveName; + TQString _workingDir; + TQStringList _files; bool _oneFilesystem; bool _incremental; - QString _snapshot; + TQString _snapshot; bool _removeSnapshot; int _archiveSize; Tape* _tape; float _totalKBytes; uint _totalRecords; - QLabel* _elapsedTime; - QLabel* _timeRemaining; - QLabel* _kbytesWritten; - QLabel* _transferRate; - QLabel* _fileCount; + TQLabel* _elapsedTime; + TQLabel* _timeRemaining; + TQLabel* _kbytesWritten; + TQLabel* _transferRate; + TQLabel* _fileCount; LoggerWidget* _log; - QPushButton* _ok; - QPushButton* _save; - QPushButton* _abort; + TQPushButton* _ok; + TQPushButton* _save; + TQPushButton* _abort; int _startTime; Archive* _archive; bool _aborted; @@ -67,7 +67,7 @@ class BackupDlg : public QDialog { int _fileSize; int _fileMTime; int _fileStartRecord; - QString _fileName; + TQString _fileName; void updateStats(); private slots: @@ -75,10 +75,10 @@ private slots: void slotStdout( KProcess* proc, char* buf, int len ); void slotOK(); void slotAbort(); - void slotEntry( const QString& name, int size, int mtime, int record ); + void slotEntry( const TQString& name, int size, int mtime, int record ); protected: void show(); - void timerEvent( QTimerEvent* e ); + void timerEvent( TQTimerEvent* e ); public: /** * Create a backup dialog. @@ -95,9 +95,9 @@ public: * @param parent The parent widget for this dialog. * @param name The name of this widget. */ - BackupDlg( const QString & archiveName, const QString & workingDir, const QStringList& files, bool oneFilesystem, bool incremental, - const QString & snapshot, bool removeSnapshot, int archiveSize, Tape* tape, - QWidget* parent = 0, const char* name = 0 ); + BackupDlg( const TQString & archiveName, const TQString & workingDir, const TQStringList& files, bool oneFilesystem, bool incremental, + const TQString & snapshot, bool removeSnapshot, int archiveSize, Tape* tape, + TQWidget* parent = 0, const char* name = 0 ); /** * Destroy the backup dialog. |