#ifndef PYTHONQTWRAPPER_QTIMER_H #define PYTHONQTWRAPPER_QTIMER_H #include #include #include #include #include #include #include #include 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