diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-08-11 15:02:17 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-08-11 15:02:17 +0900 |
commit | 62e1550ed842a8a0d4c7b31d788176814a03e814 (patch) | |
tree | 19e827dc39254c8305774435601f964b395f02c1 /lib/connection.h | |
parent | c8dc0c075497ca8f174b738ee4253ca282cbec8c (diff) | |
download | libquotient-62e1550ed842a8a0d4c7b31d788176814a03e814.tar.gz libquotient-62e1550ed842a8a0d4c7b31d788176814a03e814.zip |
Connection: drop extraneous Q_INVOKABLE
Slots are Q_INVOKABLE by definition.
Diffstat (limited to 'lib/connection.h')
-rw-r--r-- | lib/connection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/connection.h b/lib/connection.h index 3b747d08..5d817d69 100644 --- a/lib/connection.h +++ b/lib/connection.h @@ -383,7 +383,7 @@ namespace QMatrixClient * * \sa directChatAvailable */ - Q_INVOKABLE void requestDirectChat(const QString& userId); + void requestDirectChat(const QString& userId); /** Run an operation in a direct chat with the user * This method may return synchronously or asynchoronously depending @@ -391,7 +391,7 @@ namespace QMatrixClient * already. Instead of emitting a signal it executes the passed * function object with the direct chat room as its parameter. */ - Q_INVOKABLE void doInDirectChat(const QString& userId, + void doInDirectChat(const QString& userId, std::function<void(Room*)> operation); /** Create a direct chat with a single user, optional name and topic |