##// END OF EJS Templates
updated version number, next version will be 2.0 due to the wrapping generator addition...
updated version number, next version will be 2.0 due to the wrapping generator addition git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@69 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r33:1742cf875fd9
Show More
PythonQtWrapper_QMutex.cpp
32 lines | 702 B | text/x-c | CppLexer
#include "PythonQtWrapper_QMutex.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qmutex.h>
QMutex* PythonQtWrapper_QMutex::new_QMutex(QMutex::RecursionMode mode)
{
return new QMutex(mode); }
void PythonQtWrapper_QMutex::lock(QMutex* theWrappedObject)
{
theWrappedObject->lock();
}
bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout)
{
return theWrappedObject->tryLock(timeout);
}
void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject)
{
theWrappedObject->unlock();
}
bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject)
{
return theWrappedObject->tryLock();
}