12 |
12 |
13 class UrlInterceptor(QObject): |
13 class UrlInterceptor(QObject): |
14 """ |
14 """ |
15 Class implementing an URL interceptor base class. |
15 Class implementing an URL interceptor base class. |
16 """ |
16 """ |
|
17 |
17 def __init__(self, parent=None): |
18 def __init__(self, parent=None): |
18 """ |
19 """ |
19 Constructor |
20 Constructor |
20 |
21 |
21 @param parent referemce to the parent object |
22 @param parent referemce to the parent object |
22 @type QObject |
23 @type QObject |
23 """ |
24 """ |
24 super().__init__(parent) |
25 super().__init__(parent) |
25 |
26 |
26 def interceptRequest(self, info): |
27 def interceptRequest(self, info): |
27 """ |
28 """ |
28 Public method to intercept a request. |
29 Public method to intercept a request. |
29 |
30 |
30 @param info request info object |
31 @param info request info object |
31 @type QWebEngineUrlRequestInfo |
32 @type QWebEngineUrlRequestInfo |
32 """ |
33 """ |
33 pass |
34 pass |