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

akregator

  • sources
  • kde-4.14
  • 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 namespace Akregator {
27 
28 class Plugin;
29 class AKREGATORPART_EXPORT PluginManager
30 {
31  public:
32 
56  static KService::List query( const QString& constraint = QString() );
57 
65  static Akregator::Plugin* createFromQuery( const QString& constraint = QString() );
66 
72  static Akregator::Plugin* createFromService( const KService::Ptr service, QObject *parent = 0 );
73 
78  static void unload( Akregator::Plugin* plugin );
79 
85  static KService::Ptr getService( const Akregator::Plugin* plugin );
86 
91  static void dump( const KService::Ptr service );
92 
97  static void showAbout( const QString& constraint );
98 
99  private:
100  struct StoreItem {
101  Akregator::Plugin* plugin;
102  KService::Ptr service;
103  };
104 
105  static std::vector<StoreItem>::iterator lookupPlugin( const Akregator::Plugin* plugin );
106 
107  //attributes:
108  static std::vector<StoreItem> m_store;
109 };
110 
111 } // namespace Akregator
112 
113 #endif // AKREGATOR_PLUGINMANAGER_H
114 
Akregator::PluginManager
Definition: pluginmanager.h:29
Akregator::Plugin
Definition: plugin.h:41
QObject
QString
akregator_export.h
AKREGATORPART_EXPORT
#define AKREGATORPART_EXPORT
Definition: akregator_export.h:48
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:34:00 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
  • pimprint

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