##// 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_QEventLoop.cpp
42 lines | 1.1 KiB | text/x-c | CppLexer
#include "PythonQtWrapper_QEventLoop.h"
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
QEventLoop* PythonQtWrapper_QEventLoop::new_QEventLoop(QObject* parent)
{
return new QEventLoop(parent); }
int PythonQtWrapper_QEventLoop::exec(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags)
{
return theWrappedObject->exec(flags);
}
void PythonQtWrapper_QEventLoop::exit(QEventLoop* theWrappedObject, int returnCode)
{
theWrappedObject->exit(returnCode);
}
bool PythonQtWrapper_QEventLoop::isRunning(QEventLoop* theWrappedObject) const
{
return theWrappedObject->isRunning();
}
bool PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags)
{
return theWrappedObject->processEvents(flags);
}
void PythonQtWrapper_QEventLoop::processEvents(QEventLoop* theWrappedObject, QEventLoop::ProcessEventsFlags flags, int maximumTime)
{
theWrappedObject->processEvents(flags, maximumTime);
}
void PythonQtWrapper_QEventLoop::wakeUp(QEventLoop* theWrappedObject)
{
theWrappedObject->wakeUp();
}