aboutsummaryrefslogtreecommitdiffstats
path: root/src/libs/qmljsdebugclient/qpacketprotocol.h
diff options
context:
space:
mode:
authorKai Koehne <[email protected]>2011-08-31 12:55:08 +0200
committerKai Koehne <[email protected]>2011-09-01 08:53:39 +0200
commit1bca3e966dbe2ebe841765d90c84554fab41334d (patch)
tree9b8d55964672e3a7deff855a61e4187c7fa435e9 /src/libs/qmljsdebugclient/qpacketprotocol.h
parent7fa9e52d709ce3e7e3166ea37e3e42528a1c8c72 (diff)
QmlJSDebugger: Merge back changes done to the files in qtdeclarative
Change-Id: I722b191035757c60ce103edf74517f5348a91955 Reviewed-on: http://codereview.qt.nokia.com/3945 Reviewed-by: Aurindam Jana <[email protected]>
Diffstat (limited to 'src/libs/qmljsdebugclient/qpacketprotocol.h')
-rw-r--r--src/libs/qmljsdebugclient/qpacketprotocol.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libs/qmljsdebugclient/qpacketprotocol.h b/src/libs/qmljsdebugclient/qpacketprotocol.h
index 05bc28f8003..2a75f2b365e 100644
--- a/src/libs/qmljsdebugclient/qpacketprotocol.h
+++ b/src/libs/qmljsdebugclient/qpacketprotocol.h
@@ -64,6 +64,8 @@ public:
qint64 packetsAvailable() const;
QPacket read();
+ bool waitForReadyRead(int msecs = 3000);
+
void clear();
QIODevice *device();
@@ -87,6 +89,7 @@ public:
void clear();
bool isEmpty() const;
+ QByteArray data() const;
protected:
friend class QPacketProtocol;