diff options
Diffstat (limited to 'doc/man/man3/tqtimer.3qt')
-rw-r--r-- | doc/man/man3/tqtimer.3qt | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqtimer.3qt b/doc/man/man3/tqtimer.3qt index 0d45442d4..c690bbede 100644 --- a/doc/man/man3/tqtimer.3qt +++ b/doc/man/man3/tqtimer.3qt @@ -11,12 +11,12 @@ QTimer \- Timer signals and single-shot timers .SH SYNOPSIS \fC#include <ntqtimer.h>\fR .PP -Inherits QObject. +Inherits TQObject. .PP .SS "Public Members" .in +1c .ti -1c -.BI "\fBQTimer\fR ( QObject * parent = 0, const char * name = 0 )" +.BI "\fBQTimer\fR ( TQObject * parent = 0, const char * name = 0 )" .br .ti -1c .BI "\fB~QTimer\fR ()" @@ -46,7 +46,7 @@ Inherits QObject. .SS "Static Public Members" .in +1c .ti -1c -.BI "void \fBsingleShot\fR ( int msec, QObject * receiver, const char * member )" +.BI "void \fBsingleShot\fR ( int msec, TQObject * receiver, const char * member )" .br .in -1c .SH DESCRIPTION @@ -88,13 +88,13 @@ myObject->processOneThing() will be called repeatedly and should return quickly .PP Note that QTimer's accuracy depends on the underlying operating system and hardware. Most platforms support an accuracy of 20ms; some provide more. If TQt is unable to deliver the requested number of timer clicks, it will silently discard some. .PP -An alternative to using QTimer is to call QObject::startTimer() for your object and reimplement the QObject::timerEvent() event handler in your class (which must, of course, inherit QObject). The disadvantage is that timerEvent() does not support such high-level features as single-shot timers or signals. +An alternative to using QTimer is to call TQObject::startTimer() for your object and reimplement the TQObject::timerEvent() event handler in your class (which must, of course, inherit TQObject). The disadvantage is that timerEvent() does not support such high-level features as single-shot timers or signals. .PP Some operating systems limit the number of timers that may be used; TQt tries to work around these limitations. .PP See also Event Classes and Time and Date. .SH MEMBER FUNCTION DOCUMENTATION -.SH "QTimer::QTimer ( QObject * parent = 0, const char * name = 0 )" +.SH "QTimer::QTimer ( TQObject * parent = 0, const char * name = 0 )" Constructs a timer called \fIname\fR, with the parent \fIparent\fR. .PP Note that the parent object's destructor will destroy this timer object. @@ -110,7 +110,7 @@ See also start() and isActive(). Returns TRUE if the timer is running (pending); otherwise returns FALSE. .PP Example: t11/cannon.cpp. -.SH "void QTimer::singleShot ( int msec, QObject * receiver, const char * member )\fC [static]\fR" +.SH "void QTimer::singleShot ( int msec, TQObject * receiver, const char * member )\fC [static]\fR" This static function calls a slot after a given time interval. .PP It is very convenient to use this function because you do not need to bother with a timerEvent or to create a local QTimer object. |