KParts::PartActivateEvent
KParts::PartActivateEvent Class Reference
#include <KParts/PartActivateEvent>
Inheritance diagram for KParts::PartActivateEvent:
Public Member Functions | |
PartActivateEvent (bool activated, Part *part, QWidget *widget) | |
bool | activated () const |
Part * | part () const |
QWidget * | widget () const |
Public Member Functions inherited from QEvent | |
QEvent (Type type) | |
void | accept () |
virtual QEvent * | clone () const const |
void | ignore () |
bool | isAccepted () const const |
bool | isInputEvent () const const |
bool | isPointerEvent () const const |
bool | isSinglePointEvent () const const |
virtual void | setAccepted (bool accepted) |
bool | spontaneous () const const |
Type | type () const const |
Static Public Member Functions | |
static bool | test (const QEvent *event) |
Static Public Member Functions inherited from QEvent | |
int | registerEventType (int hint) |
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 32 of file partactivateevent.h.
Constructor & Destructor Documentation
◆ PartActivateEvent()
Definition at line 29 of file partactivateevent.cpp.
Member Function Documentation
◆ activated()
bool PartActivateEvent::activated | ( | ) | const |
Definition at line 37 of file partactivateevent.cpp.
◆ part()
Part * PartActivateEvent::part | ( | ) | const |
Definition at line 42 of file partactivateevent.cpp.
◆ test()
|
static |
Definition at line 52 of file partactivateevent.cpp.
◆ widget()
QWidget * PartActivateEvent::widget | ( | ) | const |
Definition at line 47 of file partactivateevent.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Sat Dec 21 2024 16:58:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.