Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockNetwork.html

changeset 1960
d8c45fe8a1b9
parent 1228
7afaf2fca55b
child 2367
78f6c8193d37
--- a/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockNetwork.html	Thu Jul 26 18:38:15 2012 +0200
+++ b/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockNetwork.html	Sat Jul 28 11:23:12 2012 +0200
@@ -58,15 +58,36 @@
 <h3>Methods</h3>
 <table>
 <tr>
+<td><a href="#AdBlockNetwork.__canBeBlocked">__canBeBlocked</a></td>
+<td>Private method to check, if an URL can be blocked.</td>
+</tr><tr>
 <td><a href="#AdBlockNetwork.block">block</a></td>
 <td>Public method to check for a network block.</td>
+</tr><tr>
+<td><a href="#AdBlockNetwork.canRunOnScheme">canRunOnScheme</a></td>
+<td>Public method to check, if AdBlock can be performed on the scheme.</td>
 </tr>
 </table>
 <h3>Static Methods</h3>
 <table>
 <tr><td>None</td></tr>
 </table>
-<a NAME="AdBlockNetwork.block" ID="AdBlockNetwork.block"></a>
+<a NAME="AdBlockNetwork.__canBeBlocked" ID="AdBlockNetwork.__canBeBlocked"></a>
+<h4>AdBlockNetwork.__canBeBlocked</h4>
+<b>__canBeBlocked</b>(<i>url</i>)
+<p>
+        Private method to check, if an URL can be blocked.
+</p><dl>
+<dt><i>url</i></dt>
+<dd>
+URL to be checked (QUrl)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating, that the URL can be blocked (boolean)
+</dd>
+</dl><a NAME="AdBlockNetwork.block" ID="AdBlockNetwork.block"></a>
 <h4>AdBlockNetwork.block</h4>
 <b>block</b>(<i>request</i>)
 <p>
@@ -76,6 +97,21 @@
 <dd>
 reply object (QNetworkReply) or None
 </dd>
+</dl><a NAME="AdBlockNetwork.canRunOnScheme" ID="AdBlockNetwork.canRunOnScheme"></a>
+<h4>AdBlockNetwork.canRunOnScheme</h4>
+<b>canRunOnScheme</b>(<i>scheme</i>)
+<p>
+        Public method to check, if AdBlock can be performed on the scheme.
+</p><dl>
+<dt><i>scheme</i></dt>
+<dd>
+scheme to check (string)
+</dd>
+</dl><dl>
+<dt>Returns:</dt>
+<dd>
+flag indicating, that AdBlock can be performed (boolean)
+</dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>
 <hr />

eric ide

mercurial