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/tqpicture.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'doc/html/tqpicture.html') diff --git a/doc/html/tqpicture.html b/doc/html/tqpicture.html index 1200582d4..8c13415aa 100644 --- a/doc/html/tqpicture.html +++ b/doc/html/tqpicture.html @@ -164,13 +164,13 @@ Nothing is done if there is just a single reference.

bool TQPicture::isNull () const

-

Returns TRUE if the picture contains no data; otherwise returns -FALSE. +

Returns true if the picture contains no data; otherwise returns +false.

bool TQPicture::load ( const TQString & fileName, const char * format = 0 )

Loads a picture from the file specified by fileName and returns -TRUE if successful; otherwise returns FALSE. +true if successful; otherwise returns false.

By default, the file will be interpreted as being in the native TQPicture format. Specifying the format string is optional and is only needed for importing picture data stored in a different @@ -202,15 +202,15 @@ picture and returns a reference to this picture.

bool TQPicture::play ( TQPainter * painter )

-Replays the picture using painter, and returns TRUE if -successful; otherwise returns FALSE. +Replays the picture using painter, and returns true if +successful; otherwise returns false.

This function does exactly the same as TQPainter::drawPicture() with (x, y) = (0, 0).

bool TQPicture::save ( const TQString & fileName, const char * format = 0 )

Saves a picture to the file specified by fileName and returns -TRUE if successful; otherwise returns FALSE. +true if successful; otherwise returns false.

Specifying the file format 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 -- cgit v1.2.3