summaryrefslogtreecommitdiffstats
path: root/src/tsthread/tswaitcondition.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/tsthread/tswaitcondition.h')
-rw-r--r--src/tsthread/tswaitcondition.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/tsthread/tswaitcondition.h b/src/tsthread/tswaitcondition.h
index 09f9cab..b13695f 100644
--- a/src/tsthread/tswaitcondition.h
+++ b/src/tsthread/tswaitcondition.h
@@ -25,23 +25,23 @@ DEALINGS IN THE SOFTWARE.
#ifndef TSWAITCONDITION_H
#define TSWAITCONDITION_H
-#include <qmutex.h>
-#include <qwaitcondition.h>
+#include <tqmutex.h>
+#include <tqwaitcondition.h>
class TSWaitCondition
{
public:
TSWaitCondition();
~TSWaitCondition();
- bool wait( QMutex* mutex, unsigned long time = ULONG_MAX );
- bool wait( QMutex& mutex, unsigned long time = ULONG_MAX );
- bool cancellableWait( QMutex* mutex, unsigned long time = ULONG_MAX );
- bool cancellableWait( QMutex& mutex, unsigned long time = ULONG_MAX );
+ bool wait( TQMutex* mutex, unsigned long time = ULONG_MAX );
+ bool wait( TQMutex& mutex, unsigned long time = ULONG_MAX );
+ bool cancellableWait( TQMutex* mutex, unsigned long time = ULONG_MAX );
+ bool cancellableWait( TQMutex& mutex, unsigned long time = ULONG_MAX );
void wakeOne();
void wakeAll();
private:
- QMutex mutex;
- QWaitCondition cond;
+ TQMutex mutex;
+ TQWaitCondition cond;
private:
TSWaitCondition( const TSWaitCondition& );
TSWaitCondition& operator=( const TSWaitCondition& );
@@ -58,13 +58,13 @@ TSWaitCondition::~TSWaitCondition()
}
inline
-bool TSWaitCondition::wait( QMutex& mutex, unsigned long time )
+bool TSWaitCondition::wait( TQMutex& mutex, unsigned long time )
{
return wait( &mutex, time );
}
inline
-bool TSWaitCondition::cancellableWait( QMutex& mutex, unsigned long time )
+bool TSWaitCondition::cancellableWait( TQMutex& mutex, unsigned long time )
{
return cancellableWait( &mutex, time );
}