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 <kai.koehne@nokia.com>
This commit is contained in:
Christiaan Janssen
2012-02-13 15:26:57 +01:00
parent de100a4add
commit 585e651310
15 changed files with 246 additions and 64 deletions

View File

@@ -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();