class PartBase

Base class for all parts. More...

Full nameKParts::PartBase
Definition#include <part.h>
InheritsKXMLGUIClient (kdeui) [virtual public ]
Inherited byDockMainWindow, MainWindow, Part, ReadOnlyPart, ReadWritePart
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Methods

Protected Types

Protected Methods


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.

QObjectpartObject ()

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: caleb on tcdevel on Tue Jan 28 12:54:23 2003, using kdoc $.