Helpviewer/Network/NetworkProtocolUnknownErrorReply.py

changeset 1131
7781e396c903
parent 1112
8a7d1b9d18db
child 1509
c0b5e693b0eb
equal deleted inserted replaced
1130:3e9f0330f833 1131:7781e396c903
20 Constructor 20 Constructor
21 21
22 @param protocol protocol name (string) 22 @param protocol protocol name (string)
23 @param parent reference to the parent object (QObject) 23 @param parent reference to the parent object (QObject)
24 """ 24 """
25 QNetworkReply.__init__(self, parent) 25 super().__init__(parent)
26 self.setError(QNetworkReply.ProtocolUnknownError, 26 self.setError(QNetworkReply.ProtocolUnknownError,
27 self.trUtf8("Protocol '{0}' not supported.").format(protocol)) 27 self.trUtf8("Protocol '{0}' not supported.").format(protocol))
28 QTimer.singleShot(0, self.__fireSignals) 28 QTimer.singleShot(0, self.__fireSignals)
29 29
30 def __fireSignals(self): 30 def __fireSignals(self):

eric ide

mercurial