diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-28 03:59:33 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2009-10-28 03:59:33 (GMT) |
commit | eaab2a271f0d73d5a413902169efe32741208c42 (patch) | |
tree | da00990537be1d2546bbb84d3aac986eccf3dd30 /src/declarative/qml/qmlerror.h | |
parent | 5f9091771eaa26db5ad35e4788c13ac011512b61 (diff) | |
download | Qt-eaab2a271f0d73d5a413902169efe32741208c42.zip Qt-eaab2a271f0d73d5a413902169efe32741208c42.tar.gz Qt-eaab2a271f0d73d5a413902169efe32741208c42.tar.bz2 |
Add a QmlExpression::error() method
QmlExpression should not print errors itself. This is the responsibility
of the caller.
Diffstat (limited to 'src/declarative/qml/qmlerror.h')
-rw-r--r-- | src/declarative/qml/qmlerror.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlerror.h b/src/declarative/qml/qmlerror.h index c1a8720..ee3d7b4 100644 --- a/src/declarative/qml/qmlerror.h +++ b/src/declarative/qml/qmlerror.h @@ -61,6 +61,8 @@ public: QmlError &operator=(const QmlError &); ~QmlError(); + bool isValid() const; + QUrl url() const; void setUrl(const QUrl &); QString description() const; |