summaryrefslogtreecommitdiffstats
path: root/src/gvcore/busylevelmanager.cpp
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-08-10 06:08:18 +0000
commitff8c66f117613688a0979d2296cbf6c778136419 (patch)
treee08685a8a074de43b2d5a890eb2038575ddbd119 /src/gvcore/busylevelmanager.cpp
parent362662842b9a5b2c51d442b69b69c06ddb60994c (diff)
downloadgwenview-ff8c66f117613688a0979d2296cbf6c778136419.tar.gz
gwenview-ff8c66f117613688a0979d2296cbf6c778136419.zip
rename the following methods:
tqfind find tqreplace replace tqcontains contains git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1246075 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'src/gvcore/busylevelmanager.cpp')
-rw-r--r--src/gvcore/busylevelmanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gvcore/busylevelmanager.cpp b/src/gvcore/busylevelmanager.cpp
index 326fdf1..9555a0c 100644
--- a/src/gvcore/busylevelmanager.cpp
+++ b/src/gvcore/busylevelmanager.cpp
@@ -67,8 +67,8 @@ BusyLevelManager* BusyLevelManager::instance() {
void BusyLevelManager::setBusyLevel( TQObject* obj, BusyLevel level ) {
LOG("BUSY:" << level << ":" << obj << ":" << obj->className() );
if( level > BUSY_NONE ) {
- if( mBusyLevels.tqcontains( obj ) && mBusyLevels[ obj ] == level ) return;
- if( !mBusyLevels.tqcontains( obj )) {
+ if( mBusyLevels.contains( obj ) && mBusyLevels[ obj ] == level ) return;
+ if( !mBusyLevels.contains( obj )) {
connect( obj, TQT_SIGNAL( destroyed( TQObject* )), this, TQT_SLOT( objectDestroyed( TQObject* )));
}
mBusyLevels[ obj ] = level;