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

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

/**

 This event is sent by the part manager when the active part changes.
 Each time the active part changes, it will send first a PartActivateEvent
 with activated=false, part=oldActivePart, widget=oldActiveWidget
 and then another PartActivateEvent
 with activated=true, part=newPart, widget=newWidget.
		@short    This event is sent by the part manager when the active part changes.
		@see Part#partActivateEvent

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