• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdelibs API Reference
  • KDE Home
  • Contact Us
 

KParts

  • KParts
  • PartActivateEvent
Public Member Functions | Static Public Member Functions | List of all members
KParts::PartActivateEvent Class Reference

#include <event.h>

Inheritance diagram for KParts::PartActivateEvent:
Inheritance graph
[legend]

Public Member Functions

 PartActivateEvent (bool activated, Part *part, QWidget *widget)
 
virtual ~PartActivateEvent ()
 
bool activated () const
 
Part * part () const
 
QWidget * widget () const
 
- Public Member Functions inherited from KParts::Event
 Event (const char *eventName)
 
virtual ~Event ()
 
virtual const char * eventName () 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)
 

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

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
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:50:42 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.

KParts

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

kdelibs API Reference

Skip menu "kdelibs API Reference"
  • DNSSD
  • Interfaces
  •   KHexEdit
  •   KMediaPlayer
  •   KSpeech
  •   KTextEditor
  • kconf_update
  • KDE3Support
  •   KUnitTest
  • KDECore
  • KDED
  • KDEsu
  • KDEUI
  • KDEWebKit
  • KDocTools
  • KFile
  • KHTML
  • KImgIO
  • KInit
  • kio
  • KIOSlave
  • KJS
  •   KJS-API
  • kjsembed
  •   WTF
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • Nepomuk
  • Nepomuk-Core
  • Nepomuk
  • Plasma
  • Solid
  • Sonnet
  • ThreadWeaver

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal