Remove QT3_SUPPORT

svn path=/trunk/KDE/kdebase/workspace/; revision=902437
This commit is contained in:
Laurent Montel 2008-12-28 12:53:45 +00:00
parent 0de133fca9
commit 569e6589a5
2 changed files with 2 additions and 4 deletions

View file

@ -1,5 +1,3 @@
add_definitions (-DQT3_SUPPORT -DQT3_SUPPORT_WARNINGS)
add_subdirectory( config )
########### next target ###############

View file

@ -216,7 +216,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
if(client_.maximizeMode() == OxygenClient::MaximizeRestore)
painter.translate(0,-1);
QColor bg = helper_.backgroundTopColor(pal.window());
QColor bg = helper_.backgroundTopColor(pal.window().color());
color = buttonDetailColor(pal);
if(status_ == Oxygen::Hovered || status_ == Oxygen::Pressed) {
@ -226,7 +226,7 @@ void OxygenButton::paintEvent(QPaintEvent *)
color = KColorScheme(pal.currentColorGroup()).decoration(KColorScheme::HoverColor).color();
}
QLinearGradient lg = helper_.decoGradient(QRect(4,4,13,13), color);
painter.drawPixmap(0, 0, helper_.windecoButton(pal.window(), status_ == Oxygen::Pressed));
painter.drawPixmap(0, 0, helper_.windecoButton(pal.window().color(), status_ == Oxygen::Pressed));
if (client_.isActive()) {
painter.setRenderHints(QPainter::Antialiasing);