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/server/QXmppIncomingServer.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/QXmppIncomingServer.h') diff --git a/src/server/QXmppIncomingServer.h b/src/server/QXmppIncomingServer.h index 392616ec..1a4c1f80 100644 --- a/src/server/QXmppIncomingServer.h +++ b/src/server/QXmppIncomingServer.h @@ -45,7 +45,7 @@ public: bool isConnected() const override; QString localStreamId() const; -signals: +Q_SIGNALS: /// This signal is emitted when a dialback verify request is received. void dialbackRequestReceived(const QXmppDialback &result); @@ -58,7 +58,7 @@ protected: void handleStream(const QDomElement &streamElement) override; /// \endcond -private slots: +private Q_SLOTS: void slotDialbackResponseReceived(const QXmppDialback &dialback); void slotSocketDisconnected(); -- cgit v1.2.3