![]() |
Scanframe Modular Application 0.1.0
|
Begins and ends a scope of settings for a section. When create it calls beginGroup(...) and when out of scop it calls endGroup(). More...
#include <ConfigStore.h>
Public Member Functions | |
Scope (ConfigStore &cs, QAnyStringView section) | |
Constructor passing a section of the scope. | |
~Scope () | |
Destructor. | |
QSettings & | settings () |
Gets the settings instance with the section/group set. | |
Public Attributes | |
ConfigStore & | _configStore |
Holds the reference to the associated ConfigStore instance. | |
Begins and ends a scope of settings for a section. When create it calls beginGroup(...) and when out of scop it calls endGroup().
|
explicit |
Constructor passing a section of the scope.
cs | Config store it operates on. |
section | When empty '{}' the default section is used. ConfigStore::Scope(my_cfg_store).settings()
Begins and ends a scope of settings for a section. When create it calls beginGroup(.... Definition ConfigStore.h:267 QSettings & settings() Gets the settings instance with the section/group set. |
sf::ConfigStore::Scope::~Scope | ( | ) |
Destructor.
QSettings & sf::ConfigStore::Scope::settings | ( | ) |
Gets the settings instance with the section/group set.
ConfigStore& sf::ConfigStore::Scope::_configStore |
Holds the reference to the associated ConfigStore instance.