summaryrefslogtreecommitdiffstats
path: root/doc/man/man3/tqtimer.3qt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-07-26 11:44:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-07-30 14:26:34 +0900
commit6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch)
tree0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqtimer.3qt
parentff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff)
downloadtqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz
tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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