diff options
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQDataBrowser.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQDataBrowser.java | 97 |
1 files changed, 97 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowser.java b/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowser.java new file mode 100644 index 00000000..576336c0 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQDataBrowser.java @@ -0,0 +1,97 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +/** + See {@link TQDataBrowserSignals} for signals emitted by TQDataBrowser +*/ +public class TQDataBrowser extends TQWidget { + protected TQDataBrowser(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 TQMetaObject metaObject(); + public native String className(); + public TQDataBrowser(TQWidget parent, String name, int fl) { + super((Class) null); + newTQDataBrowser(parent,name,fl); + } + private native void newTQDataBrowser(TQWidget parent, String name, int fl); + public TQDataBrowser(TQWidget parent, String name) { + super((Class) null); + newTQDataBrowser(parent,name); + } + private native void newTQDataBrowser(TQWidget parent, String name); + public TQDataBrowser(TQWidget parent) { + super((Class) null); + newTQDataBrowser(parent); + } + private native void newTQDataBrowser(TQWidget parent); + public TQDataBrowser() { + super((Class) null); + newTQDataBrowser(); + } + private native void newTQDataBrowser(); + public native int boundary(); + public native void setBoundaryChecking(boolean active); + public native boolean boundaryChecking(); + public native void setSort(TQSqlIndex 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(TQSqlCursor cursor, boolean autoDelete); + public native void setSqlCursor(TQSqlCursor cursor); + public native TQSqlCursor sqlCursor(); + public native void setForm(TQSqlForm form); + public native TQSqlForm 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(TQSqlError 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(); +} |