aboutsummaryrefslogtreecommitdiff
path: root/user.h
diff options
context:
space:
mode:
Diffstat (limited to 'user.h')
-rw-r--r--user.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/user.h b/user.h
index a34bd285..d0965ef3 100644
--- a/user.h
+++ b/user.h
@@ -36,17 +36,17 @@ namespace QMatrixClient
/**
* Returns the id of the user
*/
- QString id() const;
+ Q_INVOKABLE QString id() const;
/**
* Returns the name chosen by the user
*/
- QString name() const;
+ Q_INVOKABLE QString name() const;
/**
* Returns the name that should be used to display the user.
*/
- QString displayname() const;
+ Q_INVOKABLE QString displayname() const;
QPixmap avatar(int requestedWidth, int requestedHeight);