summaryrefslogtreecommitdiffstats
path: root/kimgio/tga.cpp
diff options
context:
space:
mode:
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 ) );