Pages
API Documentation
On this page

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

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

Member Function Documentation

PartActivateEvent::PartActivateEvent(bool activated, KParts::Part *part, QWidget *widget)

bool PartActivateEvent::activated() const

KParts::Part *PartActivateEvent::part() const

[static] bool PartActivateEvent::test(const QEvent *event)

QWidget *PartActivateEvent::widget() const

We use cookies to personalize content and to analyze our traffic. Please decide if you are willing to accept cookies from our website.