You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdebindings/qtjava/javalib/org/trinitydesktop/qt/TQSqlQuery.java

77 lines
2.7 KiB

//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);
// TQStringVariantMap 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();
}