eric6/WebBrowser/Network/EricSchemeHandler.py

changeset 8218
7c09585bd960
parent 8143
2c730d5fd177
child 8235
78e6d29eb773
equal deleted inserted replaced
8217:385f60c94548 8218:7c09585bd960
34 Constructor 34 Constructor
35 35
36 @param parent reference to the parent object 36 @param parent reference to the parent object
37 @type QObject 37 @type QObject
38 """ 38 """
39 super(EricSchemeHandler, self).__init__(parent) 39 super().__init__(parent)
40 40
41 self.__replies = [] 41 self.__replies = []
42 42
43 def requestStarted(self, job): 43 def requestStarted(self, job):
44 """ 44 """
81 @param job reference to the URL request 81 @param job reference to the URL request
82 @type QWebEngineUrlRequestJob 82 @type QWebEngineUrlRequestJob
83 @param parent reference to the parent object 83 @param parent reference to the parent object
84 @type QObject 84 @type QObject
85 """ 85 """
86 super(EricSchemeReply, self).__init__(parent) 86 super().__init__(parent)
87 87
88 self.__loaded = False 88 self.__loaded = False
89 self.__job = job 89 self.__job = job
90 self.__mutex = QMutex() 90 self.__mutex = QMutex()
91 91
141 141
142 def close(self): 142 def close(self):
143 """ 143 """
144 Public method used to cloase the reply. 144 Public method used to cloase the reply.
145 """ 145 """
146 super(EricSchemeReply, self).close() 146 super().close()
147 self.closed.emit() 147 self.closed.emit()
148 148
149 def __adBlockPage(self): 149 def __adBlockPage(self):
150 """ 150 """
151 Private method to build the AdBlock page. 151 Private method to build the AdBlock page.

eric ide

mercurial