summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAhmad Samir <[email protected]>2025-01-07 22:28:41 +0200
committerAhmad Samir <[email protected]>2025-01-21 00:15:26 +0200
commit9b44acfd26169d087224719b0813a146e7b731b3 (patch)
tree474dec0a815790cf8f53903e8725c2f050fa1144
parentc917d16f4b9982425b51dfc4947792e36defde35 (diff)
Docs: fix qdoc enum's \value "since" syntax
Square brackets. https://doc.qt.io/qt-6/10-qdoc-commands-tablesandlists.html#value Pick-to: 6.9 Change-Id: I1d9237461a4eafb72b28ae019c02ba72f82d0f17 Reviewed-by: Thiago Macieira <[email protected]>
-rw-r--r--src/corelib/kernel/qmetatype.cpp4
-rw-r--r--src/gui/kernel/qplatformintegration.cpp2
-rw-r--r--src/network/ssl/qssl.cpp4
3 files changed, 5 insertions, 5 deletions
diff --git a/src/corelib/kernel/qmetatype.cpp b/src/corelib/kernel/qmetatype.cpp
index 682a31ad13b..20d5b2f08e0 100644
--- a/src/corelib/kernel/qmetatype.cpp
+++ b/src/corelib/kernel/qmetatype.cpp
@@ -443,8 +443,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
diff --git a/src/gui/kernel/qplatformintegration.cpp b/src/gui/kernel/qplatformintegration.cpp
index 130b479c645..d496004343f 100644
--- a/src/gui/kernel/qplatformintegration.cpp
+++ b/src/gui/kernel/qplatformintegration.cpp
@@ -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
diff --git a/src/network/ssl/qssl.cpp b/src/network/ssl/qssl.cpp
index dfd3745d3e6..d818c70b1ad 100644
--- a/src/network/ssl/qssl.cpp
+++ b/src/network/ssl/qssl.cpp
@@ -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.