• Skip to content
  • Skip to link menu
Trinity API Reference
  • Trinity API Reference
  • tdeparts
 

tdeparts

  • 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:
KParts::Event

Public Member Functions

 PartActivateEvent (bool activated, Part *part, TQWidget *widget)
 
bool activated () const
 
Part * part () const
 
TQWidget * widget () const
 
- Public Member Functions inherited from KParts::Event
 Event (const char *eventName)
 
virtual const char * eventName () const
 

Static Public Member Functions

static bool test (const TQEvent *event)
 
- Static Public Member Functions inherited from KParts::Event
static bool test (const TQEvent *event)
 
static bool test (const TQEvent *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 76 of file event.h.

Constructor & Destructor Documentation

◆ PartActivateEvent()

KParts::PartActivateEvent::PartActivateEvent ( bool  activated,
Part *  part,
TQWidget *  widget 
)
inline

Definition at line 79 of file event.h.

Member Function Documentation

◆ activated()

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

Definition at line 81 of file event.h.

◆ part()

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

Definition at line 83 of file event.h.

◆ test()

static bool KParts::PartActivateEvent::test ( const TQEvent *  event)
inlinestatic

Definition at line 86 of file event.h.

◆ widget()

TQWidget * 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

tdeparts

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

tdeparts

Skip menu "tdeparts"
  • arts
  • dcop
  • dnssd
  • interfaces
  •   kspeech
  •     interface
  •     library
  •   tdetexteditor
  • kate
  • kded
  • kdoctools
  • kimgio
  • kjs
  • libtdemid
  • libtdescreensaver
  • tdeabc
  • tdecmshell
  • tdecore
  • tdefx
  • tdehtml
  • tdeinit
  • tdeio
  •   bookmarks
  •   httpfilter
  •   kpasswdserver
  •   kssl
  •   tdefile
  •   tdeio
  •   tdeioexec
  • tdeioslave
  •   http
  • tdemdi
  •   tdemdi
  • tdenewstuff
  • tdeparts
  • tdeprint
  • tderandr
  • tderesources
  • tdespell2
  • tdesu
  • tdeui
  • tdeunittest
  • tdeutils
  • tdewallet
Generated for tdeparts by doxygen 1.9.4
This website is maintained by Timothy Pearson.