From 897eb7f1290428dcc257e999b099d0ef14349e35 Mon Sep 17 00:00:00 2001 From: Simon Hausmann Date: Thu, 28 Jul 2016 17:40:11 +0200 Subject: 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 --- src/qml/qml/qqmlpropertycache_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/qml/qml/qqmlpropertycache_p.h') 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(); -- cgit v1.2.3