summaryrefslogtreecommitdiffstats
path: root/src/network
diff options
context:
space:
mode:
Diffstat (limited to 'src/network')
-rw-r--r--src/network/access/qftp.cpp2
-rw-r--r--src/network/access/qnetworkrequest.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/network/access/qftp.cpp b/src/network/access/qftp.cpp
index feece4ebaf..d33355c470 100644
--- a/src/network/access/qftp.cpp
+++ b/src/network/access/qftp.cpp
@@ -2154,7 +2154,7 @@ QFtp::Command QFtp::currentCommand() const
\internal
Returns the QIODevice pointer that is used by the FTP command to read data
from or store data to. If there is no current FTP command being executed or
- if the command does not use an IO device, this function returns 0.
+ if the command does not use an IO device, this function returns \nullptr.
This function can be used to delete the QIODevice in the slot connected to
the commandFinished() signal.
diff --git a/src/network/access/qnetworkrequest.cpp b/src/network/access/qnetworkrequest.cpp
index 689eecfbb9..e4c46c3183 100644
--- a/src/network/access/qnetworkrequest.cpp
+++ b/src/network/access/qnetworkrequest.cpp
@@ -714,7 +714,7 @@ void QNetworkRequest::setOriginatingObject(QObject *object)
\since 4.6
Returns a reference to the object that initiated this
- network request; returns 0 if not set or the object has
+ network request; returns \nullptr if not set or the object has
been destroyed.
\sa setOriginatingObject()