KColorScheme changes, take 2 (was: KDE/kdebase/runtime/kstyles/oxygen)

Matthew Woehlke mw_triad at users.sourceforge.net
Mon Sep 10 15:36:53 BST 2007

Matthew Woehlke wrote:
> After taking a closer look at current KColorScheme users, it looks like
> correct use of state information needs one of three things (where "which
> one" depends on the user):
> 1: http://permalink.gmane.org/gmane.comp.kde.devel.core/45234
> 2: adjust{Fore,Back}ground, as in kdelibs/kate/utils/katesearchbar.cpp
> 3: KStatefulBrush, as in the change to Oxygen below

See r710643 for the final commit. Basically, the stuff in (1) above was 
dropped, KStatefulBrush takes a QBrush ctor (but no QColor since there 
is an implicit QColor->QBrush conversion; thanks Hans!), and I added a 
bit of doc since 'take 3'.

Now... time to start porting people.

A KWin crash is like a Finite Improbability Generator... only instead of 
undergarments, all my windows move 4 pixels to the right.

More information about the kde-core-devel mailing list