diff options
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQSettings.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQSettings.java | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSettings.java b/qtjava/javalib/org/trinitydesktop/qt/TQSettings.java new file mode 100644 index 00000000..2344b99b --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSettings.java @@ -0,0 +1,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(); +} |