summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQSettings.java
blob: 2344b99b568798e875f82ce6c99a7671a5576dc6 (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
65
66
67
68
69
70
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;
import java.util.ArrayList;

public class TQSettings implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQSettings(Class dummy){}

	public static final int Native = 0;
	public static final int Ini = 1;

	public static final int Unix = 0;
	public static final int Windows = 1;
	public static final int Mac = 2;

	public static final int User = 0;
	public static final int Global = 1;

	public TQSettings() {
		newTQSettings();
	}
	private native void newTQSettings();
	public TQSettings(int format) {
		newTQSettings(format);
	}
	private native void newTQSettings(int format);
	public native boolean writeEntry(String arg1, boolean arg2);
	public native boolean writeEntry(String arg1, double arg2);
	public native boolean writeEntry(String arg1, int arg2);
	public native boolean writeEntry(String arg1, String arg2);
	public native boolean writeEntry(String arg1, String[] arg2);
	public native boolean writeEntry(String arg1, String[] arg2, char sep);
	public native ArrayList entryList(String arg1);
	public native ArrayList subkeyList(String arg1);
	public native ArrayList readListEntry(String arg1, boolean[] arg2);
	public native ArrayList readListEntry(String arg1);
	public native ArrayList readListEntry(String arg1, char sep, boolean[] arg3);
	public native ArrayList readListEntry(String arg1, char sep);
	public native String readEntry(String arg1, String def, boolean[] arg3);
	public native String readEntry(String arg1, String def);
	public native String readEntry(String arg1);
	public native int readNumEntry(String arg1, int def, boolean[] arg3);
	public native int readNumEntry(String arg1, int def);
	public native int readNumEntry(String arg1);
	public native double readDoubleEntry(String arg1, double def, boolean[] arg3);
	public native double readDoubleEntry(String arg1, double def);
	public native double readDoubleEntry(String arg1);
	public native boolean readBoolEntry(String arg1, boolean def, boolean[] arg3);
	public native boolean readBoolEntry(String arg1, boolean def);
	public native boolean readBoolEntry(String arg1);
	public native boolean removeEntry(String arg1);
	public native void insertSearchPath(int arg1, String arg2);
	public native void removeSearchPath(int arg1, String arg2);
	public native void setPath(String domain, String product, int arg3);
	public native void setPath(String domain, String product);
	public native void beginGroup(String group);
	public native void endGroup();
	public native void resetGroup();
	public native String group();
	public native boolean 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();
}