20 Constructor |
22 Constructor |
21 |
23 |
22 @param protocol protocol name (string) |
24 @param protocol protocol name (string) |
23 @param parent reference to the parent object (QObject) |
25 @param parent reference to the parent object (QObject) |
24 """ |
26 """ |
25 super().__init__(parent) |
27 super(NetworkProtocolUnknownErrorReply, self).__init__(parent) |
26 self.setError(QNetworkReply.ProtocolUnknownError, |
28 self.setError(QNetworkReply.ProtocolUnknownError, |
27 self.trUtf8("Protocol '{0}' not supported.").format(protocol)) |
29 self.trUtf8("Protocol '{0}' not supported.").format(protocol)) |
28 QTimer.singleShot(0, self.__fireSignals) |
30 QTimer.singleShot(0, self.__fireSignals) |
29 |
31 |
30 def __fireSignals(self): |
32 def __fireSignals(self): |