From 585e651310edccae8acab8511cccd85e6c2fe74f Mon Sep 17 00:00:00 2001 From: Christiaan Janssen Date: Mon, 13 Feb 2012 15:26:57 +0100 Subject: QmlProfiler: manage server-side start tracing message also QmlProfiler: refactor eventlist state If unexpected data is received, assuming server stopped profiling. Also, introducing a eventlist state instead of relying on signals sent around. This is part of a coming bigger patch where the profiler client is refactored. Change-Id: Ibed9007903956daf03cc0fcb90f77b5ad2d3cf90 Reviewed-by: Kai Koehne --- src/plugins/qmlprofiler/qmlprofilertool.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/plugins/qmlprofiler/qmlprofilertool.h') diff --git a/src/plugins/qmlprofiler/qmlprofilertool.h b/src/plugins/qmlprofiler/qmlprofilertool.h index 728496c634..3b53e5d727 100644 --- a/src/plugins/qmlprofiler/qmlprofilertool.h +++ b/src/plugins/qmlprofiler/qmlprofilertool.h @@ -78,6 +78,7 @@ public slots: void startRecording(); void stopRecording(); + void recordingButtonChanged(bool recording); void setRecording(bool recording); void setAppIsRunning(); @@ -106,6 +107,7 @@ private slots: void showLoadDialog(); void showErrorDialog(const QString &error); void retryMessageBoxFinished(int result); + void eventListStateChanged(); private: void connectToClient(); -- cgit v1.2.1