diff options
author | Darrell Anderson <humanreadable@yahoo.com> | 2014-01-08 20:06:00 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2014-01-08 20:06:00 +0100 |
commit | 636f509299122d02087c6fd62e1e4a46dbd22026 (patch) | |
tree | 70e43efceeb5b00e7f19cdac8da44928bd2fb459 /qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java | |
parent | 719b61750c08343f530068ed4127623aeac71cf0 (diff) | |
download | tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.tar.gz tdebindings-636f509299122d02087c6fd62e1e4a46dbd22026.zip |
Rename many classes to avoid conflicts with KDE
Diffstat (limited to 'qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java')
-rw-r--r-- | qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java | 76 |
1 files changed, 76 insertions, 0 deletions
diff --git a/qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java b/qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java new file mode 100644 index 00000000..8da17c1c --- /dev/null +++ b/qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java @@ -0,0 +1,76 @@ +//Auto-generated by kalyptus. DO NOT EDIT. +package org.trinitydesktop.qt; + +import org.trinitydesktop.qt.Qt; + +public class TQSqlQuery implements QtSupport, TQSqlQueryInterface { + private long _qt; + private boolean _allocatedInJavaWorld = true; + protected TQSqlQuery(Class dummy){} + + public TQSqlQuery(TQSqlResult r) { + newTQSqlQuery(r); + } + private native void newTQSqlQuery(TQSqlResult r); + public TQSqlQuery(String query, TQSqlDatabase db) { + newTQSqlQuery(query,db); + } + private native void newTQSqlQuery(String query, TQSqlDatabase db); + public TQSqlQuery(String query) { + newTQSqlQuery(query); + } + private native void newTQSqlQuery(String query); + public TQSqlQuery() { + newTQSqlQuery(); + } + private native void newTQSqlQuery(); + public TQSqlQuery(TQSqlDatabase db) { + newTQSqlQuery(db); + } + private native void newTQSqlQuery(TQSqlDatabase db); + public TQSqlQuery(TQSqlQueryInterface other) { + newTQSqlQuery(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 TQSqlError lastError(); + public native boolean isSelect(); + public native int size(); + 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 TQVariant value(int i); + public native boolean seek(int i, boolean relative); + public native boolean seek(int i); + public native boolean next(); + public native boolean prev(); + public native boolean first(); + public native boolean last(); + public native boolean exec(); + public native boolean prepare(String query); + 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(); + /** Deletes the wrapped C++ instance */ + protected native void finalize() throws InternalError; + /** Delete the wrapped C++ instance ahead of finalize() */ + public native void dispose(); + /** Has the wrapped C++ instance been deleted? */ + public native boolean isDisposed(); +} |