summaryrefslogtreecommitdiffstats
path: root/src/widgets
diff options
context:
space:
mode:
authorAndre Hartmann <aha_1980@gmx.de>2018-08-01 16:49:29 +0200
committerAndré Hartmann <aha_1980@gmx.de>2018-08-01 17:16:35 +0000
commit2de297f1b76b97146a4ef0a74b996c8fa6154ff8 (patch)
tree64b11dfc8772c364691bec40846178ba31ec6a3c /src/widgets
parent4126de887799c61793bf1f9efc8b7ac7b66c8b32 (diff)
QLabel: Use nullptr in documentation
Change-Id: Idc3a5a40e33ddb4257e46d7b6f3279ca14241911 Reviewed-by: Martin Smith <martin.smith@qt.io>
Diffstat (limited to 'src/widgets')
-rw-r--r--src/widgets/widgets/qlabel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/widgets/widgets/qlabel.cpp b/src/widgets/widgets/qlabel.cpp
index 947da273dd..5d09e14073 100644
--- a/src/widgets/widgets/qlabel.cpp
+++ b/src/widgets/widgets/qlabel.cpp
@@ -189,7 +189,7 @@ QLabelPrivate::~QLabelPrivate()
#ifndef QT_NO_PICTURE
/*!
- Returns the label's picture or 0 if the label doesn't have a
+ Returns the label's picture or nullptr if the label doesn't have a
picture.
*/
@@ -348,7 +348,7 @@ void QLabel::clear()
\property QLabel::pixmap
\brief the label's pixmap
- If no pixmap has been set this will return 0.
+ If no pixmap has been set this will return nullptr.
Setting the pixmap clears any previous content. The buddy
shortcut, if any, is disabled.
@@ -1157,7 +1157,7 @@ void QLabelPrivate::updateLabel()
Alt+P.
To unset a previously set buddy, call this function with \a buddy
- set to 0.
+ set to nullptr.
\sa buddy(), setText(), QShortcut, setAlignment()
*/
@@ -1187,7 +1187,7 @@ void QLabel::setBuddy(QWidget *buddy)
/*!
- Returns this label's buddy, or 0 if no buddy is currently set.
+ Returns this label's buddy, or nullptr if no buddy is currently set.
\sa setBuddy()
*/
@@ -1339,7 +1339,7 @@ void QLabelPrivate::clearContents()
#if QT_CONFIG(movie)
/*!
- Returns a pointer to the label's movie, or 0 if no movie has been
+ Returns a pointer to the label's movie, or nullptr if no movie has been
set.
\sa setMovie()