summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QDataBrowser.java
diff options
context:
space:
mode:
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QDataBrowser.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QDataBrowser.java97
1 files changed, 97 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QDataBrowser.java b/qtjava/javalib/org/kde/qt/QDataBrowser.java
new file mode 100644
index 00000000..d668a6f3
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QDataBrowser.java
@@ -0,0 +1,97 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+/**
+ See {@link QDataBrowserSignals} for signals emitted by QDataBrowser
+*/
+public class QDataBrowser extends QWidget {
+ protected QDataBrowser(Class dummy){super((Class) null);}
+ public static final int Unknown = 0;
+ public static final int None = 1;
+ public static final int BeforeBeginning = 2;
+ public static final int Beginning = 3;
+ public static final int End = 4;
+ public static final int AfterEnd = 5;
+
+ public native QMetaObject metaObject();
+ public native String className();
+ public QDataBrowser(QWidget parent, String name, int fl) {
+ super((Class) null);
+ newQDataBrowser(parent,name,fl);
+ }
+ private native void newQDataBrowser(QWidget parent, String name, int fl);
+ public QDataBrowser(QWidget parent, String name) {
+ super((Class) null);
+ newQDataBrowser(parent,name);
+ }
+ private native void newQDataBrowser(QWidget parent, String name);
+ public QDataBrowser(QWidget parent) {
+ super((Class) null);
+ newQDataBrowser(parent);
+ }
+ private native void newQDataBrowser(QWidget parent);
+ public QDataBrowser() {
+ super((Class) null);
+ newQDataBrowser();
+ }
+ private native void newQDataBrowser();
+ public native int boundary();
+ public native void setBoundaryChecking(boolean active);
+ public native boolean boundaryChecking();
+ public native void setSort(QSqlIndex sort);
+ public native void setSort(String[] sort);
+ public native ArrayList sort();
+ public native void setFilter(String filter);
+ public native String filter();
+ public native void setSqlCursor(QSqlCursor cursor, boolean autoDelete);
+ public native void setSqlCursor(QSqlCursor cursor);
+ public native QSqlCursor sqlCursor();
+ public native void setForm(QSqlForm form);
+ public native QSqlForm form();
+ public native void setConfirmEdits(boolean confirm);
+ public native void setConfirmInsert(boolean confirm);
+ public native void setConfirmUpdate(boolean confirm);
+ public native void setConfirmDelete(boolean confirm);
+ public native void setConfirmCancels(boolean confirm);
+ public native boolean confirmEdits();
+ public native boolean confirmInsert();
+ public native boolean confirmUpdate();
+ public native boolean confirmDelete();
+ public native boolean confirmCancels();
+ public native void setReadOnly(boolean active);
+ public native boolean isReadOnly();
+ public native void setAutoEdit(boolean autoEdit);
+ public native boolean autoEdit();
+ public native boolean seek(int i, boolean relative);
+ public native boolean seek(int i);
+ public native void refresh();
+ public native void insert();
+ public native void update();
+ public native void del();
+ public native void first();
+ public native void last();
+ public native void next();
+ public native void prev();
+ public native void readFields();
+ public native void writeFields();
+ public native void clearValues();
+ public native void updateBoundary();
+ public static native String tr(String arg1, String arg2);
+ public static native String tr(String arg1);
+ protected native boolean insertCurrent();
+ protected native boolean updateCurrent();
+ protected native boolean deleteCurrent();
+ protected native boolean currentEdited();
+ protected native int confirmEdit(int m);
+ protected native int confirmCancel(int m);
+ protected native void handleError(QSqlError error);
+ /** 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();
+}