summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQSqlDriver.java
blob: 5d3a5ef61aa77542a1e5bfcf8320aff081fab84b (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.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);
}