summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QSqlDriver.java
diff options
context:
space:
mode:
authortoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
committertoma <toma@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2009-11-25 17:56:58 +0000
commit90825e2392b2d70e43c7a25b8a3752299a933894 (patch)
treee33aa27f02b74604afbfd0ea4f1cfca8833d882a /qtjava/javalib/org/kde/qt/QSqlDriver.java
downloadtdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.tar.gz
tdebindings-90825e2392b2d70e43c7a25b8a3752299a933894.zip
Copy the KDE 3.5 branch to branches/trinity for new KDE 3.5 features.
BUG:215923 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1054174 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSqlDriver.java')
-rw-r--r--qtjava/javalib/org/kde/qt/QSqlDriver.java45
1 files changed, 45 insertions, 0 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSqlDriver.java b/qtjava/javalib/org/kde/qt/QSqlDriver.java
new file mode 100644
index 00000000..583cd803
--- /dev/null
+++ b/qtjava/javalib/org/kde/qt/QSqlDriver.java
@@ -0,0 +1,45 @@
+//Auto-generated by kalyptus. DO NOT EDIT.
+package org.kde.qt;
+
+import org.kde.qt.Qt;
+import java.util.ArrayList;
+
+public class QSqlDriver extends QObject {
+ protected QSqlDriver(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 QMetaObject 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 QSqlIndex primaryIndex(String tableName);
+ public native QSqlRecord record(String tableName);
+ public native QSqlRecord record(QSqlQueryInterface query);
+ public native QSqlRecordInfo recordInfo(String tablename);
+ public native QSqlRecordInfo recordInfo(QSqlQueryInterface query);
+ public native String nullText();
+ public native String formatValue(QSqlField field, boolean trimStrings);
+ public native String formatValue(QSqlField field);
+ public native QSqlError 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 QSqlQueryInterface 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);
+}