summaryrefslogtreecommitdiffstats
path: root/doc/html/tqcanvasitem.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/tqcanvasitem.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/tqcanvasitem.html')
-rw-r--r--doc/html/tqcanvasitem.html36
1 files changed, 18 insertions, 18 deletions
diff --git a/doc/html/tqcanvasitem.html b/doc/html/tqcanvasitem.html
index d937a8ed8..45db52ec2 100644
--- a/doc/html/tqcanvasitem.html
+++ b/doc/html/tqcanvasitem.html
@@ -103,7 +103,7 @@ or <a href="tqcanvastext.html">TQCanvasText</a>.
canvas to the canvas item's constructor. An item can be moved to a
different canvas using <a href="#setCanvas">setCanvas</a>().
<p> Items appear on the canvas after their <a href="#show">show()</a>
-function has been called (or <a href="#setVisible">setVisible(TRUE)</a>), and <em>after</em> <a href="#update">update</a>() has been called. The
+function has been called (or <a href="#setVisible">setVisible(true)</a>), and <em>after</em> <a href="#update">update</a>() has been called. The
canvas only shows items that are <a href="#setVisible">visible</a>,
and then only if <a href="#update">update</a>() is called. If you created the canvas
without passing a width and height to the constructor you'll also need
@@ -182,8 +182,8 @@ or remove items.
<p>Reimplemented in <a href="tqcanvassprite.html#advance">TQCanvasSprite</a>.
<h3 class=fn>bool <a name="animated"></a>TQCanvasItem::animated () const
</h3>
-Returns TRUE if the canvas item is in motion; otherwise returns
-FALSE.
+Returns true if the canvas item is in motion; otherwise returns
+false.
<p> <p>See also <a href="#setVelocity">setVelocity</a>() and <a href="#setAnimated">setAnimated</a>().
<h3 class=fn><a href="tqrect.html">TQRect</a> <a name="boundingRect"></a>TQCanvasItem::boundingRect () const<tt> [pure virtual]</tt>
@@ -206,9 +206,9 @@ Returns the bounding rectangle of pixels that the canvas item <em>will</em> cove
<h3 class=fn>bool <a name="collidesWith"></a>TQCanvasItem::collidesWith ( const&nbsp;<a href="tqcanvasitem.html">TQCanvasItem</a>&nbsp;*&nbsp;other ) const<tt> [pure virtual]</tt>
</h3>
-<p> Returns TRUE if the canvas item will collide with the <em>other</em>
+<p> Returns true if the canvas item will collide with the <em>other</em>
item <em>after</em> they have moved by their current velocities;
-otherwise returns FALSE.
+otherwise returns false.
<p> <p>See also <a href="#collisions">collisions</a>().
<p>Example: <a href="canvas-example.html#x2914">canvas/canvas.cpp</a>.
@@ -221,9 +221,9 @@ one item draw on the pixels of another item, but not all
subclasses are so precise. Also, since pixel-wise collision
detection can be slow, this function works in either exact or
inexact mode, according to the <em>exact</em> parameter.
-<p> If <em>exact</em> is TRUE, the canvas items returned have been
+<p> If <em>exact</em> is true, the canvas items returned have been
accurately tested for collision with the canvas item.
-<p> If <em>exact</em> is FALSE, the canvas items returned are <em>near</em> the
+<p> If <em>exact</em> is false, the canvas items returned are <em>near</em> the
canvas item. You can test the canvas items returned using
<a href="#collidesWith">collidesWith</a>() if any are interesting collision candidates. By
using this approach, you can ignore some canvas items for which
@@ -264,28 +264,28 @@ don't call <a href="tqpainter.html#resetXForm">TQPainter::resetXForm</a>() when
Use <a href="#isEnabled">isEnabled</a>() instead.
<h3 class=fn>void <a name="hide"></a>TQCanvasItem::hide ()
-</h3> Shorthand for <a href="#setVisible">setVisible</a>(FALSE).
+</h3> Shorthand for <a href="#setVisible">setVisible</a>(false).
<h3 class=fn>bool <a name="isActive"></a>TQCanvasItem::isActive () const
</h3>
-<p> Returns TRUE if the TQCanvasItem is active; otherwise returns FALSE.
+<p> Returns true if the TQCanvasItem is active; otherwise returns false.
<h3 class=fn>bool <a name="isEnabled"></a>TQCanvasItem::isEnabled () const
</h3>
-<p> Returns TRUE if the TQCanvasItem is enabled; otherwise returns FALSE.
+<p> Returns true if the TQCanvasItem is enabled; otherwise returns false.
<h3 class=fn>bool <a name="isSelected"></a>TQCanvasItem::isSelected () const
</h3>
-<p> Returns TRUE if the canvas item is selected; otherwise returns FALSE.
+<p> Returns true if the canvas item is selected; otherwise returns false.
<h3 class=fn>bool <a name="isVisible"></a>TQCanvasItem::isVisible () const
</h3>
-<p> Returns TRUE if the canvas item is visible; otherwise returns
-FALSE.
-<p> Note that in this context TRUE does <em>not</em> mean that the canvas
+<p> Returns true if the canvas item is visible; otherwise returns
+false.
+<p> Note that in this context true does <em>not</em> mean that the canvas
item is currently in a view, merely that if a view is showing the
area where the canvas item is positioned, and the item is not
obscured by items with higher z values, and the view is not
@@ -349,7 +349,7 @@ how you use the <a href="#isActive">isActive</a>() value.
<h3 class=fn>void <a name="setAnimated"></a>TQCanvasItem::setAnimated ( bool&nbsp;y )<tt> [virtual]</tt>
</h3>
-Sets the canvas item to be in motion if <em>y</em> is TRUE, or not if <em>y</em> is FALSE. The speed and direction of the motion is set with
+Sets the canvas item to be in motion if <em>y</em> is true, or not if <em>y</em> is false. The speed and direction of the motion is set with
<a href="#setVelocity">setVelocity</a>(), or with <a href="#setXVelocity">setXVelocity</a>() and <a href="#setYVelocity">setYVelocity</a>().
<p> <p>See also <a href="#advance">advance</a>() and <a href="tqcanvas.html#advance">TQCanvas::advance</a>().
@@ -386,8 +386,8 @@ pixels in the horizontal and vertical directions respectively.
<h3 class=fn>void <a name="setVisible"></a>TQCanvasItem::setVisible ( bool&nbsp;yes )<tt> [virtual]</tt>
</h3>
-Makes the canvas item visible if <em>yes</em> is TRUE, or invisible if
-<em>yes</em> is FALSE. The change takes effect when <a href="tqcanvas.html#update">TQCanvas::update</a>() is
+Makes the canvas item visible if <em>yes</em> is true, or invisible if
+<em>yes</em> is false. The change takes effect when <a href="tqcanvas.html#update">TQCanvas::update</a>() is
next called.
<h3 class=fn>void <a name="setX"></a>TQCanvasItem::setX ( double&nbsp;x )
@@ -425,7 +425,7 @@ obscure (are in front of) lower-z items.
<p>Examples: <a href="canvas-example.html#x2918">canvas/canvas.cpp</a> and <a href="tutorial2-06.html#x2570">chart/chartform_canvas.cpp</a>.
<h3 class=fn>void <a name="show"></a>TQCanvasItem::show ()
-</h3> Shorthand for <a href="#setVisible">setVisible</a>(TRUE).
+</h3> Shorthand for <a href="#setVisible">setVisible</a>(true).
<p>Examples: <a href="canvas-example.html#x2919">canvas/canvas.cpp</a> and <a href="tutorial2-06.html#x2571">chart/chartform_canvas.cpp</a>.
<h3 class=fn>void <a name="update"></a>TQCanvasItem::update ()<tt> [protected]</tt>
</h3>