summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqtimer.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/ntqtimer.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/ntqtimer.html')
-rw-r--r--doc/html/ntqtimer.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/ntqtimer.html b/doc/html/ntqtimer.html
index b67890351..d944f828b 100644
--- a/doc/html/ntqtimer.html
+++ b/doc/html/ntqtimer.html
@@ -41,7 +41,7 @@ body { background: #ffffff; color: black; }
<li class=fn><a href="#TQTimer"><b>TQTimer</b></a> ( TQObject&nbsp;*&nbsp;parent = 0, const&nbsp;char&nbsp;*&nbsp;name = 0 )</li>
<li class=fn><a href="#~TQTimer"><b>~TQTimer</b></a> ()</li>
<li class=fn>bool <a href="#isActive"><b>isActive</b></a> () const</li>
-<li class=fn>int <a href="#start"><b>start</b></a> ( int&nbsp;msec, bool&nbsp;sshot = FALSE )</li>
+<li class=fn>int <a href="#start"><b>start</b></a> ( int&nbsp;msec, bool&nbsp;sshot = false )</li>
<li class=fn>void <a href="#changeInterval"><b>changeInterval</b></a> ( int&nbsp;msec )</li>
<li class=fn>void <a href="#stop"><b>stop</b></a> ()</li>
<li class=fn>int <a href="#timerId"><b>timerId</b></a> () const</li>
@@ -72,7 +72,7 @@ parent object is destroyed.
<pre>
TQTimer *timer = new TQTimer( myObject );
<a href="ntqobject.html#connect">connect</a>( timer, TQ_SIGNAL(<a href="#timeout">timeout</a>()), myObject, TQ_SLOT(timerDone()) );
- timer-&gt;<a href="#start">start</a>( 2000, TRUE ); // 2 seconds single-shot timer
+ timer-&gt;<a href="#start">start</a>( 2000, true ); // 2 seconds single-shot timer
</pre>
<p> You can also use the static <a href="#singleShot">singleShot</a>() function to create a
@@ -85,7 +85,7 @@ user interface:
<pre>
TQTimer *t = new TQTimer( myObject );
<a href="ntqobject.html#connect">connect</a>( t, TQ_SIGNAL(<a href="#timeout">timeout</a>()), TQ_SLOT(processOneThing()) );
- t-&gt;<a href="#start">start</a>( 0, FALSE );
+ t-&gt;<a href="#start">start</a>( 0, false );
</pre>
<p> myObject->processOneThing() will be called repeatedly and should
@@ -129,8 +129,8 @@ otherwise it will be started.
<h3 class=fn>bool <a name="isActive"></a>TQTimer::isActive () const
</h3>
-<p> Returns TRUE if the timer is running (pending); otherwise returns
-FALSE.
+<p> Returns true if the timer is running (pending); otherwise returns
+false.
<p>Example: <a href="tutorial1-11.html#x2376">t11/cannon.cpp</a>.
<h3 class=fn>void <a name="singleShot"></a>TQTimer::singleShot ( int&nbsp;msec, <a href="ntqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member )<tt> [static]</tt>
@@ -158,11 +158,11 @@ to create a local TQTimer object.
<p> The <em>receiver</em> is the receiving object and the <em>member</em> is the
slot. The time interval is <em>msec</em>.
-<h3 class=fn>int <a name="start"></a>TQTimer::start ( int&nbsp;msec, bool&nbsp;sshot = FALSE )
+<h3 class=fn>int <a name="start"></a>TQTimer::start ( int&nbsp;msec, bool&nbsp;sshot = false )
</h3>
Starts the timer with a <em>msec</em> milliseconds timeout, and returns
the ID of the timer, or zero when starting the timer failed.
-<p> If <em>sshot</em> is TRUE, the timer will be activated only once;
+<p> If <em>sshot</em> is true, the timer will be activated only once;
otherwise it will continue until it is stopped.
<p> Any pending timer will be stopped.
<p> <p>See also <a href="#singleShot">singleShot</a>(), <a href="#stop">stop</a>(), <a href="#changeInterval">changeInterval</a>(), and <a href="#isActive">isActive</a>().