KPluginSelectionWidget Class Reference
This is a widget to configure what Plugins should be loaded. More...
#include <kpluginselector_p.h>
Inheritance diagram for KPluginSelectionWidget:

Signals | |
void | changed (bool) |
void | configCommitted (const QCString &instanceName) |
Public Methods | |
KPluginSelectionWidget (const QString &instanceName, KPluginSelector *kps, QWidget *parent, const QString &catname, const QString &category, KConfigGroup *config=0, const char *name=0) | |
KPluginSelectionWidget (const QValueList< KPluginInfo * > &plugininfos, KPluginSelector *kps, QWidget *parent, const QString &catname, const QString &category, KConfigGroup *config=0, const char *name=0) | |
virtual | ~KPluginSelectionWidget () |
QString | catName () const |
virtual void | load () |
virtual void | save () |
bool | pluginChecked (const QString &pluginName) const |
Protected Methods | |
virtual bool | pluginIsLoaded (const QString &pluginName) const |
Detailed Description
This is a widget to configure what Plugins should be loaded.This widget is used by KPluginSelector and has no direct use.
Definition at line 40 of file kpluginselector_p.h.
Constructor & Destructor Documentation
|
Create a new Plugin Selector widget for KParts plugins. If you want to support different types of plugins use the following constructor. Using this constructor the Type field will be ignored. The information about the plugins will be loaded from the share/apps/<instancename>/kpartplugins directory.
Definition at line 167 of file kpluginselector.cpp. |
|
Create a new Plugin Selector widget for non-KParts plugins. If you want to support different types of plugins use the following constructor. Using this constructor the Type field will be ignored.
Definition at line 176 of file kpluginselector.cpp. |
Member Function Documentation
|
Returns the translated category name.
Definition at line 186 of file kpluginselector.cpp. |
|
Tell the KPluginInfo objects to load their state (enabled/disabled).
Definition at line 445 of file kpluginselector.cpp. References KPluginInfo::isPluginEnabled(), and KPluginInfo::load(). |
|
It tells the KPluginInfo objects to save their current state (enabled/disabled).
Definition at line 468 of file kpluginselector.cpp. References changed(), configCommitted(), KPluginInfo::save(), and KPluginInfo::setPluginEnabled(). |
|
|
|
Emits true when at least one embedded KCM is changed, or the plugin selection was changed. Emits false when the configuration is back to what it was. Referenced by save(). |
|
Emitted after the config of an embedded KCM has been saved. The argument is the name of the parent component that needs to reload its config Referenced by save(). |
|
Reimplement in your subclass if you have special needs: The standard implementation looks at the KPluginInfo objects to find the needed information. But if, for some reason, your program doesn't work with that here's your chance to get it working.
Definition at line 254 of file kpluginselector.cpp. |
The documentation for this class was generated from the following files: