aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmldebug/qqmldebugconnection_p.h
diff options
context:
space:
mode:
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();