Eneboo - Documentación para desarrolladores
|
The QTimerEvent class contains parameters that describe a timer event. Más...
#include <qevent.h>
Métodos públicos | |
QTimerEvent (int timerId) | |
int | timerId () const |
QTimerEvent (int timerId) | |
int | timerId () const |
Atributos protegidos | |
int | id |
The QTimerEvent class contains parameters that describe a timer event.
Timer events are sent at regular intervals to objects that have started one or more timers. Each timer has a unique identifier. A timer is started with QObject::startTimer().
The QTimer class provides a high-level programming interface that uses signals instead of events. It also provides one-shot timers.
The event handler QObject::timerEvent() receives timer events.
QTimerEvent::QTimerEvent | ( | int | timerId | ) | [inline] |
Constructs a timer event object with the timer identifier set to timerId.
QTimerEvent::QTimerEvent | ( | int | timerId | ) | [inline] |
int QTimerEvent::timerId | ( | ) | const [inline] |
Returns the unique timer identifier, which is the same identifier as returned from QObject::startTimer().
int QTimerEvent::timerId | ( | ) | const [inline] |
int QTimerEvent::id [protected] |