diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-08-06 11:29:57 +0900 |
commit | dcce5b1f2c449ed9a02b1752e0d74f147a83d07d (patch) | |
tree | d57fe27457a96451f1a67e2a2db268a441d917fc /doc/html/tqimageio.html | |
parent | 649c4c61a1f1f479f4532b196f68df476cef2680 (diff) | |
download | tqt-rename/true-false-4.tar.gz tqt-rename/true-false-4.zip |
Replace TRUE/FALSE with boolean values true/false - part 4rename/true-false-4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/tqimageio.html')
-rw-r--r-- | doc/html/tqimageio.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/tqimageio.html b/doc/html/tqimageio.html index 8661edbdb..42d7226e9 100644 --- a/doc/html/tqimageio.html +++ b/doc/html/tqimageio.html @@ -240,8 +240,8 @@ compression ratio. <h3 class=fn>bool <a name="read"></a>TQImageIO::read () </h3> -Reads an image into memory and returns TRUE if the image was -successfully read; otherwise returns FALSE. +Reads an image into memory and returns true if the image was +successfully read; otherwise returns false. <p> Before reading an image you must set an IO device or a file name. If both an IO device and a file name have been set, the IO device will be used. @@ -338,8 +338,8 @@ error, whereas 0 means that the IO operation was successful. <h3 class=fn>bool <a name="write"></a>TQImageIO::write () </h3> -Writes an image to an IO device and returns TRUE if the image was -successfully written; otherwise returns FALSE. +Writes an image to an IO device and returns true if the image was +successfully written; otherwise returns false. <p> Before writing an image you must set an IO device or a file name. If both an IO device and a file name have been set, the IO device will be used. @@ -353,7 +353,7 @@ will be used. iio.<a href="#setFileName">setFileName</a>( "vegeburger.bmp" ); iio.<a href="#setFormat">setFormat</a>( "BMP" ); if ( iio.<a href="#write">write</a>() ) - // returned TRUE if written successfully + // returned true if written successfully </pre> <p> <p>See also <a href="#setIODevice">setIODevice</a>(), <a href="#setFileName">setFileName</a>(), <a href="#setFormat">setFormat</a>(), <a href="#read">read</a>(), and <a href="tqpixmap.html#save">TQPixmap::save</a>(). |