summaryrefslogtreecommitdiffstats
path: root/src/declarative/debugger/qdeclarativedebugtrace_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2010-11-03 02:53:41 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2010-11-19 00:51:03 (GMT)
commit1a8bf28261facf1e97cecf842fcbfff48b383984 (patch)
treedd3d8e7fdc32d65a6f00b26a642ae9847e31075e /src/declarative/debugger/qdeclarativedebugtrace_p.h
parent458c237ea807330de8b15cb2b6e99f564bb7fd66 (diff)
downloadQt-1a8bf28261facf1e97cecf842fcbfff48b383984.zip
Qt-1a8bf28261facf1e97cecf842fcbfff48b383984.tar.gz
Qt-1a8bf28261facf1e97cecf842fcbfff48b383984.tar.bz2
Add support for a record-then-send debug process.
Diffstat (limited to 'src/declarative/debugger/qdeclarativedebugtrace_p.h')
-rw-r--r--src/declarative/debugger/qdeclarativedebugtrace_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/declarative/debugger/qdeclarativedebugtrace_p.h b/src/declarative/debugger/qdeclarativedebugtrace_p.h
index d6fe0b0..c7c61bd 100644
--- a/src/declarative/debugger/qdeclarativedebugtrace_p.h
+++ b/src/declarative/debugger/qdeclarativedebugtrace_p.h
@@ -86,12 +86,19 @@ public:
static void endRange(RangeType);
QDeclarativeDebugTrace();
+protected:
+ virtual void messageReceived(const QByteArray &);
private:
void addEventImpl(EventType);
void startRangeImpl(RangeType);
void rangeDataImpl(RangeType, const QUrl &);
void endRangeImpl(RangeType);
+ void processMessage(const QByteArray &);
+ void sendMessages();
QPerformanceTimer m_timer;
+ bool m_enabled;
+ bool m_deferredSend;
+ QList<QByteArray> m_data;
};
QT_END_NAMESPACE