Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
Loading...
Searching...
No Matches
QPluginLoader Class Reference

#include <qpluginloader.h>

+ Collaboration diagram for QPluginLoader:

Static Public Member Functions

static QObjectList staticInstances ()
 Returns a list of static plugin instances (root components) held by the plugin loader.
 
static QList< QStaticPluginstaticPlugins ()
 Returns a list of QStaticPlugins held by the plugin loader.
 

Related Symbols

(Note that these are not member symbols.)

void Q_CORE_EXPORT qRegisterStaticPluginFunction (QStaticPlugin plugin)
 

Detailed Description

Definition at line 56 of file qpluginloader.h.

Member Function Documentation

◆ staticInstances()

QObjectList QPluginLoader::staticInstances ( )
static

Returns a list of static plugin instances (root components) held by the plugin loader.

See also
staticPlugins()

Definition at line 403 of file qpluginloader.cpp.

References QList< T >::reserve().

+ Here is the call graph for this function:

◆ staticPlugins()

QList< QStaticPlugin > QPluginLoader::staticPlugins ( )
static

Returns a list of QStaticPlugins held by the plugin loader.

The function is similar to \l staticInstances() with the addition that a QStaticPlugin also contains meta data information.

See also
staticInstances()

Definition at line 422 of file qpluginloader.cpp.

Referenced by QFactoryLoader::instance(), loadPlugin(), QQmlJSLinter::loadPlugins(), makePlugins(), QFactoryLoader::metaData(), and QFactoryLoader::metaDataKeys().

+ Here is the caller graph for this function:

Friends And Related Symbol Documentation

◆ qRegisterStaticPluginFunction()

void Q_CORE_EXPORT qRegisterStaticPluginFunction ( QStaticPlugin plugin)
related
Since
5.0

Registers the plugin specified with the plugin loader, and is used by Q_IMPORT_PLUGIN().

Definition at line 381 of file qpluginloader.cpp.

References p1, p2, and pos.


The documentation for this class was generated from the following files: