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/TQSqlDriver.java

46 lines
2.0 KiB

//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;
import org.trinitydesktop.qt.Qt;
import java.util.ArrayList;
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;
public static final int Unicode = 3;
public static final int PreparedQueries = 4;
public static final int NamedPlaceholders = 5;
public static final int PositionalPlaceholders = 6;
public native TQMetaObject metaObject();
public native String className();
public native boolean isOpen();
public native boolean isOpenError();
public native boolean beginTransaction();
public native boolean commitTransaction();
public native boolean rollbackTransaction();
public native ArrayList tables(String tableType);
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(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);
public native boolean open(String db, String user, String password);
public native boolean open(String db, String user);
public native boolean open(String db);
public native void close();
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);
}