diff options
author | Martin Smith <msmith@trolltech.com> | 2009-11-13 09:53:56 (GMT) |
---|---|---|
committer | Martin Smith <msmith@trolltech.com> | 2009-11-13 09:54:38 (GMT) |
commit | 115e012adf98b0d4e0329e35fbfda63814695bfe (patch) | |
tree | 0974cf2afb31dec8f99fe22fef0293d499294b33 /src/corelib | |
parent | ece530b88059cdfb166a99bba95ef4b70ce4ec66 (diff) | |
download | Qt-115e012adf98b0d4e0329e35fbfda63814695bfe.zip Qt-115e012adf98b0d4e0329e35fbfda63814695bfe.tar.gz Qt-115e012adf98b0d4e0329e35fbfda63814695bfe.tar.bz2 |
doc: Fixed qdoc according to Bjarne's recommendation.
Someone had changed an operator==() and an operator!=() from
single parameter members to two-parameter friends but hadn't
changed the qdoc comments.
Diffstat (limited to 'src/corelib')
-rw-r--r-- | src/corelib/tools/qscopedpointer.cpp | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/corelib/tools/qscopedpointer.cpp b/src/corelib/tools/qscopedpointer.cpp index a3ca2c3..22e9bdf 100644 --- a/src/corelib/tools/qscopedpointer.cpp +++ b/src/corelib/tools/qscopedpointer.cpp @@ -174,18 +174,20 @@ QT_BEGIN_NAMESPACE */ /*! - \fn bool QScopedPointer::operator==(const QScopedPointer<T, Cleanup> &other) const + \fn bool operator==(const QScopedPointer<T, Cleanup> &lhs, const QScopedPointer<T, Cleanup> &rhs) - Equality operator. Returns true if the scoped pointer \a other - is pointing to the same object as this pointer, otherwise returns false. + Equality operator. Returns true if the scoped pointers + \a lhs and \a rhs are pointing to the same object. + Otherwise returns false. */ /*! - \fn bool QScopedPointer::operator!=(const QScopedPointer<T, Cleanup> &other) const + \fn bool operator!=(const QScopedPointer<T, Cleanup> &lhs, const QScopedPointer<T, Cleanup> &rhs) - Inequality operator. Returns true if the scoped pointer \a other - is not pointing to the same object as this pointer, otherwise returns false. + Inequality operator. Returns true if the scoped pointers + \a lhs and \a rhs are \e not pointing to the same object. + Otherwise returns false. */ /*! |