aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2017-06-13 11:43:04 +0200
committerhjk <hjk@qt.io>2017-06-16 12:19:16 +0000
commit25a75d3fa38e6c61097f4578fddb24a1445eec58 (patch)
treee024067db767df320b200f7b514e170cf5830f72 /src/plugins/qmlprofiler/qmlprofilerclientmanager.h
parentbb4edc33fd237315aa0c1229b887bf05047dd699 (diff)
Debugger, QmlProfiler et al: Replace AnalyzerStartParameter
... and QmlProfilerRunner::Configuaration by PE::UrlConnection, and call it 'serverUrl' on the user side. That's the only variant we ever had and avoids "translations" between three structures that are essential the same. Change-Id: I33386b2b8d2a7985ff934f6f8f840de0831bf9c1 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerclientmanager.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
index 2c4a78f6b0..61a9d17800 100644
--- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
+++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
@@ -28,12 +28,10 @@
#include "qmlprofilertraceclient.h"
#include <qmldebug/qmldebugclient.h>
-#include <utils/port.h>
#include <QPointer>
#include <QTimer>
-#include <QObject>
-#include <QVector>
+#include <QUrl>
namespace QmlProfiler {
class QmlProfilerModelManager;
@@ -49,8 +47,7 @@ public:
~QmlProfilerClientManager();
void setProfilerStateManager(QmlProfilerStateManager *profilerState);
- void setTcpConnection(QString host, Utils::Port port);
- void setLocalSocket(QString file);
+ void setServerUrl(const QUrl &server);
void clearConnection();
void clearBufferedData();
@@ -79,9 +76,7 @@ private:
QTimer m_connectionTimer;
- QString m_localSocket;
- QString m_tcpHost;
- Utils::Port m_tcpPort;
+ QUrl m_server;
quint32 m_flushInterval = 0;
int m_retryInterval = 200;