src/corelib/tools/qscopedpointer.cpp
changeset 3 41300fa6a67c
parent 0 1918ee327afb
child 4 3b1da2848fc7
child 7 f7bc934e204c
equal deleted inserted replaced
2:56cd8111b7f7 3:41300fa6a67c
   172 
   172 
   173     \sa isNull()
   173     \sa isNull()
   174 */
   174 */
   175 
   175 
   176 /*!
   176 /*!
   177     \fn bool QScopedPointer::operator==(const QScopedPointer<T, Cleanup> &other) const
   177     \fn bool operator==(const QScopedPointer<T, Cleanup> &lhs, const QScopedPointer<T, Cleanup> &rhs)
   178 
   178 
   179     Equality operator. Returns true if the scoped pointer \a other
   179     Equality operator. Returns true if the scoped pointers
   180     is pointing to the same object as this pointer, otherwise returns false.
   180     \a lhs and \a rhs are pointing to the same object.
   181 */
   181     Otherwise returns false.
   182 
   182 */
   183 
   183 
   184 /*!
   184 
   185     \fn bool QScopedPointer::operator!=(const QScopedPointer<T, Cleanup> &other) const
   185 /*!
   186 
   186     \fn bool operator!=(const QScopedPointer<T, Cleanup> &lhs, const QScopedPointer<T, Cleanup> &rhs)
   187     Inequality operator. Returns true if the scoped pointer \a other
   187 
   188     is not pointing to the same object as this pointer, otherwise returns false.
   188     Inequality operator. Returns true if the scoped pointers
       
   189     \a lhs and \a rhs are \e not pointing to the same object.
       
   190     Otherwise returns false.
   189 */
   191 */
   190 
   192 
   191 /*!
   193 /*!
   192     \fn bool QScopedPointer::isNull() const
   194     \fn bool QScopedPointer::isNull() const
   193 
   195