KParts::PartActivateEvent Class Reference
#include <event.h>
Inheritance diagram for KParts::PartActivateEvent:

Public Member Functions | |
| PartActivateEvent (bool activated, Part *part, QWidget *widget) | |
| virtual | ~PartActivateEvent () |
| bool | activated () const |
| Part * | part () const |
| QWidget * | widget () 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
Constructor & Destructor Documentation
Member Function Documentation
| bool PartActivateEvent::test | ( | const QEvent * | event | ) | [static] |
Reimplemented from KParts::Event.
The documentation for this class was generated from the following files:
KDE 4.7 API Reference