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