summaryrefslogtreecommitdiffstats
path: root/kimgio/xview.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-09-25 12:03:00 +0900
committerMichele Calgaro <[email protected]>2023-09-25 17:50:49 +0900
commit04d353236066b9aa85f6387fa05d3d37b75a7dd2 (patch)
tree3781200cbdb5db08e22cb07dd16c2dcdf6402b98 /kimgio/xview.cpp
parentb0f1961286230520573e2433b0ed4562718ce7a3 (diff)
downloadtdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.tar.gz
tdelibs-04d353236066b9aa85f6387fa05d3d37b75a7dd2.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 4c0dae60b2fbc60996fc8f4bd29ee6219b869527)
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;