summaryrefslogtreecommitdiff
path: root/src/corelib
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-06-15 13:41:05 +0200
committerHarald Fernengel <harald@trolltech.com>2009-06-15 13:41:05 +0200
commit8dd4a3bcfb8d6ec011119459f91737f7e48e885a (patch)
treebe98a3fe25f1b0af5da4916224abe58466342f99 /src/corelib
parent4471ca95875e90de98c62072bb018fbd3d4d6ebe (diff)
downloadqt4-tools-8dd4a3bcfb8d6ec011119459f91737f7e48e885a.tar.gz
doc: document operator== and !=
Diffstat (limited to 'src/corelib')
-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 0239575a62..6a1ffb6837 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.