Référence de la classe KoPluginLoader

#include <KoPluginLoader.h>

Graphe de collaboration de KoPluginLoader:

[légende]
Liste de tous les membres

Fonctions membres publiques

 ~KoPluginLoader ()
void load (const QString &serviceType, const QString &versionString)

Fonctions membres publiques statiques

static KoPluginLoaderinstance ()

Fonctions membres privées

 KoPluginLoader ()
 KoPluginLoader (const KoPluginLoader &)
KoPluginLoader operator= (const KoPluginLoader &)

Attributs privés

QStringList m_loadedServiceTypes

Attributs privés statiques

static KoPluginLoaderm_singleton

Description détaillée

The pluginloader singleton is responsible for loading the plugins that it's asked to load. It keeps track of which servicetypes it has seen and doesn't reload them. The plugins need to inherit KoPlugin, which is just a QObject with a default constructor. Inside the default constructor you can create whatever object you want and add it to whatever registry you prefer. After having been constructed, your plugin will be deleted, so do all you need in the constructor.

TODO: make plugins manageable.

Définition à la ligne 39 du fichier KoPluginLoader.h.


Documentation des contructeurs et destructeur

KoPluginLoader::~KoPluginLoader (  ) 

Définition à la ligne 34 du fichier KoPluginLoader.cpp.

KoPluginLoader::KoPluginLoader (  )  [private]

Définition à la ligne 30 du fichier KoPluginLoader.cpp.

Référencé par instance().

Voici le graphe d'appel pour cette fonction :

KoPluginLoader::KoPluginLoader ( const KoPluginLoader  )  [private]


Documentation des fonctions membres

KoPluginLoader * KoPluginLoader::instance (  )  [static]

Return an instance of the KoPluginLoader Creates an instance if that has never happened before and returns the singleton instance.

Définition à la ligne 41 du fichier KoPluginLoader.cpp.

Références KoPluginLoader(), m_singleton, et staticShapeRegistryDeleter.

Référencé par KoColorSpaceRegistry::init(), KoShapeRegistry::init(), et KoToolRegistry::KoToolRegistry().

Voici le graphe d'appel pour cette fonction :

Voici le graphe d'appel pour cette fonction :

void KoPluginLoader::load ( const QString &  serviceType,
const QString &  versionString 
)

Load all plugins that conform to the versiontype and versionstring, for instance: KoPluginLoader::instance()->load("KOffice/Flake", "([X-Flake-Version] == 3)");

Définition à la ligne 50 du fichier KoPluginLoader.cpp.

Références KoProperty::List, et m_loadedServiceTypes.

Référencé par KoColorSpaceRegistry::init(), KoShapeRegistry::init(), et KoToolRegistry::KoToolRegistry().

Voici le graphe d'appel pour cette fonction :

KoPluginLoader KoPluginLoader::operator= ( const KoPluginLoader  )  [private]


Documentation des données membres

KoPluginLoader * KoPluginLoader::m_singleton [static, private]

Définition à la ligne 67 du fichier KoPluginLoader.h.

Référencé par instance().

QStringList KoPluginLoader::m_loadedServiceTypes [private]

Définition à la ligne 69 du fichier KoPluginLoader.h.

Référencé par load().


La documentation de cette classe a été générée à partir des fichiers suivants :
Généré le Wed Nov 22 23:48:24 2006 pour KPlato par  doxygen 1.5.1-p1