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>
break;
}
case 5: // Events
- emit event(arr[1].toString(), arr[2].toObject()["data"]);
+ emit eventReceived(arr[1].toString(), arr[2].toObject()["data"]);
break;
}
}
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;