diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-20 21:19:56 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-21 09:04:21 +0900 |
commit | 1ab02499bb11845caae3b8ea8e7ded216b4c98b1 (patch) | |
tree | ec28062efc733c58494b6d70f571e07791c81a59 /kdat | |
parent | ac7e4fb5ea958e01cbde02244f3a0e2994db02b2 (diff) | |
download | tdeadmin-1ab02499bb11845caae3b8ea8e7ded216b4c98b1.tar.gz tdeadmin-1ab02499bb11845caae3b8ea8e7ded216b4c98b1.zip |
Replace various '#define' strings - part 6
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 60f194231ee9019909e22e2daabb8ad784905305)
Diffstat (limited to 'kdat')
-rw-r--r-- | kdat/BackupDlg.cpp | 4 | ||||
-rw-r--r-- | kdat/IndexDlg.cpp | 4 | ||||
-rw-r--r-- | kdat/KDatMainWindow.cpp | 8 | ||||
-rw-r--r-- | kdat/VerifyDlg.cpp | 4 |
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; |