summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qscopedpointer.cpp
diff options
context:
space:
mode:
authorHarald Fernengel <harald@trolltech.com>2009-08-10 13:11:39 (GMT)
committerHarald Fernengel <harald@trolltech.com>2009-08-10 13:55:26 (GMT)
commitd62491f595d59a63d9c493a223573e9af2306214 (patch)
tree4f2adf854344535e88a9bd3a65f27e41b7ad2af7 /src/corelib/tools/qscopedpointer.cpp
parent34dd8163f4fcd16be5677fc94ce960cc464991d5 (diff)
downloadQt-d62491f595d59a63d9c493a223573e9af2306214.zip
Qt-d62491f595d59a63d9c493a223573e9af2306214.tar.gz
Qt-d62491f595d59a63d9c493a223573e9af2306214.tar.bz2
add operator! to QScopedPointer
Diffstat (limited to 'src/corelib/tools/qscopedpointer.cpp')
-rw-r--r--src/corelib/tools/qscopedpointer.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/corelib/tools/qscopedpointer.cpp b/src/corelib/tools/qscopedpointer.cpp
index 06f9e6f..5b8991e 100644
--- a/src/corelib/tools/qscopedpointer.cpp
+++ b/src/corelib/tools/qscopedpointer.cpp
@@ -207,4 +207,12 @@ QT_BEGIN_NAMESPACE
Callers of this function take ownership of the pointer.
*/
+/*! \fn bool QScopedPointer::operator!() const
+
+ Returns \c true if the pointer referenced by this object is \c null, otherwise
+ returns \c false.
+
+ \sa isNull()
+*/
+
QT_END_NAMESPACE