diff options
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>(). |