89 <td>Public method to get the element hiding rules.</td> |
89 <td>Public method to get the element hiding rules.</td> |
90 </tr><tr> |
90 </tr><tr> |
91 <td><a href="#AdBlockManager.elementHidingRulesForDomain">elementHidingRulesForDomain</a></td> |
91 <td><a href="#AdBlockManager.elementHidingRulesForDomain">elementHidingRulesForDomain</a></td> |
92 <td>Public method to get the element hiding rules for a domain.</td> |
92 <td>Public method to get the element hiding rules for a domain.</td> |
93 </tr><tr> |
93 </tr><tr> |
|
94 <td><a href="#AdBlockManager.getRequiresSubscriptions">getRequiresSubscriptions</a></td> |
|
95 <td>Public method to get a list of subscriptions, that require the given one.</td> |
|
96 </tr><tr> |
94 <td><a href="#AdBlockManager.isEnabled">isEnabled</a></td> |
97 <td><a href="#AdBlockManager.isEnabled">isEnabled</a></td> |
95 <td>Public method to check, if blocking ads is enabled.</td> |
98 <td>Public method to check, if blocking ads is enabled.</td> |
96 </tr><tr> |
99 </tr><tr> |
97 <td><a href="#AdBlockManager.load">load</a></td> |
100 <td><a href="#AdBlockManager.load">load</a></td> |
98 <td>Public method to load the AdBlock subscriptions.</td> |
101 <td>Public method to load the AdBlock subscriptions.</td> |
99 </tr><tr> |
102 </tr><tr> |
|
103 <td><a href="#AdBlockManager.loadRequiredSubscription">loadRequiredSubscription</a></td> |
|
104 <td>Public method to load a subscription required by another one.</td> |
|
105 </tr><tr> |
100 <td><a href="#AdBlockManager.network">network</a></td> |
106 <td><a href="#AdBlockManager.network">network</a></td> |
101 <td>Public method to get a reference to the network block object.</td> |
107 <td>Public method to get a reference to the network block object.</td> |
102 </tr><tr> |
108 </tr><tr> |
103 <td><a href="#AdBlockManager.page">page</a></td> |
109 <td><a href="#AdBlockManager.page">page</a></td> |
104 <td>Public method to get a reference to the page block object.</td> |
110 <td>Public method to get a reference to the page block object.</td> |
116 <td>Public slot to show the AdBlock subscription management dialog.</td> |
122 <td>Public slot to show the AdBlock subscription management dialog.</td> |
117 </tr><tr> |
123 </tr><tr> |
118 <td><a href="#AdBlockManager.showRule">showRule</a></td> |
124 <td><a href="#AdBlockManager.showRule">showRule</a></td> |
119 <td>Public slot to show an AdBlock rule.</td> |
125 <td>Public slot to show an AdBlock rule.</td> |
120 </tr><tr> |
126 </tr><tr> |
|
127 <td><a href="#AdBlockManager.subscription">subscription</a></td> |
|
128 <td>Public method to get a subscription based on it's location.</td> |
|
129 </tr><tr> |
121 <td><a href="#AdBlockManager.subscriptions">subscriptions</a></td> |
130 <td><a href="#AdBlockManager.subscriptions">subscriptions</a></td> |
122 <td>Public method to get all subscriptions.</td> |
131 <td>Public method to get all subscriptions.</td> |
|
132 </tr><tr> |
|
133 <td><a href="#AdBlockManager.updateAllSubscriptions">updateAllSubscriptions</a></td> |
|
134 <td>Public method to update all subscriptions.</td> |
123 </tr> |
135 </tr> |
124 </table> |
136 </table> |
125 <h3>Static Methods</h3> |
137 <h3>Static Methods</h3> |
126 <table> |
138 <table> |
127 <tr><td>None</td></tr> |
139 <tr><td>None</td></tr> |
209 </dl><dl> |
221 </dl><dl> |
210 <dt>Returns:</dt> |
222 <dt>Returns:</dt> |
211 <dd> |
223 <dd> |
212 element hiding rules (string) |
224 element hiding rules (string) |
213 </dd> |
225 </dd> |
|
226 </dl><a NAME="AdBlockManager.getRequiresSubscriptions" ID="AdBlockManager.getRequiresSubscriptions"></a> |
|
227 <h4>AdBlockManager.getRequiresSubscriptions</h4> |
|
228 <b>getRequiresSubscriptions</b>(<i>subscription</i>) |
|
229 <p> |
|
230 Public method to get a list of subscriptions, that require the given one. |
|
231 </p><dl> |
|
232 <dt><i>subscription</i></dt> |
|
233 <dd> |
|
234 subscription to check for (AdBlockSubscription) |
|
235 </dd> |
|
236 </dl><dl> |
|
237 <dt>Returns:</dt> |
|
238 <dd> |
|
239 list of subscription requiring the given one (list of AdBlockSubscription) |
|
240 </dd> |
214 </dl><a NAME="AdBlockManager.isEnabled" ID="AdBlockManager.isEnabled"></a> |
241 </dl><a NAME="AdBlockManager.isEnabled" ID="AdBlockManager.isEnabled"></a> |
215 <h4>AdBlockManager.isEnabled</h4> |
242 <h4>AdBlockManager.isEnabled</h4> |
216 <b>isEnabled</b>(<i></i>) |
243 <b>isEnabled</b>(<i></i>) |
217 <p> |
244 <p> |
218 Public method to check, if blocking ads is enabled. |
245 Public method to check, if blocking ads is enabled. |
224 </dl><a NAME="AdBlockManager.load" ID="AdBlockManager.load"></a> |
251 </dl><a NAME="AdBlockManager.load" ID="AdBlockManager.load"></a> |
225 <h4>AdBlockManager.load</h4> |
252 <h4>AdBlockManager.load</h4> |
226 <b>load</b>(<i></i>) |
253 <b>load</b>(<i></i>) |
227 <p> |
254 <p> |
228 Public method to load the AdBlock subscriptions. |
255 Public method to load the AdBlock subscriptions. |
229 </p><a NAME="AdBlockManager.network" ID="AdBlockManager.network"></a> |
256 </p><a NAME="AdBlockManager.loadRequiredSubscription" ID="AdBlockManager.loadRequiredSubscription"></a> |
|
257 <h4>AdBlockManager.loadRequiredSubscription</h4> |
|
258 <b>loadRequiredSubscription</b>(<i>location, title</i>) |
|
259 <p> |
|
260 Public method to load a subscription required by another one. |
|
261 </p><dl> |
|
262 <dt><i>location</i></dt> |
|
263 <dd> |
|
264 location of the required subscription (string) |
|
265 </dd><dt><i>title</i></dt> |
|
266 <dd> |
|
267 title of the required subscription (string) |
|
268 </dd> |
|
269 </dl><a NAME="AdBlockManager.network" ID="AdBlockManager.network"></a> |
230 <h4>AdBlockManager.network</h4> |
270 <h4>AdBlockManager.network</h4> |
231 <b>network</b>(<i></i>) |
271 <b>network</b>(<i></i>) |
232 <p> |
272 <p> |
233 Public method to get a reference to the network block object. |
273 Public method to get a reference to the network block object. |
234 </p><dl> |
274 </p><dl> |
246 <dd> |
286 <dd> |
247 reference to the page block object (AdBlockPage) |
287 reference to the page block object (AdBlockPage) |
248 </dd> |
288 </dd> |
249 </dl><a NAME="AdBlockManager.removeSubscription" ID="AdBlockManager.removeSubscription"></a> |
289 </dl><a NAME="AdBlockManager.removeSubscription" ID="AdBlockManager.removeSubscription"></a> |
250 <h4>AdBlockManager.removeSubscription</h4> |
290 <h4>AdBlockManager.removeSubscription</h4> |
251 <b>removeSubscription</b>(<i>subscription</i>) |
291 <b>removeSubscription</b>(<i>subscription, emitSignal=True</i>) |
252 <p> |
292 <p> |
253 Public method to remove an AdBlock subscription. |
293 Public method to remove an AdBlock subscription. |
254 </p><dl> |
294 </p><dl> |
255 <dt><i>subscription</i></dt> |
295 <dt><i>subscription</i></dt> |
256 <dd> |
296 <dd> |
257 AdBlock subscription to be removed (AdBlockSubscription) |
297 AdBlock subscription to be removed (AdBlockSubscription) |
|
298 </dd><dt><i>emitSignal</i></dt> |
|
299 <dd> |
|
300 flag indicating to send a signal (boolean) |
258 </dd> |
301 </dd> |
259 </dl><a NAME="AdBlockManager.save" ID="AdBlockManager.save"></a> |
302 </dl><a NAME="AdBlockManager.save" ID="AdBlockManager.save"></a> |
260 <h4>AdBlockManager.save</h4> |
303 <h4>AdBlockManager.save</h4> |
261 <b>save</b>(<i></i>) |
304 <b>save</b>(<i></i>) |
262 <p> |
305 <p> |
279 </p><a NAME="AdBlockManager.showRule" ID="AdBlockManager.showRule"></a> |
322 </p><a NAME="AdBlockManager.showRule" ID="AdBlockManager.showRule"></a> |
280 <h4>AdBlockManager.showRule</h4> |
323 <h4>AdBlockManager.showRule</h4> |
281 <b>showRule</b>(<i></i>) |
324 <b>showRule</b>(<i></i>) |
282 <p> |
325 <p> |
283 Public slot to show an AdBlock rule. |
326 Public slot to show an AdBlock rule. |
284 </p><a NAME="AdBlockManager.subscriptions" ID="AdBlockManager.subscriptions"></a> |
327 </p><a NAME="AdBlockManager.subscription" ID="AdBlockManager.subscription"></a> |
|
328 <h4>AdBlockManager.subscription</h4> |
|
329 <b>subscription</b>(<i>location</i>) |
|
330 <p> |
|
331 Public method to get a subscription based on it's location. |
|
332 </p><dl> |
|
333 <dt><i>location</i></dt> |
|
334 <dd> |
|
335 location of the subscription to search for (string) |
|
336 </dd> |
|
337 </dl><dl> |
|
338 <dt>Returns:</dt> |
|
339 <dd> |
|
340 subscription or None (AdBlockSubscription) |
|
341 </dd> |
|
342 </dl><a NAME="AdBlockManager.subscriptions" ID="AdBlockManager.subscriptions"></a> |
285 <h4>AdBlockManager.subscriptions</h4> |
343 <h4>AdBlockManager.subscriptions</h4> |
286 <b>subscriptions</b>(<i></i>) |
344 <b>subscriptions</b>(<i></i>) |
287 <p> |
345 <p> |
288 Public method to get all subscriptions. |
346 Public method to get all subscriptions. |
289 </p><dl> |
347 </p><dl> |
290 <dt>Returns:</dt> |
348 <dt>Returns:</dt> |
291 <dd> |
349 <dd> |
292 list of subscriptions (list of AdBlockSubscription) |
350 list of subscriptions (list of AdBlockSubscription) |
293 </dd> |
351 </dd> |
294 </dl> |
352 </dl><a NAME="AdBlockManager.updateAllSubscriptions" ID="AdBlockManager.updateAllSubscriptions"></a> |
|
353 <h4>AdBlockManager.updateAllSubscriptions</h4> |
|
354 <b>updateAllSubscriptions</b>(<i></i>) |
|
355 <p> |
|
356 Public method to update all subscriptions. |
|
357 </p> |
295 <div align="right"><a href="#top">Up</a></div> |
358 <div align="right"><a href="#top">Up</a></div> |
296 <hr /> |
359 <hr /> |
297 </body></html> |
360 </body></html> |