//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;

/**

 This event is sent to a Part when its GUI has been activated or deactivated.
 This is related to PartActivateEvent, but the difference is that
 GUIActivateEvent happens later (when the GUI is actually built),
 only for parts that have GUI elements, and only if using KParts.MainWindow.
		@short    This event is sent to a Part when its GUI has been activated or deactivated.
		@see Part#guiActivateEvent

*/
public class GUIActivateEvent extends Event  {
	protected GUIActivateEvent(Class dummy){super((Class) null);}
	public GUIActivateEvent(boolean activated) {
		super((Class) null);
		newGUIActivateEvent(activated);
	}
	private native void newGUIActivateEvent(boolean activated);
	public native boolean activated();
	public static native boolean test(TQEvent event);
}
