summaryrefslogtreecommitdiff
path: root/examples/webchannel
diff options
context:
space:
mode:
authorKai Koehne <kai.koehne@qt.io>2017-08-28 13:23:17 +0200
committerKai Koehne <kai.koehne@qt.io>2017-08-29 09:36:34 +0000
commit8b9d1a0ffe8c657ab4aa34ec2a6396c0ca7c5747 (patch)
tree119532aadb2700871ef7286ebd4e9a6281528891 /examples/webchannel
parentf2cc878378ddf9a9b014fd298b4982a47643ba12 (diff)
downloadqtwebchannel-8b9d1a0ffe8c657ab4aa34ec2a6396c0ca7c5747.tar.gz
Examples: Use signals and slots keywords
Examples are not compiled with QT_NO_KEYWORDS. Change-Id: I6bff2b4cc46bd53ef2f1879951e59089734a3864 Reviewed-by: Milian Wolff <milian.wolff@kdab.com>
Diffstat (limited to 'examples/webchannel')
-rw-r--r--examples/webchannel/shared/websocketclientwrapper.h4
-rw-r--r--examples/webchannel/shared/websockettransport.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/webchannel/shared/websocketclientwrapper.h b/examples/webchannel/shared/websocketclientwrapper.h
index 2a0c8d2..7275b41 100644
--- a/examples/webchannel/shared/websocketclientwrapper.h
+++ b/examples/webchannel/shared/websocketclientwrapper.h
@@ -66,10 +66,10 @@ class WebSocketClientWrapper : public QObject
public:
WebSocketClientWrapper(QWebSocketServer *server, QObject *parent = nullptr);
-Q_SIGNALS:
+signals:
void clientConnected(WebSocketTransport* client);
-private Q_SLOTS:
+private slots:
void handleNewConnection();
private:
diff --git a/examples/webchannel/shared/websockettransport.h b/examples/webchannel/shared/websockettransport.h
index 7158aa5..9d320df 100644
--- a/examples/webchannel/shared/websockettransport.h
+++ b/examples/webchannel/shared/websockettransport.h
@@ -66,7 +66,7 @@ public:
void sendMessage(const QJsonObject &message) Q_DECL_OVERRIDE;
-private Q_SLOTS:
+private slots:
void textMessageReceived(const QString &message);
private: