PluginSelector Widget and generic Configuration Dialog
hausmann at kde.org
Fri Jun 21 08:16:44 BST 2002
On Fri, Jun 21, 2002 at 09:08:07AM +0200, Matthias Kretz wrote:
> The generic Widget for enabling/disabling Plugins is working and perhaps even
> finished (well, probably not). A short description of what it can do:
> In the easiest case you only have to pass a KInstance, the class then looks in
> the apps/<instancename>/kpartplugins/ directory for *.desktop files. These
> files contain the name, a comment, the author and internal pluginname (the
> name used in the .rc file) and optionally a type of the plugin.
> You can also pass a list of filenames containing this information if you want
> to use some other kind of plugin.
> If you have different types of plugins you need to pass the list of types to
> the class and a tabwidget will be created with a seperate tab for every type.
> The configuration is saved in the KConfig object of the KInstance or one you
> TODO: exclusive plugin types
> If anybody needs more features let me know. Currently the code is in KView but
> it belongs into kdelibs. Question: kparts or kdeui?
I'd say kparts (KParts::PluginSelector) . Just my 0.02 €-cent
More information about the kde-core-devel