diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 12:03:00 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-09-25 17:50:49 +0900 |
commit | 04d353236066b9aa85f6387fa05d3d37b75a7dd2 (patch) | |
tree | 3781200cbdb5db08e22cb07dd16c2dcdf6402b98 /kimgio/pcx.h | |
parent | b0f1961286230520573e2433b0ed4562718ce7a3 (diff) | |
download | tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.tar.gz tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.zip |
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527)
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 ); } |