diff options
author | Simon Hausmann <simon.hausmann@digia.com> | 2013-05-22 16:51:34 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@digia.com> | 2013-05-23 15:42:24 +0200 |
commit | 31b700b9ddf38283ca06cf78db4a80d674b74661 (patch) | |
tree | c947874ad9e5284c35cab7f3af73a5d4dcd8d12f /src/qml/qml/qqmlpropertycache_p.h | |
parent | b71fa87e000c5d72d4b2a7146e450dc41dc69055 (diff) |
Replace QV8QObjectResource with QV4::QObjectWrapper
Use a proper sub-class instead of external object resources, as a first
step towards porting the QObject bindings away from V8.
This also replaces the function template / constructor approach and the
faster getter optimization with a plain virtual get in the V4::Object.
Property lookup in QObject bindings will be subject to future optimizations
that will work very differently once we enable the faster V4 lookup mechanism
in QML.
Change-Id: Ib7c2eead5323c22290c2924de786d9cfcf308c03
Reviewed-by: Lars Knoll <lars.knoll@digia.com>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertycache_p.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h index b7e0a525b7..80c7ebf66a 100644 --- a/src/qml/qml/qqmlpropertycache_p.h +++ b/src/qml/qml/qqmlpropertycache_p.h @@ -347,9 +347,6 @@ private: QQmlPropertyData::Flag methodFlags = QQmlPropertyData::NoFlags, QQmlPropertyData::Flag signalFlags = QQmlPropertyData::NoFlags); - // Implemented in v8/qv8qobjectwrapper.cpp - v8::Handle<v8::Object> newQObject(QObject *, QV8Engine *); - QQmlPropertyCacheMethodArguments *createArgumentsObject(int count, const QList<QByteArray> &names = QList<QByteArray>()); QQmlPropertyData *signal(int, QQmlPropertyCache **) const; |