summaryrefslogtreecommitdiffstats
path: root/kdejava/koala/org/kde/koala/KSimpleConfig.java
blob: 9fbb7186b69cadcdbec1a04282ab00203a625078 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.koala;

import org.kde.qt.Qt;
import org.kde.qt.TQMetaObject;
import org.kde.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();
}