summaryrefslogtreecommitdiffstats
path: root/doc/html/qtime.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/qtime.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/qtime.html')
-rw-r--r--doc/html/qtime.html34
1 files changed, 17 insertions, 17 deletions
diff --git a/doc/html/qtime.html b/doc/html/qtime.html
index 369a105b4..4aaf123ef 100644
--- a/doc/html/qtime.html
+++ b/doc/html/qtime.html
@@ -196,27 +196,27 @@ Returns the hour part (0..23) of the time.
<h3 class=fn>bool <a name="isNull"></a>TQTime::isNull () const
</h3>
-<p> Returns TRUE if the time is equal to 00:00:00.000; otherwise
-returns FALSE. A null time is valid.
+<p> Returns true if the time is equal to 00:00:00.000; otherwise
+returns false. A null time is valid.
<p> <p>See also <a href="#isValid">isValid</a>().
<h3 class=fn>bool <a name="isValid"></a>TQTime::isValid () const
</h3>
-Returns TRUE if the time is valid; otherwise returns FALSE. The
+Returns true if the time is valid; otherwise returns false. The
time 23:30:55.746 is valid, whereas 24:12:30 is invalid.
<p> <p>See also <a href="#isNull">isNull</a>().
<h3 class=fn>bool <a name="isValid-2"></a>TQTime::isValid ( int&nbsp;h, int&nbsp;m, int&nbsp;s, int&nbsp;ms = 0 )<tt> [static]</tt>
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if the specified time is valid; otherwise returns
-FALSE.
+<p> Returns true if the specified time is valid; otherwise returns
+false.
<p> The time is valid if <em>h</em> is in the range 0..23, <em>m</em> and <em>s</em> are
in the range 0..59, and <em>ms</em> is in the range 0..999.
<p> Example:
<pre>
- TQTime::<a href="#isValid">isValid</a>(21, 10, 30); // returns TRUE
- TQTime::<a href="#isValid">isValid</a>(22, 5, 62); // returns FALSE
+ TQTime::<a href="#isValid">isValid</a>(21, 10, 30); // returns true
+ TQTime::<a href="#isValid">isValid</a>(22, 5, 62); // returns false
</pre>
@@ -241,34 +241,34 @@ seconds in a day, the result is always between -86400000 and
<h3 class=fn>bool <a name="operator!-eq"></a>TQTime::operator!= ( const&nbsp;<a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t ) const
</h3>
-<p> Returns TRUE if this time is different from <em>t</em>; otherwise returns FALSE.
+<p> Returns true if this time is different from <em>t</em>; otherwise returns false.
<h3 class=fn>bool <a name="operator-lt"></a>TQTime::operator&lt; ( const&nbsp;<a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t ) const
</h3>
-<p> Returns TRUE if this time is earlier than <em>t</em>; otherwise returns FALSE.
+<p> Returns true if this time is earlier than <em>t</em>; otherwise returns false.
<h3 class=fn>bool <a name="operator-lt-eq"></a>TQTime::operator&lt;= ( const&nbsp;<a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t ) const
</h3>
-<p> Returns TRUE if this time is earlier than or equal to <em>t</em>;
-otherwise returns FALSE.
+<p> Returns true if this time is earlier than or equal to <em>t</em>;
+otherwise returns false.
<h3 class=fn>bool <a name="operator-eq-eq"></a>TQTime::operator== ( const&nbsp;<a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t ) const
</h3>
-<p> Returns TRUE if this time is equal to <em>t</em>; otherwise returns FALSE.
+<p> Returns true if this time is equal to <em>t</em>; otherwise returns false.
<h3 class=fn>bool <a name="operator-gt"></a>TQTime::operator&gt; ( const&nbsp;<a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t ) const
</h3>
-<p> Returns TRUE if this time is later than <em>t</em>; otherwise returns FALSE.
+<p> Returns true if this time is later than <em>t</em>; otherwise returns false.
<h3 class=fn>bool <a name="operator-gt-eq"></a>TQTime::operator&gt;= ( const&nbsp;<a href="qtime.html">TQTime</a>&nbsp;&amp;&nbsp;t ) const
</h3>
-<p> Returns TRUE if this time is later than or equal to <em>t</em>;
-otherwise returns FALSE.
+<p> Returns true if this time is later than or equal to <em>t</em>;
+otherwise returns false.
<h3 class=fn>int <a name="restart"></a>TQTime::restart ()
</h3>
@@ -305,8 +305,8 @@ seconds in a day, the result is always between -86400 and 86400.
Sets the time to hour <em>h</em>, minute <em>m</em>, seconds <em>s</em> and
milliseconds <em>ms</em>.
<p> <em>h</em> must be in the range 0..23, <em>m</em> and <em>s</em> must be in the
-range 0..59, and <em>ms</em> must be in the range 0..999. Returns TRUE
-if the set time is valid; otherwise returns FALSE.
+range 0..59, and <em>ms</em> must be in the range 0..999. Returns true
+if the set time is valid; otherwise returns false.
<p> <p>See also <a href="#isValid">isValid</a>().
<h3 class=fn>void <a name="start"></a>TQTime::start ()