PythonQtWrapper_QWaitCondition.cpp
31 lines
| 822 B
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QWaitCondition.h" | ||
#include <QVariant> | ||||
#include <qmutex.h> | ||||
#include <qreadwritelock.h> | ||||
#include <qwaitcondition.h> | ||||
QWaitCondition* PythonQtWrapper_QWaitCondition::new_QWaitCondition() | ||||
{ | ||||
return new QWaitCondition(); } | ||||
bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QMutex* mutex, unsigned long time) | ||||
{ | ||||
return theWrappedObject->wait(mutex, time); | ||||
} | ||||
bool PythonQtWrapper_QWaitCondition::wait(QWaitCondition* theWrappedObject, QReadWriteLock* readWriteLock, unsigned long time) | ||||
{ | ||||
return theWrappedObject->wait(readWriteLock, time); | ||||
} | ||||
void PythonQtWrapper_QWaitCondition::wakeAll(QWaitCondition* theWrappedObject) | ||||
{ | ||||
theWrappedObject->wakeAll(); | ||||
} | ||||
void PythonQtWrapper_QWaitCondition::wakeOne(QWaitCondition* theWrappedObject) | ||||
{ | ||||
theWrappedObject->wakeOne(); | ||||
} | ||||