diff options
author | Simon Hausmann <[email protected]> | 2013-09-13 16:39:00 +0200 |
---|---|---|
committer | The Qt Project <[email protected]> | 2013-09-20 14:26:23 +0200 |
commit | d071acf7ff4573cdf7dbea801f40375611243551 (patch) | |
tree | ec34f84d8d795b2996da63e74183eba93fff4ee3 /src/qml/compiler/qv4compileddata_p.h | |
parent | 269e29fdf36dd700d8c985dc7f11dbb5c8746c51 (diff) |
[new compiler] Initial support for attached properties
Attached properties are implemented similarly to group properties, except that
the object operated on isn't a QQmlValueType from a property (i.e. font) but the
QObject that implements the attached properties.
Change-Id: If73751162c191c65512ca1bddadd6270e6e33793
Reviewed-by: Lars Knoll <[email protected]>
Diffstat (limited to 'src/qml/compiler/qv4compileddata_p.h')
-rw-r--r-- | src/qml/compiler/qv4compileddata_p.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qml/compiler/qv4compileddata_p.h b/src/qml/compiler/qv4compileddata_p.h index 0a404a454f..e11cdddcbb 100644 --- a/src/qml/compiler/qv4compileddata_p.h +++ b/src/qml/compiler/qv4compileddata_p.h @@ -334,9 +334,9 @@ struct Property struct Object { - // An empty inherited type name suggests that this object doesn't require to be instantiated - // by itself but is merely used for grouped properties. It can therefore only have bindings, - // so nProperties, nFunctions and nSignals must be zero. + // Depending on the use, this may be the type name to instantiate before instantiating this + // object. For grouped properties the type name will be empty and for attached properties + // it will be the name of the attached type. quint32 inheritedTypeNameIndex; quint32 idIndex; quint32 indexOfDefaultProperty; |