From 07c5ff8246b568f2d89e8b0e8236b1ec517e16b5 Mon Sep 17 00:00:00 2001 From: Jaishree Vyas Date: Tue, 26 Nov 2024 12:34:02 +0100 Subject: [PATCH] Doc: QMetaProperty documentation references deprecated "type()" function Documentation of QMetaProperty mentions deprecated members, which includes type(). Added link to the metaType() to avoid confusion. Fixes: QTBUG-131446 Pick-to: 6.8 Change-Id: I8d96bcf712c78ca2b9ce609e511d275053cf6cbf Reviewed-by: Thiago Macieira --- src/corelib/kernel/qmetaobject.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/corelib/kernel/qmetaobject.cpp b/src/corelib/kernel/qmetaobject.cpp index ea98161f7e5..7c2059267d6 100644 --- a/src/corelib/kernel/qmetaobject.cpp +++ b/src/corelib/kernel/qmetaobject.cpp @@ -3629,7 +3629,7 @@ int QMetaEnum::Data::index(const QMetaObject *mobj) const \section1 Property Meta-Data - A property has a name() and a type(), as well as various + A property has a name() and a metaType(), as well as various attributes that specify its behavior: isReadable(), isWritable(), isDesignable(), isScriptable(), revision(), and isStored().