##// 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_QTimer.cpp
43 lines | 973 B | text/x-c | CppLexer
#include "PythonQtWrapper_QTimer.h"
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtimer.h>
QTimer* PythonQtWrapper_QTimer::new_QTimer(QObject* parent)
{
return new QTimer(parent); }
int PythonQtWrapper_QTimer::interval(QTimer* theWrappedObject) const
{
return theWrappedObject->interval();
}
bool PythonQtWrapper_QTimer::isActive(QTimer* theWrappedObject) const
{
return theWrappedObject->isActive();
}
bool PythonQtWrapper_QTimer::isSingleShot(QTimer* theWrappedObject) const
{
return theWrappedObject->isSingleShot();
}
void PythonQtWrapper_QTimer::setInterval(QTimer* theWrappedObject, int msec)
{
theWrappedObject->setInterval(msec);
}
void PythonQtWrapper_QTimer::setSingleShot(QTimer* theWrappedObject, bool singleShot)
{
theWrappedObject->setSingleShot(singleShot);
}
int PythonQtWrapper_QTimer::timerId(QTimer* theWrappedObject) const
{
return theWrappedObject->timerId();
}