aboutsummaryrefslogtreecommitdiff
path: root/lib/user.h
diff options
context:
space:
mode:
authorCarl Schwan <carl@carlschwan.eu>2020-11-27 00:58:48 +0100
committerCarl Schwan <carl@carlschwan.eu>2020-11-27 10:58:04 +0100
commit7b2eb5b3a14dd198564658c143567b3eb7a879f6 (patch)
treeab2703777aec96d0d95fc19aeb7f85ea351df338 /lib/user.h
parent21554bccc39ab2f63869c244ed880686805887cb (diff)
downloadlibquotient-7b2eb5b3a14dd198564658c143567b3eb7a879f6.tar.gz
libquotient-7b2eb5b3a14dd198564658c143567b3eb7a879f6.zip
Make it compile with QT_NO_KEYWORDS
Diffstat (limited to 'lib/user.h')
-rw-r--r--lib/user.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/user.h b/lib/user.h
index a3b22480..19f57c30 100644
--- a/lib/user.h
+++ b/lib/user.h
@@ -122,7 +122,7 @@ public:
QString avatarMediaId(const Room* room = nullptr) const;
QUrl avatarUrl(const Room* room = nullptr) const;
-public slots:
+public Q_SLOTS:
/// Set a new name in the global user profile
void rename(const QString& newName);
/// Set a new name for the user in one room
@@ -143,7 +143,7 @@ public slots:
/// Check whether the user is in ignore list
bool isIgnored() const;
-signals:
+Q_SIGNALS:
void defaultNameChanged();
void defaultAvatarChanged();