Plasma
pluginloader.cpp
Go to the documentation of this file.
81 // the application-specific appletLoader failed to create an applet, here we try with our own logic.
206 Service *PluginLoader::loadService(const QString &name, const QVariantList &args, QObject *parent)
247 KPluginInfo::List PluginLoader::listAppletInfo(const QString &category, const QString &parentApp)
265 constraint.append(" and ").append("[X-KDE-PluginInfo-Category] == '").append(category).append("'");
267 constraint.append(" or (not exist [X-KDE-PluginInfo-Category] or [X-KDE-PluginInfo-Category] == '')");
319 Applet* PluginLoader::internalLoadApplet(const QString &name, uint appletId, const QVariantList &args)
339 Service* PluginLoader::internalLoadService(const QString &name, const QVariantList &args, QObject *parent)
368 static KPluginInfo::List standardInternalInfo(const QString &type, const QString &category = QString())
void setName(const QString &name)
Sets the name of the Service; useful for Services not loaded from plugins, which use the plugin name ...
Definition: service.cpp:318
DataEngine * loadDataEngine(const QString &name)
Load a DataEngine plugin.
Definition: pluginloader.cpp:161
static PluginLoader * pluginLoader()
Return the active plugin loader.
Definition: pluginloader.cpp:67
virtual KPluginInfo::List internalServiceInfo() const
Returns a list of all known Runner implementations.
Definition: pluginloader.cpp:363
KPluginInfo::List standardInternalServiceInfo() const
Standardized mechanism for providing internal Applets by install .desktop files in $APPPDATA/plasma/i...
Definition: pluginloader.cpp:405
An abstract base class for Plasma Runner plugins.
Definition: abstractrunner.h:63
AbstractRunner * loadRunner(const QString &name)
Load a Runner plugin.
Definition: pluginloader.cpp:199
virtual KPluginInfo::List internalRunnerInfo() const
Returns a list of all known Runner implementations.
Definition: pluginloader.cpp:358
KPluginInfo::List listAppletInfo(const QString &category, const QString &parentApp=QString())
Returns a list of all known applets.
Definition: pluginloader.cpp:247
This class provides a generic API for write access to settings or services.
Definition: service.h:91
virtual KPluginInfo::List internalDataEngineInfo() const
A re-implementable method that allows subclasses to provide additional DataEngines for DataEngineMana...
Definition: pluginloader.cpp:353
bool isPluginVersionCompatible(unsigned int version)
Verifies that a plugin is compatible with plasma.
Definition: version.cpp:51
virtual AbstractRunner * internalLoadRunner(const QString &name)
A re-implementable method that allows subclasses to override the default behaviour of loadRunner...
Definition: pluginloader.cpp:333
Allows applets to automatically 'collapse' into an icon when put in an panel, and is a convenient bas...
Definition: popupapplet.h:52
KPluginInfo::List standardInternalRunnerInfo() const
Standardized mechanism for providing internal Applets by install .desktop files in $APPPDATA/plasma/i...
Definition: pluginloader.cpp:400
Q_INVOKABLE DataEngine::Data query(const QString &source) const
Gets the Data associated with a data source.
Definition: dataengine.cpp:133
Applet * loadApplet(const QString &name, uint appletId=0, const QVariantList &args=QVariantList())
Load an Applet plugin.
Definition: pluginloader.cpp:79
static void setPluginLoader(PluginLoader *loader)
Set the plugin loader which will be queried for all loads.
Definition: pluginloader.cpp:58
This is an abstract base class which defines an interface to which Plasma's Applet Loading logic can ...
Definition: pluginloader.h:51
virtual KPluginInfo::List internalAppletInfo(const QString &category) const
A re-implementable method that allows subclasses to provide additional applets for listAppletInfo...
Definition: pluginloader.cpp:347
static QScriptValue type(QScriptContext *ctx, QScriptEngine *eng)
Definition: easingcurve.cpp:63
Service * loadService(const QString &name, const QVariantList &args, QObject *parent=0)
Load a Service plugin.
Definition: pluginloader.cpp:206
KPluginInfo::List listRunnerInfo(const QString &parentApp=QString())
Returns a list of all known Runner implementations.
Definition: pluginloader.cpp:300
KPluginInfo::List listDataEngineInfo(const QString &parentApp=QString())
Returns a list of all known DataEngines.
Definition: pluginloader.cpp:281
static KPluginInfo::List standardInternalInfo(const QString &type, const QString &category=QString())
Definition: pluginloader.cpp:368
virtual DataEngine * internalLoadDataEngine(const QString &name)
A re-implementable method that allows subclasses to override the default behaviour of loadDataEngine...
Definition: pluginloader.cpp:327
KPluginInfo::List standardInternalDataEngineInfo() const
Standardized mechanism for providing internal Applets by install .desktop files in $APPPDATA/plasma/i...
Definition: pluginloader.cpp:395
The base class for plugins that provide backgrounds and applet grouping containers.
Definition: containment.h:72
KPluginInfo::List standardInternalAppletInfo(const QString &category) const
Standardized mechanism for providing internal Applets by install .desktop files in $APPPDATA/plasma/i...
Definition: pluginloader.cpp:390
virtual Service * internalLoadService(const QString &name, const QVariantList &args, QObject *parent=0)
A re-implementable method that allows subclasses to override the default behaviour of loadService...
Definition: pluginloader.cpp:339
virtual Applet * internalLoadApplet(const QString &name, uint appletId=0, const QVariantList &args=QVariantList())
A re-implementable method that allows subclasses to override the default behaviour of loadApplet...
Definition: pluginloader.cpp:319
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Tue Oct 14 2014 22:48:33 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.