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/qmlcomponent.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/qmlcomponent.h')
-rw-r--r-- | src/declarative/qml/qmlcomponent.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlcomponent.h b/src/declarative/qml/qmlcomponent.h index 0493c1f..90f7467 100644 --- a/src/declarative/qml/qmlcomponent.h +++ b/src/declarative/qml/qmlcomponent.h @@ -46,7 +46,7 @@ #include <QtCore/qstring.h> #include <QtDeclarative/qfxglobal.h> #include <QtDeclarative/qml.h> - +#include <QtDeclarative/qmlerror.h> QT_BEGIN_HEADER @@ -77,7 +77,8 @@ public: bool isReady() const; bool isError() const; bool isLoading() const; - QString errorDescription() const; + + QList<QmlError> errors() const; QUrl url() const; |