##// END OF EJS Templates
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes...
improved so that dict contains properties and that dir() shows all available things, including the derived base attributes git-svn-id: svn://svn.code.sf.net/p/pythonqt/code/trunk@70 ea8d5007-eb21-0410-b261-ccb3ea6e24a9

File last commit:

r28:cf202027b50b
r34:5daedfb035c8
Show More
PythonQtWrapper_QTimer.h
50 lines | 1.4 KiB | text/x-c | CLexer
#ifndef PYTHONQTWRAPPER_QTIMER_H
#define PYTHONQTWRAPPER_QTIMER_H
#include <qtimer.h>
#include <QObject>
#include <PythonQt.h>
#include <QVariant>
#include <qbytearray.h>
#include <qcoreevent.h>
#include <qlist.h>
#include <qobject.h>
#include <qtimer.h>
class PythonQtShell_QTimer : public QTimer
{
public:
PythonQtShell_QTimer(QObject* parent = 0):QTimer(parent),_wrapper(NULL) {};
virtual void childEvent(QChildEvent* arg__1);
virtual void customEvent(QEvent* arg__1);
virtual bool event(QEvent* arg__1);
virtual bool eventFilter(QObject* arg__1, QEvent* arg__2);
virtual void timerEvent(QTimerEvent* arg__1);
PythonQtInstanceWrapper* _wrapper;
};
class PythonQtPublicPromoter_QTimer : public QTimer
{ public:
inline void promoted_timerEvent(QTimerEvent* arg__1) { QTimer::timerEvent(arg__1); }
};
class PythonQtWrapper_QTimer : public QObject
{ Q_OBJECT
public:
public slots:
QTimer* new_QTimer(QObject* parent = 0);
void delete_QTimer(QTimer* obj) { delete obj; }
void setInterval(QTimer* theWrappedObject, int msec);
bool isActive(QTimer* theWrappedObject) const;
int interval(QTimer* theWrappedObject) const;
bool isSingleShot(QTimer* theWrappedObject) const;
int timerId(QTimer* theWrappedObject) const;
void setSingleShot(QTimer* theWrappedObject, bool singleShot);
void timerEvent(QTimer* theWrappedObject, QTimerEvent* arg__1);
};
#endif // PYTHONQTWRAPPER_QTIMER_H