[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Function to shuffle colors in a QPalette - useful?
From: Matthew Woehlke <mw_triad () users ! sourceforge ! net>
Date: 2007-09-06 23:16:36
Message-ID: fbq1ol$jbt$1 () sea ! gmane ! org
[Download RAW message or body]
I've been "monitoring" Arto Hytönen as he goes through (thanks for the
help!) nuking deprecated KGlobalSettings and KColorScheme uses, and
noticed a number of places that seem to be using KCS only to reshuffle
colors in the palette (i.e. replace Window bg/fg with View bg/fg).
While I suppose it shouldn't hurt to use adjust{Back,Fore}ground (1) for
this purpose, it almost seems like overkill, so I'm wondering if maybe
we shouldn't provide a function to do this sort of thing, maybe a
"swapPaletteColors"?
The places we've found so far that do this are KUrlButton, KDateTable,
RSIRelaxPopup (from extragear/utils/rsibreak) and LabelViewItem
(extragear/network/ktorrent/libktorrent).
1: http://permalink.gmane.org/gmane.comp.kde.devel.core/45389
--
Matthew
When in doubt, give it a good swift kick.
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic