summaryrefslogtreecommitdiffstats
path: root/kimgio/xview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kimgio/xview.cpp')
-rw-r--r--kimgio/xview.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kimgio/xview.cpp b/kimgio/xview.cpp
index 722eba348..c2ceae05a 100644
--- a/kimgio/xview.cpp
+++ b/kimgio/xview.cpp
@@ -144,15 +144,15 @@ KDE_EXPORT void kimgio_xv_write( TQImageIO *imageio )
int r, g, b;
if ( image.depth() == 32 )
{
- QRgb *data32 = (QRgb*) data;
+ TQRgb *data32 = (TQRgb*) data;
r = tqRed( *data32 ) >> 5;
g = tqGreen( *data32 ) >> 5;
b = tqBlue( *data32 ) >> 6;
- data += sizeof( QRgb );
+ data += sizeof( TQRgb );
}
else
{
- QRgb color = image.color( *data );
+ TQRgb color = image.color( *data );
r = tqRed( color ) >> 5;
g = tqGreen( color ) >> 5;
b = tqBlue( color ) >> 6;