Logo Search packages:      
Sourcecode: packagesearch version File versions

NPlugin::FilenamePluginContainer Class Reference

#include <filenameplugincontainer.h>

Inheritance diagram for NPlugin::FilenamePluginContainer:

NPlugin::BasePluginContainer NPlugin::IPluginInformer

List of all members.

Detailed Description

Benjamin Mesing

Definition at line 37 of file filenameplugincontainer.h.

Public Member Functions

virtual void addPluginUser (IPluginUser *pUser)
 Adds a plugin user. Plugin users will be informed about loading and unloading of plugins.
virtual void applySettings ()
 Call this option to apply the settings from the requested settings window to the PluginContainer.
QDomElement getSettings (string pluginName)
virtual QWidget * getSettingsWidget (QWidget *pParent)
 This will return a widget to control the Plugin Container (i.e. enabling/disabling parts of the plugin container and make settings for the plugins).
void isEnabled (string pluginName)
virtual void loadSettings (const QDomElement source)
 Loads the settings from the element node.
virtual void removePluginUser (IPluginUser *pUser)
virtual void saveSettings (NXml::XmlData &outData, QDomElement parent) const
 Save the settings from this plugin container into the given XML tree.
PluginContainer Interface
These functions implement the PluginContainer interface.

vector< pair< QString, QAction * > > actions ()
virtual bool init (IProvider *pProvider)
virtual string name () const
virtual QString title () const
PluginContainer Interface
These functions implement the PluginContainer interface.

virtual vector< Plugin * > getLoadedPlugins ()
virtual bool init (IProvider *pProvider, IPluginFactory *pFactory)
 This makes the plugin container ready for use.
virtual vector< string > offeredPlugins () const
virtual void releasePlugin (Plugin *pPlugin)
virtual PluginrequestPlugin (const string &name)

Protected Slots

void onAptFileUpdate ()
void onAptFileUpdateFinished ()
 This function will be called if the update finished.

Protected Member Functions

void addPlugin (const string &name)
 This adds a new plugin type to the available ones.
IPluginFactorypluginFactory ()
IProviderprovider ()

Protected Attributes

PluginInformer _pluginInformer

Private Attributes

QAction * _pAptFileUpdateAction

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index