The ApplicationSettings class enhances the functionality of QSettings, in particular it simplifies the way of working with either application-wide or account-specific settings.
More...
#include <ApplicationSettings.h>
The ApplicationSettings class enhances the functionality of QSettings, in particular it simplifies the way of working with either application-wide or account-specific settings.
◆ ApplicationSettings() [1/2]
quentier::ApplicationSettings::ApplicationSettings |
( |
| ) |
|
Constructor for application settings not being account-specific
◆ ApplicationSettings() [2/2]
quentier::ApplicationSettings::ApplicationSettings |
( |
const Account & |
account, |
|
|
const QString & |
settingsName = {} |
|
) |
| |
Constructor for application settings specific to the account
- Parameters
-
account | The account for which the settings are to be stored or read |
settingsName | If not empty, the created application settings would manage the settings stored in a file with a specific name within the account's settings storage; otherwise they would be stored in the default settings file for the account |
◆ ~ApplicationSettings()
virtual quentier::ApplicationSettings::~ApplicationSettings |
( |
| ) |
|
|
overridevirtual |