diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-14 01:13:13 +0200 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2017-10-14 09:17:40 +0200 |
commit | 2bf912d6e6ddd9ff81a92ff28ac8c4c1d8f2d7e1 (patch) | |
tree | f2a1299e13f48a23e0c29467f286ee3209182b00 /user.h | |
parent | 608e7a7163583e2e30cd6c3e9de7449c41651ca4 (diff) | |
download | libquotient-2bf912d6e6ddd9ff81a92ff28ac8c4c1d8f2d7e1.tar.gz libquotient-2bf912d6e6ddd9ff81a92ff28ac8c4c1d8f2d7e1.zip |
Support of changing the display name
Note that although the mechanism is generic enough to change any user's
display name, The Spec states that power rules are very strict about it.
Diffstat (limited to 'user.h')
-rw-r--r-- | user.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -60,11 +60,15 @@ namespace QMatrixClient public slots: void requestAvatar(); + void rename(const QString& newName); signals: void nameChanged(User*, QString); void avatarChanged(User* user); + private slots: + void setName(const QString& newName); + private: class Private; Private* d; |