![]() |
libQuotient
A Qt library for building matrix clients
|
A group of settings for one Matrix account. More...
#include <settings.h>
Properties | |
QString | userId |
QByteArray | encryptionAccountPickle |
Additional Inherited Members | |
![]() | |
static void | setLegacyNames (const QString &organizationName, const QString &applicationName={}) |
Add a legacy organisation/application name to migrate settings from. | |
static QString | toEncoded (QString key) |
Escape forward- and backslashes in keys because QSettings doesn't (see #842) | |
static QString | fromEncoded (QString key) |
Unescape \ and / in keys stored with escapedForSettings() | |
![]() | |
QSettings | legacySettings { legacyOrganizationName, legacyApplicationName } |
A group of settings for one Matrix account.
This class provides typesafe accessors to common account settings such as user and device id. User id (aka MXID) is stored as a group name. Although QSettings does not protect forward- and backslashes inside group names, AccountSettings covers for that, percent-encoding the user id before passing it to QSettings.
Definition at line 113 of file settings.h.
|
explicit |
Q_INVOKABLE void Quotient::AccountSettings::clearEncryptionAccountPickle | ( | ) |
QByteArray Quotient::AccountSettings::encryptionAccountPickle | ( | ) |
QUrl Quotient::AccountSettings::homeserver | ( | ) | const |
void Quotient::AccountSettings::setEncryptionAccountPickle | ( | const QByteArray & | encryptionAccountPickle | ) |
QString Quotient::AccountSettings::userId | ( | ) | const |
|
readwrite |
Definition at line 119 of file settings.h.
|
read |
Definition at line 115 of file settings.h.