diff options
| author | Matthew Woehlke <[email protected]> | 2007-06-04 15:15:40 +0000 |
|---|---|---|
| committer | Matthew Woehlke <[email protected]> | 2007-06-04 15:15:40 +0000 |
| commit | a91482a1d2fcc2fee8076c36208c7c4eb2c394b8 (patch) | |
| tree | 5152f405a1b54a994c1acb6d730d45b0264ebcc4 /src | |
| parent | 4c3010266221f025710ba04c7423a613ac61661d (diff) | |
Cleanups from KGraphicsUtils->KColorUtils (r671350)
svn path=/trunk/KDE/kdebase/apps/; revision=671357
Diffstat (limited to 'src')
| -rw-r--r-- | src/statusbarmessagelabel.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/statusbarmessagelabel.cpp b/src/statusbarmessagelabel.cpp index 239f6a70c..54eb2d3f6 100644 --- a/src/statusbarmessagelabel.cpp +++ b/src/statusbarmessagelabel.cpp @@ -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); |
