diff options
Diffstat (limited to 'plugins/src/imageformats/png/main.cpp')
-rw-r--r-- | plugins/src/imageformats/png/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/src/imageformats/png/main.cpp b/plugins/src/imageformats/png/main.cpp index d3bfb7a18..4bf219d4f 100644 --- a/plugins/src/imageformats/png/main.cpp +++ b/plugins/src/imageformats/png/main.cpp @@ -34,7 +34,7 @@ TQStringList PNGFormat::keys() const bool PNGFormat::loadImage( const TQString &format, const TQString &filename, TQImage *image ) { if ( format != "PNG" ) - return FALSE; + return false; TQImageIO io; io.setFileName( filename ); @@ -42,13 +42,13 @@ bool PNGFormat::loadImage( const TQString &format, const TQString &filename, TQI read_png_image( &io ); - return TRUE; + return true; } bool PNGFormat::saveImage( const TQString &format, const TQString &filename, const TQImage &image ) { if ( format != "PNG" ) - return FALSE; + return false; TQImageIO io; io.setFileName( filename ); @@ -56,16 +56,16 @@ bool PNGFormat::saveImage( const TQString &format, const TQString &filename, con write_png_image( &io ); - return TRUE; + return true; } bool PNGFormat::installIOHandler( const TQString &name ) { if ( name != "PNG" ) - return FALSE; + return false; qInitPngIO(); - return TRUE; + return true; } TQ_EXPORT_PLUGIN( PNGFormat ) |