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