doc: Add missing class qualifiers to uses of FormatRange

struct FormatRange is contained in QTextLayout, so uses of it as
parameters in friend functions of struct FormatRange must be
qualified with QTextLayout::

Change-Id: I6d3ad3020240bff3b948fb571971694b44708c54
Reviewed-by: Topi Reiniö <topi.reinio@qt.io>
This commit is contained in:
Martin Smith 2018-01-10 14:10:04 +01:00
parent b290b3336e
commit a0eb5c3b32

View File

@ -93,14 +93,14 @@ QT_BEGIN_NAMESPACE
Specifies the format to apply.
*/
/*! \fn bool operator==(const FormatRange &lhs, const FormatRange &rhs)
/*! \fn bool operator==(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)
\relates QTextLayout::FormatRange
Returns true if the \c {start}, \c {length}, and \c {format} fields
in \a lhs and \a rhs contain the same values respectively.
*/
/*! \fn bool operator!=(const FormatRange &lhs, const FormatRange &rhs)
/*! \fn bool operator!=(const QTextLayout::FormatRange &lhs, const QTextLayout::FormatRange &rhs)
\relates QTextLayout::FormatRange
Returns true if any of the \c {start}, \c {length}, or \c {format} fields