Helpviewer/Network/NetworkProtocolUnknownErrorReply.py

changeset 168
3383117f894b
parent 96
9624a110667d
child 464
a2b1d1770ef0
child 792
a13346916170
equal deleted inserted replaced
167:7508e44f4853 168:3383117f894b
19 Constructor 19 Constructor
20 20
21 @param protocol protocol name (string) 21 @param protocol protocol name (string)
22 @param parent reference to the parent object (QObject) 22 @param parent reference to the parent object (QObject)
23 """ 23 """
24 QNetworkReply.__init__(self) 24 QNetworkReply.__init__(self, parent)
25 self.setError(QNetworkReply.ProtocolUnknownError, 25 self.setError(QNetworkReply.ProtocolUnknownError,
26 self.trUtf8("Protocol '{0}' not supported.").format(protocol)) 26 self.trUtf8("Protocol '{0}' not supported.").format(protocol))
27 QTimer.singleShot(0, self.__fireSignals) 27 QTimer.singleShot(0, self.__fireSignals)
28 28
29 def __fireSignals(self): 29 def __fireSignals(self):

eric ide

mercurial