aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlvmemetaobject_p.h
diff options
context:
space:
mode:
authorLars Knoll <lars.knoll@digia.com>2013-05-07 08:54:12 +0200
committerSimon Hausmann <simon.hausmann@digia.com>2013-05-07 12:46:55 +0200
commit0ae4fb4647d6b286805e01763341c126000155ea (patch)
tree39fa8356dc87f55a36b79349f4a0cf71264fb601 /src/qml/qml/qqmlvmemetaobject_p.h
parent5963aead75991ea8b0fded251e18ef75f099ab8f (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/qqmlvmemetaobject_p.h')
-rw-r--r--src/qml/qml/qqmlvmemetaobject_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qml/qml/qqmlvmemetaobject_p.h b/src/qml/qml/qqmlvmemetaobject_p.h
index 8b80d7f176..ea9ccf209b 100644
--- a/src/qml/qml/qqmlvmemetaobject_p.h
+++ b/src/qml/qml/qqmlvmemetaobject_p.h
@@ -168,7 +168,7 @@ public:
void registerInterceptor(int index, int valueIndex, QQmlPropertyValueInterceptor *interceptor);
v8::Handle<v8::Function> vmeMethod(int index);
quint16 vmeMethodLineNumber(int index);
- void setVmeMethod(int index, v8::Persistent<v8::Function>);
+ void setVmeMethod(int index, QV4::PersistentValue function);
v8::Handle<v8::Value> vmeProperty(int index);
void setVMEProperty(int index, v8::Handle<v8::Value> v);
@@ -216,7 +216,7 @@ public:
QQmlPropertyValueInterceptor *interceptors;
- v8::Persistent<v8::Function> *v8methods;
+ QV4::PersistentValue *v8methods;
v8::Handle<v8::Function> method(int);
v8::Handle<v8::Value> readVarProperty(int);