summaryrefslogtreecommitdiffstats
path: root/src/gui/image
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/image')
-rw-r--r--src/gui/image/qimage.cpp4
-rw-r--r--src/gui/image/qpixmap.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/image/qimage.cpp b/src/gui/image/qimage.cpp
index 62d2d0e948..23facb8517 100644
--- a/src/gui/image/qimage.cpp
+++ b/src/gui/image/qimage.cpp
@@ -4058,7 +4058,7 @@ void QImage::setText(const QString &key, const QString &value)
\obsolete
Returns the text recorded for the given \a key in the given \a
- language, or in a default language if \a language is 0.
+ language, or in a default language if \a language is \nullptr.
Use text() instead.
@@ -4085,7 +4085,7 @@ void QImage::setText(const QString &key, const QString &value)
Sets the image text to the given \a text and associate it with the
given \a key. The text is recorded in the specified \a language,
- or in a default language if \a language is 0.
+ or in a default language if \a language is \nullptr.
Use setText() instead.
diff --git a/src/gui/image/qpixmap.cpp b/src/gui/image/qpixmap.cpp
index e914d7697f..adadba2057 100644
--- a/src/gui/image/qpixmap.cpp
+++ b/src/gui/image/qpixmap.cpp
@@ -813,8 +813,8 @@ bool QPixmap::loadFromData(const uchar *buf, uint len, const char *format, Qt::I
0 to obtain small compressed files, 100 for large uncompressed
files, and -1 to use the default settings.
- If \a format is 0, an image format will be chosen from \a fileName's
- suffix.
+ If \a format is \nullptr, an image format will be chosen from
+ \a fileName's suffix.
\sa {QPixmap#Reading and Writing Image Files}{Reading and Writing
Image Files}