//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.TQMetaObject;
import org.trinitydesktop.qt.QtSupport;

/**

 KDE Configuration entries
 This is a trivial extension of TDEConfig for applications that need
 only one configuration file and no default system.
 A difference with TDEConfig 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 TDEConfigBase
		@see TDEConfig

*/
public class KSimpleConfig extends TDEConfig  {
	protected KSimpleConfig(Class dummy){super((Class) null);}
	public native TQMetaObject 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(TDEConfigBackEnd backEnd, boolean bReadOnly) {
		super((Class) null);
		newKSimpleConfig(backEnd,bReadOnly);
	}
	private native void newKSimpleConfig(TDEConfigBackEnd backEnd, boolean bReadOnly);
	public KSimpleConfig(TDEConfigBackEnd backEnd) {
		super((Class) null);
		newKSimpleConfig(backEnd);
	}
	private native void newKSimpleConfig(TDEConfigBackEnd 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();
}
