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

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Sep 5 20:35:02 BST 2007

Matthew Woehlke wrote:
> I've also attached the patch against KColorScheme. KStatefulBrush is 
> documented, adjust* isn't yet, but should be documented before Monday. 

I'm not going to post a new patch, but for the curious, here's the doc 
for adjustBackground (adjustForeground is of course nearly identical).

      * Adjust a QPalette by replacing the specified QPalette::ColorRole
      * with the requested background color for all states. Using this
      * method is safer than replacing individual states, as it insulates
      * you against changes in QPalette::ColorGroup.
      * @note Although it is possible to replace a foreground color using
      * this method, it's bad usability to do so. Just say "no".

Also, to save someone else the trouble of pointing out my stupid 
mistake, KStatefulBrush is much more useful when it is exported :-).

A pool hall put up a sign in their front window that read: "Profound 
language prohibited within." I could just imagine some people discussing 
the meaning of life and being told to take it outside. -- Scott Adams

More information about the kde-core-devel mailing list