QLabel: Use nullptr in documentation
Change-Id: Idc3a5a40e33ddb4257e46d7b6f3279ca14241911 Reviewed-by: Martin Smith <martin.smith@qt.io>
This commit is contained in:
parent
4126de8877
commit
2de297f1b7
@ -189,7 +189,7 @@ QLabelPrivate::~QLabelPrivate()
|
|||||||
|
|
||||||
#ifndef QT_NO_PICTURE
|
#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.
|
picture.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@ -348,7 +348,7 @@ void QLabel::clear()
|
|||||||
\property QLabel::pixmap
|
\property QLabel::pixmap
|
||||||
\brief the label's 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
|
Setting the pixmap clears any previous content. The buddy
|
||||||
shortcut, if any, is disabled.
|
shortcut, if any, is disabled.
|
||||||
@ -1157,7 +1157,7 @@ void QLabelPrivate::updateLabel()
|
|||||||
Alt+P.
|
Alt+P.
|
||||||
|
|
||||||
To unset a previously set buddy, call this function with \a buddy
|
To unset a previously set buddy, call this function with \a buddy
|
||||||
set to 0.
|
set to nullptr.
|
||||||
|
|
||||||
\sa buddy(), setText(), QShortcut, setAlignment()
|
\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()
|
\sa setBuddy()
|
||||||
*/
|
*/
|
||||||
@ -1339,7 +1339,7 @@ void QLabelPrivate::clearContents()
|
|||||||
#if QT_CONFIG(movie)
|
#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.
|
set.
|
||||||
|
|
||||||
\sa setMovie()
|
\sa setMovie()
|
||||||
|
Loading…
Reference in New Issue
Block a user