• Skip to content
  • Skip to link menu
KDE 3.5 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

KParts

KParts::PartActivateEvent

KParts::PartActivateEvent Class Reference

This event is sent by the part manager when the active part changes. More...

#include <event.h>

Inheritance diagram for KParts::PartActivateEvent:

Inheritance graph
[legend]

List of all members.


Public Member Functions

bool activated () const
Part * part () const
 PartActivateEvent (bool activated, Part *part, QWidget *widget)
QWidget * widget () const

Static Public Member Functions

static bool test (const QEvent *event)

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:
KParts::Part::partActivateEvent

Definition at line 76 of file event.h.


Constructor & Destructor Documentation

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

Definition at line 79 of file event.h.


Member Function Documentation

bool KParts::PartActivateEvent::activated (  )  const [inline]

Definition at line 81 of file event.h.

Part* KParts::PartActivateEvent::part (  )  const [inline]

Definition at line 83 of file event.h.

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

Reimplemented from KParts::Event.

Definition at line 86 of file event.h.

QWidget* KParts::PartActivateEvent::widget (  )  const [inline]

Definition at line 84 of file event.h.


The documentation for this class was generated from the following files:
  • event.h
  • event.cpp

KParts

Skip menu "KParts"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • dcop
  • DNSSD
  • interfaces
  • Kate
  • kconf_update
  • KDECore
  • KDED
  • kdefx
  • KDEsu
  • kdeui
  • KDocTools
  • KHTML
  • KImgIO
  • KInit
  • kio
  • kioslave
  • KJS
  • KNewStuff
  • KParts
  • KUtils
Generated for API Reference by doxygen 1.5.9
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal