diff options
Diffstat (limited to 'kimgio/pcx.h')
| -rw-r--r-- | kimgio/pcx.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/kimgio/pcx.h b/kimgio/pcx.h index c312979b0..40f4f8e73 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 ); } @@ -98,9 +98,6 @@ class PCXHEADER // found only in PB IV/IV Plus TQ_UINT16 VScreenSize; // Vertical screen size in pixels. New field // found only in PB IV/IV Plus -} KDE_PACKED; +} TDE_PACKED; #endif // PCX_H - -/* vim: et sw=2 ts=2 -*/ |
