diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2016-08-04 17:29:05 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2016-08-05 10:44:46 +0000 |
commit | 5d6f5ff2c969046cd19c13a5b7bb0775c9925ea3 (patch) | |
tree | c73ba6e0432b32cd011f9b51b3acf05156fa7211 /src/plugins/qmlprofiler/qmlprofilerclientmanager.h | |
parent | 4ab130ed9f1a3298d81d97edcd18d8b63ad0080d (diff) |
QmlProfiler: Move unrelated code out of QmlProfilerClientManager
The client manager should not be bothered with details of QML events,
but rather just connect the client, the model manager, and the state
manager.
Change-Id: Iec4499f8441a06d4ef5cbcf7bfe23da6f5e7f239
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerclientmanager.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h index 8357acd8c7..2c4a78f6b0 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h @@ -59,14 +59,13 @@ public: void setModelManager(QmlProfilerModelManager *m); void setFlushInterval(quint32 flushInterval); - bool aggregateTraces() const; - void setAggregateTraces(bool aggregateTraces); - void setRetryParams(int interval, int maxAttempts); void retryConnect(); void connectToTcpServer(); void startLocalServer(); + void stopRecording(); + signals: void connectionOpened(); void connectionFailed(); @@ -89,8 +88,6 @@ private: int m_maximumRetries = 50; int m_numRetries = 0; - bool m_aggregateTraces = true; - void disconnectClient(); void stopConnectionTimer(); @@ -100,12 +97,6 @@ private: void logState(const QString &); - void qmlComplete(qint64 maximumTime); - void qmlNewEngine(int engineId); - - void profilerStateChanged(); - void clientRecordingChanged(); - void createConnection(); void connectClientSignals(); void disconnectClientSignals(); |