/***************************************************************************
                            GUIActivateEvent.java -  description
                             -------------------
    begin                : Sun Jan 27 16:22:17 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd.
    email                : Richard_Dale@tipitina.demon.co.uk
    generated by         : duke@tipitina on Sun Jan 27 16:22:17 2002, using kalyptus 0.9.
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
***************************************************************************/

package org.kde.koala;

import org.kde.qt.*;
import java.util.*;
import java.lang.Error;

/**

 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.
*/
public class GUIActivateEvent extends Event  {
	protected GUIActivateEvent(Class dummy){super((Class) null);}

	private native void newGUIActivateEvent( boolean activated);
	public GUIActivateEvent( boolean activated) {
		super((Class) null);
		newGUIActivateEvent( activated);
	}
	public native boolean activated();
	public static native boolean test( QEvent event);
}
