qt3support--

svn path=/trunk/KDE/kdebase/workspace/; revision=479651
This commit is contained in:
Laurent Montel 2005-11-11 10:13:57 +00:00
parent 1f5918b743
commit 812ac5d6fb
3 changed files with 6 additions and 6 deletions

View file

@ -79,7 +79,7 @@ inline const KDecorationOptions* options() { return KDecoration::options(); }
===== =====
- Options for colors need 'Color' prepended (e.g. 'ColorButtonBg'). - Options for colors need 'Color' prepended (e.g. 'ColorButtonBg').
- Replace miniIcon() with getting the right pixmap from icon() (usually - Replace miniIcon() with getting the right pixmap from icon() (usually
'icon().pixmap( QIconSet::Small, QIconSet::Normal )' ). 'icon().pixmap( QIcon::Small, QIcon::Normal )' ).
- Replace stickyChange() with desktopChange(), and test isOnAllDesktops(). - Replace stickyChange() with desktopChange(), and test isOnAllDesktops().
- Replace Sticky with OnAllDestops. - Replace Sticky with OnAllDestops.
- Replace iconify with minimize. - Replace iconify with minimize.

View file

@ -516,10 +516,10 @@ void KeramikHandler::addHeight (int height, QPixmap *&pix) {
void KeramikHandler::flip( QPixmap *&pix1, QPixmap *&pix2 ) void KeramikHandler::flip( QPixmap *&pix1, QPixmap *&pix2 )
{ {
// Flip the pixmaps horizontally // Flip the pixmaps horizontally
QPixmap *tmp = new QPixmap( pix1->transformed( QWMatrix(-1,0,0,1,pix1->width(),0) ) ); QPixmap *tmp = new QPixmap( pix1->transformed( QMatrix(-1,0,0,1,pix1->width(),0) ) );
delete pix1; delete pix1;
pix1 = new QPixmap( pix2->transformed( QWMatrix(-1,0,0,1,pix2->width(),0) ) ); pix1 = new QPixmap( pix2->transformed( QMatrix(-1,0,0,1,pix2->width(),0) ) );
delete pix2; delete pix2;
pix2 = tmp; pix2 = tmp;
@ -529,7 +529,7 @@ void KeramikHandler::flip( QPixmap *&pix1, QPixmap *&pix2 )
void KeramikHandler::flip( QPixmap *&pix ) void KeramikHandler::flip( QPixmap *&pix )
{ {
// Flip the pixmap horizontally // Flip the pixmap horizontally
QPixmap *tmp = new QPixmap( pix->transformed( QWMatrix(-1,0,0,1,pix->width(),0) ) ); QPixmap *tmp = new QPixmap( pix->transformed( QMatrix(-1,0,0,1,pix->width(),0) ) );
delete pix; delete pix;
pix = tmp; pix = tmp;
} }

View file

@ -446,7 +446,7 @@ void KWMThemeClient::paintEvent( QPaintEvent *)
w4, h4); w4, h4);
QPixmap pm; QPixmap pm;
QWMatrix m; QMatrix m;
int n,s,w; int n,s,w;
//top //top
pm = *framePixmaps[FrameTop]; pm = *framePixmaps[FrameTop];
@ -626,7 +626,7 @@ void KWMThemeClient::doShape()
p.fillRect(width()-w4,height()-h4,w4,h4,color1); p.fillRect(width()-w4,height()-h4,w4,h4,color1);
QPixmap pm; QPixmap pm;
QWMatrix m; QMatrix m;
int n,s,w; int n,s,w;
//top //top
if (framePixmaps[FrameTop]->mask()) if (framePixmaps[FrameTop]->mask())