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

/**

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