]> cloud.milkyroute.net Git - dolphin.git/commitdiff
Cleanups from KGraphicsUtils->KColorUtils (r671350)
authorMatthew Woehlke <mw_triad@users.sourceforge.net>
Mon, 4 Jun 2007 15:15:40 +0000 (15:15 +0000)
committerMatthew Woehlke <mw_triad@users.sourceforge.net>
Mon, 4 Jun 2007 15:15:40 +0000 (15:15 +0000)
svn path=/trunk/KDE/kdebase/apps/; revision=671357

src/statusbarmessagelabel.cpp

index 239f6a70cf23d5dd6ad9086885e7165a0fcf6f2c..54eb2d3f6e6450f1599ac2b8ea6d03b2768a8ee4 100644 (file)
@@ -21,7 +21,7 @@
 #include "statusbarmessagelabel.h"
 
 #include <kglobalsettings.h>
-#include <kgraphicsutils.h>
+#include <kcolorutils.h>
 #include <kiconloader.h>
 #include <kicon.h>
 #include <klocale.h>
@@ -139,10 +139,10 @@ void StatusBarMessageLabel::paintEvent(QPaintEvent* /* event */)
     QColor foregroundColor(KGlobalSettings::textColor());
     if (m_illumination > 0) {
         QColor mixColor(255, 255, 128, m_illumination);
-        backgroundColor = KGraphicsUtils::blendColor(backgroundColor, mixColor);
+        backgroundColor = KColorUtils::overlayColors(backgroundColor, mixColor);
 
         mixColor.setRgb(0, 0, 0, m_illumination);
-        foregroundColor = KGraphicsUtils::blendColor(foregroundColor, mixColor);
+        foregroundColor = KColorUtils::overlayColors(foregroundColor, mixColor);
     }
     painter.setBrush(backgroundColor);
     painter.setPen(backgroundColor);