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/QXmppOutgoingServer.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/server/QXmppOutgoingServer.h') diff --git a/src/server/QXmppOutgoingServer.h b/src/server/QXmppOutgoingServer.h index c0a6a589..438ac64c 100644 --- a/src/server/QXmppOutgoingServer.h +++ b/src/server/QXmppOutgoingServer.h @@ -53,7 +53,7 @@ public: QString remoteDomain() const; -signals: +Q_SIGNALS: /// This signal is emitted when a dialback verify response is received. void dialbackResponseReceived(const QXmppDialback &response); @@ -64,11 +64,11 @@ protected: void handleStanza(const QDomElement &stanzaElement) override; /// \endcond -public slots: +public Q_SLOTS: void connectToHost(const QString &domain); void queueData(const QByteArray &data); -private slots: +private Q_SLOTS: void _q_dnsLookupFinished(); void _q_socketDisconnected(); void sendDialback(); -- cgit v1.2.3