diff options
author | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-22 16:21:52 +0200 |
---|---|---|
committer | Volker Hilsheimer <volker.hilsheimer@qt.io> | 2020-10-23 00:58:11 +0200 |
commit | a6327d7305ef346228669ef604cb77f4780d7c53 (patch) | |
tree | 625b3013ea7f02a67e084867affe0e5c07b9328b /src/corelib/global | |
parent | 35e4740385cf65f23e72adcb81ecded6d4640013 (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/global')
-rw-r--r-- | src/corelib/global/qnamespace.qdoc | 6 | ||||
-rw-r--r-- | src/corelib/global/qrandom.cpp | 3 |
2 files changed, 3 insertions, 6 deletions
diff --git a/src/corelib/global/qnamespace.qdoc b/src/corelib/global/qnamespace.qdoc index b7191bfd49..082a21bc92 100644 --- a/src/corelib/global/qnamespace.qdoc +++ b/src/corelib/global/qnamespace.qdoc @@ -3356,16 +3356,14 @@ #endif /*! - \fn bool operator==(QKeyCombination lhs, QKeyCombination rhs) noexcept - \relates QKeyCombination + \fn bool QKeyCombination::operator==(QKeyCombination lhs, QKeyCombination rhs) noexcept Returns \c true if \a lhs and \a rhs have the same combination of key and modifiers, and \c false otherwise. */ /*! - \fn bool operator!=(QKeyCombination lhs, QKeyCombination rhs) noexcept - \relates QKeyCombination + \fn bool QKeyCombination::operator!=(QKeyCombination lhs, QKeyCombination rhs) noexcept Returns \c true if \a lhs and \a rhs have different combinations of key and modifiers, otherwise \c false. diff --git a/src/corelib/global/qrandom.cpp b/src/corelib/global/qrandom.cpp index 34cc591724..b2ddfa6157 100644 --- a/src/corelib/global/qrandom.cpp +++ b/src/corelib/global/qrandom.cpp @@ -693,8 +693,7 @@ inline QRandomGenerator::SystemGenerator &QRandomGenerator::SystemGenerator::sel */ /*! - \fn bool operator!=(const QRandomGenerator &rng1, const QRandomGenerator &rng2) - \relates QRandomGenerator + \fn bool QRandomGenerator::operator!=(const QRandomGenerator &rng1, const QRandomGenerator &rng2) Returns true if the two the two engines \a rng1 and \a rng2 are at different states or if one of them is reading from the operating system |