• Skip to content
  • Skip to link menu
KDE API Reference
  • KDE API Reference
  • kdepim API Reference
  • KDE Home
  • Contact Us
 

akregator

  • Akregator
  • PluginManager
Static Public Member Functions | List of all members
Akregator::PluginManager Class Reference

#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

Plugin * Akregator::PluginManager::createFromQuery ( const QString &  constraint = QString())
static

Load and instantiate plugin from query.

Parameters
constraintA constraint to limit the choices returned, QString() to get all services of the given servicetype
Returns
Pointer to Plugin, or NULL if error
See also
http://developer.kde.org/documentation/library/kdeqt/tradersyntax.html

Definition at line 60 of file pluginmanager.cpp.

Plugin * Akregator::PluginManager::createFromService ( const KService::Ptr  service,
QObject *  parent = 0 
)
static

Load and instantiate plugin from service.

Parameters
servicePointer to KService
Returns
Pointer to Plugin, or NULL if error

Definition at line 82 of file pluginmanager.cpp.

void Akregator::PluginManager::dump ( const KService::Ptr  service)
static

Dump properties from a service to stdout for debugging.

Parameters
servicePointer to KService

Definition at line 179 of file pluginmanager.cpp.

KService::Ptr Akregator::PluginManager::getService ( const Akregator::Plugin *  plugin)
static

Look up service for loaded plugin from store.

Parameters
pointerPointer to plugin
Returns
KService, or 0 if not found

Definition at line 132 of file pluginmanager.cpp.

KService::List Akregator::PluginManager::query ( const QString &  constraint = QString())
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:

(Type == 'Service') and (('KParts/ReadOnlyPart' in ServiceTypes) or (exist Exec))

The keys used in the query (Type, ServiceType, Exec) are all fields found in the .desktop files.

Parameters
constraintA constraint to limit the choices returned, QString() to get all services of the given servicetype
Returns
A list of services that satisfy the query
See also
http://developer.kde.org/documentation/library/kdeqt/tradersyntax.html

Definition at line 42 of file pluginmanager.cpp.

void Akregator::PluginManager::showAbout ( const QString &  constraint)
static

Show modal info dialog about plugin.

Parameters
constraintA constraint to limit the choices returned

Definition at line 152 of file pluginmanager.cpp.

void Akregator::PluginManager::unload ( Akregator::Plugin *  plugin)
static

Remove library and delete plugin.

Parameters
pluginPointer to plugin

Definition at line 107 of file pluginmanager.cpp.


The documentation for this class was generated from the following files:
  • pluginmanager.h
  • pluginmanager.cpp
This file is part of the KDE documentation.
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.

akregator

Skip menu "akregator"
  • Main Page
  • Namespace List
  • Namespace Members
  • Alphabetical List
  • Class List
  • Class Hierarchy
  • Class Members
  • File List
  • File Members

kdepim API Reference

Skip menu "kdepim API Reference"
  • akonadi_next
  • akregator
  • blogilo
  • calendarsupport
  • console
  •   kabcclient
  •   konsolekalendar
  • kaddressbook
  • kalarm
  •   lib
  • kdgantt2
  • kjots
  • kleopatra
  • kmail
  • knode
  • knotes
  • kontact
  • korgac
  • korganizer
  • ktimetracker
  • libkdepim
  • libkleo
  • libkpgp
  • mailcommon
  • messagelist
  • messageviewer

Search



Report problems with this website to our bug tracking system.
Contact the specific authors with questions and comments about the page contents.

KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal