QGIS API Documentation 3.41.0-Master (af5edcb665c)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QgsProfileSourceRegistry Class Reference

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.
 

Detailed Description

Registry of profile sources used by QgsProfilePlotRenderer.

QgsProfileSourceRegistry is not usually directly created, but rather accessed through QgsApplication::profileSourceRegistry().

Since
QGIS 3.38

Definition at line 36 of file qgsprofilesourceregistry.h.

Constructor & Destructor Documentation

◆ QgsProfileSourceRegistry()

QgsProfileSourceRegistry::QgsProfileSourceRegistry ( )

Constructor - creates a registry of profile sources.

Definition at line 19 of file qgsprofilesourceregistry.cpp.

◆ ~QgsProfileSourceRegistry()

QgsProfileSourceRegistry::~QgsProfileSourceRegistry ( )

Definition at line 24 of file qgsprofilesourceregistry.cpp.

Member Function Documentation

◆ profileSources()

QList< QgsAbstractProfileSource * > QgsProfileSourceRegistry::profileSources ( ) const

Returns a list of registered profile sources.

Definition at line 29 of file qgsprofilesourceregistry.cpp.

◆ registerProfileSource()

void QgsProfileSourceRegistry::registerProfileSource ( QgsAbstractProfileSource source)

Registers a profile source and takes ownership of it.

Definition at line 34 of file qgsprofilesourceregistry.cpp.

◆ unregisterProfileSource()

void QgsProfileSourceRegistry::unregisterProfileSource ( QgsAbstractProfileSource source)

Unregisters a profile source and destroys its instance.

Definition at line 40 of file qgsprofilesourceregistry.cpp.


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