summaryrefslogtreecommitdiffstats
path: root/doc/html/qimageio.html
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-11-26 15:11:22 +0900
commitb87533f9904c10f24d6b2e8177c00944e3efe15b (patch)
treec1106a381c851b51e86004698457aef1211b77be /doc/html/qimageio.html
parent894037c3e68e1573a34183d936171f8cda5085f3 (diff)
downloadtqt-r14.1.x.tar.gz
tqt-r14.1.x.zip
Replace TRUE/FALSE with boolean values true/false - part 4r14.1.x
Manually cherry-picked from commit 4d495175 Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'doc/html/qimageio.html')
-rw-r--r--doc/html/qimageio.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/html/qimageio.html b/doc/html/qimageio.html
index 7cace1518..734a19b01 100644
--- a/doc/html/qimageio.html
+++ b/doc/html/qimageio.html
@@ -241,8 +241,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.
@@ -339,8 +339,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.
@@ -354,7 +354,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="ntqpixmap.html#save">TQPixmap::save</a>().