KParts::PartBase

Search for usage in LXR

#include <KParts/PartBase>

Inheritance diagram for KParts::PartBase:

Public Member Functions

 PartBase ()
 
 ~PartBase () override
 
QObjectpartObject () const
 
void setPartObject (QObject *object)
 
- Public Member Functions inherited from KXMLGUIClient
 KXMLGUIClient (KXMLGUIClient *parent)
 
virtual QActionaction (const QDomElement &element) const
 
QActionaction (const QString &name) const
 
virtual KActionCollectionactionCollection () const
 
QList< KXMLGUIClient * > childClients ()
 
KXMLGUIBuilderclientBuilder () const
 
virtual QString componentName () const
 
virtual QDomDocument domDocument () const
 
KXMLGUIFactoryfactory () const
 
void insertChildClient (KXMLGUIClient *child)
 
KXMLGUIClientparentClient () const
 
void plugActionList (const QString &name, const QList< QAction * > &actionList)
 
void reloadXML ()
 
void removeChildClient (KXMLGUIClient *child)
 
void replaceXMLFile (const QString &xmlfile, const QString &localxmlfile, bool merge=false)
 
void setClientBuilder (KXMLGUIBuilder *builder)
 
void setFactory (KXMLGUIFactory *factory)
 
void setXMLGUIBuildDocument (const QDomDocument &doc)
 
void unplugActionList (const QString &name)
 
virtual QString xmlFile () const
 
QDomDocument xmlguiBuildDocument () const
 

Protected Member Functions

KPARTS_NO_EXPORT PartBase (PartBasePrivate &dd)
 
- Protected Member Functions inherited from KXMLGUIClient
void loadStandardsXmlFile ()
 
virtual void setComponentName (const QString &componentName, const QString &componentDisplayName)
 
virtual void setDOMDocument (const QDomDocument &document, bool merge=false)
 
virtual void setLocalXMLFile (const QString &file)
 
virtual void setXML (const QString &document, bool merge=false)
 
virtual void setXMLFile (const QString &file, bool merge=false, bool setXMLDoc=true)
 
virtual void stateChanged (const QString &newstate, ReverseStateChange reverse=StateNoReverse)
 

Protected Attributes

std::unique_ptr< PartBasePrivate > const d_ptr
 

Additional Inherited Members

- Static Public Member Functions inherited from KXMLGUIClient
static QString findVersionNumber (const QString &xml)
 
- Static Protected Member Functions inherited from KXMLGUIClient
static QString standardsXmlFileLocation ()
 

Detailed Description

Base class for all parts.

Definition at line 34 of file partbase.h.

Constructor & Destructor Documentation

◆ PartBase() [1/2]

PartBase::PartBase ( )

Constructor.

Definition at line 14 of file partbase.cpp.

◆ ~PartBase()

PartBase::~PartBase ( )
overridedefault

Destructor.

◆ PartBase() [2/2]

PartBase::PartBase ( PartBasePrivate & dd)
explicitprotected

Definition at line 19 of file partbase.cpp.

Member Function Documentation

◆ partObject()

QObject * PartBase::partObject ( ) const

Definition at line 33 of file partbase.cpp.

◆ setPartObject()

void PartBase::setPartObject ( QObject * object)

Internal method.

Called by KParts::Part to specify the parent object for plugin objects.

Definition at line 26 of file partbase.cpp.

Member Data Documentation

◆ d_ptr

std::unique_ptr<PartBasePrivate> const KParts::PartBase::d_ptr
protected

Definition at line 60 of file partbase.h.


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 Sat Dec 21 2024 16:58:58 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006

KDE's Doxygen guidelines are available online.