summaryrefslogtreecommitdiffstats
path: root/doc/html/ntqthread.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/ntqthread.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/ntqthread.html')
-rw-r--r--doc/html/ntqthread.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/html/ntqthread.html b/doc/html/ntqthread.html
index 8fc0e5660..ce1e9397b 100644
--- a/doc/html/ntqthread.html
+++ b/doc/html/ntqthread.html
@@ -148,7 +148,7 @@ size is outside these limits.
TQThread destructor.
<p> Note that deleting a TQThread object will not stop the execution of
the thread it represents. Deleting a running TQThread (i.e.
-<a href="#finished">finished</a>() returns FALSE) will probably result in a program crash.
+<a href="#finished">finished</a>() returns false) will probably result in a program crash.
You can <a href="#wait">wait</a>() on a thread to make sure that it has finished.
<h3 class=fn>TQt::HANDLE <a name="currentThread"></a>TQThread::currentThread ()<tt> [static]</tt>
@@ -166,7 +166,7 @@ waiting for its termination.
<h3 class=fn>bool <a name="finished"></a>TQThread::finished () const
</h3>
-Returns TRUE if the thread is finished; otherwise returns FALSE.
+Returns true if the thread is finished; otherwise returns false.
<h3 class=fn>void <a name="msleep"></a>TQThread::msleep ( unsigned&nbsp;long&nbsp;msecs )<tt> [static protected]</tt>
</h3>
@@ -187,7 +187,7 @@ will end the execution of the thread.
<h3 class=fn>bool <a name="running"></a>TQThread::running () const
</h3>
-Returns TRUE if the thread is running; otherwise returns FALSE.
+Returns true if the thread is running; otherwise returns false.
<h3 class=fn>void <a name="sleep"></a>TQThread::sleep ( unsigned&nbsp;long&nbsp;secs )<tt> [static protected]</tt>
</h3>
@@ -230,11 +230,11 @@ conditions is met:
<p> <ul>
<li> The thread associated with this TQThread object has finished
execution (i.e. when it returns from <a href="#run">run</a>()). This function
-will return TRUE if the thread has finished. It also returns
-TRUE if the thread has not been started yet.
+will return true if the thread has finished. It also returns
+true if the thread has not been started yet.
<li> <em>time</em> milliseconds has elapsed. If <em>time</em> is ULONG_MAX (the
default), then the wait will never timeout (the thread must
-return from <a href="#run">run</a>()). This function will return FALSE if the
+return from <a href="#run">run</a>()). This function will return false if the
wait timed out.
</ul>
<p> This provides similar functionality to the POSIX <tt>pthread_join()</tt> function.