##// END OF EJS Templates
added alphabetic sorting...
added alphabetic sorting git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@132 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r73:40dc86970256
r96:3170eb771a99
Show More
PythonQtWrapper_QMutex.h
27 lines | 711 B | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QMUTEX_H
#define PYTHONQTWRAPPER_QMUTEX_H
#include <qmutex.h>
#include <QObject>
#include <PythonQt.h>
#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; }
bool tryLock(QMutex* theWrappedObject, int timeout);
void unlock(QMutex* theWrappedObject);
bool tryLock(QMutex* theWrappedObject);
void lock(QMutex* theWrappedObject);
};
#endif // PYTHONQTWRAPPER_QMUTEX_H