Doc: Improve documentation for QMetaEnum::metaType()
Rephrase hard-to-read sentence. Replace 'integral type; with 'numeric type', as this seems to be the terminology in the standard: The type-specifier-seq of an enum-base shall name an integral type Finally, no need to use \sa for a method that is mentioned right before. Pick-to: 6.6 Change-Id: I543041e78cc09ccd58182db454880941592c74ae Reviewed-by: Andreas Eliasson <andreas.eliasson@qt.io>
This commit is contained in:
parent
802db7b523
commit
5bfac5358a
@ -3082,15 +3082,14 @@ const char *QMetaEnum::enumName() const
|
||||
/*!
|
||||
Returns the meta type of the enum.
|
||||
|
||||
If the QMetaObject this enum is part of was generated with Qt 6.5 or
|
||||
earlier this will be the invalid metatype.
|
||||
If the QMetaObject that this enum is part of was generated with Qt 6.5 or
|
||||
earlier, this will be an invalid meta type.
|
||||
|
||||
\note This is the meta type of the enum itself, not of its underlying
|
||||
numeric type. You can retrieve the meta type of the underlying type of the
|
||||
integral type. You can retrieve the meta type of the underlying type of the
|
||||
enum using \l{QMetaType::underlyingType()}.
|
||||
|
||||
\since 6.6
|
||||
\sa QMetaType::underlyingType()
|
||||
*/
|
||||
QMetaType QMetaEnum::metaType() const
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user