diff --git a/src/gui/text/qfont.cpp b/src/gui/text/qfont.cpp index 695a46d050..53344418a0 100644 --- a/src/gui/text/qfont.cpp +++ b/src/gui/text/qfont.cpp @@ -1152,8 +1152,8 @@ QFont::Weight QFont::weight() const /*! \obsolete Use setWeight() instead. - Sets the weight of the font to \a weight using the legacy font weight - scale of Qt 5 and previous versions. + Sets the weight of the font to \a legacyWeight using the legacy font + weight scale of Qt 5 and previous versions. Since Qt 6, the OpenType standard's font weight scale is used instead of a non-standard scale. This requires conversion from values that diff --git a/src/gui/text/qtextformat.cpp b/src/gui/text/qtextformat.cpp index d47bbfc132..1413b1ab29 100644 --- a/src/gui/text/qtextformat.cpp +++ b/src/gui/text/qtextformat.cpp @@ -547,7 +547,6 @@ Q_GUI_EXPORT QDataStream &operator>>(QDataStream &stream, QTextFormat &fmt) \value BlockFormat The object formats a text block \value CharFormat The object formats a single character \value ListFormat The object formats a list - \omitvalue TableFormat \omit Unused Value, a table's FormatType is FrameFormat. \endomit \value FrameFormat The object formats a frame \value UserFormat @@ -653,6 +652,7 @@ Q_GUI_EXPORT QDataStream &operator>>(QDataStream &stream, QTextFormat &fmt) \value AnchorName \omitvalue OldFontLetterSpacingType \omitvalue OldFontStretch + \omitvalue OldTextUnderlineColor \value ObjectType List properties diff --git a/src/testlib/qtestcase.qdoc b/src/testlib/qtestcase.qdoc index 7db38eee1b..fa71729e56 100644 --- a/src/testlib/qtestcase.qdoc +++ b/src/testlib/qtestcase.qdoc @@ -1260,7 +1260,8 @@ \fn QPointingDevice * QTest::createTouchDevice(QInputDevice::DeviceType devType = QInputDevice::DeviceType::TouchScreen, QInputDevice::Capabilities caps = QInputDevice::Capability::Position) \since 5.8 - Creates a dummy touch device of type \a devType for simulation of touch events. + Creates a dummy touch device of type \a devType with capabilities \a caps for + simulation of touch events. The touch device will be registered with the QPA window system interface, and deleted automatically when the QCoreApplication is deleted. So you diff --git a/src/widgets/dialogs/qwizard.cpp b/src/widgets/dialogs/qwizard.cpp index f3dd4d5051..5d267491fb 100644 --- a/src/widgets/dialogs/qwizard.cpp +++ b/src/widgets/dialogs/qwizard.cpp @@ -2384,7 +2384,7 @@ QWizardPage *QWizard::page(int theid) const Pressing \uicontrol Back marks the current page as "unvisited" again. - \sa visitedPages() + \sa visitedIds() */ bool QWizard::hasVisitedPage(int theid) const {