QmlJsDelta: moved to the QMLJS library

Also used 'int' instead of QDeclarativeDebugObjectReference for
the debug id in order not to use the private API from QMLJS
This commit is contained in:
Olivier Goffart
2010-07-21 14:26:25 +02:00
parent 31949f1890
commit f24216bdbb
11 changed files with 81 additions and 80 deletions

View File

@@ -215,7 +215,7 @@ void QmlJSDesignDebugClient::changeToZoomTool()
sendMessage(message);
}
void QmlJSDesignDebugClient::createQmlObject(const QString &qmlText, const QDeclarativeDebugObjectReference &parentRef,
void QmlJSDesignDebugClient::createQmlObject(const QString &qmlText, int parentDebugId,
const QStringList &imports, const QString &filename)
{
if (!m_connection || !m_connection->isConnected())
@@ -226,7 +226,7 @@ void QmlJSDesignDebugClient::createQmlObject(const QString &qmlText, const QDecl
ds << QByteArray("CREATE_OBJECT")
<< qmlText
<< parentRef.debugId()
<< parentDebugId
<< imports
<< filename;