From f8004bf4586e1dd0ab9874d1bb2ce07495d73f3b Mon Sep 17 00:00:00 2001 From: Laurent Montel Date: Tue, 10 Apr 2007 16:31:06 +0000 Subject: [PATCH] Qt3support-- svn path=/trunk/KDE/kdebase/workspace/; revision=652293 --- clients/keramik/keramik.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/keramik/keramik.cpp b/clients/keramik/keramik.cpp index b2f82c97fc..88b7b57e27 100644 --- a/clients/keramik/keramik.cpp +++ b/clients/keramik/keramik.cpp @@ -583,23 +583,23 @@ QPixmap *KeramikHandler::composite( QImage *over, QImage *under ) int width = over->width(), height = over->height(); // Clear the destination image - Q_UINT32 *data = reinterpret_cast( dest.bits() ); + quint32 *data = reinterpret_cast( dest.bits() ); for (int i = 0; i < width * height; i++) *(data++) = 0; // Copy the under image (bottom aligned) to the destination image for (int y1 = height - under->height(), y2 = 0; y1 < height; y1++, y2++ ) { - register Q_UINT32 *dst = reinterpret_cast( dest.scanLine(y1) ); - register Q_UINT32 *src = reinterpret_cast( under->scanLine(y2) ); + register quint32 *dst = reinterpret_cast( dest.scanLine(y1) ); + register quint32 *src = reinterpret_cast( under->scanLine(y2) ); for ( int x = 0; x < width; x++ ) *(dst++) = *(src++); } // Blend the over image onto the destination - register Q_UINT32 *dst = reinterpret_cast( dest.bits() ); - register Q_UINT32 *src = reinterpret_cast( over->bits() ); + register quint32 *dst = reinterpret_cast( dest.bits() ); + register quint32 *src = reinterpret_cast( over->bits() ); for ( int i = 0; i < width * height; i++ ) { int r1 = qRed( *dst ), g1 = qGreen( *dst ), b1 = qBlue( *dst );