summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QSqlDriver.java
blob: 583cd80306a2e8d4cd1d56de6a22c12e090fb8fc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//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);
}