diff options
author | Lars Knoll <lars.knoll@digia.com> | 2013-05-07 08:54:12 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-07 12:46:55 +0200 |
commit | 0ae4fb4647d6b286805e01763341c126000155ea (patch) | |
tree | 39fa8356dc87f55a36b79349f4a0cf71264fb601 /src/qml/qml/qqmljavascriptexpression_p.h | |
parent | 5963aead75991ea8b0fded251e18ef75f099ab8f (diff) |
Change some v8::Persistent to QV4::PersistentValue
Change-Id: I2c4e98cf7e778de9aafabdbd68e6682106343d12
Reviewed-by: Simon Hausmann <simon.hausmann@digia.com>
Diffstat (limited to 'src/qml/qml/qqmljavascriptexpression_p.h')
-rw-r--r-- | src/qml/qml/qqmljavascriptexpression_p.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qml/qml/qqmljavascriptexpression_p.h b/src/qml/qml/qqmljavascriptexpression_p.h index c1d3d1395f..0d3b7b9063 100644 --- a/src/qml/qml/qqmljavascriptexpression_p.h +++ b/src/qml/qml/qqmljavascriptexpression_p.h @@ -148,14 +148,14 @@ public: QQmlDelayedError *delayedError(); static void exceptionToError(v8::Handle<v8::Message>, QQmlError &); - static v8::Persistent<v8::Function> evalFunction(QQmlContextData *ctxt, QObject *scope, + static QV4::PersistentValue evalFunction(QQmlContextData *ctxt, QObject *scope, const QString &code, const QString &filename, quint16 line, - v8::Persistent<v8::Object> *qmlscope = 0); - static v8::Persistent<v8::Function> evalFunction(QQmlContextData *ctxt, QObject *scope, + QV4::PersistentValue *qmlscope = 0); + static QV4::PersistentValue evalFunction(QQmlContextData *ctxt, QObject *scope, const char *code, int codeLength, const QString &filename, quint16 line, - v8::Persistent<v8::Object> *qmlscope = 0); + QV4::PersistentValue *qmlscope = 0); protected: ~QQmlJavaScriptExpression(); |