#include <qgspluginregistry.h>
Collaboration diagram for QgsPluginRegistry:
Definition at line 32 of file qgspluginregistry.h.
Public Member Functions | |
QString | library (QString pluginKey) |
Return the full path to the plugins library using the plugin name as a key. | |
QgsPluginMetadata * | pluginMetadata (QString name) |
Retrieve the metadata for a plugin by name. | |
QgisPlugin * | plugin (QString name) |
Retrieve a pointer to a loaded plugin by name. | |
bool | isPythonPlugin (QString name) |
Return whether the plugin is pythonic. | |
void | addPlugin (QString _library, QString _name, QgisPlugin *_plugin) |
Add a plugin to the map of loaded plugins. | |
void | addPythonPlugin (QString packageName, QString pluginName) |
Add a plugin written in python. | |
void | removePlugin (QString name) |
Remove a plugin from the list of loaded plugins. | |
Static Public Member Functions | |
static QgsPluginRegistry * | instance () |
Returns the instance pointer, creating the object on the first call. | |
Protected Member Functions | |
QgsPluginRegistry () | |
protected constructor | |
Private Attributes | |
std::map< QString, QgsPluginMetadata * > | plugins |
Static Private Attributes | |
static QgsPluginRegistry * | _instance = 0 |
|
protected constructor
Definition at line 39 of file qgspluginregistry.cpp. Referenced by instance(). |
|
Add a plugin to the map of loaded plugins.
Definition at line 79 of file qgspluginregistry.cpp. References plugin(), and plugins. Referenced by OmgMainWindow::loadQGisPlugin(). |
Here is the call graph for this function:
|
Add a plugin written in python.
Definition at line 85 of file qgspluginregistry.cpp. References plugins. |
|
Returns the instance pointer, creating the object on the first call.
Definition at line 30 of file qgspluginregistry.cpp. References _instance, and QgsPluginRegistry(). Referenced by OmgMainWindow::loadQGisPlugin(). |
Here is the call graph for this function:
|
Return whether the plugin is pythonic.
Definition at line 70 of file qgspluginregistry.cpp. References QgsPluginMetadata::isPython(), and plugins. |
Here is the call graph for this function:
|
Return the full path to the plugins library using the plugin name as a key.
Definition at line 43 of file qgspluginregistry.cpp. References QgsPluginMetadata::library(), and plugins. Referenced by OmgMainWindow::loadQGisPlugin(). |
Here is the call graph for this function:
|
Retrieve a pointer to a loaded plugin by name.
Definition at line 59 of file qgspluginregistry.cpp. References QgsPluginMetadata::plugin(), and plugins. Referenced by addPlugin(). |
Here is the call graph for this function:
|
Retrieve the metadata for a plugin by name.
Definition at line 54 of file qgspluginregistry.cpp. References plugins. |
|
Remove a plugin from the list of loaded plugins.
Definition at line 90 of file qgspluginregistry.cpp. References plugins. |
|
Definition at line 29 of file qgspluginregistry.cpp. Referenced by instance(). |
|
Definition at line 56 of file qgspluginregistry.h. Referenced by addPlugin(), addPythonPlugin(), isPythonPlugin(), library(), plugin(), pluginMetadata(), and removePlugin(). |