summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQSqlError.java
blob: 85880b577d57b4c146bcd47d5419a68c2b8d9fcd (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
46
47
48
49
50
51
52
53
54
55
56
57
58
//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQSqlError implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected TQSqlError(Class dummy){}

	public static final int None = 0;
	public static final int Connection = 1;
	public static final int Statement = 2;
	public static final int Transaction = 3;
	public static final int Unknown = 4;

	public TQSqlError(String driverText, String databaseText, int type, int number) {
		newTQSqlError(driverText,databaseText,type,number);
	}
	private native void newTQSqlError(String driverText, String databaseText, int type, int number);
	public TQSqlError(String driverText, String databaseText, int type) {
		newTQSqlError(driverText,databaseText,type);
	}
	private native void newTQSqlError(String driverText, String databaseText, int type);
	public TQSqlError(String driverText, String databaseText) {
		newTQSqlError(driverText,databaseText);
	}
	private native void newTQSqlError(String driverText, String databaseText);
	public TQSqlError(String driverText) {
		newTQSqlError(driverText);
	}
	private native void newTQSqlError(String driverText);
	public TQSqlError() {
		newTQSqlError();
	}
	private native void newTQSqlError();
	public TQSqlError(TQSqlError other) {
		newTQSqlError(other);
	}
	private native void newTQSqlError(TQSqlError other);
	public native String driverText();
	public native void setDriverText(String driverText);
	public native String databaseText();
	public native void setDatabaseText(String databaseText);
	public native int type();
	public native void setType(int type);
	public native int number();
	public native void setNumber(int number);
	public native String text();
	public native void showMessage(String msg);
	public native void showMessage();
	/** 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();
}