QGIS/python/core/auto_generated/elevation/qgsprofilesourceregistry.sip.in
Nyall Dawson 3f6b490218 Sipify
2025-04-02 11:11:10 +10:00

62 lines
1.9 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/elevation/qgsprofilesourceregistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsProfileSourceRegistry
{
%Docstring(signature="appended")
Registry of profile sources used by :py:class:`QgsProfilePlotRenderer`.
:py:class:`QgsProfileSourceRegistry` is not usually directly created,
but rather accessed through
:py:func:`QgsApplication.profileSourceRegistry()`.
.. versionadded:: 3.38
%End
%TypeHeaderCode
#include "qgsprofilesourceregistry.h"
%End
public:
QgsProfileSourceRegistry();
%Docstring
Constructor - creates a registry of profile sources
%End
~QgsProfileSourceRegistry();
QList< QgsAbstractProfileSource * > profileSources() const;
%Docstring
Returns a list of registered profile sources
%End
void registerProfileSource( QgsAbstractProfileSource *source /Transfer/ );
%Docstring
Registers a profile ``source`` and takes ownership of it
%End
void unregisterProfileSource( QgsAbstractProfileSource *source );
%Docstring
Unregisters a profile ``source`` and destroys its instance
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/elevation/qgsprofilesourceregistry.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/