diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-30 16:28:59 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-31 22:26:22 +0900 |
commit | f476b77d1dda2e0e45cdf065b1907215c90fccd6 (patch) | |
tree | dec65915640fe8ca8f67f9c490575d939b89d5df /src/gvcore/busylevelmanager.cpp | |
parent | 5eb453b778dba31ee1c5956ca9c9d6483c1cd620 (diff) | |
download | gwenview-f476b77d1dda2e0e45cdf065b1907215c90fccd6.tar.gz gwenview-f476b77d1dda2e0e45cdf065b1907215c90fccd6.zip |
Use new TQ_METHOD, TQ_SIGNAL, TQ_SLOT defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 97ea83f8b23cc80320874b97b671c736a83c378a)
Diffstat (limited to 'src/gvcore/busylevelmanager.cpp')
-rw-r--r-- | src/gvcore/busylevelmanager.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gvcore/busylevelmanager.cpp b/src/gvcore/busylevelmanager.cpp index 319c863..09716f4 100644 --- a/src/gvcore/busylevelmanager.cpp +++ b/src/gvcore/busylevelmanager.cpp @@ -40,8 +40,8 @@ namespace Gwenview { BusyLevelManager::BusyLevelManager() : mCurrentBusyLevel( BUSY_NONE ) { - connect( &mDelayedBusyLevelTimer, TQT_SIGNAL( timeout()), - this, TQT_SLOT( delayedBusyLevelChanged())); + connect( &mDelayedBusyLevelTimer, TQ_SIGNAL( timeout()), + this, TQ_SLOT( delayedBusyLevelChanged())); } BusyLevelManager* BusyLevelManager::instance() { @@ -68,12 +68,12 @@ void BusyLevelManager::setBusyLevel( TQObject* obj, BusyLevel level ) { if( level > BUSY_NONE ) { if( mBusyLevels.contains( obj ) && mBusyLevels[ obj ] == level ) return; if( !mBusyLevels.contains( obj )) { - connect( obj, TQT_SIGNAL( destroyed( TQObject* )), this, TQT_SLOT( objectDestroyed( TQObject* ))); + connect( obj, TQ_SIGNAL( destroyed( TQObject* )), this, TQ_SLOT( objectDestroyed( TQObject* ))); } mBusyLevels[ obj ] = level; } else { mBusyLevels.remove( obj ); - disconnect( obj, TQT_SIGNAL( destroyed( TQObject* )), this, TQT_SLOT( objectDestroyed( TQObject* ))); + disconnect( obj, TQ_SIGNAL( destroyed( TQObject* )), this, TQ_SLOT( objectDestroyed( TQObject* ))); } mDelayedBusyLevelTimer.start( 0, true ); } |