56 </dl> |
56 </dl> |
57 <h3>Derived from</h3> |
57 <h3>Derived from</h3> |
58 QObject |
58 QObject |
59 <h3>Class Attributes</h3> |
59 <h3>Class Attributes</h3> |
60 <table> |
60 <table> |
61 <tr><td>None</td></tr> |
61 <tr><td>enabled</td></tr> |
62 </table> |
62 </table> |
63 <h3>Class Methods</h3> |
63 <h3>Class Methods</h3> |
64 <table> |
64 <table> |
65 <tr> |
65 <tr> |
66 <td><a href="#SafeBrowsingManager.getIgnoreSchemes">getIgnoreSchemes</a></td> |
66 <td><a href="#SafeBrowsingManager.getIgnoreSchemes">getIgnoreSchemes</a></td> |
67 <td>Class method to get the schemes not to be checked.</td> |
67 <td>Class method to get the schemes not to be checked.</td> |
|
68 </tr><tr> |
|
69 <td><a href="#SafeBrowsingManager.isEnabled">isEnabled</a></td> |
|
70 <td>Class method to check, if safe browsing is enabled.</td> |
68 </tr> |
71 </tr> |
69 </table> |
72 </table> |
70 <h3>Methods</h3> |
73 <h3>Methods</h3> |
71 <table> |
74 <table> |
72 <tr> |
75 <tr> |
119 <td>Public method to get threat messages for the given threats.</td> |
122 <td>Public method to get threat messages for the given threats.</td> |
120 </tr><tr> |
123 </tr><tr> |
121 <td><a href="#SafeBrowsingManager.getThreatType">getThreatType</a></td> |
124 <td><a href="#SafeBrowsingManager.getThreatType">getThreatType</a></td> |
122 <td>Public method to get a display string for a given threat type.</td> |
125 <td>Public method to get a display string for a given threat type.</td> |
123 </tr><tr> |
126 </tr><tr> |
124 <td><a href="#SafeBrowsingManager.isEnabled">isEnabled</a></td> |
|
125 <td>Public method to check, if safe browsing is enabled.</td> |
|
126 </tr><tr> |
|
127 <td><a href="#SafeBrowsingManager.isUpdatingThreatLists">isUpdatingThreatLists</a></td> |
127 <td><a href="#SafeBrowsingManager.isUpdatingThreatLists">isUpdatingThreatLists</a></td> |
128 <td>Public method to check, if we are in the process of updating the threat lists.</td> |
128 <td>Public method to check, if we are in the process of updating the threat lists.</td> |
129 </tr><tr> |
129 </tr><tr> |
130 <td><a href="#SafeBrowsingManager.lookupUrl">lookupUrl</a></td> |
130 <td><a href="#SafeBrowsingManager.lookupUrl">lookupUrl</a></td> |
131 <td>Public method to lookup an URL.</td> |
131 <td>Public method to lookup an URL.</td> |
153 </dd> |
153 </dd> |
154 </dl><dl> |
154 </dl><dl> |
155 <dt>Return Type:</dt> |
155 <dt>Return Type:</dt> |
156 <dd> |
156 <dd> |
157 list of str |
157 list of str |
|
158 </dd> |
|
159 </dl><a NAME="SafeBrowsingManager.isEnabled" ID="SafeBrowsingManager.isEnabled"></a> |
|
160 <h4>SafeBrowsingManager.isEnabled (class method)</h4> |
|
161 <b>isEnabled</b>(<i></i>) |
|
162 <p> |
|
163 Class method to check, if safe browsing is enabled. |
|
164 </p><dl> |
|
165 <dt>Returns:</dt> |
|
166 <dd> |
|
167 flag indicating the enabled state |
|
168 </dd> |
|
169 </dl><dl> |
|
170 <dt>Return Type:</dt> |
|
171 <dd> |
|
172 bool |
158 </dd> |
173 </dd> |
159 </dl><a NAME="SafeBrowsingManager.__init__" ID="SafeBrowsingManager.__init__"></a> |
174 </dl><a NAME="SafeBrowsingManager.__init__" ID="SafeBrowsingManager.__init__"></a> |
160 <h4>SafeBrowsingManager (Constructor)</h4> |
175 <h4>SafeBrowsingManager (Constructor)</h4> |
161 <b>SafeBrowsingManager</b>(<i></i>) |
176 <b>SafeBrowsingManager</b>(<i></i>) |
162 <p> |
177 <p> |
378 </dl><dl> |
393 </dl><dl> |
379 <dt>Return Type:</dt> |
394 <dt>Return Type:</dt> |
380 <dd> |
395 <dd> |
381 str |
396 str |
382 </dd> |
397 </dd> |
383 </dl><a NAME="SafeBrowsingManager.isEnabled" ID="SafeBrowsingManager.isEnabled"></a> |
|
384 <h4>SafeBrowsingManager.isEnabled</h4> |
|
385 <b>isEnabled</b>(<i></i>) |
|
386 <p> |
|
387 Public method to check, if safe browsing is enabled. |
|
388 </p><dl> |
|
389 <dt>Returns:</dt> |
|
390 <dd> |
|
391 flag indicating the enabled state |
|
392 </dd> |
|
393 </dl><dl> |
|
394 <dt>Return Type:</dt> |
|
395 <dd> |
|
396 bool |
|
397 </dd> |
|
398 </dl><a NAME="SafeBrowsingManager.isUpdatingThreatLists" ID="SafeBrowsingManager.isUpdatingThreatLists"></a> |
398 </dl><a NAME="SafeBrowsingManager.isUpdatingThreatLists" ID="SafeBrowsingManager.isUpdatingThreatLists"></a> |
399 <h4>SafeBrowsingManager.isUpdatingThreatLists</h4> |
399 <h4>SafeBrowsingManager.isUpdatingThreatLists</h4> |
400 <b>isUpdatingThreatLists</b>(<i></i>) |
400 <b>isUpdatingThreatLists</b>(<i></i>) |
401 <p> |
401 <p> |
402 Public method to check, if we are in the process of updating the |
402 Public method to check, if we are in the process of updating the |