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 KParts::Event
 Event (const char *eventName)
virtual const char * eventName () 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 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

- Public Types inherited from QEvent
enum  Type
- Properties inherited from QEvent
- Public Attributes inherited from QEvent
- Protected Member Functions inherited from KParts::Event
 Event (EventPrivate &dd)

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 28 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-2023 The KDE developers.
Generated on Mon Sep 25 2023 03:50:51 by doxygen 1.8.17 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.