diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:38:31 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-07-31 13:43:03 +0900 |
| commit | 6e4a70d41a2636ce99a1da7b6827ac5685ed3186 (patch) | |
| tree | b029ebf1d5be6d1ac0ee361e7bfb68a7dbed0eec /doc/man/man3/tqpicture.3qt | |
| parent | 81ade129093a279e6537db25710583fd2bba9427 (diff) | |
| download | tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.tar.gz tqt-6e4a70d41a2636ce99a1da7b6827ac5685ed3186.zip | |
Replace TRUE/FALSE with boolean values true/false - part 3
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked and manually edited from commit 6dd781c483eea56f51ae0eff47d857976b5d0f0d)
Diffstat (limited to 'doc/man/man3/tqpicture.3qt')
| -rw-r--r-- | doc/man/man3/tqpicture.3qt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/man/man3/tqpicture.3qt b/doc/man/man3/tqpicture.3qt index 477488a74..150c029e0 100644 --- a/doc/man/man3/tqpicture.3qt +++ b/doc/man/man3/tqpicture.3qt @@ -168,9 +168,9 @@ Detaches from shared picture data and makes sure that this picture is the only o .PP If multiple pictures share common data, this picture makes a copy of the data and detaches itself from the sharing mechanism. Nothing is done if there is just a single reference. .SH "bool QPicture::isNull () const" -Returns TRUE if the picture contains no data; otherwise returns FALSE. +Returns true if the picture contains no data; otherwise returns false. .SH "bool QPicture::load ( const TQString & fileName, const char * format = 0 )" -Loads a picture from the file specified by \fIfileName\fR and returns TRUE if successful; otherwise returns FALSE. +Loads a picture from the file specified by \fIfileName\fR and returns true if successful; otherwise returns false. .PP By default, the file will be interpreted as being in the native QPicture format. Specifying the \fIformat\fR string is optional and is only needed for importing picture data stored in a different format. .PP @@ -195,11 +195,11 @@ A picture has the following hard-coded values: dpi=72, numcolors=16777216 and de .SH "QPicture & QPicture::operator= ( const QPicture & p )" Assigns a shallow copy of \fIp\fR to this picture and returns a reference to this picture. .SH "bool QPicture::play ( QPainter * painter )" -Replays the picture using \fIpainter\fR, and returns TRUE if successful; otherwise returns FALSE. +Replays the picture using \fIpainter\fR, and returns true if successful; otherwise returns false. .PP This function does exactly the same as QPainter::drawPicture() with (x, y) = (0, 0). .SH "bool QPicture::save ( const TQString & fileName, const char * format = 0 )" -Saves a picture to the file specified by \fIfileName\fR and returns TRUE if successful; otherwise returns FALSE. +Saves a picture to the file specified by \fIfileName\fR and returns true if successful; otherwise returns false. .PP Specifying the file \fIformat\fR string is optional. It's not recommended unless you intend to export the picture data for use by a third party reader. By default the data will be saved in the native QPicture file format. .PP |
