diff options
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java new file mode 100644 index 00000000..5d3a5ef6 --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java @@ -0,0 +1,45 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; +import java.util.ArrayList; + +public class TQSqlDriver extends TQObject { + protected TQSqlDriver(Class dummy){super((Class) null);} + public static final int Transactions = 0; + public static final int QuerySize = 1; + public static final int BLOB = 2; + public static final int Unicode = 3; + public static final int PreparedQueries = 4; + public static final int NamedPlaceholders = 5; + public static final int PositionalPlaceholders = 6; + + public native TQMetaObject metaObject(); + public native String className(); + public native boolean isOpen(); + public native boolean isOpenError(); + public native boolean beginTransaction(); + public native boolean commitTransaction(); + public native boolean rollbackTransaction(); + public native ArrayList tables(String tableType); + public native TQSqlIndex primaryIndex(String tableName); + public native TQSqlRecord record(String tableName); + public native TQSqlRecord record(TQSqlQueryInterface query); + public native TQSqlRecordInfo recordInfo(String tablename); + public native TQSqlRecordInfo recordInfo(TQSqlQueryInterface query); + public native String nullText(); + public native String formatValue(TQSqlField field, boolean trimStrings); + public native String formatValue(TQSqlField field); + public native TQSqlError lastError(); + public native boolean hasFeature(int f); + public native boolean open(String db, String user, String password, String host, int port); + public native boolean open(String db, String user, String password, String host); + public native boolean open(String db, String user, String password); + public native boolean open(String db, String user); + public native boolean open(String db); + public native void close(); + public native TQSqlQueryInterface createQuery(); + public native boolean open(String db, String user, String password, String host, int port, String connOpts); + public static native String tr(String arg1, String arg2); + public static native String tr(String arg1); +} |