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

KParts

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

#include <event.h>

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

Public Member Functions

 PartSelectEvent (bool selected, Part *part, QWidget *widget)
 
virtual ~PartSelectEvent ()
 
Part * part () const
 
bool selected () const
 
QWidget * widget () const
 
- Public Member Functions inherited from KParts::Event
 Event (const char *eventName)
 
virtual ~Event ()
 
virtual const char * eventName () const
 
- Public Member Functions inherited from QEvent
 QEvent (Type type)
 
virtual  ~QEvent ()
 
void accept ()
 
void ignore ()
 
bool isAccepted () const
 
void setAccepted (bool accepted)
 
bool spontaneous () const
 
Type type () 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)
 
- Static Public Member Functions inherited from QEvent
int registerEventType (int hint)
 

Additional Inherited Members

- Properties inherited from QEvent
 accepted
 

Detailed Description

This event is sent when a part is selected or deselected.

See also
KParts::PartManager::setSelectionPolicy

Definition at line 103 of file event.h.

Constructor & Destructor Documentation

PartSelectEvent::PartSelectEvent ( bool  selected,
Part *  part,
QWidget *  widget 
)

Definition at line 184 of file event.cpp.

PartSelectEvent::~PartSelectEvent ( )
virtual

Definition at line 192 of file event.cpp.

Member Function Documentation

Part * PartSelectEvent::part ( ) const

Definition at line 202 of file event.cpp.

bool PartSelectEvent::selected ( ) const

Definition at line 197 of file event.cpp.

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

Definition at line 212 of file event.cpp.

QWidget * PartSelectEvent::widget ( ) const

Definition at line 207 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-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:25:36 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
  •   WTF
  • kjsembed
  • KNewStuff
  • KParts
  • KPty
  • Kross
  • KUnitConversion
  • KUtils
  • 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