From 495d08bc2db58ee7fc4ea55a7158f2f61b82fc56 Mon Sep 17 00:00:00 2001 From: tpearson Date: Mon, 3 Jan 2011 20:16:47 +0000 Subject: Automated conversion for enhanced compatibility with TQt for Qt4 3.4.0 TP1 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1211357 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- ksmserver/startup.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ksmserver/startup.cpp') diff --git a/ksmserver/startup.cpp b/ksmserver/startup.cpp index 2778b9dd9..57cec37fb 100644 --- a/ksmserver/startup.cpp +++ b/ksmserver/startup.cpp @@ -267,7 +267,7 @@ void KSMServer::tryRestoreNext() if ( wm == config->readEntry( TQString("program")+n ) ) continue; // wm already started if( config->readBoolEntry( TQString( "wasWm" )+n, false )) - continue; // it was wm before, but not now, don't run it (some have --replace in command :( ) + continue; // it was wm before, but not now, don't run it (some have --tqreplace in command :( ) startApplication( restartCommand, config->readEntry( TQString("clientMachine")+n ), config->readEntry( TQString("userId")+n )); @@ -363,14 +363,14 @@ bool KSMServer::checkStartupSuspend() void KSMServer::suspendStartup( TQCString app ) { - if( !startupSuspendCount.contains( app )) + if( !startupSuspendCount.tqcontains( app )) startupSuspendCount[ app ] = 0; ++startupSuspendCount[ app ]; } void KSMServer::resumeStartup( TQCString app ) { - if( !startupSuspendCount.contains( app )) + if( !startupSuspendCount.tqcontains( app )) return; if( --startupSuspendCount[ app ] == 0 ) { startupSuspendCount.remove( app ); -- cgit v1.2.1