diff options
Diffstat (limited to 'src/kernel/qmngio.cpp')
-rw-r--r-- | src/kernel/qmngio.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/kernel/qmngio.cpp b/src/kernel/qmngio.cpp index fa3f9bd5b..fad1aa9b3 100644 --- a/src/kernel/qmngio.cpp +++ b/src/kernel/qmngio.cpp @@ -40,7 +40,7 @@ #include "ntqdatetime.h" -#ifndef QT_NO_IMAGEIO_MNG +#ifndef TQT_NO_IMAGEIO_MNG #include "ntqimage.h" #include "ntqasyncimageio.h" @@ -58,7 +58,7 @@ #include <stdlib.h> -#ifndef QT_NO_ASYNC_IMAGE_IO +#ifndef TQT_NO_ASYNC_IMAGE_IO class TQMNGFormat : public TQImageFormat { public: @@ -270,7 +270,7 @@ TQImageFormat* TQMNGFormatType::decoderFor( const uchar* buffer, int length ) && buffer[5]==10 && buffer[6]==26 && buffer[7]==10) -#ifdef QT_NO_IMAGEIO_PNG // if we don't have native PNG support use libmng +#ifdef TQT_NO_IMAGEIO_PNG // if we don't have native PNG support use libmng || (buffer[0]==137 // PNG signature && buffer[1]=='P' && buffer[2]=='N' @@ -433,9 +433,9 @@ int TQMNGFormat::decode( TQImage& img, TQImageConsumer* cons, static TQMNGFormatType* globalMngFormatTypeObject = 0; -#endif // QT_NO_ASYNC_IMAGE_IO +#endif // TQT_NO_ASYNC_IMAGE_IO -#ifndef QT_NO_ASYNC_IMAGE_IO +#ifndef TQT_NO_ASYNC_IMAGE_IO void qCleanupMngIO() { if ( globalMngFormatTypeObject ) { @@ -450,11 +450,11 @@ void qInitMngIO() static bool done = FALSE; if ( !done ) { done = TRUE; -#ifndef QT_NO_ASYNC_IMAGE_IO +#ifndef TQT_NO_ASYNC_IMAGE_IO globalMngFormatTypeObject = new TQMNGFormatType; tqAddPostRoutine( qCleanupMngIO ); #endif } } -#endif // QT_NO_IMAGEIO_MNG +#endif // TQT_NO_IMAGEIO_MNG |