1QTimerEvent(3qt) QTimerEvent(3qt)
2
3
4
6 QTimerEvent - Parameters that describe a timer event
7
9 #include <qevent.h>
10
11 Inherits QEvent.
12
13 Public Members
14 QTimerEvent ( int timerId )
15 int timerId () const
16
18 The QTimerEvent class contains parameters that describe a timer event.
19
20 Timer events are sent at regular intervals to objects that have started
21 one or more timers. Each timer has a unique identifier. A timer is
22 started with QObject::startTimer().
23
24 The QTimer class provides a high-level programming interface that uses
25 signals instead of events. It also provides one-shot timers.
26
27 The event handler QObject::timerEvent() receives timer events.
28
29 See also QTimer, QObject::timerEvent(), QObject::startTimer(),
30 QObject::killTimer(), QObject::killTimers(), and Event Classes.
31
34 Constructs a timer event object with the timer identifier set to
35 timerId.
36
38 Returns the unique timer identifier, which is the same identifier as
39 returned from QObject::startTimer().
40
41 Example: dclock/dclock.cpp.
42
43
45 http://doc.trolltech.com/qtimerevent.html
46 http://www.trolltech.com/faq/tech.html
47
49 Copyright 1992-2007 Trolltech ASA, http://www.trolltech.com. See the
50 license file included in the distribution for a complete license
51 statement.
52
54 Generated automatically from the source code.
55
57 If you find a bug in Qt, please report it as described in
58 http://doc.trolltech.com/bughowto.html. Good bug reports help us to
59 help you. Thank you.
60
61 The definitive Qt documentation is provided in HTML format; it is
62 located at $QTDIR/doc/html and can be read using Qt Assistant or with a
63 web browser. This man page is provided as a convenience for those users
64 who prefer man pages, although this format is not officially supported
65 by Trolltech.
66
67 If you find errors in this manual page, please report them to qt-
68 bugs@trolltech.com. Please include the name of the manual page
69 (qtimerevent.3qt) and the Qt version (3.3.8).
70
71
72
73Trolltech AS 2 February 2007 QTimerEvent(3qt)