replaced QColorGroup:: with QPalette::

svn path=/trunk/KDE/kdebase/workspace/; revision=535910
This commit is contained in:
Stephan Kulow 2006-04-30 18:04:35 +00:00
parent a7f42a7a21
commit aa93b1feb8
2 changed files with 2 additions and 2 deletions

View file

@ -385,7 +385,7 @@ void KWMThemeClient::drawTitle(QPainter &dest)
}
else{
p.fillRect(r, options()->palette(KDecorationOptions::ColorTitleBar, isActive()).active().
brush(QColorGroup::Button));
brush(QPalette::Button));
}
p.setFont(options()->font(isActive()));
p.setPen(options()->color(KDecorationOptions::ColorFont, isActive()));

View file

@ -529,7 +529,7 @@ void ModernSys::recalcTitleBuffer()
p.drawTiledPixmap(0, 0, width(), title_height+2, *aUpperGradient);
else
p.fillRect(0, 0, width(), title_height+2,
pt.brush(QColorGroup::Button));
pt.brush(QPalette::Button));
QRect t = titleRect(); // titlebar->geometry();
t.setTop( 2 );