mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-16 00:05:45 -04:00
70 lines
2.3 KiB
Plaintext
70 lines
2.3 KiB
Plaintext
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/settings/qgssettingsregistry.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
class QgsSettingsRegistry
|
|
{
|
|
%Docstring(signature="appended")
|
|
:py:class:`QgsSettingsRegistry` is used for settings introspection and collects a
|
|
list of child :py:class:`QgsSettingsRegistry` and a list of child :py:class:`QgsSettingsRegistry`
|
|
|
|
.. versionadded:: 3.20
|
|
%End
|
|
|
|
%TypeHeaderCode
|
|
#include "qgssettingsregistry.h"
|
|
%End
|
|
public:
|
|
|
|
QgsSettingsRegistry();
|
|
%Docstring
|
|
Constructor for QgsSettingsRegistry.
|
|
%End
|
|
|
|
virtual ~QgsSettingsRegistry();
|
|
|
|
void addSettingsEntry( const QgsSettingsEntryBase *settingsEntry );
|
|
%Docstring
|
|
Add ``settingsEntry`` to the register.
|
|
%End
|
|
|
|
QList<const QgsSettingsEntryBase *> getChildSettingsEntries() const;
|
|
%Docstring
|
|
Returns the list of registered :py:class:`QgsSettingsEntryBase`.
|
|
%End
|
|
|
|
const QgsSettingsEntryBase *getSettingsEntry( const QString &key, bool searchChildRegistries = true ) const;
|
|
%Docstring
|
|
Returns the :py:class:`QgsSettingsEntry` with the given ``key`` or None if not found.
|
|
|
|
The ``searchChildRegistries`` parameter specifies if child registries should be included in the search
|
|
%End
|
|
|
|
void addChildSettingsRegistry( const QgsSettingsRegistry *settingsRegistry );
|
|
%Docstring
|
|
Add a child ``settingsRegistry`` to the register.
|
|
%End
|
|
|
|
QList<const QgsSettingsRegistry *> getChildSettingsRegistries() const;
|
|
%Docstring
|
|
Returns the list of registered child QgsSettingsRegistry.
|
|
%End
|
|
|
|
};
|
|
|
|
/************************************************************************
|
|
* This file has been generated automatically from *
|
|
* *
|
|
* src/core/settings/qgssettingsregistry.h *
|
|
* *
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
************************************************************************/
|