//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();
}
