116 NormalBackground = 0,
123 AlternateBackground = 1,
133 ActiveBackground = 2,
150 VisitedBackground = 4,
154 NegativeBackground = 5,
158 NeutralBackground = 6,
162 PositiveBackground = 7
301 explicit KColorScheme(QPalette::ColorGroup, ColorSet =
View, KSharedConfigPtr = KSharedConfigPtr());
306 QBrush background(BackgroundRole = NormalBackground)
const;
311 QBrush foreground(ForegroundRole = NormalText)
const;
316 QBrush decoration(DecorationRole)
const;
331 QColor shade(ShadeRole)
const;
338 static int contrast();
347 static qreal contrastF(
const KSharedConfigPtr &config = KSharedConfigPtr());
359 static QColor shade(
const QColor &, ShadeRole);
381 static QColor shade(
const QColor &, ShadeRole,
382 qreal contrast, qreal chromaAdjust = 0.0);
393 static void adjustBackground(QPalette &,
394 BackgroundRole newRole = NormalBackground,
395 QPalette::ColorRole color = QPalette::Base,
397 KSharedConfigPtr = KSharedConfigPtr());
408 static void adjustForeground(QPalette &,
409 ForegroundRole newRole = NormalText,
410 QPalette::ColorRole color = QPalette::Text,
412 KSharedConfigPtr = KSharedConfigPtr());
424 static QPalette createApplicationPalette(
const KSharedConfigPtr &config);
427 QExplicitlySharedDataPointer<KColorSchemePrivate>
d;