summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkreply.cpp
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-07-24 08:42:15 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-07-24 08:46:03 (GMT)
commitf90aba898074dbd1edc07112b63b8816bbc5855c (patch)
tree00e935bef906fee018fa8f3ad43ab5e147572e4b /src/network/access/qnetworkreply.cpp
parent9dadc219814cd9baaa4be4cee6ee2b3cf7df4a19 (diff)
downloadQt-f90aba898074dbd1edc07112b63b8816bbc5855c.zip
Qt-f90aba898074dbd1edc07112b63b8816bbc5855c.tar.gz
Qt-f90aba898074dbd1edc07112b63b8816bbc5855c.tar.bz2
QNAM: Clarify docs about when a QNetworkReply can be deleted
Task-number: 258644 Reviewed-by: Thiago
Diffstat (limited to 'src/network/access/qnetworkreply.cpp')
-rw-r--r--src/network/access/qnetworkreply.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/network/access/qnetworkreply.cpp b/src/network/access/qnetworkreply.cpp
index c655918..a7a77cb 100644
--- a/src/network/access/qnetworkreply.cpp
+++ b/src/network/access/qnetworkreply.cpp
@@ -87,6 +87,9 @@ QNetworkReplyPrivate::QNetworkReplyPrivate()
indicates the progress of the upload for operations that have such
content.
+ \note Do not delete the object in the slot connected to the
+ error() or finished() signal. Use deleteLater().
+
\sa QNetworkRequest, QNetworkAccessManager
*/
@@ -228,6 +231,9 @@ QNetworkReplyPrivate::QNetworkReplyPrivate()
QNetworkAccessManager::finished() where that signal's reply
parameter is this object.
+ \note Do not delete the object in the slot connected to this
+ signal. Use deleteLater().
+
\sa QNetworkAccessManager::finished()
*/
@@ -242,6 +248,9 @@ QNetworkReplyPrivate::QNetworkReplyPrivate()
detected. Call errorString() to obtain a textual representation of
the error condition.
+ \note Do not delete the object in the slot connected to this
+ signal. Use deleteLater().
+
\sa error(), errorString()
*/