summaryrefslogtreecommitdiffstats
path: root/kdat
diff options
context:
space:
mode:
Diffstat (limited to 'kdat')
-rw-r--r--kdat/BackupDlg.cpp4
-rw-r--r--kdat/IndexDlg.cpp4
-rw-r--r--kdat/KDatMainWindow.cpp8
-rw-r--r--kdat/VerifyDlg.cpp4
4 files changed, 10 insertions, 10 deletions
diff --git a/kdat/BackupDlg.cpp b/kdat/BackupDlg.cpp
index 381bcf7..834567e 100644
--- a/kdat/BackupDlg.cpp
+++ b/kdat/BackupDlg.cpp
@@ -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;
diff --git a/kdat/IndexDlg.cpp b/kdat/IndexDlg.cpp
index 4c9ff2f..2cfedcf 100644
--- a/kdat/IndexDlg.cpp
+++ b/kdat/IndexDlg.cpp
@@ -221,13 +221,13 @@ void IndexDlg::slotOK()
void IndexDlg::slotAbort()
{
- TQT_TQOBJECT(this)->killTimers();
+ this->killTimers();
_aborted = TRUE;
}
void IndexDlg::timerEvent( TQTimerEvent* )
{
- TQT_TQOBJECT(this)->killTimers();
+ this->killTimers();
// Rewind tape.
_log->append( i18n( "Rewinding tape." ) );
diff --git a/kdat/KDatMainWindow.cpp b/kdat/KDatMainWindow.cpp
index e89a83f..8e5e2a1 100644
--- a/kdat/KDatMainWindow.cpp
+++ b/kdat/KDatMainWindow.cpp
@@ -157,15 +157,15 @@ KDatMainWindow::KDatMainWindow()
_toolbar = new TDEToolBar( this );
- _toolbar->insertButton( *ImageCache::instance()->getTapeUnmounted(), 0, TQT_SIGNAL( clicked( int ) ), TQT_TQOBJECT(this), TQT_SLOT( fileMountTape() ), TRUE, i18n( "Mount/unmount tape" ) );
+ _toolbar->insertButton( *ImageCache::instance()->getTapeUnmounted(), 0, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( fileMountTape() ), TRUE, i18n( "Mount/unmount tape" ) );
_toolbar->insertSeparator();
- _toolbar->insertButton( *ImageCache::instance()->getBackup() , 1, TQT_SIGNAL( clicked( int ) ), TQT_TQOBJECT(this), TQT_SLOT( fileBackup() ) , TRUE, i18n( "Backup" ) );
+ _toolbar->insertButton( *ImageCache::instance()->getBackup() , 1, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( fileBackup() ) , TRUE, i18n( "Backup" ) );
_toolbar->setButtonIconSet( 1, BarIconSet("kdat_backup"));
- _toolbar->insertButton( *ImageCache::instance()->getRestore(), 2, TQT_SIGNAL( clicked( int ) ), TQT_TQOBJECT(this), TQT_SLOT( fileRestore() ), TRUE, i18n( "Restore" ) );
+ _toolbar->insertButton( *ImageCache::instance()->getRestore(), 2, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( fileRestore() ), TRUE, i18n( "Restore" ) );
_toolbar->setButtonIconSet( 2, BarIconSet("kdat_restore"));
- _toolbar->insertButton( *ImageCache::instance()->getVerify() , 3, TQT_SIGNAL( clicked( int ) ), TQT_TQOBJECT(this), TQT_SLOT( fileVerify() ) , TRUE, i18n( "Verify" ) );
+ _toolbar->insertButton( *ImageCache::instance()->getVerify() , 3, TQT_SIGNAL( clicked( int ) ), this, TQT_SLOT( fileVerify() ) , TRUE, i18n( "Verify" ) );
_toolbar->setButtonIconSet( 3, BarIconSet("kdat_verify"));
addToolBar( _toolbar );
diff --git a/kdat/VerifyDlg.cpp b/kdat/VerifyDlg.cpp
index c43fa00..0580144 100644
--- a/kdat/VerifyDlg.cpp
+++ b/kdat/VerifyDlg.cpp
@@ -233,7 +233,7 @@ void VerifyDlg::show()
void VerifyDlg::slotProcessExited( TDEProcess* )
{
- TQT_TQOBJECT(this)->killTimers();
+ this->killTimers();
delete _proc;
// Set this, or we get caught in a loop.
@@ -307,7 +307,7 @@ void VerifyDlg::slotAbort()
void VerifyDlg::timerEvent( TQTimerEvent* )
{
- TQT_TQOBJECT(this)->killTimers();
+ this->killTimers();
int oldElapsed = 0;