diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSqlDatabase.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QSqlDatabase.java | 78 |
1 files changed, 39 insertions, 39 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSqlDatabase.java b/qtjava/javalib/org/kde/qt/QSqlDatabase.java index c71a1d7b..d046a32d 100644 --- a/qtjava/javalib/org/kde/qt/QSqlDatabase.java +++ b/qtjava/javalib/org/kde/qt/QSqlDatabase.java @@ -4,9 +4,9 @@ package org.kde.qt; import org.kde.qt.Qt; import java.util.ArrayList; -public class QSqlDatabase extends QObject { - protected QSqlDatabase(Class dummy){super((Class) null);} - public native QMetaObject metaObject(); +public class TQSqlDatabase extends TQObject { + protected TQSqlDatabase(Class dummy){super((Class) null);} + public native TQMetaObject metaObject(); public native String className(); public native boolean open(); public native boolean open(String user, String password); @@ -15,14 +15,14 @@ public class QSqlDatabase extends QObject { public native boolean isOpenError(); public native ArrayList tables(); public native ArrayList tables(int type); - 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 QSqlQueryInterface exec(String query); - public native QSqlQueryInterface exec(); - public native QSqlError lastError(); + 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 TQSqlQueryInterface exec(String query); + public native TQSqlQueryInterface exec(); + public native TQSqlError lastError(); public native boolean transaction(); public native boolean commit(); public native boolean rollback(); @@ -40,53 +40,53 @@ public class QSqlDatabase extends QObject { public native String driverName(); public native int port(); public native String connectOptions(); - public native QSqlDriver driver(); + public native TQSqlDriver driver(); public static native String tr(String arg1, String arg2); public static native String tr(String arg1); - public static native QSqlDatabase addDatabase(String type, String connectionName); - public static native QSqlDatabase addDatabase(String type); - public static native QSqlDatabase addDatabase(QSqlDriver driver, String connectionName); - public static native QSqlDatabase addDatabase(QSqlDriver driver); - public static native QSqlDatabase database(String connectionName, boolean open); - public static native QSqlDatabase database(String connectionName); - public static native QSqlDatabase database(); + public static native TQSqlDatabase addDatabase(String type, String connectionName); + public static native TQSqlDatabase addDatabase(String type); + public static native TQSqlDatabase addDatabase(TQSqlDriver driver, String connectionName); + public static native TQSqlDatabase addDatabase(TQSqlDriver driver); + public static native TQSqlDatabase database(String connectionName, boolean open); + public static native TQSqlDatabase database(String connectionName); + public static native TQSqlDatabase database(); public static native void removeDatabase(String connectionName); - public static native void removeDatabase(QSqlDatabase db); + public static native void removeDatabase(TQSqlDatabase db); public static native boolean contains(String connectionName); public static native boolean contains(); public static native ArrayList drivers(); - // void registerSqlDriver(const QString& arg1,const QSqlDriverCreatorBase* arg2); >>>> NOT CONVERTED + // void registerSqlDriver(const TQString& arg1,const TQSqlDriverCreatorBase* arg2); >>>> NOT CONVERTED public static native boolean isDriverAvailable(String name); - public QSqlDatabase(String type, String name, QObject parent, String objname) { + public TQSqlDatabase(String type, String name, TQObject parent, String objname) { super((Class) null); - newQSqlDatabase(type,name,parent,objname); + newTQSqlDatabase(type,name,parent,objname); } - private native void newQSqlDatabase(String type, String name, QObject parent, String objname); - public QSqlDatabase(String type, String name, QObject parent) { + private native void newTQSqlDatabase(String type, String name, TQObject parent, String objname); + public TQSqlDatabase(String type, String name, TQObject parent) { super((Class) null); - newQSqlDatabase(type,name,parent); + newTQSqlDatabase(type,name,parent); } - private native void newQSqlDatabase(String type, String name, QObject parent); - public QSqlDatabase(String type, String name) { + private native void newTQSqlDatabase(String type, String name, TQObject parent); + public TQSqlDatabase(String type, String name) { super((Class) null); - newQSqlDatabase(type,name); + newTQSqlDatabase(type,name); } - private native void newQSqlDatabase(String type, String name); - public QSqlDatabase(QSqlDriver driver, QObject parent, String objname) { + private native void newTQSqlDatabase(String type, String name); + public TQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname) { super((Class) null); - newQSqlDatabase(driver,parent,objname); + newTQSqlDatabase(driver,parent,objname); } - private native void newQSqlDatabase(QSqlDriver driver, QObject parent, String objname); - public QSqlDatabase(QSqlDriver driver, QObject parent) { + private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent, String objname); + public TQSqlDatabase(TQSqlDriver driver, TQObject parent) { super((Class) null); - newQSqlDatabase(driver,parent); + newTQSqlDatabase(driver,parent); } - private native void newQSqlDatabase(QSqlDriver driver, QObject parent); - public QSqlDatabase(QSqlDriver driver) { + private native void newTQSqlDatabase(TQSqlDriver driver, TQObject parent); + public TQSqlDatabase(TQSqlDriver driver) { super((Class) null); - newQSqlDatabase(driver); + newTQSqlDatabase(driver); } - private native void newQSqlDatabase(QSqlDriver driver); + private native void newTQSqlDatabase(TQSqlDriver driver); /** Deletes the wrapped C++ instance */ protected native void finalize() throws InternalError; /** Delete the wrapped C++ instance ahead of finalize() */ |