//Auto-generated by kalyptus. DO NOT EDIT.
package org.trinitydesktop.koala;

import org.trinitydesktop.qt.Qt;
import org.trinitydesktop.qt.QtSupport;
import org.trinitydesktop.qt.TQEvent;
import org.trinitydesktop.qt.TQWidget;

/**

 This event is sent when a part is selected or deselected.
		@short    This event is sent when a part is selected or deselected.
		@see PartManager#setSelectionPolicy

*/
public class PartSelectEvent extends Event  {
	protected PartSelectEvent(Class dummy){super((Class) null);}
	public PartSelectEvent(boolean selected, Part part, TQWidget widget) {
		super((Class) null);
		newPartSelectEvent(selected,part,widget);
	}
	private native void newPartSelectEvent(boolean selected, Part part, TQWidget widget);
	public native boolean selected();
	public native Part part();
	public native TQWidget widget();
	public static native boolean test(TQEvent event);
}
