##// 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_QSystemSemaphore.h
31 lines | 1.5 KiB | text/x-c | CLexer
/ generated_cpp / com_trolltech_qt_core / PythonQtWrapper_QSystemSemaphore.h
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 #ifndef PYTHONQTWRAPPER_QSYSTEMSEMAPHORE_H
#define PYTHONQTWRAPPER_QSYSTEMSEMAPHORE_H
#include <qsystemsemaphore.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 <qsystemsemaphore.h>
class PythonQtWrapper_QSystemSemaphore : public QObject
{ Q_OBJECT
public:
Q_ENUMS(AccessMode SystemSemaphoreError )
enum AccessMode{
Open = QSystemSemaphore::Open, Create = QSystemSemaphore::Create};
enum SystemSemaphoreError{
NoError = QSystemSemaphore::NoError, PermissionDenied = QSystemSemaphore::PermissionDenied, KeyError = QSystemSemaphore::KeyError, AlreadyExists = QSystemSemaphore::AlreadyExists, NotFound = QSystemSemaphore::NotFound, OutOfResources = QSystemSemaphore::OutOfResources, UnknownError = QSystemSemaphore::UnknownError};
public slots:
QSystemSemaphore* new_QSystemSemaphore(const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open);
void delete_QSystemSemaphore(QSystemSemaphore* obj) { delete obj; }
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 bool release(QSystemSemaphore* theWrappedObject, int n = 1);
florianlink
upgraded wrappers to current generator version...
r28 QString errorString(QSystemSemaphore* theWrappedObject) const;
bool acquire(QSystemSemaphore* theWrappedObject);
void setKey(QSystemSemaphore* theWrappedObject, const QString& key, int initialValue = 0, QSystemSemaphore::AccessMode mode = QSystemSemaphore::Open);
florianlink
- added support for deriving CPP classes in Python and to override all public and protected virtual functions from PythonQt...
r24 QString key(QSystemSemaphore* theWrappedObject) const;
florianlink
added initial generated wrappers for Qt 4.4.3...
r13 QSystemSemaphore::SystemSemaphoreError error(QSystemSemaphore* theWrappedObject) const;
};
#endif // PYTHONQTWRAPPER_QSYSTEMSEMAPHORE_H