summaryrefslogtreecommitdiffstats
path: root/src/corelib/global/qnamespace.qdoc
diff options
context:
space:
mode:
authorEdward Welbourne <edward.welbourne@qt.io>2022-05-18 13:46:21 +0200
committerEdward Welbourne <edward.welbourne@qt.io>2022-05-31 14:09:28 +0200
commit4fc66d760376d736a3f85c945bdaed83ccdfcfe3 (patch)
treed618ca9608d65735d4f018f8e9fdb9769e16f81b /src/corelib/global/qnamespace.qdoc
parent11ccd2a68e041248da2695ff117cff24a9155dbe (diff)
Convert Since ... comments on \value lines to [since ...] parameters
The \value command supports a [since ...] parameter. We might as well use it, to standardize how we document when enum members were added. Change-Id: I68a101e8101f780d0e6607a63723aa1bd837bb56 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io>
Diffstat (limited to 'src/corelib/global/qnamespace.qdoc')
-rw-r--r--src/corelib/global/qnamespace.qdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc
index 48e84586d6..000001c1bf 100644
--- a/src/corelib/global/qnamespace.qdoc
+++ b/src/corelib/global/qnamespace.qdoc
@@ -1,4 +1,4 @@
-// Copyright (C) 2021 The Qt Company Ltd.
+// Copyright (C) 2022 The Qt Company Ltd.
// Copyright (C) 2020 Klaralvdalens Datakonsult AB, a KDAB Group company, info@kdab.com, author Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GFDL-1.3-no-invariants-only
@@ -1283,7 +1283,7 @@
to this top level window. This attribute has no effect on non-X11
platforms.
- \value WA_AlwaysStackOnTop Since Qt 5.4, this value forces QOpenGLWidget and
+ \value [since 5.4] WA_AlwaysStackOnTop Forces QOpenGLWidget and
QQuickWidget to be drawn last, on top of other widgets. Ignored for other
type of widgets. Setting this attribute breaks the stacking order, but
allows having a semi-transparent OpenGL widget with other widgets visible
@@ -3090,8 +3090,8 @@
the Qt::GestureStarted state and ending with a gesture in the
Qt::GestureFinished or Qt::GestureCanceled states.
- \value IgnoredGesturesPropagateToParent Since Qt 4.7, this flag allows you
- to fine-tune gesture event propagation. By setting the flag when
+ \value [since 4.7] IgnoredGesturesPropagateToParent Allows fine-tuning of
+ gesture event propagation. By setting the flag when
\l{QGraphicsObject::grabGesture()}{grabbing} a gesture all ignored partial
gestures will propagate to their parent items.