The QTimer class provides repetitive and single-shot timers. More...
#include <QTimer>
Inherits QObject..
Note that QTimer's accuracy depends on the underlying operating system and hardware. Most platforms support an accuracy of 1 millisecond, but Windows 98 supports only 55.(), and Timers..
This property holds whether the timer is a single-shot timer.
A single-shot timer fires only once, non-single-shot timers fire every interval milliseconds.
Access functions:
See also interval and singleShot().
Constructs a timer with the given parent.
Destroys the timer.
Returns true if the timer is running (pending); otherwise returns false.(60000, &app, SLOT(quit())); ... return app.exec(); }
This sample program automatically terminates after 10 minutes (600000. It behaves essentially like the above function..