libquentier
0.4.0
The library for rich desktop clients of Evernote service
|
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>
Public Member Functions | |
ApplicationSettings () | |
ApplicationSettings (const Account &account, const QString &settingsName=QString()) | |
virtual QTextStream & | print (QTextStream &strm) const Q_DECL_OVERRIDE |
![]() | |
virtual const QString | toString () const |
Additional Inherited Members | |
![]() | |
Printable (const Printable &other) | |
The ApplicationSettings class enhances the functionality of QSettings, in particular it simplifies the way of working with either application-wide or account-specific settings.
quentier::ApplicationSettings::ApplicationSettings | ( | ) |
Constructor for application settings not being account-specific
quentier::ApplicationSettings::ApplicationSettings | ( | const Account & | account, |
const QString & | settingsName = QString() |
||
) |
Constructor for application settings specific to the account
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 |