diff options
author | Simon Hausmann <simon.hausmann@qt.io> | 2016-07-28 17:40:11 +0200 |
---|---|---|
committer | Simon Hausmann <simon.hausmann@qt.io> | 2016-08-01 11:13:34 +0000 |
commit | 897eb7f1290428dcc257e999b099d0ef14349e35 (patch) | |
tree | cd760c1f34e97b2825e63fe87cc11ad2d836ae92 /src/qml/qml/qqmlpropertycache_p.h | |
parent | 7ddb47f3aea660774353276c328efa817cbf16a8 (diff) |
Add a function to QQmlPropertyCache to calculate the meta-object sizes
This will be used later for calculating checksums of the meta-object
data.
Change-Id: Iba925eae298cbfc7b89196f4dd6fb2854ce75e2e
Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'src/qml/qml/qqmlpropertycache_p.h')
-rw-r--r-- | src/qml/qml/qqmlpropertycache_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/qml/qqmlpropertycache_p.h b/src/qml/qml/qqmlpropertycache_p.h index ad6db9756f..fd29cc8e6a 100644 --- a/src/qml/qml/qqmlpropertycache_p.h +++ b/src/qml/qml/qqmlpropertycache_p.h @@ -366,6 +366,8 @@ public: void toMetaObjectBuilder(QMetaObjectBuilder &); + static bool determineMetaObjectSizes(const QMetaObject &mo, int *fieldCount, int *stringCount); + protected: virtual void destroy(); virtual void clear(); |