##// END OF EJS Templates
fixed Qt3Support member...
fixed Qt3Support member git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@131 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r95:4e6b32d68b66
Show More
PythonQtWrapper_QReadWriteLock.h
31 lines | 1.1 KiB | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QREADWRITELOCK_H
#define PYTHONQTWRAPPER_QREADWRITELOCK_H
#include <qreadwritelock.h>
#include <QObject>
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 #include <PythonQt.h>
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #include <QVariant>
#include <qreadwritelock.h>
class PythonQtWrapper_QReadWriteLock : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RecursionMode )
enum RecursionMode{
NonRecursive = QReadWriteLock::NonRecursive, Recursive = QReadWriteLock::Recursive};
public slots:
QReadWriteLock* new_QReadWriteLock();
QReadWriteLock* new_QReadWriteLock(QReadWriteLock::RecursionMode recursionMode);
void delete_QReadWriteLock(QReadWriteLock* obj) { delete obj; }
void lockForWrite(QReadWriteLock* theWrappedObject);
bool tryLockForRead(QReadWriteLock* theWrappedObject);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 void unlock(QReadWriteLock* theWrappedObject);
florianlink
recreated wrappers to match current python qt version...
r73 bool tryLockForRead(QReadWriteLock* theWrappedObject, int timeout);
bool tryLockForWrite(QReadWriteLock* theWrappedObject);
void lockForRead(QReadWriteLock* theWrappedObject);
bool tryLockForWrite(QReadWriteLock* theWrappedObject, int timeout);
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 };
#endif // PYTHONQTWRAPPER_QREADWRITELOCK_H