summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QSqlError.java
blob: 0c3cbe51097adc71aec097906b970e0b9f5d01c7 (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.kde.qt;

import org.kde.qt.Qt;

public class QSqlError implements QtSupport {
	private long _qt;
	private boolean _allocatedInJavaWorld = true;
	protected QSqlError(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 QSqlError(String driverText, String databaseText, int type, int number) {
		newQSqlError(driverText,databaseText,type,number);
	}
	private native void newQSqlError(String driverText, String databaseText, int type, int number);
	public QSqlError(String driverText, String databaseText, int type) {
		newQSqlError(driverText,databaseText,type);
	}
	private native void newQSqlError(String driverText, String databaseText, int type);
	public QSqlError(String driverText, String databaseText) {
		newQSqlError(driverText,databaseText);
	}
	private native void newQSqlError(String driverText, String databaseText);
	public QSqlError(String driverText) {
		newQSqlError(driverText);
	}
	private native void newQSqlError(String driverText);
	public QSqlError() {
		newQSqlError();
	}
	private native void newQSqlError();
	public QSqlError(QSqlError other) {
		newQSqlError(other);
	}
	private native void newQSqlError(QSqlError 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();
}