aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldebug/qqmldebugconnection_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-16 15:55:33 +0100
committerUlf Hermann <ulf.hermann@theqtcompany.com>2015-11-18 09:01:11 +0000
commitc4bd6beca3e7c3e8cf31af2f3fdd08a1f7aeabcb (patch)
tree6edba5d8eae036fbe59b6b952b959a147662e94d /src/qmldebug/qqmldebugconnection_p.h
parentfee44872dce081b3480f3cb3bb74d12940a92068 (diff)
QmlDebug: Add some useful methods to QQmlDebugConnection
Change-Id: Iee2c09278f31ea93da9c02be6b2fc909b5f154d0 Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qmldebug/qqmldebugconnection_p.h')
-rw-r--r--src/qmldebug/qqmldebugconnection_p.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/qmldebug/qqmldebugconnection_p.h b/src/qmldebug/qqmldebugconnection_p.h
index 31a4d7167a..190ca25db2 100644
--- a/src/qmldebug/qqmldebugconnection_p.h
+++ b/src/qmldebug/qqmldebugconnection_p.h
@@ -35,6 +35,7 @@
#define QQMLDEBUGCONNECTION_P_H
#include <QtCore/qobject.h>
+#include <QtNetwork/qabstractsocket.h>
//
// W A R N I N G
@@ -67,6 +68,8 @@ public:
void setMaximumDataStreamVersion(int maximumVersion);
bool isConnected() const;
+ bool isConnecting() const;
+
void close();
bool waitForConnected(int msecs = 30000);
@@ -79,6 +82,9 @@ public:
signals:
void connected();
+ void disconnected();
+ void socketError(QAbstractSocket::SocketError socketError);
+ void socketStateChanged(QAbstractSocket::SocketState socketState);
private Q_SLOTS:
void newConnection();