PythonQtWrapper_QBasicTimer.cpp
29 lines
| 658 B
| text/x-c
|
CppLexer
florianlink
|
r13 | #include "PythonQtWrapper_QBasicTimer.h" | ||
#include <QVariant> | ||||
#include <qobject.h> | ||||
QBasicTimer* PythonQtWrapper_QBasicTimer::new_QBasicTimer() | ||||
{ | ||||
return new QBasicTimer(); } | ||||
bool PythonQtWrapper_QBasicTimer::isActive(QBasicTimer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->isActive(); | ||||
} | ||||
void PythonQtWrapper_QBasicTimer::start(QBasicTimer* theWrappedObject, int msec, QObject* obj) | ||||
{ | ||||
theWrappedObject->start(msec, obj); | ||||
} | ||||
void PythonQtWrapper_QBasicTimer::stop(QBasicTimer* theWrappedObject) | ||||
{ | ||||
theWrappedObject->stop(); | ||||
} | ||||
int PythonQtWrapper_QBasicTimer::timerId(QBasicTimer* theWrappedObject) const | ||||
{ | ||||
return theWrappedObject->timerId(); | ||||
} | ||||