• Skip to content
  • Skip to link menu
KDE 4.2 API Reference
  • KDE API Reference
  • kdelibs
  • 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
virtual ~PartActivateEvent ()

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 82 of file event.h.


Constructor & Destructor Documentation

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

Definition at line 128 of file event.cpp.

PartActivateEvent::~PartActivateEvent (  )  [virtual]

Definition at line 136 of file event.cpp.


Member Function Documentation

bool PartActivateEvent::activated (  )  const

Definition at line 141 of file event.cpp.

Part * PartActivateEvent::part (  )  const

Definition at line 146 of file event.cpp.

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

Reimplemented from KParts::Event.

Definition at line 156 of file event.cpp.

QWidget * PartActivateEvent::widget (  )  const

Definition at line 151 of file event.cpp.


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

kdelibs

Skip menu "kdelibs"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • Kate
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • Kross
  • KUtils
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver
Generated for kdelibs by doxygen 1.5.7
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