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/tqcanvaspixmaparray.html | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'doc/html/tqcanvaspixmaparray.html') diff --git a/doc/html/tqcanvaspixmaparray.html b/doc/html/tqcanvaspixmaparray.html index eaa17c8af..64a8f4c66 100644 --- a/doc/html/tqcanvaspixmaparray.html +++ b/doc/html/tqcanvaspixmaparray.html @@ -75,7 +75,7 @@ can change this by reading in a separate set of image masks using

Member Function Documentation

TQCanvasPixmapArray::TQCanvasPixmapArray ()

-Constructs an invalid array (i.e. isValid() will return FALSE). +Constructs an invalid array (i.e. isValid() will return false). You must call readPixmaps() before being able to use this TQCanvasPixmapArray. @@ -93,7 +93,7 @@ filename, and the image contained in this file will be loaded as the first (and only) frame.

If datafilenamepattern does not exist, is not readable, isn't an image, or some other error occurs, the array ends up empty and -isValid() returns FALSE. +isValid() returns false.

TQCanvasPixmapArray::TQCanvasPixmapArray ( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> hotspots )

@@ -107,7 +107,7 @@ instead. Constructs a TQCanvasPixmapArray from the list of TQPixmaps in the list. Each pixmap will get a hotspot according to the hotspots array. If no hotspots are specified, each one is set to be at position (0, 0). -

If an error occurs, isValid() will return FALSE. +

If an error occurs, isValid() will return false.

TQCanvasPixmapArray::~TQCanvasPixmapArray ()

@@ -126,14 +126,14 @@ than than count(), and returns an unspecified value otherwi

bool TQCanvasPixmapArray::isValid () const

-Returns TRUE if the pixmap array is valid; otherwise returns -FALSE. +Returns true if the pixmap array is valid; otherwise returns +false.

bool TQCanvasPixmapArray::operator! ()

This function is obsolete. It is provided to keep old source working. We strongly advise against using it in new code.

Use isValid() instead. -

This returns FALSE if the array is valid, and TRUE if it is not. +

This returns false if the array is valid, and true if it is not.

bool TQCanvasPixmapArray::readCollisionMasks ( const TQString & filename )

@@ -148,9 +148,9 @@ be loaded, just like TQCanvasPixmapArray::readPixmaps

All collision masks must be 1-bit images or this function call will fail.

If the file isn't readable, contains the wrong number of images, -or there is some other error, this function will return FALSE, and +or there is some other error, this function will return false, and the array will be flagged as invalid; otherwise this function -returns TRUE. +returns true.

See also isValid().

bool TQCanvasPixmapArray::readPixmaps ( const TQString & filenamepattern, int fc = 0 ) @@ -165,8 +165,8 @@ and the image contained in this file will be loaded as the first (and only) frame.

If filenamepattern does not exist, is not readable, isn't an image, or some other error occurs, this function will return -FALSE, and isValid() will return FALSE; otherwise this function -will return TRUE. +false, and isValid() will return false; otherwise this function +will return true.

See also isValid().

void TQCanvasPixmapArray::setImage ( int i, TQCanvasPixmap * p ) -- cgit v1.2.3