summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtimer.3qt
diff options
context:
space:
mode:
Diffstat (limited to 'doc/man/man3/tqtimer.3qt')
-rw-r--r--doc/man/man3/tqtimer.3qt12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/man/man3/tqtimer.3qt b/doc/man/man3/tqtimer.3qt
index e62c1308a..c39ea7c9f 100644
--- a/doc/man/man3/tqtimer.3qt
+++ b/doc/man/man3/tqtimer.3qt
@@ -25,7 +25,7 @@ Inherits TQObject.
.BI "bool \fBisActive\fR () const"
.br
.ti -1c
-.BI "int \fBstart\fR ( int msec, bool sshot = FALSE )"
+.BI "int \fBstart\fR ( int msec, bool sshot = false )"
.br
.ti -1c
.BI "void \fBchangeInterval\fR ( int msec )"
@@ -64,7 +64,7 @@ Example:
.br
connect( timer, TQ_SIGNAL(timeout()), myObject, TQ_SLOT(timerDone()) );
.br
- timer->start( 2000, TRUE ); // 2 seconds single-shot timer
+ timer->start( 2000, true ); // 2 seconds single-shot timer
.br
.fi
.PP
@@ -80,7 +80,7 @@ This can be used to do heavy work while providing a snappy user interface:
.br
connect( t, TQ_SIGNAL(timeout()), TQ_SLOT(processOneThing()) );
.br
- t->start( 0, FALSE );
+ t->start( 0, false );
.br
.fi
.PP
@@ -107,7 +107,7 @@ If the timer signal is pending, it will be stopped and restarted; otherwise it w
.PP
See also start() and isActive().
.SH "bool TQTimer::isActive () const"
-Returns TRUE if the timer is running (pending); otherwise returns FALSE.
+Returns true if the timer is running (pending); otherwise returns false.
.PP
Example: t11/cannon.cpp.
.SH "void TQTimer::singleShot ( int msec, TQObject * receiver, const char * member )\fC [static]\fR"
@@ -143,10 +143,10 @@ Example:
This sample program automatically terminates after 10 minutes (i.e. 600000 milliseconds).
.PP
The \fIreceiver\fR is the receiving object and the \fImember\fR is the slot. The time interval is \fImsec\fR.
-.SH "int TQTimer::start ( int msec, bool sshot = FALSE )"
+.SH "int TQTimer::start ( int msec, bool sshot = false )"
Starts the timer with a \fImsec\fR milliseconds timeout, and returns the ID of the timer, or zero when starting the timer failed.
.PP
-If \fIsshot\fR is TRUE, the timer will be activated only once; otherwise it will continue until it is stopped.
+If \fIsshot\fR is true, the timer will be activated only once; otherwise it will continue until it is stopped.
.PP
Any pending timer will be stopped.
.PP