summaryrefslogtreecommitdiffstats
path: root/src/widgets/widgets/qlabel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/widgets/widgets/qlabel.cpp')
-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 518c0275d3..60f88df9af 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()