|
QGIS API Documentation 3.42.0-Münster (feb80233002)
|
Registry of profile sources used by QgsProfilePlotRenderer. More...
#include <qgsprofilesourceregistry.h>
Public Member Functions | |
| QgsProfileSourceRegistry () | |
| Constructor - creates a registry of profile sources. | |
| ~QgsProfileSourceRegistry () | |
| QList< QgsAbstractProfileSource * > | profileSources () const |
| Returns a list of registered profile sources. | |
| void | registerProfileSource (QgsAbstractProfileSource *source) |
| Registers a profile source and takes ownership of it. | |
| void | unregisterProfileSource (QgsAbstractProfileSource *source) |
| Unregisters a profile source and destroys its instance. | |
Registry of profile sources used by QgsProfilePlotRenderer.
QgsProfileSourceRegistry is not usually directly created, but rather accessed through QgsApplication::profileSourceRegistry().
Definition at line 36 of file qgsprofilesourceregistry.h.
| QgsProfileSourceRegistry::QgsProfileSourceRegistry | ( | ) |
Constructor - creates a registry of profile sources.
Definition at line 19 of file qgsprofilesourceregistry.cpp.
| QgsProfileSourceRegistry::~QgsProfileSourceRegistry | ( | ) |
Definition at line 24 of file qgsprofilesourceregistry.cpp.
| QList< QgsAbstractProfileSource * > QgsProfileSourceRegistry::profileSources | ( | ) | const |
Returns a list of registered profile sources.
Definition at line 29 of file qgsprofilesourceregistry.cpp.
| void QgsProfileSourceRegistry::registerProfileSource | ( | QgsAbstractProfileSource * | source | ) |
Registers a profile source and takes ownership of it.
Definition at line 34 of file qgsprofilesourceregistry.cpp.
| void QgsProfileSourceRegistry::unregisterProfileSource | ( | QgsAbstractProfileSource * | source | ) |
Unregisters a profile source and destroys its instance.
Definition at line 40 of file qgsprofilesourceregistry.cpp.