summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlexpression.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/declarative/qml/qmlexpression.h')
-rw-r--r--src/declarative/qml/qmlexpression.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlexpression.h b/src/declarative/qml/qmlexpression.h
index 96694d6..127d3f3 100644
--- a/src/declarative/qml/qmlexpression.h
+++ b/src/declarative/qml/qmlexpression.h
@@ -44,6 +44,7 @@
#include <QtCore/qobject.h>
#include <QtCore/qvariant.h>
+#include <QtDeclarative/qmlerror.h>
QT_BEGIN_HEADER
@@ -82,6 +83,10 @@ public:
QObject *scopeObject() const;
+ bool hasError() const;
+ void clearError();
+ QmlError error() const;
+
public Q_SLOTS:
QVariant value(bool *isUndefined = 0);