From 8db7e476995cfd567e126c3254c68d010e758d79 Mon Sep 17 00:00:00 2001 From: Maks Naumov Date: Sat, 6 Sep 2014 17:43:30 +0300 Subject: QNetworkReply: move "State" enum declaration into QNetworkReplyPrivate Change-Id: If63a029a7a7ef84fc1b4b73f5bab495992ea7e02 Reviewed-by: Peter Hartmann --- src/network/access/qnetworkreply_p.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/network/access/qnetworkreply_p.h') diff --git a/src/network/access/qnetworkreply_p.h b/src/network/access/qnetworkreply_p.h index ad11ef3964..55d3d85592 100644 --- a/src/network/access/qnetworkreply_p.h +++ b/src/network/access/qnetworkreply_p.h @@ -65,6 +65,16 @@ QT_BEGIN_NAMESPACE class QNetworkReplyPrivate: public QIODevicePrivate, public QNetworkHeadersPrivate { public: + enum State { + Idle, // The reply is idle. + Buffering, // The reply is buffering outgoing data. + Working, // The reply is uploading/downloading data. + Finished, // The reply has finished. + Aborted, // The reply has been aborted. + WaitingForSession, // The reply is waiting for the session to open before connecting. + Reconnecting // The reply will reconnect to once roaming has completed. + }; + QNetworkReplyPrivate(); QNetworkRequest request; QUrl url; -- cgit v1.2.3