From bf7f88413be3831a9372d323d02fc0335b9f9188 Mon Sep 17 00:00:00 2001 From: tpearson Date: Thu, 26 May 2011 21:04:57 +0000 Subject: TQt4 port Gwenview This enables compilation under both Qt3 and Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/gwenview@1233720 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- src/tsthread/tswaitcondition.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tsthread/tswaitcondition.cpp') diff --git a/src/tsthread/tswaitcondition.cpp b/src/tsthread/tswaitcondition.cpp index e11e989..fb038ff 100644 --- a/src/tsthread/tswaitcondition.cpp +++ b/src/tsthread/tswaitcondition.cpp @@ -26,12 +26,12 @@ DEALINGS IN THE SOFTWARE. #include "tsthread.h" -bool TSWaitCondition::wait( QMutex* m, unsigned long time ) +bool TSWaitCondition::wait( TQMutex* m, unsigned long time ) { return cond.wait( m, time ); // TODO? } -bool TSWaitCondition::cancellableWait( QMutex* m, unsigned long time ) +bool TSWaitCondition::cancellableWait( TQMutex* m, unsigned long time ) { mutex.lock(); if( !TSThread::currentThread()->setCancelData( &mutex, &cond )) @@ -49,12 +49,12 @@ bool TSWaitCondition::cancellableWait( QMutex* m, unsigned long time ) void TSWaitCondition::wakeOne() { - QMutexLocker locker( &mutex ); + TQMutexLocker locker( &mutex ); cond.wakeOne(); } void TSWaitCondition::wakeAll() { - QMutexLocker locker( &mutex ); + TQMutexLocker locker( &mutex ); cond.wakeAll(); } -- cgit v1.2.1