aboutsummaryrefslogtreecommitdiff
path: root/lib/connection.h
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2021-12-25 23:46:14 +0100
committerCarl Schwan <carl@carlschwan.eu>2021-12-25 23:46:14 +0100
commitebff6633ad464991fdffed1841ec6dc5b34296a2 (patch)
treeea9319b9a8b8a7530e97149445db5cfe3453ebab /lib/connection.h
parente5256e0b1e4c43ce96d99d1b82ca5d98a1baded6 (diff)
downloadlibquotient-ebff6633ad464991fdffed1841ec6dc5b34296a2.tar.gz
libquotient-ebff6633ad464991fdffed1841ec6dc5b34296a2.zip
Make canChangePassword available from QML
Diffstat (limited to 'lib/connection.h')
-rw-r--r--lib/connection.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/connection.h b/lib/connection.h
index 05a3bb7f..52bf3cea 100644
--- a/lib/connection.h
+++ b/lib/connection.h
@@ -124,6 +124,7 @@ class Connection : public QObject {
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)
+ Q_PROPERTY(bool canChangePassword READ canChangePassword NOTIFY capabilitiesLoaded)
public:
using UsersToDevicesToEvents =