diff options
author | Timothy Pearson <[email protected]> | 2011-12-05 15:55:57 -0600 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2011-12-05 15:55:57 -0600 |
commit | 9ba04742771370f59740e32e11c5f3a1e6a1b70a (patch) | |
tree | c81c34dae2b3b1ea73801bf18a960265dc4207f7 /qtjava/javalib/org/kde/qt/QSqlDriver.java | |
parent | 1a96c45b22d01378202d9dc7ed9c47acd30f966e (diff) | |
download | tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.tar.gz tdebindings-9ba04742771370f59740e32e11c5f3a1e6a1b70a.zip |
Initial TQt conversion
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSqlDriver.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QSqlDriver.java | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSqlDriver.java b/qtjava/javalib/org/kde/qt/QSqlDriver.java index 583cd803..c67cdcb2 100644 --- a/qtjava/javalib/org/kde/qt/QSqlDriver.java +++ b/qtjava/javalib/org/kde/qt/QSqlDriver.java @@ -4,8 +4,8 @@ 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 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; @@ -14,7 +14,7 @@ public class QSqlDriver extends QObject { public static final int NamedPlaceholders = 5; public static final int PositionalPlaceholders = 6; - public native QMetaObject metaObject(); + public native TQMetaObject metaObject(); public native String className(); public native boolean isOpen(); public native boolean isOpenError(); @@ -22,15 +22,15 @@ public class QSqlDriver extends QObject { 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 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(QSqlField field, boolean trimStrings); - public native String formatValue(QSqlField field); - public native QSqlError lastError(); + 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); @@ -38,7 +38,7 @@ public class QSqlDriver extends QObject { public native boolean open(String db, String user); public native boolean open(String db); public native void close(); - public native QSqlQueryInterface createQuery(); + 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); |