diff options
Diffstat (limited to 'tdeui/tests/kcolortest.cpp')
-rw-r--r-- | tdeui/tests/kcolortest.cpp | 4 |
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)); |