diff -r a68d78702c98 -r 5341662d6cfb Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockManager.html --- a/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockManager.html Sat Aug 04 13:46:18 2012 +0200 +++ b/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockManager.html Sat Aug 04 17:32:24 2012 +0200 @@ -76,6 +76,9 @@ <td><a href="#AdBlockManager.__loadSubscriptions">__loadSubscriptions</a></td> <td>Private method to load the set of subscriptions.</td> </tr><tr> +<td><a href="#AdBlockManager.addException">addException</a></td> +<td>Public method to add an exception.</td> +</tr><tr> <td><a href="#AdBlockManager.addSubscription">addSubscription</a></td> <td>Public method to add an AdBlock subscription.</td> </tr><tr> @@ -91,12 +94,18 @@ <td><a href="#AdBlockManager.elementHidingRulesForDomain">elementHidingRulesForDomain</a></td> <td>Public method to get the element hiding rules for a domain.</td> </tr><tr> +<td><a href="#AdBlockManager.exceptions">exceptions</a></td> +<td>Public method to get a list of excepted hosts.</td> +</tr><tr> <td><a href="#AdBlockManager.getRequiresSubscriptions">getRequiresSubscriptions</a></td> <td>Public method to get a list of subscriptions, that require the given one.</td> </tr><tr> <td><a href="#AdBlockManager.isEnabled">isEnabled</a></td> <td>Public method to check, if blocking ads is enabled.</td> </tr><tr> +<td><a href="#AdBlockManager.isHostExcepted">isHostExcepted</a></td> +<td>Public slot to check, if a host is excepted.</td> +</tr><tr> <td><a href="#AdBlockManager.load">load</a></td> <td>Public method to load the AdBlock subscriptions.</td> </tr><tr> @@ -109,6 +118,9 @@ <td><a href="#AdBlockManager.page">page</a></td> <td>Public method to get a reference to the page block object.</td> </tr><tr> +<td><a href="#AdBlockManager.removeException">removeException</a></td> +<td>Public method to remove an exception.</td> +</tr><tr> <td><a href="#AdBlockManager.removeSubscription">removeSubscription</a></td> <td>Public method to remove an AdBlock subscription.</td> </tr><tr> @@ -118,9 +130,15 @@ <td><a href="#AdBlockManager.setEnabled">setEnabled</a></td> <td>Public slot to set the enabled state.</td> </tr><tr> +<td><a href="#AdBlockManager.setExceptions">setExceptions</a></td> +<td>Public method to set the list of excepted hosts.</td> +</tr><tr> <td><a href="#AdBlockManager.showDialog">showDialog</a></td> <td>Public slot to show the AdBlock subscription management dialog.</td> </tr><tr> +<td><a href="#AdBlockManager.showExceptionsDialog">showExceptionsDialog</a></td> +<td>Public method to show the AdBlock Exceptions dialog.</td> +</tr><tr> <td><a href="#AdBlockManager.showRule">showRule</a></td> <td>Public slot to show an AdBlock rule.</td> </tr><tr> @@ -173,7 +191,17 @@ <b>__loadSubscriptions</b>(<i></i>) <p> Private method to load the set of subscriptions. -</p><a NAME="AdBlockManager.addSubscription" ID="AdBlockManager.addSubscription"></a> +</p><a NAME="AdBlockManager.addException" ID="AdBlockManager.addException"></a> +<h4>AdBlockManager.addException</h4> +<b>addException</b>(<i>host</i>) +<p> + Public method to add an exception. +</p><dl> +<dt><i>host</i></dt> +<dd> +to be excepted (string) +</dd> +</dl><a NAME="AdBlockManager.addSubscription" ID="AdBlockManager.addSubscription"></a> <h4>AdBlockManager.addSubscription</h4> <b>addSubscription</b>(<i>subscription</i>) <p> @@ -223,6 +251,16 @@ <dd> element hiding rules (string) </dd> +</dl><a NAME="AdBlockManager.exceptions" ID="AdBlockManager.exceptions"></a> +<h4>AdBlockManager.exceptions</h4> +<b>exceptions</b>(<i></i>) +<p> + Public method to get a list of excepted hosts. +</p><dl> +<dt>Returns:</dt> +<dd> +list of excepted hosts (list of string) +</dd> </dl><a NAME="AdBlockManager.getRequiresSubscriptions" ID="AdBlockManager.getRequiresSubscriptions"></a> <h4>AdBlockManager.getRequiresSubscriptions</h4> <b>getRequiresSubscriptions</b>(<i>subscription</i>) @@ -248,6 +286,21 @@ <dd> flag indicating the enabled state (boolean) </dd> +</dl><a NAME="AdBlockManager.isHostExcepted" ID="AdBlockManager.isHostExcepted"></a> +<h4>AdBlockManager.isHostExcepted</h4> +<b>isHostExcepted</b>(<i>host</i>) +<p> + Public slot to check, if a host is excepted. +</p><dl> +<dt><i>host</i></dt> +<dd> +host to check (string) +</dd> +</dl><dl> +<dt>Returns:</dt> +<dd> +flag indicating an exception (boolean) +</dd> </dl><a NAME="AdBlockManager.load" ID="AdBlockManager.load"></a> <h4>AdBlockManager.load</h4> <b>load</b>(<i></i>) @@ -286,6 +339,16 @@ <dd> reference to the page block object (AdBlockPage) </dd> +</dl><a NAME="AdBlockManager.removeException" ID="AdBlockManager.removeException"></a> +<h4>AdBlockManager.removeException</h4> +<b>removeException</b>(<i>host</i>) +<p> + Public method to remove an exception. +</p><dl> +<dt><i>host</i></dt> +<dd> +to be removed from the list of exceptions (string) +</dd> </dl><a NAME="AdBlockManager.removeSubscription" ID="AdBlockManager.removeSubscription"></a> <h4>AdBlockManager.removeSubscription</h4> <b>removeSubscription</b>(<i>subscription, emitSignal=True</i>) @@ -314,12 +377,37 @@ <dd> flag indicating the enabled state (boolean) </dd> +</dl><a NAME="AdBlockManager.setExceptions" ID="AdBlockManager.setExceptions"></a> +<h4>AdBlockManager.setExceptions</h4> +<b>setExceptions</b>(<i>hosts</i>) +<p> + Public method to set the list of excepted hosts. +</p><dl> +<dt><i>hosts</i></dt> +<dd> +list of excepted hosts (list of string) +</dd> </dl><a NAME="AdBlockManager.showDialog" ID="AdBlockManager.showDialog"></a> <h4>AdBlockManager.showDialog</h4> <b>showDialog</b>(<i></i>) <p> Public slot to show the AdBlock subscription management dialog. -</p><a NAME="AdBlockManager.showRule" ID="AdBlockManager.showRule"></a> +</p><dl> +<dt>Returns:</dt> +<dd> +reference to the dialog (AdBlockDialog) +</dd> +</dl><a NAME="AdBlockManager.showExceptionsDialog" ID="AdBlockManager.showExceptionsDialog"></a> +<h4>AdBlockManager.showExceptionsDialog</h4> +<b>showExceptionsDialog</b>(<i></i>) +<p> + Public method to show the AdBlock Exceptions dialog. +</p><dl> +<dt>Returns:</dt> +<dd> +reference to the exceptions dialog (AdBlockExceptionsDialog) +</dd> +</dl><a NAME="AdBlockManager.showRule" ID="AdBlockManager.showRule"></a> <h4>AdBlockManager.showRule</h4> <b>showRule</b>(<i></i>) <p>