diff options
author | Warwick Allison <warwick.allison@nokia.com> | 2009-07-24 05:39:59 (GMT) |
---|---|---|
committer | Warwick Allison <warwick.allison@nokia.com> | 2009-07-24 05:39:59 (GMT) |
commit | d150ada7c985f066e9c59571ce3db2bc6494ca08 (patch) | |
tree | 2cf7f9b60e433256c354e4777bef986b915b70b3 /src/declarative | |
parent | 2210fce7beb9be8f1acbdff5129eed91a59f7be7 (diff) | |
download | Qt-d150ada7c985f066e9c59571ce3db2bc6494ca08.zip Qt-d150ada7c985f066e9c59571ce3db2bc6494ca08.tar.gz Qt-d150ada7c985f066e9c59571ce3db2bc6494ca08.tar.bz2 |
doc
Diffstat (limited to 'src/declarative')
-rw-r--r-- | src/declarative/qml/qmldom.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/declarative/qml/qmldom.cpp b/src/declarative/qml/qmldom.cpp index 5082fda..73332fe 100644 --- a/src/declarative/qml/qmldom.cpp +++ b/src/declarative/qml/qmldom.cpp @@ -93,10 +93,10 @@ QmlDomDocumentPrivate::~QmlDomDocumentPrivate() file.open(QIODevice::ReadOnly); QByteArray xmlData = file.readAll(); - QDomDocument document; - document.load(xmlData); + QmlDomDocument document; + document.load(qmlengine, xmlData); - QDomObject rootObject = document.rootObject(); + QmlDomObject rootObject = document.rootObject(); qDebug() << rootObject.objectType(); foreach(QmlDomProperty property, rootObject.properties()) qDebug() << property.propertyName(); |