marble
#include <PluginManager.h>
Signals | |
void | parseRunnerPluginsChanged () |
void | positionProviderPluginsChanged () |
void | renderPluginsChanged () |
void | reverseGeocodingRunnerPluginsChanged () |
void | routingRunnerPluginsChanged () |
void | searchRunnerPluginsChanged () |
Public Member Functions | |
PluginManager (QObject *parent=0) | |
~PluginManager () | |
void | addParseRunnerPlugin (const ParseRunnerPlugin *plugin) |
void | addPositionProviderPlugin (const PositionProviderPlugin *plugin) |
void | addRenderPlugin (const RenderPlugin *plugin) |
void | addReverseGeocodingRunnerPlugin (const ReverseGeocodingRunnerPlugin *plugin) |
void | addRoutingRunnerPlugin (RoutingRunnerPlugin *plugin) |
void | addSearchRunnerPlugin (const SearchRunnerPlugin *plugin) |
QList< const ParseRunnerPlugin * > | parsingRunnerPlugins () const |
QList< const PositionProviderPlugin * > | positionProviderPlugins () const |
QList< const RenderPlugin * > | renderPlugins () const |
QList< const ReverseGeocodingRunnerPlugin * > | reverseGeocodingRunnerPlugins () const |
QList< RoutingRunnerPlugin * > | routingRunnerPlugins () const |
QList< const SearchRunnerPlugin * > | searchRunnerPlugins () const |
Public Member Functions inherited from QObject | |
QObject (QObject *parent) | |
QObject (QObject *parent, const char *name) | |
virtual | ~QObject () |
bool | blockSignals (bool block) |
QObject * | child (const char *objName, const char *inheritsClass, bool recursiveSearch) const |
const QObjectList & | children () const |
const char * | className () const |
bool | connect (const QObject *sender, const char *signal, const char *method, Qt::ConnectionType type) const |
void | deleteLater () |
void | destroyed (QObject *obj) |
bool | disconnect (const QObject *receiver, const char *method) |
bool | disconnect (const char *signal, const QObject *receiver, const char *method) |
void | dumpObjectInfo () |
void | dumpObjectTree () |
QList< QByteArray > | dynamicPropertyNames () const |
virtual bool | event (QEvent *e) |
virtual bool | eventFilter (QObject *watched, QEvent *event) |
T | findChild (const QString &name) const |
QList< T > | findChildren (const QRegExp ®Exp) const |
QList< T > | findChildren (const QString &name) const |
bool | inherits (const char *className) const |
void | insertChild (QObject *object) |
void | installEventFilter (QObject *filterObj) |
bool | isA (const char *className) const |
bool | isWidgetType () const |
void | killTimer (int id) |
virtual const QMetaObject * | metaObject () const |
void | moveToThread (QThread *targetThread) |
const char * | name () const |
const char * | name (const char *defaultName) const |
QString | objectName () const |
QObject * | parent () const |
QVariant | property (const char *name) const |
void | removeChild (QObject *object) |
void | removeEventFilter (QObject *obj) |
void | setName (const char *name) |
void | setObjectName (const QString &name) |
void | setParent (QObject *parent) |
bool | setProperty (const char *name, const QVariant &value) |
bool | signalsBlocked () const |
int | startTimer (int interval) |
QThread * | thread () const |
Additional Inherited Members | |
Static Public Member Functions inherited from QObject | |
bool | connect (const QObject *sender, const char *signal, const QObject *receiver, const char *method, Qt::ConnectionType type) |
bool | connect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method, Qt::ConnectionType type) |
bool | disconnect (const QObject *sender, const char *signal, const QObject *receiver, const char *method) |
bool | disconnect (const QObject *sender, const QMetaMethod &signal, const QObject *receiver, const QMetaMethod &method) |
QString | tr (const char *sourceText, const char *disambiguation, int n) |
QString | trUtf8 (const char *sourceText, const char *disambiguation, int n) |
Protected Member Functions inherited from QObject | |
bool | checkConnectArgs (const char *signal, const QObject *object, const char *method) |
virtual void | childEvent (QChildEvent *event) |
virtual void | connectNotify (const char *signal) |
virtual void | customEvent (QEvent *event) |
virtual void | disconnectNotify (const char *signal) |
int | receivers (const char *signal) const |
QObject * | sender () const |
int | senderSignalIndex () const |
virtual void | timerEvent (QTimerEvent *event) |
Static Protected Member Functions inherited from QObject | |
QByteArray | normalizeSignalSlot (const char *signalSlot) |
Properties inherited from QObject | |
objectName | |
Detailed Description
The class that handles Marble's plugins.
Ownership policy for plugins:
On every invocation of createNetworkPlugins and createFloatItems the PluginManager creates new objects and transfers ownership to the calling site. In order to create the objects, the PluginManager internally has a list of the plugins which are owned by the PluginManager and destroyed by it.
Definition at line 45 of file PluginManager.h.
Constructor & Destructor Documentation
|
explicit |
Definition at line 61 of file PluginManager.cpp.
Marble::PluginManager::~PluginManager | ( | ) |
Definition at line 66 of file PluginManager.cpp.
Member Function Documentation
void Marble::PluginManager::addParseRunnerPlugin | ( | const ParseRunnerPlugin * | plugin | ) |
Add a ParseRunnerPlugin manually to the list of known plugins.
Normally you don't need to call this method since all plugins are loaded automatically.
- Parameters
-
plugin The plugin to add. Ownership retains with the caller.
Definition at line 142 of file PluginManager.cpp.
void Marble::PluginManager::addPositionProviderPlugin | ( | const PositionProviderPlugin * | plugin | ) |
Add a PositionProviderPlugin manually to the list of known plugins.
Normally you don't need to call this method since all plugins are loaded automatically.
- Parameters
-
plugin The plugin to add. Ownership retains with the caller.
Definition at line 90 of file PluginManager.cpp.
void Marble::PluginManager::addRenderPlugin | ( | const RenderPlugin * | plugin | ) |
Add a RenderPlugin manually to the list of known plugins.
Normally you don't need to call this method since all plugins are loaded automatically.
- Parameters
-
plugin The plugin to add. Ownership retains with the caller.
Definition at line 77 of file PluginManager.cpp.
void Marble::PluginManager::addReverseGeocodingRunnerPlugin | ( | const ReverseGeocodingRunnerPlugin * | plugin | ) |
Add a ReverseGeocodingRunnerPlugin manually to the list of known plugins.
Normally you don't need to call this method since all plugins are loaded automatically.
- Parameters
-
plugin The plugin to add. Ownership retains with the caller.
Definition at line 116 of file PluginManager.cpp.
void Marble::PluginManager::addRoutingRunnerPlugin | ( | RoutingRunnerPlugin * | plugin | ) |
Add a RoutingRunnerPlugin manually to the list of known plugins.
Normally you don't need to call this method since all plugins are loaded automatically.
- Parameters
-
plugin The plugin to add. Ownership retains with the caller.
Definition at line 129 of file PluginManager.cpp.
void Marble::PluginManager::addSearchRunnerPlugin | ( | const SearchRunnerPlugin * | plugin | ) |
Add a SearchRunnerPlugin manually to the list of known plugins.
Normally you don't need to call this method since all plugins are loaded automatically.
- Parameters
-
plugin The plugin to add. Ownership retains with the caller.
Definition at line 103 of file PluginManager.cpp.
|
signal |
QList< const ParseRunnerPlugin * > Marble::PluginManager::parsingRunnerPlugins | ( | ) | const |
Returns all parse runner plugins.
- Note
- : The runner plugins are owned by the PluginManager, do not delete them.
Definition at line 136 of file PluginManager.cpp.
QList< const PositionProviderPlugin * > Marble::PluginManager::positionProviderPlugins | ( | ) | const |
Returns all available PositionProviderPlugins.
Ownership of the items remains in PluginManager. In order to use the PositionProviderPlugins, first create new instances using PositionProviderPlugin::newInstance().
Definition at line 84 of file PluginManager.cpp.
|
signal |
QList< const RenderPlugin * > Marble::PluginManager::renderPlugins | ( | ) | const |
Returns all available RenderPlugins.
Ownership of the items remains in PluginManager. In order to use the RenderPlugins, first create new instances using RenderPlugin::newInstance().
Definition at line 71 of file PluginManager.cpp.
|
signal |
QList< const ReverseGeocodingRunnerPlugin * > Marble::PluginManager::reverseGeocodingRunnerPlugins | ( | ) | const |
Returns all reverse geocoding runner plugins.
- Note
- : The runner plugins are owned by the PluginManager, do not delete them.
Definition at line 110 of file PluginManager.cpp.
|
signal |
QList< RoutingRunnerPlugin * > Marble::PluginManager::routingRunnerPlugins | ( | ) | const |
Returns all routing runner plugins.
- Note
- : The runner plugins are owned by the PluginManager, do not delete them.
Definition at line 123 of file PluginManager.cpp.
|
signal |
QList< const SearchRunnerPlugin * > Marble::PluginManager::searchRunnerPlugins | ( | ) | const |
Returns all search runner plugins.
- Note
- : Runner plugins are owned by the PluginManager, do not delete them.
Definition at line 97 of file PluginManager.cpp.
|
signal |
The documentation for this class was generated from the following files:
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:13:46 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.