Search for usage in LXR

KParts::GUIActivateEvent Class Reference

#include <KParts/GUIActivateEvent>

Inheritance diagram for KParts::GUIActivateEvent:

Public Member Functions

 GUIActivateEvent (bool activated)
bool activated () const
- Public Member Functions inherited from QEvent
 QEvent (Type type)
void accept ()
virtual QEventclone () 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)

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 to a Part when its GUI has been activated or deactivated.

This is related to PartActivateEvent, but the difference is that GUIActivateEvent happens later (when the GUI is actually built), only for parts that have GUI elements, and only if using KParts::MainWindow.

See also

Definition at line 29 of file guiactivateevent.h.

Constructor & Destructor Documentation

◆ GUIActivateEvent()

GUIActivateEvent::GUIActivateEvent ( bool activated)

Definition at line 25 of file guiactivateevent.cpp.

Member Function Documentation

◆ activated()

bool GUIActivateEvent::activated ( ) const

Definition at line 33 of file guiactivateevent.cpp.

◆ test()

bool GUIActivateEvent::test ( const QEvent * event)

Definition at line 38 of file guiactivateevent.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 Fri Jul 19 2024 11:54:49 by doxygen 1.11.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.