diff options
author | Ulf Hermann <ulf.hermann@qt.io> | 2017-09-21 12:59:44 +0200 |
---|---|---|
committer | Ulf Hermann <ulf.hermann@qt.io> | 2017-09-21 14:54:57 +0000 |
commit | 63a99936abef299a94b73af3475823e36aa68c24 (patch) | |
tree | b6aa528b6a35a1bfdbeadfc44b4b7262e8674d93 /src/plugins/qmlprofiler/qmlprofilerclientmanager.h | |
parent | 63e2f9ccdb4edf6fdf9bdbf7deb33d290aeab85c (diff) |
QmlProfiler: Unify local and tcp connection mechanism
Use the URL scheme to distinguish between them, check that in
QmlProfilerClientManager and test all possible combinations of URL
parts.
Change-Id: I6583e5bf18eda0344a299a279c12578c4ebc7ffe
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r-- | src/plugins/qmlprofiler/qmlprofilerclientmanager.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h index 61a9d17800..c64429abc7 100644 --- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h +++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h @@ -47,7 +47,7 @@ public: ~QmlProfilerClientManager(); void setProfilerStateManager(QmlProfilerStateManager *profilerState); - void setServerUrl(const QUrl &server); + void connectToServer(const QUrl &server); void clearConnection(); void clearBufferedData(); @@ -58,8 +58,6 @@ public: void setRetryParams(int interval, int maxAttempts); void retryConnect(); - void connectToTcpServer(); - void startLocalServer(); void stopRecording(); @@ -69,6 +67,9 @@ signals: void connectionClosed(); private: + void connectToTcpServer(); + void startLocalServer(); + QPointer<QmlProfilerStateManager> m_profilerState; QPointer<QmlProfilerModelManager> m_modelManager; QScopedPointer<QmlDebug::QmlDebugConnection> m_connection; |