From bddfded80e225cbc112b79ccf5ada20a01e62fcf Mon Sep 17 00:00:00 2001 From: David Boddie Date: Thu, 6 Feb 2025 12:55:59 +0100 Subject: [PATCH] doc: Fix broken links, including auto-links Pick-to: 6.8 6.9 Change-Id: I967304c24e1a593b1b555998a718d0a015e12900 Reviewed-by: Jerome Pasion --- src/corelib/global/qnamespace.qdoc | 14 +++++++------- src/corelib/global/qsysinfo.cpp | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index e3ad9b6195a..b2eefbe5aaa 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -1074,13 +1074,13 @@ by QWidget::setGeometry(). \value WA_NoChildEventsForParent Indicates that the widget does - not want ChildAdded or ChildRemoved events sent to its + not want \l{QEvent::}{ChildAdded} or \l{QEvent::}{ChildRemoved} events sent to its parent. This is rarely necessary but can help to avoid automatic insertion widgets like splitters and layouts. This is set by a widget's author. \value WA_NoChildEventsFromChildren Indicates that the widget does - not want to receive ChildAdded or ChildRemoved events sent from its + not want to receive \l{QEvent::}{ChildAdded} or \l{QEvent::}{ChildRemoved} events sent from its children. This is set by a widget's author. \value WA_NoMouseReplay Used for pop-up widgets. Indicates that the most @@ -1328,7 +1328,7 @@ 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 - underneath. It is strongly recommended to call update() on the widget's + underneath. It is strongly recommended to call \l{QWidget::}{update()} on the widget's top-level window after enabling or disabling this attribute. \value WA_ContentsMarginsRespectsSafeArea A QWidget respects the safe @@ -1412,7 +1412,7 @@ On Windows keyboards, this key is mapped to the Windows key. \value Key_Alt - \value Key_AltGr On Windows, when the KeyDown event for this key is + \value Key_AltGr On Windows, when the \c KeyDown event for this key is sent, the Ctrl+Alt modifiers are also set. \value Key_CapsLock \value Key_NumLock @@ -2403,7 +2403,7 @@ \enum Qt::SplitBehaviorFlags \since 5.14 - This enum specifies how the split() functions should behave with + This enum specifies how the QString::split() functions should behave with respect to empty strings. \value KeepEmptyParts If a field is empty, keep it in the result. @@ -2502,7 +2502,7 @@ This enum is used in widgets that can display both plain text and rich text, for example QLabel. It is used for deciding whether a text string should be interpreted as one or the other. This is normally - done by passing one of the enum values to a QTextEdit::setTextFormat() + done by passing one of the enum values to a QStaticText::setTextFormat() function. \value PlainText The text string is interpreted as a plain text @@ -3352,7 +3352,7 @@ This enum describes the possible High-DPI scale factor rounding policies, which decide how non-integer scale factors (such as Windows 150%) are handled. - The active policy is set by calling QGuiApplication::setHighDdpiScaleFactorRoundingPolicy() before + The active policy is set by calling QGuiApplication::setHighDpiScaleFactorRoundingPolicy() before the application object is created. \sa QGuiApplication::setHighDpiScaleFactorRoundingPolicy() diff --git a/src/corelib/global/qsysinfo.cpp b/src/corelib/global/qsysinfo.cpp index b7813f4cbbb..32bd91c460b 100644 --- a/src/corelib/global/qsysinfo.cpp +++ b/src/corelib/global/qsysinfo.cpp @@ -518,7 +518,7 @@ QString QSysInfo::buildCpuArchitecture() Values returned by this function are mostly stable: an attempt will be made to ensure that they stay constant over time and match the values returned - by QSysInfo::builldCpuArchitecture(). However, due to the nature of the + by buildCpuArchitecture(). However, due to the nature of the operating system functions being used, there may be discrepancies. Typical returned values are (note: list not exhaustive):