KParts
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
| PartActivateEvent::PartActivateEvent | ( | bool | activated, |
| Part * | part, | ||
| QWidget * | widget | ||
| ) |
| PartActivateEvent::~PartActivateEvent | ( | ) | [virtual] |
Member Function Documentation
| bool PartActivateEvent::activated | ( | ) | const |
| Part * PartActivateEvent::part | ( | ) | const |
| bool PartActivateEvent::test | ( | const QEvent * | event | ) | [static] |
Reimplemented from KParts::Event.
| QWidget * PartActivateEvent::widget | ( | ) | const |
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 18:37:17 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2012 The KDE developers.
Generated on Wed May 2 2012 18:37:17 by doxygen 1.8.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.