From 04d353236066b9aa85f6387fa05d3d37b75a7dd2 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 25 Sep 2023 12:03:00 +0900 Subject: Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version Signed-off-by: Michele Calgaro (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527) --- kimgio/pcx.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kimgio/pcx.h') 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 ); } -- cgit v1.2.1