summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlvmemetaobject_p.h
diff options
context:
space:
mode:
authorMichael Brasser <michael.brasser@nokia.com>2009-10-23 06:32:05 (GMT)
committerMichael Brasser <michael.brasser@nokia.com>2009-10-23 06:34:19 (GMT)
commit603c2a0475888928462679562e9b10acefaec629 (patch)
tree20f2a91c918b1522f9f75f9dbf0ce46b9a1fb8ce /src/declarative/qml/qmlvmemetaobject_p.h
parent14b352dc58aa9790c8d1c2af0e546be975ef315c (diff)
downloadQt-603c2a0475888928462679562e9b10acefaec629.zip
Qt-603c2a0475888928462679562e9b10acefaec629.tar.gz
Qt-603c2a0475888928462679562e9b10acefaec629.tar.bz2
Fix Behavior support for value type properties.
Diffstat (limited to 'src/declarative/qml/qmlvmemetaobject_p.h')
-rw-r--r--src/declarative/qml/qmlvmemetaobject_p.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlvmemetaobject_p.h b/src/declarative/qml/qmlvmemetaobject_p.h
index de46853..74b6d09 100644
--- a/src/declarative/qml/qmlvmemetaobject_p.h
+++ b/src/declarative/qml/qmlvmemetaobject_p.h
@@ -56,6 +56,7 @@
#include <QtDeclarative/qml.h>
#include <QtCore/QMetaObject>
#include <QtCore/QBitArray>
+#include <QtCore/QPair>
#include <private/qobject_p.h>
QT_BEGIN_NAMESPACE
@@ -104,7 +105,7 @@ public:
QmlRefCount * = 0);
~QmlVMEMetaObject();
- void registerInterceptor(int index, QmlPropertyValueInterceptor *interceptor);
+ void registerInterceptor(int index, int valueIndex, QmlPropertyValueInterceptor *interceptor);
protected:
virtual int metaCall(QMetaObject::Call _c, int _id, void **_a);
@@ -121,7 +122,7 @@ private:
QVariant *data;
QBitArray aConnected;
QBitArray aInterceptors;
- QHash<int, QmlPropertyValueInterceptor*> interceptors;
+ QHash<int, QPair<int, QmlPropertyValueInterceptor*> > interceptors;
QAbstractDynamicMetaObject *parent;