Start the inspector.

This commit is contained in:
Roberto Raggi
2010-06-29 14:24:12 +02:00
parent 6d1d196ed1
commit 6f4cc3541d
4 changed files with 17 additions and 26 deletions

View File

@@ -64,10 +64,11 @@ bool ClientProxy::connectToViewer(const QString &host, quint16 port)
qDebug() << Q_FUNC_INFO;
if (m_client) {
disconnect(m_client, SIGNAL(propertyDumpReceived(QDeclarativeDebugPropertyDump)),
this, SIGNAL(propertyDumpReceived(QDeclarativeDebugPropertyDump)));
#warning disconnect selectedItemsChanged here
#if 0
disconnect(m_client, SIGNAL(selectedItemsChanged(QList<QDeclarativeDebugObjectReference>)),
this, SIGNAL(selectedItemsChanged(QList<QDeclarativeDebugObjectReference>)));
#endif
emit aboutToDisconnect();
@@ -151,12 +152,12 @@ void ClientProxy::connectionStateChanged()
m_client = new QDeclarativeEngineDebug(m_conn, this);
emit connected(m_client);
connect(m_client,
SIGNAL(propertyDumpReceived(QDeclarativeDebugPropertyDump)),
SIGNAL(propertyDumpReceived(QDeclarativeDebugPropertyDump)));
#warning add support for selectedItemsChanged here
#if 0
connect(m_client,
SIGNAL(selectedItemsChanged(QList<QDeclarativeDebugObjectReference>)),
SIGNAL(selectedItemsChanged(QList<QDeclarativeDebugObjectReference>)));
#endif
}
reloadEngines();