aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/qml/qqmlpropertyvalueinterceptor_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2012-05-14 11:12:00 +0100
committerQt by Nokia <qt-info@nokia.com>2012-05-15 17:33:43 +0200
commit9e0b57b9a94c82d747e36260115050d912d6f576 (patch)
tree69f905d28fa150e53bace282250cc00ef488e94d /src/qml/qml/qqmlpropertyvalueinterceptor_p.h
parent13c7ee8def0822aeffecbb0753a2ffec62d898f0 (diff)
More efficient property interceptor implementation
The initial implementation vastly overestimated the number of interceptors that would exist. Change-Id: Ieddc55306e5976a9373a2b468013936240228992 Reviewed-by: Michael Brasser <michael.brasser@nokia.com>
Diffstat (limited to 'src/qml/qml/qqmlpropertyvalueinterceptor_p.h')
-rw-r--r--src/qml/qml/qqmlpropertyvalueinterceptor_p.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlpropertyvalueinterceptor_p.h b/src/qml/qml/qqmlpropertyvalueinterceptor_p.h
index cf449c9eff..6cd94b3fd1 100644
--- a/src/qml/qml/qqmlpropertyvalueinterceptor_p.h
+++ b/src/qml/qml/qqmlpropertyvalueinterceptor_p.h
@@ -66,6 +66,13 @@ public:
virtual ~QQmlPropertyValueInterceptor();
virtual void setTarget(const QQmlProperty &property) = 0;
virtual void write(const QVariant &value) = 0;
+
+private:
+ friend class QQmlVMEMetaObject;
+
+ int m_coreIndex;
+ int m_valueTypeCoreIndex;
+ QQmlPropertyValueInterceptor *m_next;
};
#define QQmlPropertyValueInterceptor_iid "org.qt-project.Qt.QQmlPropertyValueInterceptor"