From 1d7a9fc9b4f64a5dd643e0ebfb5057b4b30236b8 Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Mon, 13 Jul 2020 10:59:48 +0200 Subject: Add a metatype helper class for Qt Core This helps get better symmetry with the other modules, and to unify the code paths for both conversion and retrieving the interface for static types. Change-Id: Icbd20de2563f36e3de20d826323acd057734abfb Reviewed-by: Thiago Macieira --- src/corelib/kernel/qmetatype_p.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/corelib/kernel/qmetatype_p.h') diff --git a/src/corelib/kernel/qmetatype_p.h b/src/corelib/kernel/qmetatype_p.h index 9e391e6476..bda4301afd 100644 --- a/src/corelib/kernel/qmetatype_p.h +++ b/src/corelib/kernel/qmetatype_p.h @@ -155,6 +155,10 @@ public: virtual bool convert(const void *, int, void *, int) const { return false; } }; +extern Q_CORE_EXPORT const QMetaTypeModuleHelper *qMetaTypeGuiHelper; +extern Q_CORE_EXPORT const QMetaTypeModuleHelper *qMetaTypeWidgetsHelper; + + namespace QtMetaTypePrivate { template struct TypeDefinition { -- cgit v1.2.3