diff options
author | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-08-25 21:29:34 +0200 |
---|---|---|
committer | Lars Knoll <lars.knoll@theqtcompany.com> | 2015-09-15 19:13:07 +0000 |
commit | e13b9624b09cf192f9af8cb2f24c5551478ed6d3 (patch) | |
tree | 689c129a84d30ca806169932ba8394bcadcca1d6 /src/qml/jsruntime/qv4object_p.h | |
parent | 665f17782a984fa34934cb3fc6d8316a21da9862 (diff) |
Further reduce usage of Property
Using Property * as return value is something I wanted to get rid of for
a long time. As this interferes with storing properties inline in the
Object, now is a good time to finally do the work :)
Change-Id: I30594bad9a4cea5d9d606ebe02d7f3e707b4263a
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/qml/jsruntime/qv4object_p.h')
-rw-r--r-- | src/qml/jsruntime/qv4object_p.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/qml/jsruntime/qv4object_p.h b/src/qml/jsruntime/qv4object_p.h index 2527e7953c..f427b676d6 100644 --- a/src/qml/jsruntime/qv4object_p.h +++ b/src/qml/jsruntime/qv4object_p.h @@ -128,7 +128,9 @@ struct Q_QML_EXPORT Object: Managed { Q_MANAGED_TYPE(Object) enum { - IsObject = true + IsObject = true, + GetterOffset = 0, + SetterOffset = 1 }; InternalClass *internalClass() const { return d()->internalClass; } |