Documentation/Source/eric5.Helpviewer.CookieJar.CookieExceptionsModel.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
diff -r 81326a94fdca -r 37f0444c3479 Documentation/Source/eric5.Helpviewer.CookieJar.CookieExceptionsModel.html
--- a/Documentation/Source/eric5.Helpviewer.CookieJar.CookieExceptionsModel.html	Thu Jan 14 17:27:31 2010 +0000
+++ b/Documentation/Source/eric5.Helpviewer.CookieJar.CookieExceptionsModel.html	Thu Jan 14 18:35:52 2010 +0000
@@ -22,7 +22,7 @@
 <body><a NAME="top" ID="top"></a>
 <h1>eric5.Helpviewer.CookieJar.CookieExceptionsModel</h1>
 <p>
-&#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;&#115; &#109;&#111;&#100;&#101;&#108;.
+Module implementing the cookie exceptions model.
 </p>
 <h3>Global Attributes</h3>
 <table>
@@ -32,7 +32,7 @@
 <table>
 <tr>
 <td><a href="#CookieExceptionsModel">CookieExceptionsModel</a></td>
-<td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;&#115; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Class implementing the cookie exceptions model.</td>
 </tr>
 </table>
 <h3>Functions</h3>
@@ -43,7 +43,7 @@
 <a NAME="CookieExceptionsModel" ID="CookieExceptionsModel"></a>
 <h2>CookieExceptionsModel</h2>
 <p>
-    &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110;&#115; &#109;&#111;&#100;&#101;&#108;.
+    Class implementing the cookie exceptions model.
 </p>
 <h3>Derived from</h3>
 QAbstractTableModel
@@ -55,165 +55,165 @@
 <table>
 <tr>
 <td><a href="#CookieExceptionsModel.__init__">CookieExceptionsModel</a></td>
-<td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td>
+<td>Constructor</td>
 </tr><tr>
 <td><a href="#CookieExceptionsModel.__addHost">__addHost</a></td>
-<td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#104;&#111;&#115;&#116; &#116;&#111; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.</td>
+<td>Private method to add a host to an exception list.</td>
 </tr><tr>
 <td><a href="#CookieExceptionsModel.addRule">addRule</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#114;&#117;&#108;&#101;.</td>
+<td>Public method to add an exception rule.</td>
 </tr><tr>
 <td><a href="#CookieExceptionsModel.columnCount">columnCount</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get the number of columns of the model.</td>
 </tr><tr>
 <td><a href="#CookieExceptionsModel.data">data</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get data from the model.</td>
 </tr><tr>
 <td><a href="#CookieExceptionsModel.headerData">headerData</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get header data from the model.</td>
 </tr><tr>
 <td><a href="#CookieExceptionsModel.removeRows">removeRows</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to remove entries from the model.</td>
 </tr><tr>
 <td><a href="#CookieExceptionsModel.rowCount">rowCount</a></td>
-<td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.</td>
+<td>Public method to get the number of rows of the model.</td>
 </tr>
 </table>
 <a NAME="CookieExceptionsModel.__init__" ID="CookieExceptionsModel.__init__"></a>
 <h4>CookieExceptionsModel (Constructor)</h4>
 <b>CookieExceptionsModel</b>(<i>cookieJar, parent = None</i>)
 <p>
-        &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;
+        Constructor
 </p><dl>
 <dt><i>cookieJar</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#111;&#111;&#107;&#105;&#101; &#106;&#97;&#114; (&#67;&#111;&#111;&#107;&#105;&#101;&#74;&#97;&#114;)
+reference to the cookie jar (CookieJar)
 </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="CookieExceptionsModel.__addHost" ID="CookieExceptionsModel.__addHost"></a>
 <h4>CookieExceptionsModel.__addHost</h4>
 <b>__addHost</b>(<i>host, addList, removeList1, removeList2</i>)
 <p>
-        &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97; &#104;&#111;&#115;&#116; &#116;&#111; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#108;&#105;&#115;&#116;.
+        Private method to add a host to an exception list.
 </p><dl>
 <dt><i>host</i></dt>
 <dd>
-&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#104;&#111;&#115;&#116; &#116;&#111; &#97;&#100;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;)
+name of the host to add (string)
 </dd><dt><i>addList</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#108;&#105;&#115;&#116; &#116;&#111; &#97;&#100;&#100; &#105;&#116; &#116;&#111; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;)
+reference to the list to add it to (list of strings)
 </dd><dt><i>removeList1</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#102;&#105;&#114;&#115;&#116; &#108;&#105;&#115;&#116; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#105;&#116; &#102;&#114;&#111;&#109; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;)
+reference to first list to remove it from (list of strings)
 </dd><dt><i>removeList2</i></dt>
 <dd>
-&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#115;&#101;&#99;&#111;&#110;&#100; &#108;&#105;&#115;&#116; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#105;&#116; &#102;&#114;&#111;&#109; (&#108;&#105;&#115;&#116; &#111;&#102; &#115;&#116;&#114;&#105;&#110;&#103;&#115;)
+reference to second list to remove it from (list of strings)
 </dd>
 </dl><a NAME="CookieExceptionsModel.addRule" ID="CookieExceptionsModel.addRule"></a>
 <h4>CookieExceptionsModel.addRule</h4>
 <b>addRule</b>(<i>host, rule</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#97;&#110; &#101;x&#99;&#101;&#112;&#116;&#105;&#111;&#110; &#114;&#117;&#108;&#101;.
+        Public method to add an exception rule.
 </p><dl>
 <dt><i>host</i></dt>
 <dd>
-&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#104;&#111;&#115;&#116; &#116;&#111; &#97;&#100;&#100; &#97; &#114;&#117;&#108;&#101; &#102;&#111;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;)
+name of the host to add a rule for (string)
 </dd><dt><i>rule</i></dt>
 <dd>
-&#116;y&#112;&#101; &#111;&#102; &#114;&#117;&#108;&#101; &#116;&#111; &#97;&#100;&#100; (&#67;&#111;&#111;&#107;&#105;&#101;&#74;&#97;&#114;.&#65;&#108;&#108;&#111;w, &#67;&#111;&#111;&#107;&#105;&#101;&#74;&#97;&#114;.&#66;&#108;&#111;&#99;&#107; &#111;&#114;
-            &#67;&#111;&#111;&#107;&#105;&#101;&#74;&#97;&#114;.&#65;&#108;&#108;&#111;w&#70;&#111;&#114;&#83;&#101;&#115;&#115;&#105;&#111;&#110;)
+type of rule to add (CookieJar.Allow, CookieJar.Block or
+            CookieJar.AllowForSession)
 </dd>
 </dl><a NAME="CookieExceptionsModel.columnCount" ID="CookieExceptionsModel.columnCount"></a>
 <h4>CookieExceptionsModel.columnCount</h4>
 <b>columnCount</b>(<i>parent = QModelIndex()</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get the number of columns of the model.
 </p><dl>
 <dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (QModelIndex)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of columns (integer)
 </dd>
 </dl><a NAME="CookieExceptionsModel.data" ID="CookieExceptionsModel.data"></a>
 <h4>CookieExceptionsModel.data</h4>
 <b>data</b>(<i>index, role</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get data from the model.
 </p><dl>
 <dt><i>index</i></dt>
 <dd>
-&#105;&#110;&#100;&#101;x &#116;&#111; &#103;&#101;&#116; &#100;&#97;&#116;&#97; &#102;&#111;&#114; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+index to get data for (QModelIndex)
 </dd><dt><i>role</i></dt>
 <dd>
-&#114;&#111;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+role of the data to retrieve (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#100;&#97;&#116;&#97;
+requested data
 </dd>
 </dl><a NAME="CookieExceptionsModel.headerData" ID="CookieExceptionsModel.headerData"></a>
 <h4>CookieExceptionsModel.headerData</h4>
 <b>headerData</b>(<i>section, orientation, role</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#104;&#101;&#97;&#100;&#101;&#114; &#100;&#97;&#116;&#97; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get header data from the model.
 </p><dl>
 <dt><i>section</i></dt>
 <dd>
-&#115;&#101;&#99;&#116;&#105;&#111;&#110; &#110;&#117;&#109;&#98;&#101;&#114; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+section number (integer)
 </dd><dt><i>orientation</i></dt>
 <dd>
-&#111;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110; (&#81;&#116;.&#79;&#114;&#105;&#101;&#110;&#116;&#97;&#116;&#105;&#111;&#110;)
+orientation (Qt.Orientation)
 </dd><dt><i>role</i></dt>
 <dd>
-&#114;&#111;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#97;&#116;&#97; &#116;&#111; &#114;&#101;&#116;&#114;&#105;&#101;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+role of the data to retrieve (integer)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#100;&#97;&#116;&#97;
+requested data
 </dd>
 </dl><a NAME="CookieExceptionsModel.removeRows" ID="CookieExceptionsModel.removeRows"></a>
 <h4>CookieExceptionsModel.removeRows</h4>
 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#101;&#110;&#116;&#114;&#105;&#101;&#115; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to remove entries from the model.
 </p><dl>
 <dt><i>row</i></dt>
 <dd>
-&#115;&#116;&#97;&#114;&#116; &#114;&#111;w (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+start row (integer)
 </dd><dt><i>count</i></dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of rows to remove (integer)
 </dd><dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (QModelIndex)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;)
+flag indicating success (boolean)
 </dd>
 </dl><a NAME="CookieExceptionsModel.rowCount" ID="CookieExceptionsModel.rowCount"></a>
 <h4>CookieExceptionsModel.rowCount</h4>
 <b>rowCount</b>(<i>parent = QModelIndex()</i>)
 <p>
-        &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#114;&#111;w&#115; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#100;&#101;&#108;.
+        Public method to get the number of rows of the model.
 </p><dl>
 <dt><i>parent</i></dt>
 <dd>
-&#112;&#97;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x)
+parent index (QModelIndex)
 </dd>
 </dl><dl>
 <dt>Returns:</dt>
 <dd>
-&#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;)
+number of columns (integer)
 </dd>
 </dl>
 <div align="right"><a href="#top">Up</a></div>

eric ide

mercurial