diff options
Diffstat (limited to 'kimgio/pcx.h')
-rw-r--r-- | kimgio/pcx.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kimgio/pcx.h b/kimgio/pcx.h index 3bf111773..c72b01733 100644 --- a/kimgio/pcx.h +++ b/kimgio/pcx.h @@ -27,7 +27,7 @@ class RGB public: RGB() { } - RGB( const QRgb color ) + RGB( const TQRgb color ) { r = tqRed( color ); g = tqGreen( color ); @@ -44,12 +44,12 @@ class Palette public: Palette() { } - void setColor( int i, const QRgb color ) + void setColor( int i, const TQRgb color ) { rgb[ i ] = RGB( color ); } - QRgb color( int i ) const + TQRgb color( int i ) const { return tqRgb( rgb[ i ].r, rgb[ i ].g, rgb[ i ].b ); } |