Plasma5Support::PluginLoader
Plasma5Support::PluginLoader Class Reference
Static Public Member Functions | |
static QList< KPluginMetaData > | listDataEngineMetaData (const QString &parentApp=QString()) |
static Service * | loadService (const QString &name, QObject *parent=nullptr) |
Detailed Description
This is an abstract base class which defines an interface to which Plasma's DataEngine and Service Loading logic can communicate with a parent application.
This is deprecated api in KF6, use C++ based QML imports instead
Definition at line 28 of file pluginloader.h.
Member Function Documentation
◆ listDataEngineMetaData()
|
static |
Returns a list of all known dataengines.
- Parameters
-
parentApp the application to filter dataengines on. Uses the X-KDE-ParentApp entry (if any) in the plugin info. The default value of QString() will result in a list of all dataengines
- Returns
- list of dataengines
Definition at line 53 of file pluginloader.cpp.
◆ loadService()
|
static |
Load a Service plugin.
- Parameters
-
name the plugin name of the service to load args a list of arguments to supply to the service plugin when loading it parent the parent object, if any, for the service
- Returns
- a Service object, unlike Plasma5Support::Service::loadService, this can return null.
Definition at line 25 of file pluginloader.cpp.
The documentation for this class was generated from the following files:
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2024 The KDE developers.
Generated on Mon Nov 18 2024 12:08:57 by doxygen 1.12.0 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.