summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-06-15 11:41:05 (GMT)
committerHarald Fernengel <harald@trolltech.com>2009-06-15 11:41:05 (GMT)
commit8dd4a3bcfb8d6ec011119459f91737f7e48e885a (patch)
treebe98a3fe25f1b0af5da4916224abe58466342f99 /src
parent4471ca95875e90de98c62072bb018fbd3d4d6ebe (diff)
downloadQt-8dd4a3bcfb8d6ec011119459f91737f7e48e885a.zip
Qt-8dd4a3bcfb8d6ec011119459f91737f7e48e885a.tar.gz
Qt-8dd4a3bcfb8d6ec011119459f91737f7e48e885a.tar.bz2
doc: document operator== and !=
Diffstat (limited to 'src')
-rw-r--r--src/corelib/tools/qscopedpointer.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/corelib/tools/qscopedpointer.cpp b/src/corelib/tools/qscopedpointer.cpp
index 0239575..6a1ffb6 100644
--- a/src/corelib/tools/qscopedpointer.cpp
+++ b/src/corelib/tools/qscopedpointer.cpp
@@ -134,6 +134,21 @@
*/
/*!
+ \fn bool QScopedPointer::operator==(const QScopedPointer<T> &other) const
+
+ Equality operator. Returns true if the scoped pointer \a other
+ is pointing to the same object as this pointer, otherwise returns false.
+*/
+
+
+/*!
+ \fn bool QScopedPointer::operator!=(const QScopedPointer<T> *other) const
+
+ Inequality operator. Returns true if the scoped pointer \a other
+ is not pointing to the same object as this pointer, otherwise returns false.
+*/
+
+/*!
\fn bool QScopedPointer::isNull() const
Returns \c true if this object is holding a pointer that is \c null.