aboutsummaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qdeclarativevmemetaobject_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2011-06-08 10:56:00 +1000
committerAaron Kennedy <aaron.kennedy@nokia.com>2011-06-08 10:56:00 +1000
commit96cfe77fa311e60a2dfb7967d7ad6c06d40b99fb (patch)
tree2a079fc5dccb784de03f2665b0056db80fb02d1c /src/declarative/qml/qdeclarativevmemetaobject_p.h
parent8b39dbda19bfc0449022aacaaa2eb2975e9226c8 (diff)
Allow methods to be changed by debugger
Diffstat (limited to 'src/declarative/qml/qdeclarativevmemetaobject_p.h')
-rw-r--r--src/declarative/qml/qdeclarativevmemetaobject_p.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/declarative/qml/qdeclarativevmemetaobject_p.h b/src/declarative/qml/qdeclarativevmemetaobject_p.h
index baa30a3f71..991c79a4ef 100644
--- a/src/declarative/qml/qdeclarativevmemetaobject_p.h
+++ b/src/declarative/qml/qdeclarativevmemetaobject_p.h
@@ -144,7 +144,7 @@ public:
void registerInterceptor(int index, int valueIndex, QDeclarativePropertyValueInterceptor *interceptor);
v8::Handle<v8::Function> vmeMethod(int index);
int vmeMethodLineNumber(int index);
- void setVmeMethod(int index, const QScriptValue &);
+ void setVmeMethod(int index, v8::Persistent<v8::Function>);
#if 0
QScriptValue vmeProperty(int index);
void setVMEProperty(int index, const QScriptValue &);
@@ -171,7 +171,6 @@ private:
QBitArray aInterceptors;
QHash<int, QPair<int, QDeclarativePropertyValueInterceptor*> > interceptors;
- QScriptValue *methods;
v8::Persistent<v8::Function> *v8methods;
v8::Handle<v8::Function> method(int);