diff options
Diffstat (limited to 'src/tsthread/tswaitcondition.cpp')
-rw-r--r-- | src/tsthread/tswaitcondition.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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(); } |