summaryrefslogtreecommitdiffstats
path: root/qtjava/javalib/org/trinitydesktop/qt/TQFocusEvent.java
blob: dbca62d34e96c8a1094554e4e221483471b709d2 (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.trinitydesktop.qt;

import org.trinitydesktop.qt.Qt;

public class TQFocusEvent extends TQEvent  {
	protected TQFocusEvent(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 TQFocusEvent(int type) {
		super((Class) null);
		newTQFocusEvent(type);
	}
	private native void newTQFocusEvent(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();
}