summaryrefslogtreecommitdiffstats
path: root/doc/html/tqrect.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-08-06 11:29:57 +0900
commitdcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch)
treed57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqrect.html
parent649c4c61a1f1f479f4532b196f68df476cef2680 (diff)
downloadtqt-rename/true-false-4.tar.gz
tqt-rename/true-false-4.zip
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqrect.html')
-rw-r--r--doc/html/tqrect.html46
1 files changed, 23 insertions, 23 deletions
diff --git a/doc/html/tqrect.html b/doc/html/tqrect.html
index 6145e1e18..f67e14723 100644
--- a/doc/html/tqrect.html
+++ b/doc/html/tqrect.html
@@ -94,10 +94,10 @@ body { background: #ffffff; color: black; }
<li class=fn>TQRect <a href="#operator-and"><b>operator&amp;</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r ) const</li>
<li class=fn>TQRect &amp; <a href="#operator|-eq"><b>operator|=</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r )</li>
<li class=fn>TQRect &amp; <a href="#operator-and-eq"><b>operator&amp;=</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r )</li>
-<li class=fn>bool <a href="#contains"><b>contains</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;proper = FALSE ) const</li>
+<li class=fn>bool <a href="#contains"><b>contains</b></a> ( const&nbsp;TQPoint&nbsp;&amp;&nbsp;p, bool&nbsp;proper = false ) const</li>
<li class=fn>bool <a href="#contains-2"><b>contains</b></a> ( int&nbsp;x, int&nbsp;y ) const</li>
<li class=fn>bool <a href="#contains-3"><b>contains</b></a> ( int&nbsp;x, int&nbsp;y, bool&nbsp;proper ) const</li>
-<li class=fn>bool <a href="#contains-4"><b>contains</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r, bool&nbsp;proper = FALSE ) const</li>
+<li class=fn>bool <a href="#contains-4"><b>contains</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r, bool&nbsp;proper = false ) const</li>
<li class=fn>TQRect <a href="#unite"><b>unite</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r ) const</li>
<li class=fn>TQRect <a href="#intersect"><b>intersect</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r ) const</li>
<li class=fn>bool <a href="#intersects"><b>intersects</b></a> ( const&nbsp;TQRect&nbsp;&amp;&nbsp;r ) const</li>
@@ -207,34 +207,34 @@ existing coordinates of the rectangle.
<p> <p>See also <a href="#moveCenter">moveCenter</a>(), <a href="#topLeft">topLeft</a>(), <a href="#bottomRight">bottomRight</a>(), <a href="#topRight">topRight</a>(), and <a href="#bottomLeft">bottomLeft</a>().
<p>Example: <a href="tooltip-example.html#x447">tooltip/tooltip.cpp</a>.
-<h3 class=fn>bool <a name="contains"></a>TQRect::contains ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;proper = FALSE ) const
+<h3 class=fn>bool <a name="contains"></a>TQRect::contains ( const&nbsp;<a href="tqpoint.html">TQPoint</a>&nbsp;&amp;&nbsp;p, bool&nbsp;proper = false ) const
</h3>
-Returns TRUE if the point <em>p</em> is inside or on the edge of the
-rectangle; otherwise returns FALSE.
-<p> If <em>proper</em> is TRUE, this function returns TRUE only if <em>p</em> is
+Returns true if the point <em>p</em> is inside or on the edge of the
+rectangle; otherwise returns false.
+<p> If <em>proper</em> is true, this function returns true only if <em>p</em> is
inside (not on the edge).
<p>Example: <a href="tutorial1-14.html#x2426">t14/cannon.cpp</a>.
<h3 class=fn>bool <a name="contains-2"></a>TQRect::contains ( int&nbsp;x, int&nbsp;y ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if the point <em>x</em>, <em>y</em> is inside this rectangle;
-otherwise returns FALSE.
+<p> Returns true if the point <em>x</em>, <em>y</em> is inside this rectangle;
+otherwise returns false.
<h3 class=fn>bool <a name="contains-3"></a>TQRect::contains ( int&nbsp;x, int&nbsp;y, bool&nbsp;proper ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if the point <em>x</em>, <em>y</em> is inside this rectangle;
-otherwise returns FALSE.
-<p> If <em>proper</em> is TRUE, this function returns TRUE only if the point
+<p> Returns true if the point <em>x</em>, <em>y</em> is inside this rectangle;
+otherwise returns false.
+<p> If <em>proper</em> is true, this function returns true only if the point
is entirely inside (not on the edge).
-<h3 class=fn>bool <a name="contains-4"></a>TQRect::contains ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r, bool&nbsp;proper = FALSE ) const
+<h3 class=fn>bool <a name="contains-4"></a>TQRect::contains ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r, bool&nbsp;proper = false ) const
</h3>
This is an overloaded member function, provided for convenience. It behaves essentially like the above function.
-<p> Returns TRUE if the rectangle <em>r</em> is inside this rectangle;
-otherwise returns FALSE.
-<p> If <em>proper</em> is TRUE, this function returns TRUE only if <em>r</em> is
+<p> Returns true if the rectangle <em>r</em> is inside this rectangle;
+otherwise returns false.
+<p> If <em>proper</em> is true, this function returns true only if <em>r</em> is
entirely inside (not on the edge).
<p> <p>See also <a href="#unite">unite</a>(), <a href="#intersect">intersect</a>(), and <a href="#intersects">intersects</a>().
@@ -260,16 +260,16 @@ Returns the intersection of this rectangle and rectangle <em>r</em>.
<h3 class=fn>bool <a name="intersects"></a>TQRect::intersects ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r ) const
</h3>
-Returns TRUE if this rectangle intersects with rectangle <em>r</em>
+Returns true if this rectangle intersects with rectangle <em>r</em>
(there is at least one pixel that is within both rectangles);
-otherwise returns FALSE.
+otherwise returns false.
<p> <p>See also <a href="#intersect">intersect</a>() and <a href="#contains">contains</a>().
<p>Examples: <a href="tutorial1-11.html#x2370">t11/cannon.cpp</a>, <a href="tutorial1-12.html#x2393">t12/cannon.cpp</a>, <a href="tutorial1-13.html#x2406">t13/cannon.cpp</a>, and <a href="tutorial1-14.html#x2427">t14/cannon.cpp</a>.
<h3 class=fn>bool <a name="isEmpty"></a>TQRect::isEmpty () const
</h3>
-<p> Returns TRUE if the rectangle is empty; otherwise returns FALSE.
+<p> Returns true if the rectangle is empty; otherwise returns false.
<p> An empty rectangle has a <a href="#left">left</a>() &gt; <a href="#right">right</a>() or <a href="#top">top</a>() &gt; <a href="#bottom">bottom</a>().
<p> An empty rectangle is not valid. <tt>isEmpty() == !isValid()</tt>
<p> <p>See also <a href="#isNull">isNull</a>(), <a href="#isValid">isValid</a>(), and <a href="#normalize">normalize</a>().
@@ -277,8 +277,8 @@ otherwise returns FALSE.
<h3 class=fn>bool <a name="isNull"></a>TQRect::isNull () const
</h3>
-<p> Returns TRUE if the rectangle is a null rectangle; otherwise
-returns FALSE.
+<p> Returns true if the rectangle is a null rectangle; otherwise
+returns false.
<p> A null rectangle has both the width and the height set to 0, that
is <a href="#right">right</a>() == <a href="#left">left</a>() - 1 and <a href="#bottom">bottom</a>() == <a href="#top">top</a>() - 1.
<p> Note that if right() == left() and bottom() == top(), then the
@@ -290,7 +290,7 @@ rectangle has width 1 and height 1.
<h3 class=fn>bool <a name="isValid"></a>TQRect::isValid () const
</h3>
-<p> Returns TRUE if the rectangle is valid; otherwise returns FALSE.
+<p> Returns true if the rectangle is valid; otherwise returns false.
<p> A valid rectangle has a <a href="#left">left</a>() &lt;= <a href="#right">right</a>() and <a href="#top">top</a>() &lt;= <a href="#bottom">bottom</a>().
<p> Note that non-trivial operations like intersections are not defined
for invalid rectangles.
@@ -609,7 +609,7 @@ left and right edges, i.e. width = right - left + 1.
<h3 class=fn>bool <a name="operator!-eq"></a>operator!= ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r1, const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r2 )
</h3>
-<p> Returns TRUE if <em>r1</em> and <em>r2</em> are different; otherwise returns FALSE.
+<p> Returns true if <em>r1</em> and <em>r2</em> are different; otherwise returns false.
<h3 class=fn><a href="tqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-lt-lt"></a>operator&lt;&lt; ( <a href="tqdatastream.html">TQDataStream</a>&nbsp;&amp;&nbsp;s, const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r )
</h3>
@@ -621,7 +621,7 @@ reference to the stream.
<h3 class=fn>bool <a name="operator-eq-eq"></a>operator== ( const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r1, const&nbsp;<a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r2 )
</h3>
-<p> Returns TRUE if <em>r1</em> and <em>r2</em> are equal; otherwise returns FALSE.
+<p> Returns true if <em>r1</em> and <em>r2</em> are equal; otherwise returns false.
<h3 class=fn><a href="tqdatastream.html">TQDataStream</a>&nbsp;&amp; <a name="operator-gt-gt"></a>operator&gt;&gt; ( <a href="tqdatastream.html">TQDataStream</a>&nbsp;&amp;&nbsp;s, <a href="tqrect.html">TQRect</a>&nbsp;&amp;&nbsp;r )
</h3>