libQuotient
A Qt library for building matrix clients
|
#include <settings.h>
Additional Inherited Members | |
Static Public Member Functions inherited from Quotient::Settings | |
static void | setLegacyNames (const QString &organizationName, const QString &applicationName={}) |
Add a legacy organisation/application name to migrate settings from. | |
static QString | escapedForSettings (QString key) |
Escape forward- and backslashes in keys because QSettings doesn't (see #842) | |
static QString | unescapedFromSettings (QString key) |
Unescape \ and / in keys stored with escapedForSettings() | |
Protected Attributes inherited from Quotient::Settings | |
QSettings | legacySettings { legacyOrganizationName, legacyApplicationName } |
Definition at line 89 of file settings.h.
Definition at line 91 of file settings.h.
Q_INVOKABLE QStringList Quotient::SettingsGroup::childGroups | ( | ) | const |
Q_INVOKABLE bool Quotient::SettingsGroup::contains | ( | const QString & | key | ) | const |
Definition at line 100 of file settings.h.
Q_INVOKABLE QString Quotient::SettingsGroup::group | ( | ) | const |
Get the path for this settings group.
Accounts
Q_INVOKABLE void Quotient::SettingsGroup::remove | ( | const QString & | key | ) |
Q_INVOKABLE QVariant Quotient::SettingsGroup::value | ( | const QString & | key, |
const QVariant & | defaultValue = {} |
||
) | const |