class PartBase

# class PartBase | Base class for all parts. More...
Full name | `KParts::PartBase`
Definition | `#include <part.h>`
Inherits | KXMLGUIClient (kdeui) [virtual public ]
Inherited by | DockMainWindow, MainWindow, Part, ReadOnlyPart, ReadWritePart
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

#### Public Methods

- PartBase ()
- virtual ~PartBase ()
- void setPartObject ( QObject *object )
- QObject * partObject () const

#### Protected Types

- enum PluginLoadingMode { DoNotLoadPlugins = 0, LoadPlugins = 1, LoadPluginsIfEnabled = 2 }

#### 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.

PartBase () | ### PartBase

Constructor.

~PartBase () | ### ~PartBase

[virtual]

Destructor.

void setPartObject ( QObject *object ) | ### setPartObject

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

QObject * partObject () | ### partObject

[const]

void setInstance ( KInstance *instance ) | ### setInstance

[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 setInstance ( KInstance *instance, bool loadPlugins ) | ### setInstance

[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.

enum PluginLoadingMode { DoNotLoadPlugins = 0, LoadPlugins = 1, LoadPluginsIfEnabled = 2 } | ### PluginLoadingMode

[protected]

void loadPlugins ( QObject *parent, KXMLGUIClient *parentGUIClient, KInstance *instance ) | ### loadPlugins

[protected]

Load the Plugins honoring the PluginLoadingMode.

void setPluginLoadingMode ( PluginLoadingMode loadingMode ) | ### setPluginLoadingMode

[protected]

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

Generated by: root on macppc.ports.openbsd.org on Sat Sep 6 10:37:24 2003, using kdoc 2.0a54.