summaryrefslogtreecommitdiffstats
path: root/tdeui/tests/kcolortest.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-11-13 20:33:00 +0900
committerMichele Calgaro <[email protected]>2023-11-15 23:44:25 +0900
commitc8ece3630d4d21acaf1749fc2cf660a0463070c3 (patch)
treebae3d3c70886ceeffd914cac031dfeab532a607a /tdeui/tests/kcolortest.cpp
parent419c185be746df8bba59fe5de991b4a2b3977897 (diff)
downloadtdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.tar.gz
tdelibs-c8ece3630d4d21acaf1749fc2cf660a0463070c3.zip
Replace Qt with TQt
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'tdeui/tests/kcolortest.cpp')
-rw-r--r--tdeui/tests/kcolortest.cpp22
1 files changed, 11 insertions, 11 deletions
diff --git a/tdeui/tests/kcolortest.cpp b/tdeui/tests/kcolortest.cpp
index 8966be81a..09b4a56c1 100644
--- a/tdeui/tests/kcolortest.cpp
+++ b/tdeui/tests/kcolortest.cpp
@@ -25,7 +25,7 @@ void KColorWidget::paintEvent(TQPaintEvent *)
{
if(!pixmap.isNull())
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
void KColorWidget::doIntensityLoop()
@@ -58,7 +58,7 @@ void KColorWidget::doIntensityLoop()
}
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
stop = t.elapsed();
tqDebug ("Total fullscreen %s dim time for %d steps : %f s",
@@ -71,7 +71,7 @@ void KColorWidget::doIntensityLoop()
KImageEffect::fade(image, 1./max, black);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
}
stop = t.elapsed();
@@ -87,14 +87,14 @@ void KColorWidget::doIntensityLoop()
KImageEffect::intensity(image, 1./max);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
for(count=0; count < max; ++count){
KImageEffect::intensity(image, -1./max);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
image = original; image.detach();
@@ -103,13 +103,13 @@ void KColorWidget::doIntensityLoop()
KImageEffect::channelIntensity(image, -1./max, KImageEffect::Red);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
for(count=0; count < max; ++count){
KImageEffect::channelIntensity(image, 1./max, KImageEffect::Red);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
image = original; image.detach();
@@ -118,13 +118,13 @@ void KColorWidget::doIntensityLoop()
KImageEffect::channelIntensity(image, -1./max, KImageEffect::Green);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
for(count=0; count < max; ++count){
KImageEffect::channelIntensity(image, 1./max, KImageEffect::Green);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
image = original; image.detach();
@@ -133,13 +133,13 @@ void KColorWidget::doIntensityLoop()
KImageEffect::channelIntensity(image, -1./max, KImageEffect::Blue);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
for(count=0; count < max; ++count){
KImageEffect::channelIntensity(image, 1./max, KImageEffect::Blue);
pixmap.convertFromImage(image);
bitBlt(this, 0, 0, &pixmap, 0, 0, pixmap.width(), pixmap.height(),
- Qt::CopyROP, true);
+ TQt::CopyROP, true);
}
}
}