KParts::PartActivateEvent Class
This event is sent by the part manager when the active part changes. More...
- Header:
#include <KParts/PartActivateEvent> - CMake:
find_package(KF6 REQUIRED COMPONENTS Parts)
target_link_libraries(mytarget PRIVATE KF6::Parts) - Inherits: QEvent
List of all members, including inherited members
Public Functions
- PartActivateEvent(bool activated, KParts::Part *part, QWidget *widget)
- bool activated() const
- KParts::Part *part() const
- QWidget *widget() const
Static Public Members
Detailed Description
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