diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSettings.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QSettings.java | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSettings.java b/qtjava/javalib/org/kde/qt/QSettings.java new file mode 100644 index 00000000..71627666 --- /dev/null +++ b/qtjava/javalib/org/kde/qt/QSettings.java @@ -0,0 +1,70 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.kde.qt; + +import org.kde.qt.Qt; +import java.util.ArrayList; + +public class QSettings implements QtSupport { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected QSettings(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 QSettings() { + newQSettings(); + } + private native void newQSettings(); + public QSettings(int format) { + newQSettings(format); + } + private native void newQSettings(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(); +} |