summaryrefslogtreecommitdiffstats
path: root/src/corelib/text/qstring.cpp
diff options
context:
space:
mode:
authorVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-22 16:21:52 +0200
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2020-10-23 00:58:11 +0200
commita6327d7305ef346228669ef604cb77f4780d7c53 (patch)
tree625b3013ea7f02a67e084867affe0e5c07b9328b /src/corelib/text/qstring.cpp
parent35e4740385cf65f23e72adcb81ecded6d4640013 (diff)
Fix documentation for hidden friend operators
At least for qdoc, hidden friends are class members. Change-Id: I6eaa21565937cd49c0905ee47b8b82b0c1765bc1 Reviewed-by: Topi Reiniƶ <topi.reinio@qt.io> Reviewed-by: Paul Wicking <paul.wicking@qt.io>
Diffstat (limited to 'src/corelib/text/qstring.cpp')
-rw-r--r--src/corelib/text/qstring.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/corelib/text/qstring.cpp b/src/corelib/text/qstring.cpp
index b583d0a108..b196c8bd57 100644
--- a/src/corelib/text/qstring.cpp
+++ b/src/corelib/text/qstring.cpp
@@ -3654,9 +3654,7 @@ bool QString::operator<(QLatin1String other) const noexcept
\sa QT_NO_CAST_FROM_ASCII
*/
-/*! \fn bool operator<=(const QString &s1, const QString &s2)
-
- \relates QString
+/*! \fn bool QString::operator<=(const QString &s1, const QString &s2)
Returns \c true if string \a s1 is lexically less than or equal to
string \a s2; otherwise returns \c false.
@@ -3703,8 +3701,7 @@ bool QString::operator<(QLatin1String other) const noexcept
\sa QT_NO_CAST_FROM_ASCII
*/
-/*! \fn bool operator>(const QString &s1, const QString &s2)
- \relates QString
+/*! \fn bool QString::operator>(const QString &s1, const QString &s2)
Returns \c true if string \a s1 is lexically greater than string \a s2;
otherwise returns \c false.
@@ -3754,8 +3751,7 @@ bool QString::operator>(QLatin1String other) const noexcept
\sa QT_NO_CAST_FROM_ASCII
*/
-/*! \fn bool operator>=(const QString &s1, const QString &s2)
- \relates QString
+/*! \fn bool QString::operator>=(const QString &s1, const QString &s2)
Returns \c true if string \a s1 is lexically greater than or equal to
string \a s2; otherwise returns \c false.
@@ -3802,8 +3798,7 @@ bool QString::operator>(QLatin1String other) const noexcept
\sa QT_NO_CAST_FROM_ASCII
*/
-/*! \fn bool operator!=(const QString &s1, const QString &s2)
- \relates QString
+/*! \fn bool QString::operator!=(const QString &s1, const QString &s2)
Returns \c true if string \a s1 is not equal to string \a s2;
otherwise returns \c false.