From 2bf912d6e6ddd9ff81a92ff28ac8c4c1d8f2d7e1 Mon Sep 17 00:00:00 2001 From: Kitsune Ral Date: Sat, 14 Oct 2017 01:13:13 +0200 Subject: 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. --- user.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'user.h') diff --git a/user.h b/user.h index a2d58908..cf7d4e0a 100644 --- a/user.h +++ b/user.h @@ -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; -- cgit v1.2.3