like a rainbow.

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=816090
This commit is contained in:
Aaron J. Seigo 2008-06-03 08:51:57 +00:00
parent 8e9bd0ff09
commit b4dc4d9e75
2 changed files with 5 additions and 0 deletions

View File

@ -273,6 +273,10 @@ QColor Theme::color(ColorRole role) const
return colorScheme.foreground(KColorScheme::NormalText).color();
break;
case HighlightColor:
return colorScheme.background(KColorScheme::ActiveBackground).color();
break;
case BackgroundColor:
return colorScheme.background().color();
break;

View File

@ -56,6 +56,7 @@ class PLASMA_EXPORT Theme : public QObject
enum ColorRole
{
TextColor = 0 /**< the text color to be used by items resting on the background */,
HighlightColor = 1 /**< the text higlight color to be used by items resting on the background */,
BackgroundColor /**< the default background color */
};