QmlDebugger: Log activity of Observer in debugger log

This commit is contained in:
Kai Koehne
2010-12-16 17:26:25 +01:00
parent d6bc3a2822
commit 948ca6f2ac
5 changed files with 114 additions and 56 deletions

View File

@@ -94,6 +94,8 @@ void ClientProxy::connectToServer()
SIGNAL(selectedColorChanged(QColor)));
connect(m_observerClient, SIGNAL(contextPathUpdated(QStringList)),
SIGNAL(contextPathUpdated(QStringList)));
connect(m_observerClient, SIGNAL(logActivity(QString,QString)),
m_adapter, SLOT(logServiceActivity(QString,QString)));
updateConnected();
}
@@ -133,6 +135,8 @@ void ClientProxy::disconnectFromServer()
this, SIGNAL(selectedColorChanged(QColor)));
disconnect(m_observerClient, SIGNAL(contextPathUpdated(QStringList)),
this, SIGNAL(contextPathUpdated(QStringList)));
disconnect(m_observerClient, SIGNAL(logActivity(QString,QString)),
m_adapter, SLOT(logServiceActivity(QString,QString)));
delete m_observerClient;
m_observerClient = 0;