diff options
author | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-08 09:02:10 (GMT) |
---|---|---|
committer | Aaron Kennedy <aaron.kennedy@nokia.com> | 2010-01-08 09:02:10 (GMT) |
commit | 8c84f7ca274e5c8e4d249ede904bb247659dbce4 (patch) | |
tree | 58e7553b5a417c87e61cb0ba95319123344d0f32 /src/declarative/qml/qmlexpression_p.h | |
parent | b30af554ba34bddc4f2487f037113c810597cda0 (diff) | |
download | Qt-8c84f7ca274e5c8e4d249ede904bb247659dbce4.zip Qt-8c84f7ca274e5c8e4d249ede904bb247659dbce4.tar.gz Qt-8c84f7ca274e5c8e4d249ede904bb247659dbce4.tar.bz2 |
Optimization: Cache compiled dynamic functions
Diffstat (limited to 'src/declarative/qml/qmlexpression_p.h')
-rw-r--r-- | src/declarative/qml/qmlexpression_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/declarative/qml/qmlexpression_p.h b/src/declarative/qml/qmlexpression_p.h index 3f87b2f..8561a57 100644 --- a/src/declarative/qml/qmlexpression_p.h +++ b/src/declarative/qml/qmlexpression_p.h @@ -164,6 +164,8 @@ public: } static void exceptionToError(QScriptEngine *, QmlError &); + static QScriptValue evalInObjectScope(QmlContext *, QObject *, const QString &); + static QScriptValue evalInObjectScope(QmlContext *, QObject *, const QScriptProgram &); }; QT_END_NAMESPACE |