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:
KParts::Event QCustomEvent

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

static 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 76 of file event.h.


The documentation for this class was generated from the following files:
KDE Home | KDE Accessibility Home | Description of Access Keys