QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
|
QgsSettingsRegistry is used for settings introspection and collects a list of child QgsSettingsRegistry and a list of child QgsSettingsRegistry. More...
#include <qgssettingsregistry.h>
Public Member Functions | |
QgsSettingsRegistry () | |
Constructor for QgsSettingsRegistry. More... | |
virtual | ~QgsSettingsRegistry () |
Destructor for QgsSettingsRegistry. More... | |
void | addSubRegistry (const QgsSettingsRegistry *settingsRegistry) |
Append a child settingsRegistry to the register. More... | |
void | removeSubRegistry (const QgsSettingsRegistry *settingsRegistry) |
Remove a child settingsRegistry from the register. More... | |
QList< const QgsSettingsEntryBase * > | settingEntries () const |
Returns the list of registered QgsSettingsEntryBase. More... | |
const QgsSettingsEntryBase * | settingsEntry (const QString &key, bool searchChildRegistries=true) const |
Returns the QgsSettingsEntry with the given key or nullptr if not found. More... | |
QList< const QgsSettingsRegistry * > | subRegistries () const |
Returns the list of registered child QgsSettingsRegistry. More... | |
Protected Member Functions | |
void | addSettingsEntry (const QgsSettingsEntryBase *settingsEntry) |
Add settingsEntry to the register. More... | |
QgsSettingsRegistry is used for settings introspection and collects a list of child QgsSettingsRegistry and a list of child QgsSettingsRegistry.
Definition at line 34 of file qgssettingsregistry.h.
QgsSettingsRegistry::QgsSettingsRegistry | ( | ) |
Constructor for QgsSettingsRegistry.
Definition at line 28 of file qgssettingsregistry.cpp.
|
virtual |
Destructor for QgsSettingsRegistry.
Definition at line 34 of file qgssettingsregistry.cpp.
|
protected |
Add settingsEntry to the register.
Definition at line 38 of file qgssettingsregistry.cpp.
void QgsSettingsRegistry::addSubRegistry | ( | const QgsSettingsRegistry * | settingsRegistry | ) |
Append a child settingsRegistry to the register.
Definition at line 84 of file qgssettingsregistry.cpp.
void QgsSettingsRegistry::removeSubRegistry | ( | const QgsSettingsRegistry * | settingsRegistry | ) |
Remove a child settingsRegistry from the register.
Definition at line 101 of file qgssettingsregistry.cpp.
QList< const QgsSettingsEntryBase * > QgsSettingsRegistry::settingEntries | ( | ) | const |
Returns the list of registered QgsSettingsEntryBase.
Definition at line 55 of file qgssettingsregistry.cpp.
const QgsSettingsEntryBase * QgsSettingsRegistry::settingsEntry | ( | const QString & | key, |
bool | searchChildRegistries = true |
||
) | const |
Returns the QgsSettingsEntry with the given key or nullptr if not found.
The searchChildRegistries parameter specifies if child registries should be included in the search
Definition at line 60 of file qgssettingsregistry.cpp.
QList< const QgsSettingsRegistry * > QgsSettingsRegistry::subRegistries | ( | ) | const |
Returns the list of registered child QgsSettingsRegistry.
Definition at line 118 of file qgssettingsregistry.cpp.