org.kde.koala

Class KSimpleConfig

public class KSimpleConfig extends KConfig

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.

Author: Kalle Dalheimer , Preston Brown

See Also: KConfigBase KConfig

UNKNOWN: KDE Configuration Management class with deletion ability.

Constructor Summary
protected KSimpleConfig(Class dummy)
KSimpleConfig(String fileName, boolean bReadOnly)
Construct a KSimpleConfig object and make it either read-write or read-only.
KSimpleConfig(String fileName)
KSimpleConfig(KConfigBackEnd backEnd, boolean bReadOnly)
KSimpleConfig(KConfigBackEnd backEnd)
Method Summary
StringclassName()
voiddispose()
Delete the wrapped C++ instance ahead of finalize()
protected voidfinalize()
Deletes the wrapped C++ instance
booleanisDisposed()
Has the wrapped C++ instance been deleted?
QMetaObjectmetaObject()
voidsync()

Constructor Detail

KSimpleConfig

protected KSimpleConfig(Class dummy)

KSimpleConfig

public KSimpleConfig(String fileName, boolean bReadOnly)
Construct a KSimpleConfig object and make it either read-write or read-only.

Parameters: fileName 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.

UNKNOWN: Construct a KSimpleConfig object and make it either read-write or read-only.

KSimpleConfig

public KSimpleConfig(String fileName)

KSimpleConfig

public KSimpleConfig(KConfigBackEnd backEnd, boolean bReadOnly)

KSimpleConfig

public KSimpleConfig(KConfigBackEnd backEnd)

Method Detail

className

public String className()

dispose

public void dispose()
Delete the wrapped C++ instance ahead of finalize()

finalize

protected void finalize()
Deletes the wrapped C++ instance

isDisposed

public boolean isDisposed()
Has the wrapped C++ instance been deleted?

metaObject

public QMetaObject metaObject()

sync

public void sync()