8217:385f60c94548 | 8218:7c09585bd960 |
---|---|
65 @param engine reference to the help engine | 65 @param engine reference to the help engine |
66 @type QHelpEngine | 66 @type QHelpEngine |
67 @param parent reference to the parent object | 67 @param parent reference to the parent object |
68 @type QObject | 68 @type QObject |
69 """ | 69 """ |
70 super(QtHelpSchemeHandler, self).__init__(parent) | 70 super().__init__(parent) |
71 | 71 |
72 self.__engine = engine | 72 self.__engine = engine |
73 | 73 |
74 self.__replies = [] | 74 self.__replies = [] |
75 | 75 |
117 @param engine reference to the help engine | 117 @param engine reference to the help engine |
118 @type QHelpEngine | 118 @type QHelpEngine |
119 @param parent reference to the parent object | 119 @param parent reference to the parent object |
120 @type QObject | 120 @type QObject |
121 """ | 121 """ |
122 super(QtHelpSchemeReply, self).__init__(parent) | 122 super().__init__(parent) |
123 | 123 |
124 self.__job = job | 124 self.__job = job |
125 self.__engine = engine | 125 self.__engine = engine |
126 self.__mutex = QMutex() | 126 self.__mutex = QMutex() |
127 | 127 |
199 | 199 |
200 def close(self): | 200 def close(self): |
201 """ | 201 """ |
202 Public method used to cloase the reply. | 202 Public method used to cloase the reply. |
203 """ | 203 """ |
204 super(QtHelpSchemeReply, self).close() | 204 super().close() |
205 self.closed.emit() | 205 self.closed.emit() |
206 | 206 |
207 def __mimeFromUrl(self, url): | 207 def __mimeFromUrl(self, url): |
208 """ | 208 """ |
209 Private method to guess the mime type given an URL. | 209 Private method to guess the mime type given an URL. |