##// 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_QSemaphore.cpp
37 lines | 915 B | text/x-c | CppLexer
#include "PythonQtWrapper_QSemaphore.h"
#include <PythonQtSignalReceiver.h>
#include <PythonQtMethodInfo.h>
#include <PythonQtConversion.h>
#include <QVariant>
#include <qsemaphore.h>
QSemaphore* PythonQtWrapper_QSemaphore::new_QSemaphore(int n)
{
return new QSemaphore(n); }
int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const
{
return theWrappedObject->available();
}
void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n)
{
theWrappedObject->acquire(n);
}
bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n)
{
return theWrappedObject->tryAcquire(n);
}
bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout)
{
return theWrappedObject->tryAcquire(n, timeout);
}
void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n)
{
theWrappedObject->release(n);
}