QmlDebugger: Log status of different services

Reviewed-by: Christiaan Janssen
This commit is contained in:
Kai Koehne
2010-09-30 14:05:20 +02:00
parent 8ad34357b8
commit 226a82d3dc
10 changed files with 102 additions and 23 deletions

View File

@@ -36,6 +36,7 @@
#include "debugger_global.h"
#include <QtNetwork/QAbstractSocket>
#include "qmldebuggerclient.h"
namespace QmlJsDebugClient {
class QDeclarativeEngineDebug;
@@ -72,15 +73,19 @@ public:
void setMaxConnectionAttempts(int maxAttempts);
void setConnectionAttemptInterval(int interval);
void logServiceStatusChange(const QString &service, QDeclarativeDebugClient::Status newStatus);
signals:
void aboutToDisconnect();
void connected();
void disconnected();
void connectionStartupFailed();
void connectionError(QAbstractSocket::SocketError socketError);
void serviceConnectionError(const QString serviceName);
private slots:
void connectionErrorOccurred(QAbstractSocket::SocketError socketError);
void clientStatusChanged(QDeclarativeDebugClient::Status status);
void connectionStateChanged();
void pollInferior();