Doc: Add see also links to operator== and operator!=

Add see also link from operator== and operator!=
to matches() to avoid possible confusion.

Fixes: QTBUG-95820
Pick-to: 6.2 5.15
Change-Id: Ica8112da436b57da0d410f8e1f6b71fc6bf0791f
Reviewed-by: Venugopal Shivashankar <Venugopal.Shivashankar@qt.io>
This commit is contained in:
Paul Wicking 2021-08-17 14:08:05 +02:00
parent 3c625b7752
commit c4ac9e74c7

View File

@ -3115,6 +3115,8 @@ bool QUrl::operator <(const QUrl &url) const
/*!
Returns \c true if this URL and the given \a url are equal;
otherwise returns \c false.
\sa matches()
*/
bool QUrl::operator ==(const QUrl &url) const
{
@ -3222,6 +3224,8 @@ bool QUrl::matches(const QUrl &url, FormattingOptions options) const
/*!
Returns \c true if this URL and the given \a url are not equal;
otherwise returns \c false.
\sa matches()
*/
bool QUrl::operator !=(const QUrl &url) const
{