src/eric7/Documentation/Source/eric7.WebBrowser.CookieJar.CookieExceptionsModel.html

branch
eric7
changeset 10436
f6881d10e995
parent 9209
b99e7fd55fd3
child 10479
856476537696
equal deleted inserted replaced
10435:c712d09cc839 10436:f6881d10e995
100 <p> 100 <p>
101 Constructor 101 Constructor
102 </p> 102 </p>
103 <dl> 103 <dl>
104 104
105 <dt><i>cookieJar</i></dt> 105 <dt><i>cookieJar</i> (CookieJar)</dt>
106 <dd> 106 <dd>
107 reference to the cookie jar (CookieJar) 107 reference to the cookie jar
108 </dd> 108 </dd>
109 <dt><i>parent</i></dt> 109 <dt><i>parent</i> (QObject)</dt>
110 <dd> 110 <dd>
111 reference to the parent object (QObject) 111 reference to the parent object
112 </dd> 112 </dd>
113 </dl> 113 </dl>
114 <a NAME="CookieExceptionsModel.__addHost" ID="CookieExceptionsModel.__addHost"></a> 114 <a NAME="CookieExceptionsModel.__addHost" ID="CookieExceptionsModel.__addHost"></a>
115 <h4>CookieExceptionsModel.__addHost</h4> 115 <h4>CookieExceptionsModel.__addHost</h4>
116 <b>__addHost</b>(<i>host, addList, removeList1, removeList2</i>) 116 <b>__addHost</b>(<i>host, addList, removeList1, removeList2</i>)
118 <p> 118 <p>
119 Private method to add a host to an exception list. 119 Private method to add a host to an exception list.
120 </p> 120 </p>
121 <dl> 121 <dl>
122 122
123 <dt><i>host</i></dt> 123 <dt><i>host</i> (str)</dt>
124 <dd> 124 <dd>
125 name of the host to add (string) 125 name of the host to add
126 </dd> 126 </dd>
127 <dt><i>addList</i></dt> 127 <dt><i>addList</i> (list of str)</dt>
128 <dd> 128 <dd>
129 reference to the list to add it to (list of strings) 129 reference to the list to add it to
130 </dd> 130 </dd>
131 <dt><i>removeList1</i></dt> 131 <dt><i>removeList1</i> (list of str)</dt>
132 <dd> 132 <dd>
133 reference to first list to remove it from 133 reference to first list to remove it from
134 (list of strings) 134 </dd>
135 </dd> 135 <dt><i>removeList2</i> (list of str)</dt>
136 <dt><i>removeList2</i></dt>
137 <dd> 136 <dd>
138 reference to second list to remove it from 137 reference to second list to remove it from
139 (list of strings)
140 </dd> 138 </dd>
141 </dl> 139 </dl>
142 <a NAME="CookieExceptionsModel.addRule" ID="CookieExceptionsModel.addRule"></a> 140 <a NAME="CookieExceptionsModel.addRule" ID="CookieExceptionsModel.addRule"></a>
143 <h4>CookieExceptionsModel.addRule</h4> 141 <h4>CookieExceptionsModel.addRule</h4>
144 <b>addRule</b>(<i>host, rule</i>) 142 <b>addRule</b>(<i>host, rule</i>)
146 <p> 144 <p>
147 Public method to add an exception rule. 145 Public method to add an exception rule.
148 </p> 146 </p>
149 <dl> 147 <dl>
150 148
151 <dt><i>host</i></dt> 149 <dt><i>host</i> (str)</dt>
152 <dd> 150 <dd>
153 name of the host to add a rule for (string) 151 name of the host to add a rule for
154 </dd> 152 </dd>
155 <dt><i>rule</i></dt> 153 <dt><i>rule</i> (int)</dt>
156 <dd> 154 <dd>
157 type of rule to add (CookieJar.Allow, CookieJar.Block or 155 type of rule to add (CookieJar.Allow, CookieJar.Block or
158 CookieJar.AllowForSession) 156 CookieJar.AllowForSession)
159 </dd> 157 </dd>
160 </dl> 158 </dl>
165 <p> 163 <p>
166 Public method to get the number of columns of the model. 164 Public method to get the number of columns of the model.
167 </p> 165 </p>
168 <dl> 166 <dl>
169 167
170 <dt><i>parent</i></dt> 168 <dt><i>parent</i> (QModelIndex)</dt>
171 <dd> 169 <dd>
172 parent index (QModelIndex) 170 parent index
173 </dd> 171 </dd>
174 </dl> 172 </dl>
175 <dl> 173 <dl>
176 <dt>Return:</dt> 174 <dt>Return:</dt>
177 <dd> 175 <dd>
178 number of columns (integer) 176 number of columns
177 </dd>
178 </dl>
179 <dl>
180 <dt>Return Type:</dt>
181 <dd>
182 int
179 </dd> 183 </dd>
180 </dl> 184 </dl>
181 <a NAME="CookieExceptionsModel.data" ID="CookieExceptionsModel.data"></a> 185 <a NAME="CookieExceptionsModel.data" ID="CookieExceptionsModel.data"></a>
182 <h4>CookieExceptionsModel.data</h4> 186 <h4>CookieExceptionsModel.data</h4>
183 <b>data</b>(<i>index, role</i>) 187 <b>data</b>(<i>index, role</i>)
185 <p> 189 <p>
186 Public method to get data from the model. 190 Public method to get data from the model.
187 </p> 191 </p>
188 <dl> 192 <dl>
189 193
190 <dt><i>index</i></dt> 194 <dt><i>index</i> (QModelIndex)</dt>
191 <dd> 195 <dd>
192 index to get data for (QModelIndex) 196 index to get data for
193 </dd> 197 </dd>
194 <dt><i>role</i></dt> 198 <dt><i>role</i> (int)</dt>
195 <dd> 199 <dd>
196 role of the data to retrieve (integer) 200 role of the data to retrieve
197 </dd> 201 </dd>
198 </dl> 202 </dl>
199 <dl> 203 <dl>
200 <dt>Return:</dt> 204 <dt>Return:</dt>
201 <dd> 205 <dd>
202 requested data 206 requested data
207 </dd>
208 </dl>
209 <dl>
210 <dt>Return Type:</dt>
211 <dd>
212 Any
203 </dd> 213 </dd>
204 </dl> 214 </dl>
205 <a NAME="CookieExceptionsModel.headerData" ID="CookieExceptionsModel.headerData"></a> 215 <a NAME="CookieExceptionsModel.headerData" ID="CookieExceptionsModel.headerData"></a>
206 <h4>CookieExceptionsModel.headerData</h4> 216 <h4>CookieExceptionsModel.headerData</h4>
207 <b>headerData</b>(<i>section, orientation, role</i>) 217 <b>headerData</b>(<i>section, orientation, role</i>)
209 <p> 219 <p>
210 Public method to get header data from the model. 220 Public method to get header data from the model.
211 </p> 221 </p>
212 <dl> 222 <dl>
213 223
214 <dt><i>section</i></dt> 224 <dt><i>section</i> (int)</dt>
215 <dd> 225 <dd>
216 section number (integer) 226 section number
217 </dd> 227 </dd>
218 <dt><i>orientation</i></dt> 228 <dt><i>orientation</i> (Qt.Orientation)</dt>
219 <dd> 229 <dd>
220 orientation (Qt.Orientation) 230 orientation
221 </dd> 231 </dd>
222 <dt><i>role</i></dt> 232 <dt><i>role</i> (Qt.ItemDataRole)</dt>
223 <dd> 233 <dd>
224 role of the data to retrieve (Qt.ItemDataRole) 234 role of the data to retrieve
225 </dd> 235 </dd>
226 </dl> 236 </dl>
227 <dl> 237 <dl>
228 <dt>Return:</dt> 238 <dt>Return:</dt>
229 <dd> 239 <dd>
230 requested data 240 requested data
241 </dd>
242 </dl>
243 <dl>
244 <dt>Return Type:</dt>
245 <dd>
246 Any
231 </dd> 247 </dd>
232 </dl> 248 </dl>
233 <a NAME="CookieExceptionsModel.removeRows" ID="CookieExceptionsModel.removeRows"></a> 249 <a NAME="CookieExceptionsModel.removeRows" ID="CookieExceptionsModel.removeRows"></a>
234 <h4>CookieExceptionsModel.removeRows</h4> 250 <h4>CookieExceptionsModel.removeRows</h4>
235 <b>removeRows</b>(<i>row, count, parent=None</i>) 251 <b>removeRows</b>(<i>row, count, parent=None</i>)
237 <p> 253 <p>
238 Public method to remove entries from the model. 254 Public method to remove entries from the model.
239 </p> 255 </p>
240 <dl> 256 <dl>
241 257
242 <dt><i>row</i></dt> 258 <dt><i>row</i> (int)</dt>
243 <dd> 259 <dd>
244 start row (integer) 260 start row
245 </dd> 261 </dd>
246 <dt><i>count</i></dt> 262 <dt><i>count</i> (int)</dt>
247 <dd> 263 <dd>
248 number of rows to remove (integer) 264 number of rows to remove
249 </dd> 265 </dd>
250 <dt><i>parent</i></dt> 266 <dt><i>parent</i> (QModelIndex)</dt>
251 <dd> 267 <dd>
252 parent index (QModelIndex) 268 parent index
253 </dd> 269 </dd>
254 </dl> 270 </dl>
255 <dl> 271 <dl>
256 <dt>Return:</dt> 272 <dt>Return:</dt>
257 <dd> 273 <dd>
258 flag indicating success (boolean) 274 flag indicating success
275 </dd>
276 </dl>
277 <dl>
278 <dt>Return Type:</dt>
279 <dd>
280 bool
259 </dd> 281 </dd>
260 </dl> 282 </dl>
261 <a NAME="CookieExceptionsModel.rowCount" ID="CookieExceptionsModel.rowCount"></a> 283 <a NAME="CookieExceptionsModel.rowCount" ID="CookieExceptionsModel.rowCount"></a>
262 <h4>CookieExceptionsModel.rowCount</h4> 284 <h4>CookieExceptionsModel.rowCount</h4>
263 <b>rowCount</b>(<i>parent=None</i>) 285 <b>rowCount</b>(<i>parent=None</i>)
265 <p> 287 <p>
266 Public method to get the number of rows of the model. 288 Public method to get the number of rows of the model.
267 </p> 289 </p>
268 <dl> 290 <dl>
269 291
270 <dt><i>parent</i></dt> 292 <dt><i>parent</i> (QModelIndex)</dt>
271 <dd> 293 <dd>
272 parent index (QModelIndex) 294 parent index
273 </dd> 295 </dd>
274 </dl> 296 </dl>
275 <dl> 297 <dl>
276 <dt>Return:</dt> 298 <dt>Return:</dt>
277 <dd> 299 <dd>
278 number of rows (integer) 300 number of rows
301 </dd>
302 </dl>
303 <dl>
304 <dt>Return Type:</dt>
305 <dd>
306 int
279 </dd> 307 </dd>
280 </dl> 308 </dl>
281 <div align="right"><a href="#top">Up</a></div> 309 <div align="right"><a href="#top">Up</a></div>
282 <hr /> 310 <hr />
283 </body></html> 311 </body></html>

eric ide

mercurial