qt3support--

svn path=/trunk/KDE/kdebase/workspace/; revision=479646
icc-effect-5.14.5
Laurent Montel 2005-11-11 09:53:09 +00:00
parent 73f9f051ec
commit 1f5918b743
2 changed files with 11 additions and 11 deletions

View File

@ -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;
}

View File

@ -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){