Index: kglobalsettings.h =================================================================== --- kglobalsettings.h (revision 680251) +++ kglobalsettings.h (working copy) @@ -19,6 +19,7 @@ #define _KGLOBALSETTINGS_H #include +#include #include #include #include @@ -522,20 +523,13 @@ * * This is only useful for configuration modules such as krdb and should not be * used in normal circumstances. + * * @return the QPalette */ - static QPalette createApplicationPalette(); + // TODO should the parameter be documented, or should it be hidden from doxygen? + static QPalette createApplicationPalette(const KSharedConfigPtr &config = KSharedConfigPtr()); /** - * @internal - * Raw access for use by KDM. - * note: expects config to be in the correct group already. - */ - // TODO is the doc really correct? With KColorScheme also exposing being - // able to use a KConfig* maybe other people will want to use this... - static QPalette createApplicationPalette( KConfigBase *config ); - - /** * An identifier for change signals. * \see emitChange */