##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
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();
}