QGIS API Documentation 3.40.0-Bratislava (b56115d8743)
|
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 () | |
virtual | ~QgsSettingsRegistry () |
void | addSubRegistry (const QgsSettingsRegistry *settingsRegistry) |
Append a child settingsRegistry to the register. | |
void | removeSubRegistry (const QgsSettingsRegistry *settingsRegistry) |
Remove a child settingsRegistry from the register. | |
QList< const QgsSettingsEntryBase * > | settingEntries () const |
Returns the list of registered QgsSettingsEntryBase. | |
const QgsSettingsEntryBase * | settingsEntry (const QString &key, bool searchChildRegistries=true) const |
Returns the QgsSettingsEntry with the given key or nullptr if not found. | |
QList< const QgsSettingsRegistry * > | subRegistries () const |
Returns the list of registered child QgsSettingsRegistry. | |
Protected Member Functions | |
bool | addSettingsEntry (const QgsSettingsEntryBase *settingsEntry) |
Adds settingsEntry to the registry. | |
Q_DECL_DEPRECATED void | addSettingsEntryGroup (const QgsSettingsEntryGroup *settingsGroup) |
Adds a group of setting to the registry. | |
Friends | |
class | QgsSettingsEntryBase |
QgsSettingsRegistry is used for settings introspection and collects a list of child QgsSettingsRegistry and a list of child QgsSettingsRegistry.
Definition at line 38 of file qgssettingsregistry.h.
QgsSettingsRegistry::QgsSettingsRegistry | ( | ) |
Definition at line 21 of file qgssettingsregistry.cpp.
|
virtual |
Definition at line 27 of file qgssettingsregistry.cpp.
|
protected |
Adds settingsEntry to the registry.
Definition at line 31 of file qgssettingsregistry.cpp.
|
protected |
Adds a group of setting to the registry.
Definition at line 49 of file qgssettingsregistry.cpp.
void QgsSettingsRegistry::addSubRegistry | ( | const QgsSettingsRegistry * | settingsRegistry | ) |
Append a child settingsRegistry to the register.
Definition at line 89 of file qgssettingsregistry.cpp.
void QgsSettingsRegistry::removeSubRegistry | ( | const QgsSettingsRegistry * | settingsRegistry | ) |
Remove a child settingsRegistry from the register.
Definition at line 106 of file qgssettingsregistry.cpp.
QList< const QgsSettingsEntryBase * > QgsSettingsRegistry::settingEntries | ( | ) | const |
Returns the list of registered QgsSettingsEntryBase.
Definition at line 60 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 65 of file qgssettingsregistry.cpp.
Q_NOWARN_DEPRECATED_PUSH QList< const QgsSettingsRegistry * > QgsSettingsRegistry::subRegistries | ( | ) | const |
Returns the list of registered child QgsSettingsRegistry.
Definition at line 124 of file qgssettingsregistry.cpp.
|
friend |
Definition at line 96 of file qgssettingsregistry.h.