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 |
Public Member Functions inherited from KParts::Event | |
Event (const char *eventName) | |
virtual | ~Event () |
virtual const char * | eventName () const |
Public Member Functions inherited from QEvent | |
QEvent (Type type) | |
virtual | ~QEvent () |
void | accept () |
void | ignore () |
bool | isAccepted () const |
void | setAccepted (bool accepted) |
bool | spontaneous () const |
Type | type () const |
Static Public Member Functions | |
static bool | test (const QEvent *event) |
Static Public Member Functions inherited from KParts::Event | |
static bool | test (const QEvent *event) |
static bool | test (const QEvent *event, const char *name) |
Static Public Member Functions inherited from QEvent | |
int | registerEventType (int hint) |
Additional Inherited Members | |
Properties inherited from QEvent | |
accepted | |
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
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.