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

import org.kde.qt.Qt;
import org.kde.qt.QtSupport;
import org.kde.qt.QEvent;
import org.kde.qt.QWidget;

/**

 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, QWidget widget) {
		super((Class) null);
		newPartSelectEvent(selected,part,widget);
	}
	private native void newPartSelectEvent(boolean selected, Part part, QWidget widget);
	public native boolean selected();
	public native Part part();
	public native QWidget widget();
	public static native boolean test(QEvent event);
}
