30 """ |
30 """ |
31 Private method to send some signals to end the connection. |
31 Private method to send some signals to end the connection. |
32 """ |
32 """ |
33 self.emit(SIGNAL("error(QNetworkReply::NetworkError)"), |
33 self.emit(SIGNAL("error(QNetworkReply::NetworkError)"), |
34 QNetworkReply.ProtocolUnknownError) |
34 QNetworkReply.ProtocolUnknownError) |
35 self.emit(SIGNAL("finished()")) |
35 self.finished[()].emit() |
36 |
36 |
37 def abort(self): |
37 def abort(self): |
38 """ |
38 """ |
39 Public slot to abort the operation. |
39 Public slot to abort the operation. |
40 """ |
40 """ |