diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:03:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:29:31 +0900 |
commit | 4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch) | |
tree | 6aa583e34395f4d19d4b85f081b31513e5c9c19d /kimgio/tga.cpp | |
parent | 066f257eadc5866386c2cfbdba1a93105cff67ae (diff) | |
download | tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'kimgio/tga.cpp')
-rw-r--r-- | kimgio/tga.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kimgio/tga.cpp b/kimgio/tga.cpp index 3a9d88515..65e29a8cf 100644 --- a/kimgio/tga.cpp +++ b/kimgio/tga.cpp @@ -262,7 +262,7 @@ namespace { // Private. uchar * src = image; for( int y = y_start; y != y_end; y += y_step ) { - QRgb * scanline = (QRgb *) img.scanLine( y ); + TQRgb * scanline = (TQRgb *) img.scanLine( y ); if( info.pal ) { // Paletted. @@ -377,7 +377,7 @@ KDE_EXPORT void kimgio_tga_write( TQImageIO *io ) for( int y = 0; y < img.height(); y++ ) for( int x = 0; x < img.width(); x++ ) { - const QRgb color = img.pixel( x, y ); + const TQRgb color = img.pixel( x, y ); s << TQ_UINT8( tqBlue( color ) ); s << TQ_UINT8( tqGreen( color ) ); s << TQ_UINT8( tqRed( color ) ); |