diff options
author | Nobuaki Sukegawa <nsukeg@gmail.com> | 2015-09-15 06:21:47 +0900 |
---|---|---|
committer | Nobuaki Sukegawa <nsukeg@gmail.com> | 2016-03-05 08:29:48 +0000 |
commit | 9b804c270d11d34d37c08a5145dba083a6b0c1a7 (patch) | |
tree | a8b8be98b6db51806493921bcfb6592c75a863d8 /src/imports/qmlwebsockets/qqmlwebsocket.h | |
parent | b021c367e3796d7046797d5b93af2606d30b1ff2 (diff) | |
download | qtwebsockets-9b804c270d11d34d37c08a5145dba083a6b0c1a7.tar.gz |
Add binary message support to QML WebSocket type
Change-Id: I4472e899606d261420141e7b382717cbe12943c8
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/imports/qmlwebsockets/qqmlwebsocket.h')
-rw-r--r-- | src/imports/qmlwebsockets/qqmlwebsocket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/imports/qmlwebsockets/qqmlwebsocket.h b/src/imports/qmlwebsockets/qqmlwebsocket.h index c5682ed..c3a808f 100644 --- a/src/imports/qmlwebsockets/qqmlwebsocket.h +++ b/src/imports/qmlwebsockets/qqmlwebsocket.h @@ -83,10 +83,11 @@ public: bool isActive() const; Q_INVOKABLE qint64 sendTextMessage(const QString &message); - + Q_REVISION(1) Q_INVOKABLE qint64 sendBinaryMessage(const QByteArray &message); Q_SIGNALS: void textMessageReceived(QString message); + Q_REVISION(1) void binaryMessageReceived(QByteArray message); void statusChanged(Status status); void activeChanged(bool isActive); void errorStringChanged(QString errorString); |