KParts::PartActivateEvent

Search for usage in LXR

KParts::PartActivateEvent Class Reference

#include <KParts/PartActivateEvent>

Inheritance diagram for KParts::PartActivateEvent:

Public Member Functions

 PartActivateEvent (bool activated, Part *part, QWidget *widget)
 
bool activated () const
 
Partpart () const
 
QWidgetwidget () 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
 accepted
 
- Public Attributes inherited from QEvent
 AcceptDropsChange
 
 ActionAdded
 
 ActionChanged
 
 ActionRemoved
 
 ActivateControl
 
 ActivationChange
 
 ApplicationActivate
 
 ApplicationActivated
 
 ApplicationDeactivate
 
 ApplicationDeactivated
 
 ApplicationFontChange
 
 ApplicationLayoutDirectionChange
 
 ApplicationPaletteChange
 
 ApplicationStateChange
 
 ApplicationWindowIconChange
 
 ChildAdded
 
 ChildPolished
 
 ChildRemoved
 
 Clipboard
 
 Close
 
 CloseSoftwareInputPanel
 
 ContentsRectChange
 
 ContextMenu
 
 Create
 
 CursorChange
 
 DeactivateControl
 
 DeferredDelete
 
 Destroy
 
 DevicePixelRatioChange
 
 DragEnter
 
 DragLeave
 
 DragMove
 
 DragResponse
 
 Drop
 
 DynamicPropertyChange
 
 EmbeddingControl
 
 EnabledChange
 
 Enter
 
 EnterEditFocus
 
 EnterWhatsThisMode
 
 Expose
 
 FileOpen
 
 FocusAboutToChange
 
 FocusIn
 
 FocusOut
 
 FontChange
 
 FutureCallOut
 
 Gesture
 
 GestureOverride
 
 GrabKeyboard
 
 GrabMouse
 
 GraphicsSceneContextMenu
 
 GraphicsSceneDragEnter
 
 GraphicsSceneDragLeave
 
 GraphicsSceneDragMove
 
 GraphicsSceneDrop
 
 GraphicsSceneHelp
 
 GraphicsSceneHoverEnter
 
 GraphicsSceneHoverLeave
 
 GraphicsSceneHoverMove
 
 GraphicsSceneLeave
 
 GraphicsSceneMouseDoubleClick
 
 GraphicsSceneMouseMove
 
 GraphicsSceneMousePress
 
 GraphicsSceneMouseRelease
 
 GraphicsSceneMove
 
 GraphicsSceneResize
 
 GraphicsSceneWheel
 
 HelpRequest
 
 Hide
 
 HideToParent
 
 HoverEnter
 
 HoverLeave
 
 HoverMove
 
 IconDrag
 
 IconTextChange
 
 InputMethod
 
 InputMethodQuery
 
 KeyboardLayoutChange
 
 KeyPress
 
 KeyRelease
 
 LanguageChange
 
 LayoutDirectionChange
 
 LayoutRequest
 
 Leave
 
 LeaveEditFocus
 
 LeaveWhatsThisMode
 
 LocaleChange
 
 MacGLWindowChange
 
 MacSizeChange
 
 MaxUser
 
 MetaCall
 
 ModifiedChange
 
 MouseButtonDblClick
 
 MouseButtonPress
 
 MouseButtonRelease
 
 MouseMove
 
 MouseTrackingChange
 
 Move
 
 NativeGesture
 
 NetworkReplyUpdated
 
 NonClientAreaMouseButtonDblClick
 
 NonClientAreaMouseButtonPress
 
 NonClientAreaMouseButtonRelease
 
 NonClientAreaMouseMove
 
 None
 
 OkRequest
 
 OrientationChange
 
 Paint
 
 PaletteChange
 
 ParentAboutToChange
 
 ParentChange
 
 PlatformPanel
 
 PlatformSurface
 
 Pointer
 
 Polish
 
 PolishRequest
 
 QueryWhatsThis
 
 Quit
 
 ReadOnlyChange
 
 RequestSoftwareInputPanel
 
 Resize
 
 ScreenChangeInternal
 
 Scroll
 
 ScrollPrepare
 
 Shortcut
 
 ShortcutOverride
 
 Show
 
 ShowToParent
 
 ShowWindowRequest
 
 SockAct
 
 SockClose
 
 Speech
 
 StateMachineSignal
 
 StateMachineWrapped
 
 StatusTip
 
 Style
 
 StyleAnimationUpdate
 
 StyleChange
 
 TabletEnterProximity
 
 TabletLeaveProximity
 
 TabletMove
 
 TabletPress
 
 TabletRelease
 
 TabletTrackingChange
 
 ThemeChange
 
 ThreadChange
 
 Timer
 
 ToolBarChange
 
 ToolTip
 
 ToolTipChange
 
 TouchBegin
 
 TouchCancel
 
 TouchEnd
 
 TouchUpdate
 
 UngrabKeyboard
 
 UngrabMouse
 
 UpdateLater
 
 UpdateRequest
 
 User
 
 WhatsThis
 
 WhatsThisClicked
 
 Wheel
 
 WindowAboutToChangeInternal
 
 WindowActivate
 
 WindowBlocked
 
 WindowChangeInternal
 
 WindowDeactivate
 
 WindowIconChange
 
 WindowStateChange
 
 WindowTitleChange
 
 WindowUnblocked
 
 WinEventAct
 
 WinIdChange
 
 ZeroTimerEvent
 
 ZOrderChange
 

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 32 of file partactivateevent.h.

Constructor & Destructor Documentation

◆ PartActivateEvent()

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

Definition at line 29 of file partactivateevent.cpp.

Member Function Documentation

◆ activated()

bool PartActivateEvent::activated ( ) const

Definition at line 37 of file partactivateevent.cpp.

◆ part()

Part * PartActivateEvent::part ( ) const

Definition at line 42 of file partactivateevent.cpp.

◆ test()

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

Definition at line 52 of file partactivateevent.cpp.

◆ widget()

QWidget * PartActivateEvent::widget ( ) const

Definition at line 47 of file partactivateevent.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 Nov 22 2024 12:01:42 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.