aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmljavascriptexpression_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@qt.io>2016-12-05 13:17:52 +0100
committerLars Knoll <lars.knoll@qt.io>2016-12-09 14:02:00 +0000
commit3d582fd5c17b011a606001fe8635e732e4609328 (patch)
tree893ac86c9f764dd64f0119ad429ae5245bd4f90e /src/qml/qml/qqmljavascriptexpression_p.h
parent82ee8341fba141e2e1e44948d2161a694add1584 (diff)
Add a setSourceLocation() method
Change-Id: I611ab4fe5dd59cb8e07b0fa69ce22c7df5a6c3f2 Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmljavascriptexpression_p.h')
-rw-r--r--src/qml/qml/qqmljavascriptexpression_p.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h
index 8a230efeeb..4d88c987b8 100644
--- a/src/qml/qml/qqmljavascriptexpression_p.h
+++ b/src/qml/qml/qqmljavascriptexpression_p.h
@@ -114,6 +114,7 @@ public:
inline void setScopeObject(QObject *v);
QQmlSourceLocation sourceLocation() const;
+ void setSourceLocation(const QQmlSourceLocation &location);
bool isValid() const { return context() != 0; }