45 #include <QtCore/qglobal.h> 62 inline bool isActive()
const {
return id != 0; }
65 void start(
int msec,
QObject *obj);
74 #endif // QBASICTIMER_H #define QT_END_NAMESPACE
This macro expands to.
Q_DECLARE_TYPEINFO(QBasicTimer, Q_MOVABLE_TYPE)
bool isActive() const
Returns true if the timer is running and has not been stopped; otherwise returns false.
The QObject class is the base class of all Qt objects.
#define QT_BEGIN_NAMESPACE
This macro expands to.
~QBasicTimer()
Destroys the basic timer.
int timerId() const
Returns the timer's ID.
QBasicTimer()
Contructs a basic timer.
The QBasicTimer class provides timer events for objects.