#include <accountregistry.h>
Definition at line 16 of file accountregistry.h.
◆ const_iterator
◆ const_reference
◆ vector_t
◆ EventRoles
| Enumerator |
|---|
| AccountRole | |
| ConnectionRole | |
| UserIdRole | |
Definition at line 29 of file accountregistry.h.
◆ AccountRegistry()
| Quotient::AccountRegistry::AccountRegistry |
( |
QObject * |
parent = nullptr | ) |
|
|
explicit |
◆ accountCountChanged
| void Quotient::AccountRegistry::accountCountChanged |
( |
| ) |
|
|
signal |
◆ accounts()
| const vector_t & Quotient::AccountRegistry::accounts |
( |
| ) |
const |
|
inline |
◆ accountsLoading()
| QStringList Quotient::AccountRegistry::accountsLoading |
( |
| ) |
const |
◆ accountsLoadingChanged
| void Quotient::AccountRegistry::accountsLoadingChanged |
( |
| ) |
|
|
signal |
◆ add()
| void Quotient::AccountRegistry::add |
( |
Connection * |
a | ) |
|
◆ back()
◆ begin()
◆ data()
| QVariant Quotient::AccountRegistry::data |
( |
const QModelIndex & |
index, |
|
|
int |
role |
|
) |
| const |
|
override |
◆ drop()
| void Quotient::AccountRegistry::drop |
( |
Connection * |
a | ) |
|
◆ end()
◆ front()
◆ get()
| Connection * Quotient::AccountRegistry::get |
( |
const QString & |
userId | ) |
const |
◆ invokeLogin()
| void Quotient::AccountRegistry::invokeLogin |
( |
| ) |
|
◆ isLoggedIn()
| bool Quotient::AccountRegistry::isLoggedIn |
( |
const QString & |
userId | ) |
const |
◆ keychainError
| void Quotient::AccountRegistry::keychainError |
( |
QKeychain::Error |
error | ) |
|
|
signal |
◆ loginError
| void Quotient::AccountRegistry::loginError |
( |
Connection * |
connection, |
|
|
QString |
message, |
|
|
QString |
details |
|
) |
| |
|
signal |
◆ resolveError
| void Quotient::AccountRegistry::resolveError |
( |
Connection * |
connection, |
|
|
QString |
error |
|
) |
| |
|
signal |
◆ roleNames()
| QHash< int, QByteArray > Quotient::AccountRegistry::roleNames |
( |
| ) |
const |
|
override |
◆ rowCount()
| int Quotient::AccountRegistry::rowCount |
( |
const QModelIndex & |
parent = QModelIndex() | ) |
const |
|
override |
◆ accountCount
| int Quotient::AccountRegistry::accountCount |
|
read |
Number of accounts that are currently fully loaded.
Definition at line 20 of file accountregistry.h.
◆ accountsLoading
List of accounts that are currently in some stage of being loaded (Reading token from keychain, trying to contact server, etc). Can be used to inform the user or to show a login screen if size() == 0 and no accounts are loaded
Definition at line 23 of file accountregistry.h.
The documentation for this class was generated from the following file: