From 4d495175043c399fdca6e1bb4c74ef176fc76fb4 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Wed, 6 Aug 2025 11:29:57 +0900 Subject: Replace TRUE/FALSE with boolean values true/false - part 4 Signed-off-by: Michele Calgaro --- doc/html/tqpointarray.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'doc/html/tqpointarray.html') diff --git a/doc/html/tqpointarray.html b/doc/html/tqpointarray.html index afd3ecd46..8ca61305f 100644 --- a/doc/html/tqpointarray.html +++ b/doc/html/tqpointarray.html @@ -41,7 +41,7 @@ body { background: #ffffff; color: black; }
  • ~TQPointArray ()
  • TQPointArray ( int size )
  • TQPointArray ( const TQPointArray & a )
  • -
  • TQPointArray ( const TQRect & r, bool closed = FALSE )
  • +
  • TQPointArray ( const TQRect & r, bool closed = false )
  • TQPointArray & operator= ( const TQPointArray & a )
  • TQPointArray copy () const
  • void translate ( int dx, int dy )
  • @@ -116,13 +116,13 @@ null array if size == 0.

    Constructs a shallow copy of the point array a.

    See also copy() and detach(). -

    TQPointArray::TQPointArray ( const TQRect & r, bool closed = FALSE ) +

    TQPointArray::TQPointArray ( const TQRect & r, bool closed = false )

    Constructs a point array from the rectangle r. -

    If closed is FALSE, then the point array just contains the +

    If closed is false, then the point array just contains the following four points in the listed order: r.topLeft(), r.topRight(), r.bottomRight() and r.bottomLeft(). -

    If closed is TRUE, then a fifth point is set to r.topLeft(). +

    If closed is true, then a fifth point is set to r.topLeft().

    TQPointArray::~TQPointArray ()

    @@ -202,7 +202,7 @@ This is an overloaded member function, provided for convenience. It behaves esse Copies nPoints points from the variable argument list into this point array from position index, and resizes the point array if index+nPoints exceeds the size of the array. -

    Returns TRUE if successful, or FALSE if the array could not be +

    Returns true if successful, or false if the array could not be resized (typically due to lack of memory).

    The example code creates an array with three points (4,5), (6,7) and (8,9), by expanding the array from 1 to 3 points: -- cgit v1.2.3