diff options
Diffstat (limited to 'qtjava/javalib/org/kde/qt/QSqlQuery.java')
-rw-r--r-- | qtjava/javalib/org/kde/qt/QSqlQuery.java | 66 |
1 files changed, 33 insertions, 33 deletions
diff --git a/qtjava/javalib/org/kde/qt/QSqlQuery.java b/qtjava/javalib/org/kde/qt/QSqlQuery.java index ff5574eb..2587b1e7 100644 --- a/qtjava/javalib/org/kde/qt/QSqlQuery.java +++ b/qtjava/javalib/org/kde/qt/QSqlQuery.java @@ -3,50 +3,50 @@ package org.kde.qt; import org.kde.qt.Qt; -public class QSqlQuery implements QtSupport, QSqlQueryInterface { +public class TQSqlQuery implements QtSupport, TQSqlQueryInterface { private long _qt; private boolean _allocatedInJavaWorld = true; - protected QSqlQuery(Class dummy){} + protected TQSqlQuery(Class dummy){} - public QSqlQuery(QSqlResult r) { - newQSqlQuery(r); + public TQSqlQuery(TQSqlResult r) { + newTQSqlQuery(r); } - private native void newQSqlQuery(QSqlResult r); - public QSqlQuery(String query, QSqlDatabase db) { - newQSqlQuery(query,db); + private native void newTQSqlQuery(TQSqlResult r); + public TQSqlQuery(String query, TQSqlDatabase db) { + newTQSqlQuery(query,db); } - private native void newQSqlQuery(String query, QSqlDatabase db); - public QSqlQuery(String query) { - newQSqlQuery(query); + private native void newTQSqlQuery(String query, TQSqlDatabase db); + public TQSqlQuery(String query) { + newTQSqlQuery(query); } - private native void newQSqlQuery(String query); - public QSqlQuery() { - newQSqlQuery(); + private native void newTQSqlQuery(String query); + public TQSqlQuery() { + newTQSqlQuery(); } - private native void newQSqlQuery(); - public QSqlQuery(QSqlDatabase db) { - newQSqlQuery(db); + private native void newTQSqlQuery(); + public TQSqlQuery(TQSqlDatabase db) { + newTQSqlQuery(db); } - private native void newQSqlQuery(QSqlDatabase db); - public QSqlQuery(QSqlQueryInterface other) { - newQSqlQuery(other); + private native void newTQSqlQuery(TQSqlDatabase db); + public TQSqlQuery(TQSqlQueryInterface other) { + newTQSqlQuery(other); } - private native void newQSqlQuery(QSqlQueryInterface other); + private native void newTQSqlQuery(TQSqlQueryInterface other); public native boolean isValid(); public native boolean isActive(); public native boolean isNull(int field); public native int at(); public native String lastQuery(); public native int numRowsAffected(); - public native QSqlError lastError(); + public native TQSqlError lastError(); public native boolean isSelect(); public native int size(); - public native QSqlDriver driver(); - public native QSqlResult result(); + public native TQSqlDriver driver(); + public native TQSqlResult result(); public native boolean isForwardOnly(); public native void setForwardOnly(boolean forward); public native boolean exec(String query); - public native QVariant value(int i); + public native TQVariant value(int i); public native boolean seek(int i, boolean relative); public native boolean seek(int i); public native boolean next(); @@ -55,15 +55,15 @@ public class QSqlQuery implements QtSupport, QSqlQueryInterface { public native boolean last(); public native boolean exec(); public native boolean prepare(String query); - public native void bindValue(String placeholder, QVariant val); - public native void bindValue(int pos, QVariant val); - public native void addBindValue(QVariant val); - public native void bindValue(String placeholder, QVariant val, int type); - public native void bindValue(int pos, QVariant val, int type); - public native void addBindValue(QVariant val, int type); - public native QVariant boundValue(String placeholder); - public native QVariant boundValue(int pos); - // QMap<QString, QVariant> boundValues(); >>>> NOT CONVERTED + public native void bindValue(String placeholder, TQVariant val); + public native void bindValue(int pos, TQVariant val); + public native void addBindValue(TQVariant val); + public native void bindValue(String placeholder, TQVariant val, int type); + public native void bindValue(int pos, TQVariant val, int type); + public native void addBindValue(TQVariant val, int type); + public native TQVariant boundValue(String placeholder); + public native TQVariant boundValue(int pos); + // TQMap<TQString, TQVariant> boundValues(); >>>> NOT CONVERTED public native String executedQuery(); protected native void beforeSeek(); protected native void afterSeek(); |