PythonQtWrapper_QTimer.h
28 lines
| 775 B
| text/x-c
|
CLexer
florianlink
|
r13 | #ifndef PYTHONQTWRAPPER_QTIMER_H | ||
#define PYTHONQTWRAPPER_QTIMER_H | ||||
#include <qtimer.h> | ||||
#include <QObject> | ||||
#include <QVariant> | ||||
#include <qbytearray.h> | ||||
#include <qcoreevent.h> | ||||
#include <qlist.h> | ||||
#include <qobject.h> | ||||
#include <qtimer.h> | ||||
class PythonQtWrapper_QTimer : public QObject | ||||
{ Q_OBJECT | ||||
public: | ||||
public slots: | ||||
QTimer* new_QTimer(QObject* parent = 0); | ||||
void delete_QTimer(QTimer* obj) { delete obj; } | ||||
int interval(QTimer* theWrappedObject) const; | ||||
bool isActive(QTimer* theWrappedObject) const; | ||||
bool isSingleShot(QTimer* theWrappedObject) const; | ||||
void setInterval(QTimer* theWrappedObject, int msec); | ||||
void setSingleShot(QTimer* theWrappedObject, bool singleShot); | ||||
int timerId(QTimer* theWrappedObject) const; | ||||
}; | ||||
#endif // PYTHONQTWRAPPER_QTIMER_H | ||||