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

akregator

  • sources
  • kde-4.12
  • kdepim
  • akregator
  • src
pluginmanager.h
Go to the documentation of this file.
1 /***************************************************************************
2 begin : 2004/03/12
3 copyright : (C) Mark Kretschmann
4 email : markey@web.de
5 ***************************************************************************/
6 
7 /***************************************************************************
8  * *
9  * This program is free software; you can redistribute it and/or modify *
10  * it under the terms of the GNU General Public License as published by *
11  * the Free Software Foundation; either version 2 of the License, or *
12  * (at your option) any later version. *
13  * *
14  ***************************************************************************/
15 
16 #ifndef AKREGATOR_PLUGINMANAGER_H
17 #define AKREGATOR_PLUGINMANAGER_H
18 
19 #include "akregator_export.h"
20 
21 #include <kservice.h>
22 #include <kservicetypetrader.h>
23 
24 #include <vector>
25 
26 class KLibrary;
27 namespace Akregator {
28 
29 class Plugin;
30 class AKREGATORPART_EXPORT PluginManager
31 {
32  public:
33 
57  static KService::List query( const QString& constraint = QString() );
58 
66  static Akregator::Plugin* createFromQuery( const QString& constraint = QString() );
67 
73  static Akregator::Plugin* createFromService( const KService::Ptr service, QObject *parent = 0 );
74 
79  static void unload( Akregator::Plugin* plugin );
80 
86  static KService::Ptr getService( const Akregator::Plugin* plugin );
87 
92  static void dump( const KService::Ptr service );
93 
98  static void showAbout( const QString& constraint );
99 
100  private:
101  struct StoreItem {
102  Akregator::Plugin* plugin;
103  KService::Ptr service;
104  };
105 
106  static std::vector<StoreItem>::iterator lookupPlugin( const Akregator::Plugin* plugin );
107 
108  //attributes:
109  static std::vector<StoreItem> m_store;
110 };
111 
112 } // namespace Akregator
113 
114 #endif // AKREGATOR_PLUGINMANAGER_H
115 
Akregator::PluginManager
Definition: pluginmanager.h:30
QObject
Akregator::Plugin
Definition: plugin.h:41
akregator_export.h
AKREGATORPART_EXPORT
#define AKREGATORPART_EXPORT
Definition: akregator_export.h:48
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:58:14 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