diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 01:17:15 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-05-05 01:17:15 (GMT) |
commit | c7a0cae7deb6e31c5b2e82c9a63ebe0a167fed09 (patch) | |
tree | b57be3fff131de378258a4017dddda361c8799d2 /src/declarative/qml/qmldom.h | |
parent | 1fbb8472ccb3fe7c1c92e960e37f31b7077f999f (diff) | |
download | Qt-c7a0cae7deb6e31c5b2e82c9a63ebe0a167fed09.zip Qt-c7a0cae7deb6e31c5b2e82c9a63ebe0a167fed09.tar.gz Qt-c7a0cae7deb6e31c5b2e82c9a63ebe0a167fed09.tar.bz2 |
Improve error handling consistency
Diffstat (limited to 'src/declarative/qml/qmldom.h')
-rw-r--r-- | src/declarative/qml/qmldom.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmldom.h b/src/declarative/qml/qmldom.h index 47a89d9..74ed27c 100644 --- a/src/declarative/qml/qmldom.h +++ b/src/declarative/qml/qmldom.h @@ -44,6 +44,7 @@ #include <QtCore/qlist.h> #include <QtCore/qshareddata.h> +#include <QtDeclarative/qmlerror.h> QT_BEGIN_HEADER @@ -71,6 +72,7 @@ public: int version() const; + QList<QmlError> errors() const; QString loadError() const; bool load(QmlEngine *, const QByteArray &); QByteArray save() const; |