summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/kde/qt/QFocusEvent.java
blob: c205c18b265c7cddabf6161bd4798d22be6aa465 (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
//Auto-generated by kalyptus. DO NOT EDIT.
package org.kde.qt;

import org.kde.qt.Qt;

public class QFocusEvent extends QEvent  {
	protected QFocusEvent(Class dummy){super((Class) null);}
	public static final int Mouse = 0;
	public static final int Tab = 1;
	public static final int Backtab = 2;
	public static final int ActiveWindow = 3;
	public static final int Popup = 4;
	public static final int Shortcut = 5;
	public static final int Other = 6;

	public QFocusEvent(int type) {
		super((Class) null);
		newQFocusEvent(type);
	}
	private native void newQFocusEvent(int type);
	public native boolean gotFocus();
	public native boolean lostFocus();
	public static native int reason();
	public static native void setReason(int reason);
	public static native void resetReason();
	/** 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();
}