Fix a few qdoc warnings

Change-Id: I7cc284ec56f02049d43a23c81659db94bfc3ff42
Reviewed-by: Paul Wicking <paul.wicking@qt.io>
This commit is contained in:
Volker Hilsheimer 2020-11-04 22:46:00 +01:00
parent b13bad3ab0
commit b284e01b0f
4 changed files with 6 additions and 5 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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
{