Helpviewer/Network/FollowRedirectReply.py

changeset 1955
9e6da33c1c10
parent 1953
26aa6fd94dc2
child 2302
f29e9405c851
equal deleted inserted replaced
1953:26aa6fd94dc2 1955:9e6da33c1c10
64 64
65 @return error code (QNetworkReply.NetworkError) 65 @return error code (QNetworkReply.NetworkError)
66 """ 66 """
67 return self.__reply.error() 67 return self.__reply.error()
68 68
69 def errorString(self):
70 """
71 Public method to get the error message.
72
73 @return error message (string)
74 """
75 return self.__reply.errorString()
76
69 def readAll(self): 77 def readAll(self):
70 """ 78 """
71 Public method to read all received data. 79 Public method to read all received data.
72 80
73 @return received raw data (QByteArray) 81 @return received raw data (QByteArray)
74 """ 82 """
75 return self.__reply.readAll() 83 return self.__reply.readAll()
84
85 def close(self):
86 """
87 Public method to close the data stream.
88 """
89 self.__reply.close()
76 90
77 def __replyFinished(self): 91 def __replyFinished(self):
78 """ 92 """
79 Private slot handling the receipt of the requested data. 93 Private slot handling the receipt of the requested data.
80 """ 94 """

eric ide

mercurial