diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-26 11:44:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-30 14:26:34 +0900 |
commit | 6dd781c483eea56f51ae0eff47d857976b5d0f0d (patch) | |
tree | 0ddd4408e142ae6f8b13d3538359abd127988b2f /doc/man/man3/tqcanvaspixmaparray.3qt | |
parent | ff56b6fec14de4cd4b89d5b322531671d200b6e0 (diff) | |
download | tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.tar.gz tqt-6dd781c483eea56f51ae0eff47d857976b5d0f0d.zip |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/man/man3/tqcanvaspixmaparray.3qt')
-rw-r--r-- | doc/man/man3/tqcanvaspixmaparray.3qt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/man/man3/tqcanvaspixmaparray.3qt b/doc/man/man3/tqcanvaspixmaparray.3qt index f7bd41879..4195eb4c4 100644 --- a/doc/man/man3/tqcanvaspixmaparray.3qt +++ b/doc/man/man3/tqcanvaspixmaparray.3qt @@ -64,7 +64,7 @@ TQCanvasSprite uses an image's mask for collision detection. You can change this See also Graphics Classes and Image Processing Classes. .SH MEMBER FUNCTION DOCUMENTATION .SH "TQCanvasPixmapArray::TQCanvasPixmapArray ()" -Constructs an invalid array (i.e. isValid() will return FALSE). You must call readPixmaps() before being able to use this TQCanvasPixmapArray. +Constructs an invalid array (i.e. isValid() will return false). You must call readPixmaps() before being able to use this TQCanvasPixmapArray. .SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( const TQString & datafilenamepattern, int fc = 0 )" Constructs a TQCanvasPixmapArray from files. .PP @@ -74,7 +74,7 @@ If \fIfc\fR is not 0, \fIdatafilenamepattern\fR should contain "%1", e.g. "foo%1 .PP If \fIfc\fR is 0, \fIdatafilenamepattern\fR is asssumed to be a filename, and the image contained in this file will be loaded as the first (and only) frame. .PP -If \fIdatafilenamepattern\fR does not exist, is not readable, isn't an image, or some other error occurs, the array ends up empty and isValid() returns FALSE. +If \fIdatafilenamepattern\fR does not exist, is not readable, isn't an image, or some other error occurs, the array ends up empty and isValid() returns false. .SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( TQPtrList<TQPixmap> list, TQPtrList<TQPoint> hotspots )" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP @@ -84,7 +84,7 @@ Constructs a TQCanvasPixmapArray from the list of TQPixmaps \fIlist\fR. The \fIh .SH "TQCanvasPixmapArray::TQCanvasPixmapArray ( TQValueList<TQPixmap> list, TQPointArray hotspots = TQPointArray ( ) )" Constructs a TQCanvasPixmapArray from the list of TQPixmaps in the \fIlist\fR. Each pixmap will get a hotspot according to the \fIhotspots\fR array. If no hotspots are specified, each one is set to be at position (0, 0). .PP -If an error occurs, isValid() will return FALSE. +If an error occurs, isValid() will return false. .SH "TQCanvasPixmapArray::~TQCanvasPixmapArray ()" Destroys the pixmap array and all the pixmaps it contains. .SH "uint TQCanvasPixmapArray::count () const" @@ -92,13 +92,13 @@ Returns the number of pixmaps in the array. .SH "TQCanvasPixmap * TQCanvasPixmapArray::image ( int i ) const" Returns pixmap \fIi\fR in the array, if \fIi\fR is non-negative and less than than count(), and returns an unspecified value otherwise. .SH "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. .SH "bool TQCanvasPixmapArray::operator! ()" \fBThis function is obsolete.\fR It is provided to keep old source working. We strongly advise against using it in new code. .PP Use isValid() instead. .PP -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. .SH "bool TQCanvasPixmapArray::readCollisionMasks ( const TQString & filename )" Reads new collision masks for the array. .PP @@ -108,7 +108,7 @@ If count() is 1 \fIfilename\fR must specify a real filename to read the mask fro .PP All collision masks must be 1-bit images or this function call will fail. .PP -If the file isn't readable, contains the wrong number of images, or there is some other error, this function will return FALSE, and the array will be flagged as invalid; otherwise this function returns TRUE. +If the file isn't readable, contains the wrong number of images, or there is some other error, this function will return false, and the array will be flagged as invalid; otherwise this function returns true. .PP See also isValid(). .SH "bool TQCanvasPixmapArray::readPixmaps ( const TQString & filenamepattern, int fc = 0 )" @@ -118,7 +118,7 @@ If \fIfc\fR is not 0, \fIfilenamepattern\fR should contain "%1", e.g." foo%1.png .PP If \fIfc\fR is 0, \fIfilenamepattern\fR is asssumed to be a filename, and the image contained in this file will be loaded as the first (and only) frame. .PP -If \fIfilenamepattern\fR 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. +If \fIfilenamepattern\fR 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. .PP See also isValid(). .SH "void TQCanvasPixmapArray::setImage ( int i, TQCanvasPixmap * p )" |