diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-02-28 22:31:39 -0600 |
commit | 41bb408dde90e755b07cd2ab8a9bdec7548c84b0 (patch) | |
tree | 6d4d5407c000add30aa78630e009c0e5d633e440 /src/kernel/qpngio.cpp | |
parent | 1740cd279522c060e738bbbffacab83355d2b794 (diff) | |
download | tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.tar.gz tqt3-41bb408dde90e755b07cd2ab8a9bdec7548c84b0.zip |
Automated conversion from qt3
Diffstat (limited to 'src/kernel/qpngio.cpp')
-rw-r--r-- | src/kernel/qpngio.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/kernel/qpngio.cpp b/src/kernel/qpngio.cpp index 2d12ec985..b3a634ab5 100644 --- a/src/kernel/qpngio.cpp +++ b/src/kernel/qpngio.cpp @@ -309,7 +309,7 @@ extern "C" { #endif static void CALLBACK_CALL_TYPE qt_png_warning(png_structp /*png_ptr*/, png_const_charp message) { - qWarning("libpng warning: %s", message); + tqWarning("libpng warning: %s", message); } #if defined(Q_C_CALLBACKS) @@ -502,7 +502,7 @@ static void set_text(const TQImage& image, png_structp png_ptr, png_infop info_p text_ptr[i].compression = PNG_TEXT_COMPRESSION_zTXt; text_ptr[i].key = (png_charp)(*it).key.data(); text_ptr[i].text = (png_charp)t.latin1(); - //text_ptr[i].text = qstrdup(t.latin1()); + //text_ptr[i].text = tqstrdup(t.latin1()); i++; } } @@ -555,7 +555,7 @@ bool TQPNGImageWriter::writeImage(const TQImage& image, int quality_in, int off_ if (quality >= 0) { if (quality > 9) { #if defined(QT_CHECK_RANGE) - qWarning( "PNG: Quality %d out of range", quality ); + tqWarning( "PNG: Quality %d out of range", quality ); #endif quality = 9; } @@ -1268,7 +1268,7 @@ int TQPNGFormat::user_chunk(png_structp png, png_bytep data, png_uint_32 length) { #if 0 // NOT SUPPORTED: experimental PNG animation. - // qDebug("Got %ld-byte %s chunk", length, png->chunk_name); + // tqDebug("Got %ld-byte %s chunk", length, png->chunk_name); if ( 0==qstrcmp((char*)png->chunk_name, "gIFg") && length == 4 ) { @@ -1351,7 +1351,7 @@ void qInitPngIO() #ifndef QT_NO_ASYNC_IMAGE_IO globalPngFormatTypeObject = new TQPNGFormatType; #endif - qAddPostRoutine( qCleanupPngIO ); + tqAddPostRoutine( qCleanupPngIO ); } } |