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

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
diff -r 81326a94fdca -r 37f0444c3479 Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockSubscription.html
--- a/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockSubscription.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Helpviewer.AdBlock.AdBlockSubscription.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Helpviewer.AdBlock.AdBlockSubscription</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#99;&#108;&#97;&#115;&#115;.
+Module implementing the AdBlock subscription class.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#AdBlockSubscription">AdBlockSubscription</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.</td>
+<td>Class implementing the AdBlock subscription.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,15 +43,15 @@
 <a NAME="AdBlockSubscription" ID="AdBlockSubscription"></a>
 <h2>AdBlockSubscription</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.
+    Class implementing the AdBlock subscription.
 </p><h4>Signals</h4>
 <dl>
 <dt>changed()</dt>
 <dd>
-&#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#104;&#97;&#115; &#99;&#104;&#97;&#110;&#103;&#101;&#100;
+emitted after the subscription has changed
 </dd><dt>rulesChanged()</dt>
 <dd>
-&#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;'&#115; &#114;&#117;&#108;&#101;&#115; &#104;&#97;v&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#100;
+emitted after the subscription's rules have changed
 </dd>
 </dl>
 <h3>Derived from</h3>
@@ -64,285 +64,285 @@
 <table>
 <tr>
 <td><a href="#AdBlockSubscription.__init__">AdBlockSubscription</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.__loadRules">__loadRules</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#116;&#104;&#101; &#114;&#117;&#108;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.</td>
+<td>Private method to load the rules of the subscription.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.__parseUrl">__parseUrl</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#97;&#114;&#115;&#101; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#85;&#82;&#76; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.</td>
+<td>Private method to parse the AdBlock URL for the subscription.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.__populateCache">__populateCache</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; v&#97;&#114;&#105;&#111;&#117;&#115; &#114;&#117;&#108;&#101; &#99;&#97;&#99;&#104;&#101;&#115;.</td>
+<td>Private method to populate the various rule caches.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.__rulesDownloaded">__rulesDownloaded</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#100;&#101;&#97;&#108; w&#105;&#116;&#104; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;&#101;&#100; &#114;&#117;&#108;&#101;&#115;.</td>
+<td>Private slot to deal with the downloaded rules.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.addRule">addRule</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#114;&#117;&#108;&#101;.</td>
+<td>Public method to add a rule.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.allRules">allRules</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#114;&#117;&#108;&#101;&#115;.</td>
+<td>Public method to get the list of rules.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.allow">allow</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#85;&#82;&#76; &#105;&#115; &#97;&#108;&#108;&#111;w&#101;&#100;.</td>
+<td>Public method to check, if the given URL is allowed.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.block">block</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#85;&#82;&#76; &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; &#98;&#108;&#111;&#99;&#107;&#101;&#100;.</td>
+<td>Public method to check, if the given URL should be blocked.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.isEnabled">isEnabled</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#105;&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100;.</td>
+<td>Public method to check, if the subscription is enabled.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.lastUpdate">lastUpdate</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#97;&#116;&#101; &#97;&#110;&#100; &#116;&#105;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#115;&#116; &#117;&#112;&#100;&#97;&#116;&#101;.</td>
+<td>Public method to get the date and time of the last update.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.location">location</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#108;&#111;&#99;&#97;&#116;&#105;&#111;&#110;.</td>
+<td>Public method to get the subscription location.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.pageRules">pageRules</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#112;&#97;&#103;&#101; &#114;&#117;&#108;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.</td>
+<td>Public method to get the page rules of the subscription.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.removeRule">removeRule</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#114;&#117;&#108;&#101; &#103;&#105;v&#101;&#110; &#116;&#104;&#101; &#111;&#102;&#102;&#115;&#101;&#116;.</td>
+<td>Public method to remove a rule given the offset.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.replaceRule">replaceRule</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#112;&#108;&#97;&#99;&#101; &#97; &#114;&#117;&#108;&#101; &#103;&#105;v&#101;&#110; &#116;&#104;&#101; &#111;&#102;&#102;&#115;&#101;&#116;.</td>
+<td>Public method to replace a rule given the offset.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.rulesFileName">rulesFileName</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101;&#115; &#102;&#105;&#108;&#101;.</td>
+<td>Public method to get the name of the rules file.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.saveRules">saveRules</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#114;&#117;&#108;&#101;&#115;.</td>
+<td>Public method to save the subscription rules.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.setEnabled">setEnabled</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115;.</td>
+<td>Public method to set the enabled status.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.setLocation">setLocation</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#108;&#111;&#99;&#97;&#116;&#105;&#111;&#110;.</td>
+<td>Public method to set the subscription location.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.setTitle">setTitle</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#116;&#105;&#116;&#108;&#101;.</td>
+<td>Public method to set the subscription title.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.title">title</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#116;&#105;&#116;&#108;&#101;.</td>
+<td>Public method to get the subscription title.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.updateNow">updateNow</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#105;&#109;&#109;&#101;&#100;&#105;&#97;&#116;&#101;&#108;y.</td>
+<td>Public method to update the subscription immediately.</td>
 </tr><tr>
 <td><a href="#AdBlockSubscription.url">url</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#117;&#114;&#108; &#102;&#111;&#114; &#116;&#104;&#105;&#115; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.</td>
+<td>Public method to generate the url for this subscription.</td>
 </tr>
 </table>
 <a NAME="AdBlockSubscription.__init__" ID="AdBlockSubscription.__init__"></a>
 <h4>AdBlockSubscription (Constructor)</h4>
 <b>AdBlockSubscription</b>(<i>url, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>url</i></dt>
 <dd>
-&#65;&#100;&#66;&#108;&#111;&#99;&#107; &#85;&#82;&#76; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; (&#81;&#85;&#114;&#108;)
+AdBlock URL for the subscription (QUrl)
 </dd><dt><i>parent</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;)
+reference to the parent object (QObject)
 </dd>
 </dl><a NAME="AdBlockSubscription.__loadRules" ID="AdBlockSubscription.__loadRules"></a>
 <h4>AdBlockSubscription.__loadRules</h4>
 <b>__loadRules</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#116;&#104;&#101; &#114;&#117;&#108;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.
+        Private method to load the rules of the subscription.
 </p><a NAME="AdBlockSubscription.__parseUrl" ID="AdBlockSubscription.__parseUrl"></a>
 <h4>AdBlockSubscription.__parseUrl</h4>
 <b>__parseUrl</b>(<i>url</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#97;&#114;&#115;&#101; &#116;&#104;&#101; &#65;&#100;&#66;&#108;&#111;&#99;&#107; &#85;&#82;&#76; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.
+        Private method to parse the AdBlock URL for the subscription.
 </p><dl>
 <dt><i>url</i></dt>
 <dd>
-&#65;&#100;&#66;&#108;&#111;&#99;&#107; &#85;&#82;&#76; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; (&#81;&#85;&#114;&#108;)
+AdBlock URL for the subscription (QUrl)
 </dd>
 </dl><a NAME="AdBlockSubscription.__populateCache" ID="AdBlockSubscription.__populateCache"></a>
 <h4>AdBlockSubscription.__populateCache</h4>
 <b>__populateCache</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#112;&#111;&#112;&#117;&#108;&#97;&#116;&#101; &#116;&#104;&#101; v&#97;&#114;&#105;&#111;&#117;&#115; &#114;&#117;&#108;&#101; &#99;&#97;&#99;&#104;&#101;&#115;.
+        Private method to populate the various rule caches.
 </p><a NAME="AdBlockSubscription.__rulesDownloaded" ID="AdBlockSubscription.__rulesDownloaded"></a>
 <h4>AdBlockSubscription.__rulesDownloaded</h4>
 <b>__rulesDownloaded</b>(<i></i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#100;&#101;&#97;&#108; w&#105;&#116;&#104; &#116;&#104;&#101; &#100;&#111;w&#110;&#108;&#111;&#97;&#100;&#101;&#100; &#114;&#117;&#108;&#101;&#115;.
+        Private slot to deal with the downloaded rules.
 </p><a NAME="AdBlockSubscription.addRule" ID="AdBlockSubscription.addRule"></a>
 <h4>AdBlockSubscription.addRule</h4>
 <b>addRule</b>(<i>rule</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#114;&#117;&#108;&#101;.
+        Public method to add a rule.
 </p><dl>
 <dt><i>rule</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#116;&#111; &#97;&#100;&#100; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#82;&#117;&#108;&#101;)
+reference to the rule to add (AdBlockRule)
 </dd>
 </dl><a NAME="AdBlockSubscription.allRules" ID="AdBlockSubscription.allRules"></a>
 <h4>AdBlockSubscription.allRules</h4>
 <b>allRules</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#111;&#102; &#114;&#117;&#108;&#101;&#115;.
+        Public method to get the list of rules.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#114;&#117;&#108;&#101;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#65;&#100;&#66;&#108;&#111;&#99;&#107;&#82;&#117;&#108;&#101;)
+list of rules (list of AdBlockRule)
 </dd>
 </dl><a NAME="AdBlockSubscription.allow" ID="AdBlockSubscription.allow"></a>
 <h4>AdBlockSubscription.allow</h4>
 <b>allow</b>(<i>urlString</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#85;&#82;&#76; &#105;&#115; &#97;&#108;&#108;&#111;w&#101;&#100;.
+        Public method to check, if the given URL is allowed.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#111;&#98;&#106;&#101;&#99;&#116; &#111;&#114; &#78;&#111;&#110;&#101; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#82;&#117;&#108;&#101;)
+reference to the rule object or None (AdBlockRule)
 </dd>
 </dl><a NAME="AdBlockSubscription.block" ID="AdBlockSubscription.block"></a>
 <h4>AdBlockSubscription.block</h4>
 <b>block</b>(<i>urlString</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#85;&#82;&#76; &#115;&#104;&#111;&#117;&#108;&#100; &#98;&#101; &#98;&#108;&#111;&#99;&#107;&#101;&#100;.
+        Public method to check, if the given URL should be blocked.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#111;&#98;&#106;&#101;&#99;&#116; &#111;&#114; &#78;&#111;&#110;&#101; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#82;&#117;&#108;&#101;)
+reference to the rule object or None (AdBlockRule)
 </dd>
 </dl><a NAME="AdBlockSubscription.isEnabled" ID="AdBlockSubscription.isEnabled"></a>
 <h4>AdBlockSubscription.isEnabled</h4>
 <b>isEnabled</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#105;&#115; &#101;&#110;&#97;&#98;&#108;&#101;&#100;.
+        Public method to check, if the subscription is enabled.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating the enabled status (boolean)
 </dd>
 </dl><a NAME="AdBlockSubscription.lastUpdate" ID="AdBlockSubscription.lastUpdate"></a>
 <h4>AdBlockSubscription.lastUpdate</h4>
 <b>lastUpdate</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#100;&#97;&#116;&#101; &#97;&#110;&#100; &#116;&#105;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#115;&#116; &#117;&#112;&#100;&#97;&#116;&#101;.
+        Public method to get the date and time of the last update.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#100;&#97;&#116;&#101; &#97;&#110;&#100; &#116;&#105;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#108;&#97;&#115;&#116; &#117;&#112;&#100;&#97;&#116;&#101; (&#81;&#68;&#97;&#116;&#101;&#84;&#105;&#109;&#101;)
+date and time of the last update (QDateTime)
 </dd>
 </dl><a NAME="AdBlockSubscription.location" ID="AdBlockSubscription.location"></a>
 <h4>AdBlockSubscription.location</h4>
 <b>location</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#108;&#111;&#99;&#97;&#116;&#105;&#111;&#110;.
+        Public method to get the subscription location.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#108;&#111;&#99;&#97;&#116;&#105;&#111;&#110; (&#81;&#85;&#114;&#108;)
+URL of the subscription location (QUrl)
 </dd>
 </dl><a NAME="AdBlockSubscription.pageRules" ID="AdBlockSubscription.pageRules"></a>
 <h4>AdBlockSubscription.pageRules</h4>
 <b>pageRules</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#112;&#97;&#103;&#101; &#114;&#117;&#108;&#101;&#115; &#111;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.
+        Public method to get the page rules of the subscription.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#108;&#105;&#115;&#116; &#111;&#102; &#114;&#117;&#108;&#101; &#111;&#98;&#106;&#101;&#99;&#116;&#115; (&#108;&#105;&#115;&#116; &#111;&#102; &#65;&#100;&#66;&#108;&#111;&#99;&#107;&#82;&#117;&#108;&#101;)
+list of rule objects (list of AdBlockRule)
 </dd>
 </dl><a NAME="AdBlockSubscription.removeRule" ID="AdBlockSubscription.removeRule"></a>
 <h4>AdBlockSubscription.removeRule</h4>
 <b>removeRule</b>(<i>offset</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#114;&#117;&#108;&#101; &#103;&#105;v&#101;&#110; &#116;&#104;&#101; &#111;&#102;&#102;&#115;&#101;&#116;.
+        Public method to remove a rule given the offset.
 </p><dl>
 <dt><i>offset</i></dt>
 <dd>
-&#111;&#102;&#102;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+offset of the rule to remove (integer)
 </dd>
 </dl><a NAME="AdBlockSubscription.replaceRule" ID="AdBlockSubscription.replaceRule"></a>
 <h4>AdBlockSubscription.replaceRule</h4>
 <b>replaceRule</b>(<i>rule, offset</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#112;&#108;&#97;&#99;&#101; &#97; &#114;&#117;&#108;&#101; &#103;&#105;v&#101;&#110; &#116;&#104;&#101; &#111;&#102;&#102;&#115;&#101;&#116;.
+        Public method to replace a rule given the offset.
 </p><dl>
 <dt><i>rule</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#116;&#111; &#115;&#101;&#116; (&#65;&#100;&#66;&#108;&#111;&#99;&#107;&#82;&#117;&#108;&#101;)
+reference to the rule to set (AdBlockRule)
 </dd><dt><i>offset</i></dt>
 <dd>
-&#111;&#102;&#102;&#115;&#101;&#116; &#111;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+offset of the rule to remove (integer)
 </dd>
 </dl><a NAME="AdBlockSubscription.rulesFileName" ID="AdBlockSubscription.rulesFileName"></a>
 <h4>AdBlockSubscription.rulesFileName</h4>
 <b>rulesFileName</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101;&#115; &#102;&#105;&#108;&#101;.
+        Public method to get the name of the rules file.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#117;&#108;&#101;&#115; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;)
+name of the rules file (string)
 </dd>
 </dl><a NAME="AdBlockSubscription.saveRules" ID="AdBlockSubscription.saveRules"></a>
 <h4>AdBlockSubscription.saveRules</h4>
 <b>saveRules</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#114;&#117;&#108;&#101;&#115;.
+        Public method to save the subscription rules.
 </p><a NAME="AdBlockSubscription.setEnabled" ID="AdBlockSubscription.setEnabled"></a>
 <h4>AdBlockSubscription.setEnabled</h4>
 <b>setEnabled</b>(<i>enabled</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115;.
+        Public method to set the enabled status.
 </p><dl>
 <dt><i>enabled</i></dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#101;&#110;&#97;&#98;&#108;&#101;&#100; &#115;&#116;&#97;&#116;&#117;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating the enabled status (boolean)
 </dd>
 </dl><a NAME="AdBlockSubscription.setLocation" ID="AdBlockSubscription.setLocation"></a>
 <h4>AdBlockSubscription.setLocation</h4>
 <b>setLocation</b>(<i>url</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#108;&#111;&#99;&#97;&#116;&#105;&#111;&#110;.
+        Public method to set the subscription location.
 </p><dl>
 <dt><i>url</i></dt>
 <dd>
-&#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#108;&#111;&#99;&#97;&#116;&#105;&#111;&#110; (&#81;&#85;&#114;&#108;)
+URL of the subscription location (QUrl)
 </dd>
 </dl><a NAME="AdBlockSubscription.setTitle" ID="AdBlockSubscription.setTitle"></a>
 <h4>AdBlockSubscription.setTitle</h4>
 <b>setTitle</b>(<i>title</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#116;&#105;&#116;&#108;&#101;.
+        Public method to set the subscription title.
 </p><dl>
 <dt><i>title</i></dt>
 <dd>
-&#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#116;&#105;&#116;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;)
+subscription title (string)
 </dd>
 </dl><a NAME="AdBlockSubscription.title" ID="AdBlockSubscription.title"></a>
 <h4>AdBlockSubscription.title</h4>
 <b>title</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#116;&#105;&#116;&#108;&#101;.
+        Public method to get the subscription title.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#116;&#105;&#116;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;)
+subscription title (string)
 </dd>
 </dl><a NAME="AdBlockSubscription.updateNow" ID="AdBlockSubscription.updateNow"></a>
 <h4>AdBlockSubscription.updateNow</h4>
 <b>updateNow</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; &#105;&#109;&#109;&#101;&#100;&#105;&#97;&#116;&#101;&#108;y.
+        Public method to update the subscription immediately.
 </p><a NAME="AdBlockSubscription.url" ID="AdBlockSubscription.url"></a>
 <h4>AdBlockSubscription.url</h4>
 <b>url</b>(<i></i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#117;&#114;&#108; &#102;&#111;&#114; &#116;&#104;&#105;&#115; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110;.
+        Public method to generate the url for this subscription.
 </p><dl>
 <dt>Returns:</dt>
 <dd>
-&#65;&#100;&#66;&#108;&#111;&#99;&#107; &#85;&#82;&#76; &#102;&#111;&#114; &#116;&#104;&#101; &#115;&#117;&#98;&#115;&#99;&#114;&#105;&#112;&#116;&#105;&#111;&#110; (&#81;&#85;&#114;&#108;)
+AdBlock URL for the subscription (QUrl)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial