diff options
Diffstat (limited to 'kdat/BackupDlg.cpp')
-rw-r--r-- | kdat/BackupDlg.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/kdat/BackupDlg.cpp b/kdat/BackupDlg.cpp index 381bcf7..09358e6 100644 --- a/kdat/BackupDlg.cpp +++ b/kdat/BackupDlg.cpp @@ -32,7 +32,7 @@ #include <kstdguiitem.h> #include <tdeapplication.h> -#include <kprocess.h> +#include <tdeprocess.h> #include <tdemessagebox.h> #include <kpushbutton.h> #include <kstdguiitem.h> @@ -132,17 +132,17 @@ BackupDlg::BackupDlg( const TQString & archiveName, const TQString & workingDir, _ok = new KPushButton( KStdGuiItem::ok(), this ); _ok->setFixedSize( 80, _ok->sizeHint().height() ); - connect( _ok, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotOK() ) ); + connect( _ok, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotOK() ) ); _ok->setEnabled( FALSE ); _save = new TQPushButton( i18n( "Save Log..." ), this ); _save->setFixedSize( 80, _save->sizeHint().height() ); - connect( _save, TQT_SIGNAL( clicked() ), _log, TQT_SLOT( save() ) ); + connect( _save, TQ_SIGNAL( clicked() ), _log, TQ_SLOT( save() ) ); _save->setEnabled( FALSE ); _abort = new KPushButton( KStdGuiItem::cancel(), this ); _abort->setFixedSize( 80, _abort->sizeHint().height() ); - connect( _abort, TQT_SIGNAL( clicked() ), this, TQT_SLOT( slotAbort() ) ); + connect( _abort, TQ_SIGNAL( clicked() ), this, TQ_SLOT( slotAbort() ) ); TQVBoxLayout* l1 = new TQVBoxLayout( this, 8, 4 ); @@ -214,7 +214,7 @@ void BackupDlg::show() } _tarParser = new TarParser(); - connect( _tarParser, TQT_SIGNAL( sigEntry( const TQString &, int, int, int ) ), this, TQT_SLOT( slotEntry( const TQString &, int, int, int ) ) ); + connect( _tarParser, TQ_SIGNAL( sigEntry( const TQString &, int, int, int ) ), this, TQ_SLOT( slotEntry( const TQString &, int, int, int ) ) ); _proc = new TDEProcess(); *_proc << Options::instance()->getTarCommand(); @@ -281,8 +281,8 @@ void BackupDlg::show() return; } - connect( _proc, TQT_SIGNAL( processExited( TDEProcess* ) ), this, TQT_SLOT( slotProcessExited( TDEProcess* ) ) ); - connect( _proc, TQT_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), this, TQT_SLOT( slotStdout( TDEProcess*, char*, int ) ) ); + connect( _proc, TQ_SIGNAL( processExited( TDEProcess* ) ), this, TQ_SLOT( slotProcessExited( TDEProcess* ) ) ); + connect( _proc, TQ_SIGNAL( receivedStdout( TDEProcess*, char*, int ) ), this, TQ_SLOT( slotStdout( TDEProcess*, char*, int ) ) ); startTimer( 1000 ); @@ -305,7 +305,7 @@ void BackupDlg::slotProcessExited( TDEProcess* ) TapeDrive::instance()->close(); TapeDrive::instance()->open(); - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); delete _proc; _tape->addChild( _archive ); @@ -381,7 +381,7 @@ void BackupDlg::slotOK() void BackupDlg::slotAbort() { - TQT_TQOBJECT(this)->killTimers(); + this->killTimers(); if ( _proc ) { _proc->kill(); delete _proc; |