5 <link rel="stylesheet" href="styles.css"> |
5 <link rel="stylesheet" href="styles.css"> |
6 </head> |
6 </head> |
7 <body> |
7 <body> |
8 <a NAME="top" ID="top"></a> |
8 <a NAME="top" ID="top"></a> |
9 <h1>eric7.WebBrowser.CookieJar.CookieExceptionsModel</h1> |
9 <h1>eric7.WebBrowser.CookieJar.CookieExceptionsModel</h1> |
10 |
|
11 <p> |
10 <p> |
12 Module implementing the cookie exceptions model. |
11 Module implementing the cookie exceptions model. |
13 </p> |
12 </p> |
|
13 |
14 <h3>Global Attributes</h3> |
14 <h3>Global Attributes</h3> |
15 |
15 <table> |
16 <table> |
16 <tr><td>None</td></tr> |
17 <tr><td>None</td></tr> |
17 </table> |
18 </table> |
18 |
19 <h3>Classes</h3> |
19 <h3>Classes</h3> |
20 |
20 <table> |
21 <table> |
|
22 |
|
23 <tr> |
21 <tr> |
24 <td><a href="#CookieExceptionsModel">CookieExceptionsModel</a></td> |
22 <td><a href="#CookieExceptionsModel">CookieExceptionsModel</a></td> |
25 <td>Class implementing the cookie exceptions model.</td> |
23 <td>Class implementing the cookie exceptions model.</td> |
26 </tr> |
24 </tr> |
27 </table> |
25 </table> |
|
26 |
28 <h3>Functions</h3> |
27 <h3>Functions</h3> |
29 |
28 <table> |
30 <table> |
29 <tr><td>None</td></tr> |
31 <tr><td>None</td></tr> |
30 </table> |
32 </table> |
31 |
33 <hr /> |
32 <hr /> |
34 <hr /> |
33 <hr /> |
35 <a NAME="CookieExceptionsModel" ID="CookieExceptionsModel"></a> |
34 <a NAME="CookieExceptionsModel" ID="CookieExceptionsModel"></a> |
36 <h2>CookieExceptionsModel</h2> |
35 <h2>CookieExceptionsModel</h2> |
37 |
|
38 <p> |
36 <p> |
39 Class implementing the cookie exceptions model. |
37 Class implementing the cookie exceptions model. |
40 </p> |
38 </p> |
|
39 |
41 <h3>Derived from</h3> |
40 <h3>Derived from</h3> |
42 QAbstractTableModel |
41 QAbstractTableModel |
43 <h3>Class Attributes</h3> |
42 <h3>Class Attributes</h3> |
44 |
43 <table> |
45 <table> |
44 <tr><td>None</td></tr> |
46 <tr><td>None</td></tr> |
45 </table> |
47 </table> |
46 |
48 <h3>Class Methods</h3> |
47 <h3>Class Methods</h3> |
49 |
48 <table> |
50 <table> |
49 <tr><td>None</td></tr> |
51 <tr><td>None</td></tr> |
50 </table> |
52 </table> |
51 |
53 <h3>Methods</h3> |
52 <h3>Methods</h3> |
54 |
53 <table> |
55 <table> |
|
56 |
|
57 <tr> |
54 <tr> |
58 <td><a href="#CookieExceptionsModel.__init__">CookieExceptionsModel</a></td> |
55 <td><a href="#CookieExceptionsModel.__init__">CookieExceptionsModel</a></td> |
59 <td>Constructor</td> |
56 <td>Constructor</td> |
60 </tr> |
57 </tr> |
61 <tr> |
58 <tr> |
85 <tr> |
82 <tr> |
86 <td><a href="#CookieExceptionsModel.rowCount">rowCount</a></td> |
83 <td><a href="#CookieExceptionsModel.rowCount">rowCount</a></td> |
87 <td>Public method to get the number of rows of the model.</td> |
84 <td>Public method to get the number of rows of the model.</td> |
88 </tr> |
85 </tr> |
89 </table> |
86 </table> |
|
87 |
90 <h3>Static Methods</h3> |
88 <h3>Static Methods</h3> |
91 |
89 <table> |
92 <table> |
90 <tr><td>None</td></tr> |
93 <tr><td>None</td></tr> |
91 </table> |
94 </table> |
92 |
95 |
93 |
96 <a NAME="CookieExceptionsModel.__init__" ID="CookieExceptionsModel.__init__"></a> |
94 <a NAME="CookieExceptionsModel.__init__" ID="CookieExceptionsModel.__init__"></a> |
97 <h4>CookieExceptionsModel (Constructor)</h4> |
95 <h4>CookieExceptionsModel (Constructor)</h4> |
98 <b>CookieExceptionsModel</b>(<i>cookieJar, parent=None</i>) |
96 <b>CookieExceptionsModel</b>(<i>cookieJar, parent=None</i>) |
99 |
|
100 <p> |
97 <p> |
101 Constructor |
98 Constructor |
102 </p> |
99 </p> |
|
100 |
103 <dl> |
101 <dl> |
104 |
102 |
105 <dt><i>cookieJar</i> (CookieJar)</dt> |
103 <dt><i>cookieJar</i> (CookieJar)</dt> |
106 <dd> |
104 <dd> |
107 reference to the cookie jar |
105 reference to the cookie jar |
112 </dd> |
110 </dd> |
113 </dl> |
111 </dl> |
114 <a NAME="CookieExceptionsModel.__addHost" ID="CookieExceptionsModel.__addHost"></a> |
112 <a NAME="CookieExceptionsModel.__addHost" ID="CookieExceptionsModel.__addHost"></a> |
115 <h4>CookieExceptionsModel.__addHost</h4> |
113 <h4>CookieExceptionsModel.__addHost</h4> |
116 <b>__addHost</b>(<i>host, addList, removeList1, removeList2</i>) |
114 <b>__addHost</b>(<i>host, addList, removeList1, removeList2</i>) |
117 |
|
118 <p> |
115 <p> |
119 Private method to add a host to an exception list. |
116 Private method to add a host to an exception list. |
120 </p> |
117 </p> |
|
118 |
121 <dl> |
119 <dl> |
122 |
120 |
123 <dt><i>host</i> (str)</dt> |
121 <dt><i>host</i> (str)</dt> |
124 <dd> |
122 <dd> |
125 name of the host to add |
123 name of the host to add |
138 </dd> |
136 </dd> |
139 </dl> |
137 </dl> |
140 <a NAME="CookieExceptionsModel.addRule" ID="CookieExceptionsModel.addRule"></a> |
138 <a NAME="CookieExceptionsModel.addRule" ID="CookieExceptionsModel.addRule"></a> |
141 <h4>CookieExceptionsModel.addRule</h4> |
139 <h4>CookieExceptionsModel.addRule</h4> |
142 <b>addRule</b>(<i>host, rule</i>) |
140 <b>addRule</b>(<i>host, rule</i>) |
143 |
|
144 <p> |
141 <p> |
145 Public method to add an exception rule. |
142 Public method to add an exception rule. |
146 </p> |
143 </p> |
|
144 |
147 <dl> |
145 <dl> |
148 |
146 |
149 <dt><i>host</i> (str)</dt> |
147 <dt><i>host</i> (str)</dt> |
150 <dd> |
148 <dd> |
151 name of the host to add a rule for |
149 name of the host to add a rule for |
157 </dd> |
155 </dd> |
158 </dl> |
156 </dl> |
159 <a NAME="CookieExceptionsModel.columnCount" ID="CookieExceptionsModel.columnCount"></a> |
157 <a NAME="CookieExceptionsModel.columnCount" ID="CookieExceptionsModel.columnCount"></a> |
160 <h4>CookieExceptionsModel.columnCount</h4> |
158 <h4>CookieExceptionsModel.columnCount</h4> |
161 <b>columnCount</b>(<i>parent=None</i>) |
159 <b>columnCount</b>(<i>parent=None</i>) |
162 |
|
163 <p> |
160 <p> |
164 Public method to get the number of columns of the model. |
161 Public method to get the number of columns of the model. |
165 </p> |
162 </p> |
|
163 |
166 <dl> |
164 <dl> |
167 |
165 |
168 <dt><i>parent</i> (QModelIndex)</dt> |
166 <dt><i>parent</i> (QModelIndex)</dt> |
169 <dd> |
167 <dd> |
170 parent index |
168 parent index |
183 </dd> |
181 </dd> |
184 </dl> |
182 </dl> |
185 <a NAME="CookieExceptionsModel.data" ID="CookieExceptionsModel.data"></a> |
183 <a NAME="CookieExceptionsModel.data" ID="CookieExceptionsModel.data"></a> |
186 <h4>CookieExceptionsModel.data</h4> |
184 <h4>CookieExceptionsModel.data</h4> |
187 <b>data</b>(<i>index, role</i>) |
185 <b>data</b>(<i>index, role</i>) |
188 |
|
189 <p> |
186 <p> |
190 Public method to get data from the model. |
187 Public method to get data from the model. |
191 </p> |
188 </p> |
|
189 |
192 <dl> |
190 <dl> |
193 |
191 |
194 <dt><i>index</i> (QModelIndex)</dt> |
192 <dt><i>index</i> (QModelIndex)</dt> |
195 <dd> |
193 <dd> |
196 index to get data for |
194 index to get data for |
213 </dd> |
211 </dd> |
214 </dl> |
212 </dl> |
215 <a NAME="CookieExceptionsModel.headerData" ID="CookieExceptionsModel.headerData"></a> |
213 <a NAME="CookieExceptionsModel.headerData" ID="CookieExceptionsModel.headerData"></a> |
216 <h4>CookieExceptionsModel.headerData</h4> |
214 <h4>CookieExceptionsModel.headerData</h4> |
217 <b>headerData</b>(<i>section, orientation, role</i>) |
215 <b>headerData</b>(<i>section, orientation, role</i>) |
218 |
|
219 <p> |
216 <p> |
220 Public method to get header data from the model. |
217 Public method to get header data from the model. |
221 </p> |
218 </p> |
|
219 |
222 <dl> |
220 <dl> |
223 |
221 |
224 <dt><i>section</i> (int)</dt> |
222 <dt><i>section</i> (int)</dt> |
225 <dd> |
223 <dd> |
226 section number |
224 section number |
247 </dd> |
245 </dd> |
248 </dl> |
246 </dl> |
249 <a NAME="CookieExceptionsModel.removeRows" ID="CookieExceptionsModel.removeRows"></a> |
247 <a NAME="CookieExceptionsModel.removeRows" ID="CookieExceptionsModel.removeRows"></a> |
250 <h4>CookieExceptionsModel.removeRows</h4> |
248 <h4>CookieExceptionsModel.removeRows</h4> |
251 <b>removeRows</b>(<i>row, count, parent=None</i>) |
249 <b>removeRows</b>(<i>row, count, parent=None</i>) |
252 |
|
253 <p> |
250 <p> |
254 Public method to remove entries from the model. |
251 Public method to remove entries from the model. |
255 </p> |
252 </p> |
|
253 |
256 <dl> |
254 <dl> |
257 |
255 |
258 <dt><i>row</i> (int)</dt> |
256 <dt><i>row</i> (int)</dt> |
259 <dd> |
257 <dd> |
260 start row |
258 start row |
281 </dd> |
279 </dd> |
282 </dl> |
280 </dl> |
283 <a NAME="CookieExceptionsModel.rowCount" ID="CookieExceptionsModel.rowCount"></a> |
281 <a NAME="CookieExceptionsModel.rowCount" ID="CookieExceptionsModel.rowCount"></a> |
284 <h4>CookieExceptionsModel.rowCount</h4> |
282 <h4>CookieExceptionsModel.rowCount</h4> |
285 <b>rowCount</b>(<i>parent=None</i>) |
283 <b>rowCount</b>(<i>parent=None</i>) |
286 |
|
287 <p> |
284 <p> |
288 Public method to get the number of rows of the model. |
285 Public method to get the number of rows of the model. |
289 </p> |
286 </p> |
|
287 |
290 <dl> |
288 <dl> |
291 |
289 |
292 <dt><i>parent</i> (QModelIndex)</dt> |
290 <dt><i>parent</i> (QModelIndex)</dt> |
293 <dd> |
291 <dd> |
294 parent index |
292 parent index |