diff --git a/clients/keramik/keramik.cpp b/clients/keramik/keramik.cpp index f0757d58ee..01125a51de 100644 --- a/clients/keramik/keramik.cpp +++ b/clients/keramik/keramik.cpp @@ -516,10 +516,10 @@ void KeramikHandler::addHeight (int height, QPixmap *&pix) { void KeramikHandler::flip( QPixmap *&pix1, QPixmap *&pix2 ) { // Flip the pixmaps horizontally - QPixmap *tmp = new QPixmap( pix1->xForm( QWMatrix(-1,0,0,1,pix1->width(),0) ) ); + QPixmap *tmp = new QPixmap( pix1->transformed( QWMatrix(-1,0,0,1,pix1->width(),0) ) ); delete pix1; - pix1 = new QPixmap( pix2->xForm( QWMatrix(-1,0,0,1,pix2->width(),0) ) ); + pix1 = new QPixmap( pix2->transformed( QWMatrix(-1,0,0,1,pix2->width(),0) ) ); delete pix2; pix2 = tmp; @@ -529,7 +529,7 @@ void KeramikHandler::flip( QPixmap *&pix1, QPixmap *&pix2 ) void KeramikHandler::flip( QPixmap *&pix ) { // Flip the pixmap horizontally - QPixmap *tmp = new QPixmap( pix->xForm( QWMatrix(-1,0,0,1,pix->width(),0) ) ); + QPixmap *tmp = new QPixmap( pix->transformed( QWMatrix(-1,0,0,1,pix->width(),0) ) ); delete pix; pix = tmp; } diff --git a/clients/kwmtheme/kwmthemeclient.cpp b/clients/kwmtheme/kwmthemeclient.cpp index 061544bce1..4e8289e06c 100644 --- a/clients/kwmtheme/kwmthemeclient.cpp +++ b/clients/kwmtheme/kwmthemeclient.cpp @@ -457,7 +457,7 @@ void KWMThemeClient::paintEvent( QPaintEvent *) w = n>0?s/n:s; m.reset(); m.scale(w/(float)pm.width(), 1); - pm = pm.xForm(m); + pm = pm.transformed(m); x = w1; while (1){ @@ -484,7 +484,7 @@ void KWMThemeClient::paintEvent( QPaintEvent *) w = n>0?s/n:s; m.reset(); m.scale(w/(float)pm.width(), 1); - pm = pm.xForm(m); + pm = pm.transformed(m); x = w3; while (1){ @@ -509,7 +509,7 @@ void KWMThemeClient::paintEvent( QPaintEvent *) w = n>0?s/n:s; m.reset(); m.scale(1, w/(float)pm.height()); - pm = pm.xForm(m); + pm = pm.transformed(m); y = h1; while (1){ @@ -537,7 +537,7 @@ void KWMThemeClient::paintEvent( QPaintEvent *) w = n>0?s/n:s; m.reset(); m.scale(1, w/(float)pm.height()); - pm = pm.xForm(m); + pm = pm.transformed(m); y = h2; while (1){ @@ -638,7 +638,7 @@ void KWMThemeClient::doShape() w = n>0?s/n:s; m.reset(); m.scale(w/(float)pm.width(), 1); - pm = pm.xForm(m); + pm = pm.transformed(m); x = w1; while (1){ @@ -666,7 +666,7 @@ void KWMThemeClient::doShape() w = n>0?s/n:s; m.reset(); m.scale(w/(float)pm.width(), 1); - pm = pm.xForm(m); + pm = pm.transformed(m); x = w3; while (1){ @@ -692,7 +692,7 @@ void KWMThemeClient::doShape() w = n>0?s/n:s; m.reset(); m.scale(1, w/(float)pm.height()); - pm = pm.xForm(m); + pm = pm.transformed(m); y = h1; while (1){ @@ -721,7 +721,7 @@ void KWMThemeClient::doShape() w = n>0?s/n:s; m.reset(); m.scale(1, w/(float)pm.height()); - pm = pm.xForm(m); + pm = pm.transformed(m); y = h2; while (1){