kparts Library API Documentation

KParts::PartActivateEvent Class Reference

This event is sent by the part manager when the active part changes. More...

#include <event.h>

Inheritance diagram for KParts::PartActivateEvent:

Inheritance graph
[legend]
Collaboration diagram for KParts::PartActivateEvent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 PartActivateEvent (bool activated, Part *part, QWidget *widget)
bool activated () const
Partpart () const
QWidgetwidget () const

Static Public Member Functions

bool test (const QEvent *event)

Detailed Description

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.

See also:
KParts::Part::partActivateEvent

Definition at line 74 of file event.h.


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kdelibs Version 3.1.5.
Documentation copyright © 1996-2002 the KDE developers.
Generated on Wed Jan 28 13:27:02 2004 by doxygen 1.3.4 written by Dimitri van Heesch, © 1997-2001