class KSimpleConfig

# class KSimpleConfig | KDE Configuration Management class with deletion ability. More...
Definition | `#include <ksimpleconfig.h>`
Inherits | KConfig [public ]
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- KSimpleConfig ( const QString &fileName, bool bReadOnly = false)
- virtual ~KSimpleConfig ()
- virtual void sync ()

#### Protected Methods

- virtual void virtual_hook ( int id, void* data )

## Detailed Description

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.

- Version: $Id: ksimpleconfig.h,v 1.24 2002/03/03 21:20:26 lunakl Exp $
- Author: Kalle Dalheimer , Preston Brown
- Generated: root on macppc.ports.openbsd.org on Sat Sep 6 10:36:15 2003, using kdoc 2.0a54.