summaryrefslogtreecommitdiffstats
path: root/tdeui/tests
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:03:00 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-09-25 12:29:31 +0900
commit4c0dae60b2fbc60996fc8f4bd29ee6219b869527 (patch)
tree6aa583e34395f4d19d4b85f081b31513e5c9c19d /tdeui/tests
parent066f257eadc5866386c2cfbdba1a93105cff67ae (diff)
downloadtdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.tar.gz
tdelibs-4c0dae60b2fbc60996fc8f4bd29ee6219b869527.zip
Replace QObject, QWidget, QImage, QPair, QRgb, QColor, QChar, QString, QIODevice with TQ* version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeui/tests')
-rw-r--r--tdeui/tests/kcolortest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeui/tests/kcolortest.cpp b/tdeui/tests/kcolortest.cpp
index 243de265b..8966be81a 100644
--- a/tdeui/tests/kcolortest.cpp
+++ b/tdeui/tests/kcolortest.cpp
@@ -46,11 +46,11 @@ void KColorWidget::doIntensityLoop()
KImageEffect::intensity(image, -1./max);
else {
uint *qptr=(uint *)image.bits();
- QRgb qrgb;
+ TQRgb qrgb;
int size=pixmap.width()*pixmap.height();
for (int i=0;i<size; i++, qptr++)
{
- qrgb=*(QRgb *)qptr;
+ qrgb=*(TQRgb *)qptr;
*qptr=tqRgb((int)(tqRed(qrgb)*1./max),
(int)(tqGreen(qrgb)*1./max),
(int)(tqBlue(qrgb)*1./max));