|
|
KDE Configuration entries
This is a trivial extension of KConfig for applications that need only one configuration file and no default system. It also adds the ability to delete keys and/or groups. Lastly, when the data in memory is written back out by sync(), it is not merged with what is on disk. Whatever is in memory simply replaces what is on disk entirely.
See also: KConfigBase, KConfig
|
Construct a KSimpleConfig object and make it either read-write or read-only.
Parameters:
~ |
[virtual]
Destructor.
Writes back any dirty configuration entries.
QString |
Delete a configuration entry.
Parameters:
Returns: The old value of that key.
QString |
bool |
Delete a configuration entry group
If the group is not empty and bDeep is false, nothing gets deleted and false is returned. If this group is the current group and it is deleted, the current group is undefined and should be set with setGroup() before the next operation on the configuration object.
Parameters:
Returns: If the group does not exist or is not empty and bDeep is false, deleteGroup returns false.
void |
[virtual]
Reimplemented from KConfigBase.