##// END OF EJS Templates
- wrapped instances are now wrapped by class specific subtypes to facilitate future deriving from python...
- wrapped instances are now wrapped by class specific subtypes to facilitate future deriving from python - object creation has changed by using the python type system (calling the type object with PyObject_Call) git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@54 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r18:44e5ff2700cb
Show More
PythonQtWrapper_QMutex.cpp
29 lines | 598 B | text/x-c | CppLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include "PythonQtWrapper_QMutex.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)
{
return theWrappedObject->tryLock();
}
bool PythonQtWrapper_QMutex::tryLock(QMutex* theWrappedObject, int timeout)
{
return theWrappedObject->tryLock(timeout);
}
void PythonQtWrapper_QMutex::unlock(QMutex* theWrappedObject)
{
theWrappedObject->unlock();
}