Search for usage in LXR

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
Partpart () const
QWidgetwidget () const
- Public Member Functions inherited from QEvent
 QEvent (QEvent::Type type)
void accept ()
void ignore ()
bool isAccepted () const const
void setAccepted (bool accepted)
bool spontaneous () const const
QEvent::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)

Additional Inherited Members

- Public Types inherited from QEvent
enum  Type
- Properties inherited from QEvent
- Public Attributes inherited from QEvent

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

Definition at line 32 of file partactivateevent.h.

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 Thu Feb 15 2024 03:48:58 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.