aboutsummaryrefslogtreecommitdiffstats
path: root/qafbwebsocketclient.h
diff options
context:
space:
mode:
authorLoïc Collignon <loic.collignon@iot.bzh>2018-07-02 17:07:51 +0200
committerRomain Forlot <romain.forlot@iot.bzh>2018-12-13 14:12:02 +0100
commit6ea9af1bf19ba06e2e30fe88f247fb274751b23d (patch)
treed7311aed2241820db57fc552e03de6307c78c87b /qafbwebsocketclient.h
parent52df213f2a810cc66af3c2a3ef009afe7b652d80 (diff)
Rename method to avoid conflict with Qt's one
Each QtObject define an 'event' method, which can conflict with the 'event' method to handle events in an Application Framework meaning. Change-Id: I0fad844bfaa8fbfc2d14cc15b1f346b6f739a643 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
Diffstat (limited to 'qafbwebsocketclient.h')
-rw-r--r--qafbwebsocketclient.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qafbwebsocketclient.h b/qafbwebsocketclient.h
index 71e719d..9e97dcc 100644
--- a/qafbwebsocketclient.h
+++ b/qafbwebsocketclient.h
@@ -58,7 +58,7 @@ signals:
void error(QAbstractSocket::SocketError);
void textReceived(QString msg);
void textSent(QString msg);
- void event(QString eventName, const QJsonValue& data);
+ void eventReceived(QString eventName, const QJsonValue& data);
private:
int m_nextCallId;