summaryrefslogtreecommitdiffstats
path: root/src/declarative/qml/qmlmetaproperty_p.h
diff options
context:
space:
mode:
authorAaron Kennedy <aaron.kennedy@nokia.com>2009-09-23 04:33:25 (GMT)
committerAaron Kennedy <aaron.kennedy@nokia.com>2009-09-23 04:40:41 (GMT)
commitd5c1df72cecda0344717224fede54d83b6d5f15b (patch)
treefd85dd310cf42568cca121616adbec8a64f51bdc /src/declarative/qml/qmlmetaproperty_p.h
parent9d605890a9e25623926c2dfff6a287093ff93778 (diff)
downloadQt-d5c1df72cecda0344717224fede54d83b6d5f15b.zip
Qt-d5c1df72cecda0344717224fede54d83b6d5f15b.tar.gz
Qt-d5c1df72cecda0344717224fede54d83b6d5f15b.tar.bz2
Remove binding when writing to a property
Diffstat (limited to 'src/declarative/qml/qmlmetaproperty_p.h')
-rw-r--r--src/declarative/qml/qmlmetaproperty_p.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/declarative/qml/qmlmetaproperty_p.h b/src/declarative/qml/qmlmetaproperty_p.h
index f2d0039..1ccf913 100644
--- a/src/declarative/qml/qmlmetaproperty_p.h
+++ b/src/declarative/qml/qmlmetaproperty_p.h
@@ -85,16 +85,18 @@ class QmlMetaPropertyPrivate
{
public:
QmlMetaPropertyPrivate()
- : context(0), coreIdx(-1), valueTypeIdx(-1), valueTypeId(0),
+ : q(0), context(0), coreIdx(-1), valueTypeIdx(-1), valueTypeId(0),
type(QmlMetaProperty::Invalid), attachedFunc(-1),
object(0), propType(-1), category(QmlMetaProperty::Unknown) {}
QmlMetaPropertyPrivate(const QmlMetaPropertyPrivate &other)
- : name(other.name), signal(other.signal), context(other.context),
+ : q(0), name(other.name), signal(other.signal), context(other.context),
coreIdx(other.coreIdx), valueTypeIdx(other.valueTypeIdx),
valueTypeId(other.valueTypeId), type(other.type),
attachedFunc(other.attachedFunc), object(other.object),
propType(other.propType), category(other.category) {}
+ QmlMetaProperty *q;
+
QString name;
QMetaMethod signal;
QmlContext *context;