diff options
author | Aurindam Jana <aurindam.jana@nokia.com> | 2012-04-23 09:23:23 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-04-26 11:46:06 +0200 |
commit | 7f7cd79e29e634ddff55fe18b122ac85c5cfe4a0 (patch) | |
tree | c6914c9a28eaec0e07309cfdfd60b9da0388912b /tests/auto/qml/debugger/shared/qqmldebugclient.h | |
parent | c0f07d5707180856bb2705359d780a836653188c (diff) |
QmlDebugging: Exchange supported QDataStream versions
Since the client and service needs to pack/unpack
datastreams, they need to encode/decode using the lowest common
QDataStream version.
Change-Id: I3b4886fece59b24950ba618da07a0fefd41a5637
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
Diffstat (limited to 'tests/auto/qml/debugger/shared/qqmldebugclient.h')
-rw-r--r-- | tests/auto/qml/debugger/shared/qqmldebugclient.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/auto/qml/debugger/shared/qqmldebugclient.h b/tests/auto/qml/debugger/shared/qqmldebugclient.h index 0f140a1db1..5275d41431 100644 --- a/tests/auto/qml/debugger/shared/qqmldebugclient.h +++ b/tests/auto/qml/debugger/shared/qqmldebugclient.h @@ -55,6 +55,9 @@ public: void connectToHost(const QString &hostName, quint16 port); + void setDataStreamVersion(int dataStreamVersion); + int dataStreamVersion(); + qint64 bytesAvailable() const; bool isConnected() const; QAbstractSocket::SocketState state() const; @@ -74,8 +77,10 @@ protected: private: QQmlDebugConnectionPrivate *d; + int m_dataStreamVersion; friend class QQmlDebugClient; friend class QQmlDebugClientPrivate; + friend class QQmlDebugConnectionPrivate; }; class QQmlDebugClientPrivate; |