##// END OF EJS Templates
fixed bad reference counting and borrowed references...
fixed bad reference counting and borrowed references git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@55 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r13:d46b01f7163a
r19:4f416979f8bf
Show More
PythonQtWrapper_QMutex.h
25 lines | 688 B | text/x-c | CLexer
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QMUTEX_H
#define PYTHONQTWRAPPER_QMUTEX_H
#include <qmutex.h>
#include <QObject>
#include <QVariant>
#include <qmutex.h>
class PythonQtWrapper_QMutex : public QObject
{ Q_OBJECT
public:
Q_ENUMS(RecursionMode )
enum RecursionMode{
NonRecursive = QMutex::NonRecursive, Recursive = QMutex::Recursive};
public slots:
QMutex* new_QMutex(QMutex::RecursionMode mode = QMutex::NonRecursive);
void delete_QMutex(QMutex* obj) { delete obj; }
void lock(QMutex* theWrappedObject);
bool tryLock(QMutex* theWrappedObject);
bool tryLock(QMutex* theWrappedObject, int timeout);
void unlock(QMutex* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QMUTEX_H