Move KGlobalSettings::createApplicationPalette to KColorScheme
Review Request #111405 - Created July 5, 2013 and submitted
|Aleix Pol Gonzalez|
We want to deprecate KGlobalSettings, but we need to keep the createApplicationPalette functionality. I decided to move it to KColorScheme. We have 2 kind of users for this method: - applications that want to do fancy stuff with KDE and integrate better which will have to depend on KWidgets - and the rest, who will be able to rely on a properly set QPalette (by whichever QPlatformTheme we're using on). Having moved the method to KColorScheme, seems to me we can use it from our Platform Theme, because it was doing mostly the same.
Well done for not listening to my suggestion :-). Indeed, given how tied this is to KColorScheme, it's much better to move it there than to KConfigGui. Please push after fixing the minor issues below.