##// END OF EJS Templates
- added hasOwner method to manage ownership more nicely...
- added hasOwner method to manage ownership more nicely - added force flag to make delete() work - added check for hasOwner git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@51 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r15:ae998290bf19
Show More
PythonQtWrapper_QReadWriteLock.cpp
48 lines | 1.3 KiB | text/x-c | CppLexer
/ generated_cpp / com_trolltech_qt_gui / PythonQtWrapper_QReadWriteLock.cpp
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include "PythonQtWrapper_QReadWriteLock.h"
#include <QVariant>
#include <qreadwritelock.h>
QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock()
{
return new QReadWriteLock(); }
QReadWriteLock* PythonQtWrapper_QReadWriteLock::new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode)
{
return new QReadWriteLock(recursionMode); }
void PythonQtWrapper_QReadWriteLock::lockForRead(QReadWriteLock* theWrappedObject)
{
theWrappedObject->lockForRead();
}
void PythonQtWrapper_QReadWriteLock::lockForWrite(QReadWriteLock* theWrappedObject)
{
theWrappedObject->lockForWrite();
}
bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject)
{
return theWrappedObject->tryLockForRead();
}
bool PythonQtWrapper_QReadWriteLock::tryLockForRead(QReadWriteLock* theWrappedObject, int timeout)
{
return theWrappedObject->tryLockForRead(timeout);
}
bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject)
{
return theWrappedObject->tryLockForWrite();
}
bool PythonQtWrapper_QReadWriteLock::tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout)
{
return theWrappedObject->tryLockForWrite(timeout);
}
void PythonQtWrapper_QReadWriteLock::unlock(QReadWriteLock* theWrappedObject)
{
theWrappedObject->unlock();
}