PythonQtWrapper_QTimerEvent.h
29 lines
| 641 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTIMEREVENT_H | ||
#define PYTHONQTWRAPPER_QTIMEREVENT_H | ||||
#include <qcoreevent.h> | ||||
#include <QObject> | ||||
florianlink
|
r24 | #include <PythonQt.h> | ||
florianlink
|
r13 | #include <QVariant> | ||
florianlink
|
r24 | class PythonQtShell_QTimerEvent : public QTimerEvent | ||
{ | ||||
public: | ||||
PythonQtShell_QTimerEvent(int timerId):QTimerEvent(timerId),_wrapper(NULL) {}; | ||||
PythonQtInstanceWrapper* _wrapper; | ||||
}; | ||||
florianlink
|
r13 | class PythonQtWrapper_QTimerEvent : public QObject | ||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTimerEvent* new_QTimerEvent(int timerId); | ||||
void delete_QTimerEvent(QTimerEvent* obj) { delete obj; } | ||||
int timerId(QTimerEvent* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTIMEREVENT_H | ||||