akregator
#include <pluginmanager.h>
Static Public Member Functions | |
static Akregator::Plugin * | createFromQuery (const QString &constraint=QString()) |
static Akregator::Plugin * | createFromService (const KService::Ptr service, QObject *parent=0) |
static void | dump (const KService::Ptr service) |
static KService::Ptr | getService (const Akregator::Plugin *plugin) |
static KService::List | query (const QString &constraint=QString()) |
static void | showAbout (const QString &constraint) |
static void | unload (Akregator::Plugin *plugin) |
Detailed Description
Definition at line 30 of file pluginmanager.h.
Member Function Documentation
|
static |
Load and instantiate plugin from query.
- Parameters
-
constraint A constraint to limit the choices returned, QString() to get all services of the given servicetype
- Returns
- Pointer to Plugin, or NULL if error
Definition at line 60 of file pluginmanager.cpp.
|
static |
Load and instantiate plugin from service.
- Parameters
-
service Pointer to KService
- Returns
- Pointer to Plugin, or NULL if error
Definition at line 82 of file pluginmanager.cpp.
|
static |
Dump properties from a service to stdout for debugging.
- Parameters
-
service Pointer to KService
Definition at line 179 of file pluginmanager.cpp.
|
static |
Look up service for loaded plugin from store.
- Parameters
-
pointer Pointer to plugin
- Returns
- KService, or 0 if not found
Definition at line 132 of file pluginmanager.cpp.
|
static |
It will return a list of services that match your specifications.
The only required parameter is the service type. This is something like 'text/plain' or 'text/html'. The constraint parameter is used to limit the possible choices returned based on the constraints you give it.
The constraint
language is rather full. The most common keywords are AND, OR, NOT, IN, and EXIST, all used in an almost spoken-word form. An example is:
The keys used in the query (Type, ServiceType, Exec) are all fields found in the .desktop files.
- Parameters
-
constraint A constraint to limit the choices returned, QString() to get all services of the given servicetype
- Returns
- A list of services that satisfy the query
Definition at line 42 of file pluginmanager.cpp.
|
static |
Show modal info dialog about plugin.
- Parameters
-
constraint A constraint to limit the choices returned
Definition at line 152 of file pluginmanager.cpp.
|
static |
Remove library and delete plugin.
- Parameters
-
plugin Pointer to plugin
Definition at line 107 of file pluginmanager.cpp.
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:15 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.