aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmljavascriptexpression_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qml/qml/qqmljavascriptexpression_p.h')
-rw-r--r--src/qml/qml/qqmljavascriptexpression_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h
index d7db55d4f6..caf1266415 100644
--- a/src/qml/qml/qqmljavascriptexpression_p.h
+++ b/src/qml/qml/qqmljavascriptexpression_p.h
@@ -155,6 +155,11 @@ public:
const char *code, int codeLength,
const QString &filename, quint16 line,
QV4::PersistentValue *qmlscope = 0);
+ // doesn't require rewriting the expression
+ static QV4::PersistentValue qmlBinding(QQmlContextData *ctxt, QObject *scope,
+ const QString &code,
+ const QString &filename, quint16 line,
+ QV4::PersistentValue *qmlscope = 0);
protected:
~QQmlJavaScriptExpression();