##// 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_QSemaphore.cpp
37 lines | 935 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); }
bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n)
{
return ( theWrappedObject->tryAcquire(n));
}
void PythonQtWrapper_QSemaphore::release(QSemaphore* theWrappedObject, int n)
{
( theWrappedObject->release(n));
}
int PythonQtWrapper_QSemaphore::available(QSemaphore* theWrappedObject) const
{
return ( theWrappedObject->available());
}
bool PythonQtWrapper_QSemaphore::tryAcquire(QSemaphore* theWrappedObject, int n, int timeout)
{
return ( theWrappedObject->tryAcquire(n, timeout));
}
void PythonQtWrapper_QSemaphore::acquire(QSemaphore* theWrappedObject, int n)
{
( theWrappedObject->acquire(n));
}