diff options
Diffstat (limited to 'kdejava/koala/org/kde/koala/KSimpleConfig.java')
-rw-r--r-- | kdejava/koala/org/kde/koala/KSimpleConfig.java | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/kdejava/koala/org/kde/koala/KSimpleConfig.java b/kdejava/koala/org/kde/koala/KSimpleConfig.java new file mode 100644 index 00000000..d547df61 --- /dev/null +++ b/kdejava/koala/org/kde/koala/KSimpleConfig.java @@ -0,0 +1,64 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.koala; + +import org.kde.qt.Qt; +import org.kde.qt.QMetaObject; +import org.kde.qt.QtSupport; + +/** + + 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 <kalle@kde.org>, Preston Brown <pbrown@kde.org> + + @short KDE Configuration Management class with deletion ability. + @see KConfigBase + @see KConfig + +*/ +public class KSimpleConfig extends KConfig { + protected KSimpleConfig(Class dummy){super((Class) null);} + public native QMetaObject metaObject(); + public native String className(); + /** + Construct a KSimpleConfig object and make it either read-write + or read-only. + @param 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. + @param bReadOnly Whether the object should be read-only. + @short Construct a KSimpleConfig object and make it either read-write or read-only. + */ + public KSimpleConfig(String fileName, boolean bReadOnly) { + super((Class) null); + newKSimpleConfig(fileName,bReadOnly); + } + private native void newKSimpleConfig(String fileName, boolean bReadOnly); + public KSimpleConfig(String fileName) { + super((Class) null); + newKSimpleConfig(fileName); + } + private native void newKSimpleConfig(String fileName); + public KSimpleConfig(KConfigBackEnd backEnd, boolean bReadOnly) { + super((Class) null); + newKSimpleConfig(backEnd,bReadOnly); + } + private native void newKSimpleConfig(KConfigBackEnd backEnd, boolean bReadOnly); + public KSimpleConfig(KConfigBackEnd backEnd) { + super((Class) null); + newKSimpleConfig(backEnd); + } + private native void newKSimpleConfig(KConfigBackEnd backEnd); + public native void sync(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |