From cf54ba0b26b913e2f87c102f736886687505174b Mon Sep 17 00:00:00 2001 From: Linus Jahn Date: Tue, 11 Feb 2020 21:03:10 +0100 Subject: Make QXmpp work with projects using QT_NO_KEYWORDS This replaces all occurencies of 'slots' and 'signals' with 'Q_SLOTS' and 'Q_SIGNALS'. This allows for smooth integration with software projects that need QT_NO_KEYWORDS, such as those ones that rely on boost libraries. Closes #115. Co-authored-by: Tommaso Cucinotta --- src/client/QXmppRemoteMethod.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/client/QXmppRemoteMethod.h') diff --git a/src/client/QXmppRemoteMethod.h b/src/client/QXmppRemoteMethod.h index 2726ecdf..5970f55a 100644 --- a/src/client/QXmppRemoteMethod.h +++ b/src/client/QXmppRemoteMethod.h @@ -46,11 +46,11 @@ public: QXmppRemoteMethod(const QString &jid, const QString &method, const QVariantList &args, QXmppClient *client); QXmppRemoteMethodResult call(); -private slots: +private Q_SLOTS: void gotError(const QXmppRpcErrorIq &iq); void gotResult(const QXmppRpcResponseIq &iq); -signals: +Q_SIGNALS: void callDone(); private: -- cgit v1.2.3