/************************************************************************ * This file has been generated automatically from * * * * src/core/settings/qgssettingsregistry.h * * * * Do not edit manually ! Edit header and run scripts/sipify.py again * ************************************************************************/ class QgsSettingsRegistry { %Docstring(signature="appended") Used for settings introspection and collects a list of child :py:class:`QgsSettingsRegistry` and a list of child :py:class:`QgsSettingsRegistry` .. versionadded:: 3.20 .. deprecated:: 3.30 Use :py:func:`QgsSettings.treeRoot()` instead. %End %TypeHeaderCode #include "qgssettingsregistry.h" %End public: QgsSettingsRegistry(); virtual ~QgsSettingsRegistry(); QList settingEntries() const; %Docstring Returns the list of registered :py:class:`QgsSettingsEntryBase`. %End const QgsSettingsEntryBase *settingsEntry( 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 addSubRegistry( const QgsSettingsRegistry *settingsRegistry ); %Docstring Append a child ``settingsRegistry`` to the register. %End void removeSubRegistry( const QgsSettingsRegistry *settingsRegistry ); %Docstring Remove a child ``settingsRegistry`` from the register. %End QList subRegistries() const; %Docstring Returns the list of registered child QgsSettingsRegistry. %End protected: bool addSettingsEntry( const QgsSettingsEntryBase *settingsEntry ); %Docstring Adds ``settingsEntry`` to the registry. %End void addSettingsEntryGroup( const QgsSettingsEntryGroup *settingsGroup ) /Deprecated="Since 3.30. "/; %Docstring Adds a group of setting to the registry .. versionadded:: 3.26 .. deprecated:: 3.30 %End }; /************************************************************************ * This file has been generated automatically from * * * * src/core/settings/qgssettingsregistry.h * * * * Do not edit manually ! Edit header and run scripts/sipify.py again * ************************************************************************/