Docs: fix qdoc enum's \value "since" syntax

Square brackets.
https://doc.qt.io/qt-6/10-qdoc-commands-tablesandlists.html#value

Change-Id: I1d9237461a4eafb72b28ae019c02ba72f82d0f17
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
(cherry picked from commit 9b44acfd26169d087224719b0813a146e7b731b3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Ahmad Samir 2025-01-07 22:28:41 +02:00 committed by Qt Cherry-pick Bot
parent acbfeca2b3
commit 2a734e1971
3 changed files with 5 additions and 5 deletions

View File

@ -441,8 +441,8 @@ const char *QtMetaTypePrivate::typedefNameForType(const QtPrivate::QMetaTypeInte
The enum describes attributes of a type supported by QMetaType.
\value NeedsConstruction This type has a default constructor. If the flag is not set, instances can be safely initialized with memset to 0.
\value NeedsCopyConstruction (since 6.5) This type has a non-trivial copy constructor. If the flag is not set, instances can be copied with memcpy.
\value NeedsMoveConstruction (since 6.5) This type has a non-trivial move constructor. If the flag is not set, instances can be moved with memcpy.
\value [since 6.5] NeedsCopyConstruction This type has a non-trivial copy constructor. If the flag is not set, instances can be copied with memcpy.
\value [since 6.5] NeedsMoveConstruction This type has a non-trivial move constructor. If the flag is not set, instances can be moved with memcpy.
\value NeedsDestruction This type has a non-trivial destructor. If the flag is not set, calls to the destructor are not necessary before discarding objects.
\value RelocatableType An instance of a type having this attribute can be safely moved to a different memory location using memcpy.
\omitvalue MovableType

View File

@ -204,7 +204,7 @@ QPlatformServices *QPlatformIntegration::services() const
prerequisite for dynamic OpenGL loading. Starting with Qt 5.7, the platform plugin
is required to have this capability.
\value ApplicationIcon The platform supports setting the application icon. (since 5.5)
\value [since 5.5] ApplicationIcon The platform supports setting the application icon.
\value TopStackedNativeChildWindows The platform supports native child windows via
QWindowContainer without having to punch a transparent hole in the

View File

@ -84,8 +84,8 @@ Q_LOGGING_CATEGORY(lcSsl, "qt.network.ssl");
\value DtlsV1_0OrLater DTLSv1.0 and later versions.
\value DtlsV1_2 DTLSv1.2
\value DtlsV1_2OrLater DTLSv1.2 and later versions.
\value TlsV1_3 TLSv1.3. (Since Qt 5.12)
\value TlsV1_3OrLater TLSv1.3 and later versions. (Since Qt 5.12)
\value [since 5.12] TlsV1_3 TLSv1.3.
\value [since 5.12] TlsV1_3OrLater TLSv1.3 and later versions.
\value UnknownProtocol The cipher's protocol cannot be determined.
\value AnyProtocol Any supported protocol. This value is used by QSslSocket only.
\value SecureProtocols The default option, using protocols known to be secure.