[kdecore Index] [kdecore Hierarchy] [Headers]
KDE Configuration Management class More...
#include <ksimpleconfig.h>
Inherits: KConfigBase
KDE Configuration entries
This is a trivial implementation of KConfigBase for applications that need only one configuration file and no default system.
See Also: KApplication
[public]
Construct a read-write KSimpleConfig object.
pfile | The file used for saving the config data. |
[public]
Construct a KSimpleConfig object and make it either read-write or read-only.
pFile | The file uses for saving the config data. bReadOnly Whether the object should be read-only. |
[public virtual]
Destructor.
Writes back any dirty configuration entries.
[public]
Returns true if the object is read-only
[public virtual]
Write back the cache.
[public]
Write back the configuration data.
[public]
Delete a configuration entry.
bLocalized | Whether the localized or the non-localized key should be deleted |
pKey | The key of the entry to delete |
[public]
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.
bDeep | Whether non-empty groups should be completely deleted (including their entries) |
pGroup | The name of the group |
[protected virtual]
Open all appropriate configuration files and pass them on toparseOneConfigFile()
| Kdoc |