QmlJSDebug: Add a Debug Message Client

QDebugMessageClient uses the QDebugMessageService to
retrieve and emit the debug output.

Change-Id: Id02d148954dfa613d3fd317b4a533cfed34e345b
Reviewed-by: Kai Koehne <kai.koehne@nokia.com>
This commit is contained in:
Aurindam Jana
2011-12-20 16:12:38 +01:00
parent 6a17d889d4
commit 8bab001016
7 changed files with 213 additions and 7 deletions

View File

@@ -42,6 +42,7 @@
namespace QmlJsDebugClient {
class QDeclarativeEngineDebug;
class QDeclarativeDebugConnection;
class QDebugMessageClient;
}
namespace Debugger {
@@ -77,6 +78,8 @@ public:
QmlJsDebugClient::QDeclarativeEngineDebug *engineDebugClient() const;
void setEngineDebugClient(QmlJsDebugClient::QDeclarativeEngineDebug *client);
QDebugMessageClient *messageClient() const;
int currentSelectedDebugId() const;
QString currentSelectedDisplayName() const;
void setCurrentSelectedDebugInfo(int debugId, const QString &displayName = QString());
@@ -96,6 +99,7 @@ signals:
private slots:
void connectionErrorOccurred(QAbstractSocket::SocketError socketError);
void clientStatusChanged(QDeclarativeDebugClient::Status status);
void debugClientStatusChanged(QDeclarativeDebugClient::Status status);
void connectionStateChanged();
void checkConnectionState();