diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-12 19:28:32 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2020-06-12 19:28:32 +0200 |
commit | 0b8c5d4180b305d7cfcd94bba34d1a1324fb2a38 (patch) | |
tree | 3347edd2c3f3b91eff4a5a66712438de6ad7c100 /lib | |
parent | 5ec1b6919028c181b192e22a901838088123ac7a (diff) | |
download | libquotient-0b8c5d4180b305d7cfcd94bba34d1a1324fb2a38.tar.gz libquotient-0b8c5d4180b305d7cfcd94bba34d1a1324fb2a38.zip |
Connection: add (STORED false) to derived Q_PROPERTYs
Diffstat (limited to 'lib')
-rw-r--r-- | lib/connection.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/connection.h b/lib/connection.h index 12b0756d..d5fa9eac 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -136,15 +136,15 @@ class Connection : public QObject { Q_PROPERTY(User* localUser READ user NOTIFY stateChanged) Q_PROPERTY(QString localUserId READ userId NOTIFY stateChanged) + Q_PROPERTY(QString domain READ domain NOTIFY stateChanged STORED false) Q_PROPERTY(QString deviceId READ deviceId NOTIFY stateChanged) Q_PROPERTY(QByteArray accessToken READ accessToken NOTIFY stateChanged) Q_PROPERTY(QString defaultRoomVersion READ defaultRoomVersion NOTIFY capabilitiesLoaded) Q_PROPERTY(QUrl homeserver READ homeserver WRITE setHomeserver NOTIFY homeserverChanged) - Q_PROPERTY(QString domain READ domain NOTIFY homeserverChanged) Q_PROPERTY(QVector<GetLoginFlowsJob::LoginFlow> loginFlows READ loginFlows NOTIFY loginFlowsChanged) - Q_PROPERTY(bool isUsable READ isUsable NOTIFY loginFlowsChanged) - Q_PROPERTY(bool supportsSso READ supportsSso NOTIFY loginFlowsChanged) - Q_PROPERTY(bool supportsPasswordAuth READ supportsPasswordAuth NOTIFY loginFlowsChanged) + Q_PROPERTY(bool isUsable READ isUsable NOTIFY loginFlowsChanged STORED false) + Q_PROPERTY(bool supportsSso READ supportsSso NOTIFY loginFlowsChanged STORED false) + Q_PROPERTY(bool supportsPasswordAuth READ supportsPasswordAuth NOTIFY loginFlowsChanged STORED false) Q_PROPERTY(bool cacheState READ cacheState WRITE setCacheState NOTIFY cacheStateChanged) Q_PROPERTY(bool lazyLoading READ lazyLoading WRITE setLazyLoading NOTIFY lazyLoadingChanged) @@ -307,7 +307,7 @@ public: QUrl homeserver() const; /** Get the domain name used for ids/aliases on the server */ QString domain() const; - /** Whether the configured homeserver is known to be reachable and working */ + /** Check if the homeserver is known to be reachable and working */ bool isUsable() const; /** Get the list of supported login flows */ QVector<GetLoginFlowsJob::LoginFlow> loginFlows() const; |