aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-17 16:42:21 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-19 11:33:20 +0000
commit7b4e253a1e0d0ba985251ce1fafbf634d95cc744 (patch)
tree5cb56c2057bc4bafcfe7b67f50ea1dcdce28d1ae /src/plugins/qmlprofiler/qmlprofilerclientmanager.h
parent2217eef3a3f5832b6955dc4a2e4ff061364a6a15 (diff)
QmlProfiler: Support local connections on Qt >= 5.6
This removes the need to receive messages from the application via stderr. The "Connecting to socket" is still parsed, but only for diagnostic purposes. If it doesn't arrive, the profiling will still work. Change-Id: I022691293da2a1e671ba1263bc76e4044bf1a5b7 Reviewed-by: Joerg Bornemann <joerg.bornemann@theqtcompany.com>
Diffstat (limited to 'src/plugins/qmlprofiler/qmlprofilerclientmanager.h')
-rw-r--r--src/plugins/qmlprofiler/qmlprofilerclientmanager.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
index 9eae3e0cad..3167f98579 100644
--- a/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
+++ b/src/plugins/qmlprofiler/qmlprofilerclientmanager.h
@@ -52,6 +52,7 @@ public:
void registerProfilerStateManager(QmlProfilerStateManager *profilerState);
void setTcpConnection(QString host, quint64 port);
+ void setLocalSocket(QString file);
void clearBufferedData();
void discardPendingData();
@@ -65,7 +66,8 @@ signals:
void connectionClosed();
public slots:
- void connectClient(quint16 port);
+ void connectTcpClient(quint16 port);
+ void connectLocalClient(const QString &file);
void disconnectClient();
private slots:
@@ -89,7 +91,7 @@ private:
void connectToClient();
- void enableServices();
+ void createConnection();
void connectClientSignals();
void disconnectClientSignals();