Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

KParts::PartBase Class Reference

Base class for all parts. More...

#include <part.h>

Inheritance diagram for KParts::PartBase:

KXMLGUIClient KParts::DockMainWindow KParts::MainWindow KParts::Part KParts::ReadOnlyPart KMediaPlayer::Player KParts::ReadWritePart KTextEditor::Editor List of all members.

Public Methods

 PartBase ()
virtual ~PartBase ()
void setPartObject (QObject *object)

Protected Methods

virtual void setInstance (KInstance *instance)
virtual void setInstance (KInstance *instance, bool loadPlugins)
void loadPlugins (QObject *parent, KXMLGUIClient *parentGUIClient, KInstance *instance)
void setPluginLoadingMode (PluginLoadingMode loadingMode)

Detailed Description

Base class for all parts.

Base class for all parts.

Definition at line 57 of file part.h.


Constructor & Destructor Documentation

KParts::PartBase::PartBase  
 

Constructor.

virtual KParts::PartBase::~PartBase   [virtual]
 

Destructor.


Member Function Documentation

void KParts::PartBase::loadPlugins QObject *    parent,
KXMLGUIClient   parentGUIClient,
KInstance   instance
[protected]
 

Load the Plugins honoring the PluginLoadingMode.

virtual void KParts::PartBase::setInstance KInstance   instance,
bool    loadPlugins
[protected, virtual]
 

Set the instance (KInstance) for this part.

Call this *first* in the inherited class constructor, because it loads the i18n catalogues.

virtual void KParts::PartBase::setInstance KInstance   instance [protected, virtual]
 

Set the instance (KInstance) for this part.

Call this *first* in the inherited class constructor, because it loads the i18n catalogues.

Reimplemented from KXMLGUIClient.

void KParts::PartBase::setPartObject QObject *    object
 

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

void KParts::PartBase::setPluginLoadingMode PluginLoadingMode    loadingMode [protected]
 

For a KParts::Part: call this before setInstance. For a KParts::MainWindow: call this before createGUI.


The documentation for this class was generated from the following file:
Generated on Wed Aug 13 23:30:36 2003 for kdelibs by doxygen1.2.18