//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;
import java.util.ArrayList;

public class QSqlDriver extends QObject  {
	protected QSqlDriver(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 QMetaObject 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 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 String nullText();
	public native String formatValue(QSqlField field, boolean trimStrings);
	public native String formatValue(QSqlField field);
	public native QSqlError 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 QSqlQueryInterface 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);
}
