summaryrefslogtreecommitdiffstats
path: root/src/network/access/qnetworkreply.h
diff options
context:
space:
mode:
authorMarkus Goetz <Markus.Goetz@nokia.com>2009-07-14 11:05:11 (GMT)
committerMarkus Goetz <Markus.Goetz@nokia.com>2009-07-14 11:33:49 (GMT)
commitec11bd70c78cbdb07b399b058fabdb16d66072b0 (patch)
treea29b7061a0624df7539750dc2e9183c5068912f1 /src/network/access/qnetworkreply.h
parenta2bad25383e565233a0c2527e04cef9f6b577f14 (diff)
downloadQt-ec11bd70c78cbdb07b399b058fabdb16d66072b0.zip
Qt-ec11bd70c78cbdb07b399b058fabdb16d66072b0.tar.gz
Qt-ec11bd70c78cbdb07b399b058fabdb16d66072b0.tar.bz2
QNetworkReply: Add isFinished() method
The isFinished() method will return true if the reply has successfully finished or has been aborted. Task-number: 257349 Reviewed-by: Thiago Macieira
Diffstat (limited to 'src/network/access/qnetworkreply.h')
-rw-r--r--src/network/access/qnetworkreply.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network/access/qnetworkreply.h b/src/network/access/qnetworkreply.h
index 7cb082f..30e89f1 100644
--- a/src/network/access/qnetworkreply.h
+++ b/src/network/access/qnetworkreply.h
@@ -116,6 +116,8 @@ public:
QNetworkAccessManager::Operation operation() const;
QNetworkRequest request() const;
NetworkError error() const;
+ bool isFinished() const;
+ bool isRunning() const;
QUrl url() const;
// "cooked" headers