oxygen vs kstyle

Hugo Pereira Da Costa hugo at oxygen-icons.org
Tue Aug 20 19:27:52 UTC 2013


Hi All,

There is some traffic on the frameworks list concerning implementing new 
features in kstyle.
It might be useful to mention that the current oxygen code (KDE's 
default widget style) derives from QCommonStyle and not kstyle, so that 
none of the modifications to KStyle will be available to oxygen, as it 
is now.

The switch from KStyle to QCommonStyle happened a couple of years ago 
and was motivated by the fact that the extra complexity added by 
deriving from kstyle was higher than the benefit oxygen would get out of 
it (complexity being: a lot of method re-implemented, as well as a lot 
of enumerations, some workaround in kstyle that where obsolete and 
unmaintained, and quite some code duplication). This switch resulted in 
about 30% less code with no loss of functionality, and an easier code to 
read and debug (if only by having one less class to track in the 
dependency tree).

Suggestions about where to go from this situation are welcome.

Best,

Hugo
(Oxygen dev)


More information about the Kde-frameworks-devel mailing list