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