class KConfigSkeleton |
|
Class for handling preferences settings for an application.
Author Cornelius Schumacher
This class extends KCoreConfigSkeleton by support for GUI types. |
|
Constructor.
configname - name of config file. If no name is given, the default config file as returned by KGlobal.config() is used. |
|
Constructor.
config - configuration object to use. |
|
Register an item of type QColor.
name - Name used to identify this setting. Names must be unique. reference - Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. defaultValue - Default value, which is used when the config file does not yet contain the key of this item. key - Key used in config file. If key is null, name is used as key. Returns The created item |
|
Register an item of type QFont.
name - Name used to identify this setting. Names must be unique. reference - Pointer to the variable, which is set by readConfig() calls and read by writeConfig() calls. defaultValue - Default value, which is used when the config file does not yet contain the key of this item. key - Key used in config file. If key is null, name is used as key. Returns The created item |