summaryrefslogtreecommitdiffstats
path: root/kimgio/tga.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:03:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 17:50:49 +0900
commit04d353236066b9aa85f6387fa05d3d37b75a7dd2 (patch)
tree3781200cbdb5db08e22cb07dd16c2dcdf6402b98 /kimgio/tga.cpp
parentb0f1961286230520573e2433b0ed4562718ce7a3 (diff)
downloadtdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.tar.gz
tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527)
Diffstat (limited to 'kimgio/tga.cpp')
-rw-r--r--kimgio/tga.cpp4
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 ) );