summaryrefslogtreecommitdiffstats
path: root/kdat/BackupDlg.h
diff options
context:
space:
mode:
Diffstat (limited to 'kdat/BackupDlg.h')
-rw-r--r--kdat/BackupDlg.h40
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.