summaryrefslogtreecommitdiffstats
path: root/doc/html/tqtimer.html
diff options
context:
space:
mode:
Diffstat (limited to 'doc/html/tqtimer.html')
-rw-r--r--doc/html/tqtimer.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/html/tqtimer.html b/doc/html/tqtimer.html
index 3e1a5f786..01e88bf9e 100644
--- a/doc/html/tqtimer.html
+++ b/doc/html/tqtimer.html
@@ -40,7 +40,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>
@@ -71,7 +71,7 @@ parent object is destroyed.
<pre>
TQTimer *timer = new TQTimer( myObject );
<a href="tqobject.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
@@ -84,7 +84,7 @@ user interface:
<pre>
TQTimer *t = new TQTimer( myObject );
<a href="tqobject.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
@@ -128,8 +128,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="tqobject.html">TQObject</a>&nbsp;*&nbsp;receiver, const&nbsp;char&nbsp;*&nbsp;member )<tt> [static]</tt>
@@ -157,11 +157,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>().