|
|
KDE Configuration entries
This is a trivial extension of KConfig for applications that need only one configuration file and no default system. A difference with KConfig is that when the data in memory is written back it is not merged with what is on disk. Whatever is in memory simply replaces what is on disk entirely.
See also: KConfigBase, KConfig
KSimpleConfig ( const QString &fileName, bool bReadOnly = false)
| KSimpleConfig |
Construct a KSimpleConfig object and make it either read-write or read-only.
Parameters:
pFileName | The file used for saving the config data. Either a full path can be specified or just the filename. If only a filename is specified, the default directory for "config" files is used. |
bReadOnly | Whether the object should be read-only. |
~KSimpleConfig ()
| ~KSimpleConfig |
[virtual]
Destructor.
Writes back any dirty configuration entries.
void sync ()
| sync |
[virtual]
Reimplemented from KConfigBase.
void virtual_hook ( int id, void* data )
| virtual_hook |
[protected virtual]
Reimplemented from KConfig.