#include <part.h>

Public Member Functions | |
PartBase () | |
virtual | ~PartBase () |
void | setPartObject (TQObject *object) |
TQObject * | partObject () const |
Protected Types | |
enum | PluginLoadingMode { DoNotLoadPlugins = 0, LoadPlugins = 1, LoadPluginsIfEnabled = 2 } |
Protected Member Functions | |
virtual void | setInstance (TDEInstance *instance) |
virtual void | setInstance (TDEInstance *instance, bool loadPlugins) |
void | loadPlugins (TQObject *parent, KXMLGUIClient *parentGUIClient, TDEInstance *instance) |
void | setPluginLoadingMode (PluginLoadingMode loadingMode) |
Friends | |
class | PartBasePrivate |
Detailed Description
Member Enumeration Documentation
|
protected |
We have three different policies, whether to load new plugins or not.
The value in the TDEConfig object of the TDEInstance object always overrides LoadPlugins and LoadPluginsIfEnabled.
Constructor & Destructor Documentation
Member Function Documentation
|
protected |
Load the Plugins honoring the PluginLoadingMode.
If you call this method in an already constructed GUI (like when the user has changed which plugins are enabled) you need to add the new plugins to the KXMLGUIFactory:
|
protectedvirtual |
Set the instance ( TDEInstance) for this part.
Call this first in the inherited class constructor, because it loads the i18n catalogues.
|
protectedvirtual |
Set the instance ( TDEInstance) for this part.
Call this first in the inherited class constructor, because it loads the i18n catalogues.
void PartBase::setPartObject | ( | TQObject * | object | ) |
Internal method.
Called by KParts::Part to specify the parent object for plugin objects.
|
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 files: