/***************************************************************************
                            kde_GUIActivateEvent.h -  description
                             -------------------
    begin                : Wed Feb  6 15:12:26 2002
    copyright            : (C) 2000-2001 Lost Highway Ltd. All rights reserved.
    email                : Lost_Highway@tipitina.demon.co.uk
    generated by         : duke@tipitina on Wed Feb  6 15:12:26 2002, using kalyptus 0.9.
 ***************************************************************************/

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

#ifndef KDE_GUIACTIVATEEVENT
#define KDE_GUIACTIVATEEVENT

#include <qtc/qtc_types.h>

#include <kdec/kde_types.h>

/**

 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.
*/
kde_GUIActivateEvent * kde_new_GUIActivateEvent(int activated);
int kde_GUIActivateEvent_activated(kde_GUIActivateEvent* instPointer);
int kde_GUIActivateEvent_test( qt_QEvent * event);

#endif
