53 </table> |
53 </table> |
54 <h3>Methods</h3> |
54 <h3>Methods</h3> |
55 <table> |
55 <table> |
56 <tr> |
56 <tr> |
57 <td><a href="#CookieModel.__init__">CookieModel</a></td> |
57 <td><a href="#CookieModel.__init__">CookieModel</a></td> |
58 <td>Constructor</td> |
58 <td>Constructor</td> |
59 </tr><tr> |
59 </tr><tr> |
60 <td><a href="#CookieModel.__cookiesChanged">__cookiesChanged</a></td> |
60 <td><a href="#CookieModel.__cookiesChanged">__cookiesChanged</a></td> |
61 <td>Private slot handling changes of the cookies list in the cookie jar.</td> |
61 <td>Private slot handling changes of the cookies list in the cookie jar.</td> |
62 </tr><tr> |
62 </tr><tr> |
63 <td><a href="#CookieModel.columnCount">columnCount</a></td> |
63 <td><a href="#CookieModel.columnCount">columnCount</a></td> |
64 <td>Public method to get the number of columns of the model.</td> |
64 <td>Public method to get the number of columns of the model.</td> |
65 </tr><tr> |
65 </tr><tr> |
66 <td><a href="#CookieModel.data">data</a></td> |
66 <td><a href="#CookieModel.data">data</a></td> |
67 <td>Public method to get data from the model.</td> |
67 <td>Public method to get data from the model.</td> |
68 </tr><tr> |
68 </tr><tr> |
69 <td><a href="#CookieModel.headerData">headerData</a></td> |
69 <td><a href="#CookieModel.headerData">headerData</a></td> |
70 <td>Public method to get header data from the model.</td> |
70 <td>Public method to get header data from the model.</td> |
71 </tr><tr> |
71 </tr><tr> |
72 <td><a href="#CookieModel.removeRows">removeRows</a></td> |
72 <td><a href="#CookieModel.removeRows">removeRows</a></td> |
73 <td>Public method to remove entries from the model.</td> |
73 <td>Public method to remove entries from the model.</td> |
74 </tr><tr> |
74 </tr><tr> |
75 <td><a href="#CookieModel.rowCount">rowCount</a></td> |
75 <td><a href="#CookieModel.rowCount">rowCount</a></td> |
76 <td>Public method to get the number of rows of the model.</td> |
76 <td>Public method to get the number of rows of the model.</td> |
77 </tr> |
77 </tr> |
78 </table> |
78 </table> |
79 <a NAME="CookieModel.__init__" ID="CookieModel.__init__"></a> |
79 <a NAME="CookieModel.__init__" ID="CookieModel.__init__"></a> |
80 <h4>CookieModel (Constructor)</h4> |
80 <h4>CookieModel (Constructor)</h4> |
81 <b>CookieModel</b>(<i>cookieJar, parent = None</i>) |
81 <b>CookieModel</b>(<i>cookieJar, parent = None</i>) |
82 <p> |
82 <p> |
83 Constructor |
83 Constructor |
84 </p><dl> |
84 </p><dl> |
85 <dt><i>cookieJar</i></dt> |
85 <dt><i>cookieJar</i></dt> |
86 <dd> |
86 <dd> |
87 reference to the cookie jar (CookieJar) |
87 reference to the cookie jar (CookieJar) |
88 </dd><dt><i>parent</i></dt> |
88 </dd><dt><i>parent</i></dt> |
89 <dd> |
89 <dd> |
90 reference to the parent object (QObject) |
90 reference to the parent object (QObject) |
91 </dd> |
91 </dd> |
92 </dl><a NAME="CookieModel.__cookiesChanged" ID="CookieModel.__cookiesChanged"></a> |
92 </dl><a NAME="CookieModel.__cookiesChanged" ID="CookieModel.__cookiesChanged"></a> |
93 <h4>CookieModel.__cookiesChanged</h4> |
93 <h4>CookieModel.__cookiesChanged</h4> |
94 <b>__cookiesChanged</b>(<i></i>) |
94 <b>__cookiesChanged</b>(<i></i>) |
95 <p> |
95 <p> |
96 Private slot handling changes of the cookies list in the cookie jar. |
96 Private slot handling changes of the cookies list in the cookie jar. |
97 </p><a NAME="CookieModel.columnCount" ID="CookieModel.columnCount"></a> |
97 </p><a NAME="CookieModel.columnCount" ID="CookieModel.columnCount"></a> |
98 <h4>CookieModel.columnCount</h4> |
98 <h4>CookieModel.columnCount</h4> |
99 <b>columnCount</b>(<i>parent = QModelIndex()</i>) |
99 <b>columnCount</b>(<i>parent = QModelIndex()</i>) |
100 <p> |
100 <p> |
101 Public method to get the number of columns of the model. |
101 Public method to get the number of columns of the model. |
102 </p><dl> |
102 </p><dl> |
103 <dt><i>parent</i></dt> |
103 <dt><i>parent</i></dt> |
104 <dd> |
104 <dd> |
105 parent index (QModelIndex) |
105 parent index (QModelIndex) |
106 </dd> |
106 </dd> |
107 </dl><dl> |
107 </dl><dl> |
108 <dt>Returns:</dt> |
108 <dt>Returns:</dt> |
109 <dd> |
109 <dd> |
110 number of columns (integer) |
110 number of columns (integer) |
111 </dd> |
111 </dd> |
112 </dl><a NAME="CookieModel.data" ID="CookieModel.data"></a> |
112 </dl><a NAME="CookieModel.data" ID="CookieModel.data"></a> |
113 <h4>CookieModel.data</h4> |
113 <h4>CookieModel.data</h4> |
114 <b>data</b>(<i>index, role</i>) |
114 <b>data</b>(<i>index, role</i>) |
115 <p> |
115 <p> |
116 Public method to get data from the model. |
116 Public method to get data from the model. |
117 </p><dl> |
117 </p><dl> |
118 <dt><i>index</i></dt> |
118 <dt><i>index</i></dt> |
119 <dd> |
119 <dd> |
120 index to get data for (QModelIndex) |
120 index to get data for (QModelIndex) |
121 </dd><dt><i>role</i></dt> |
121 </dd><dt><i>role</i></dt> |
122 <dd> |
122 <dd> |
123 role of the data to retrieve (integer) |
123 role of the data to retrieve (integer) |
124 </dd> |
124 </dd> |
125 </dl><dl> |
125 </dl><dl> |
126 <dt>Returns:</dt> |
126 <dt>Returns:</dt> |
127 <dd> |
127 <dd> |
128 requested data |
128 requested data |
129 </dd> |
129 </dd> |
130 </dl><a NAME="CookieModel.headerData" ID="CookieModel.headerData"></a> |
130 </dl><a NAME="CookieModel.headerData" ID="CookieModel.headerData"></a> |
131 <h4>CookieModel.headerData</h4> |
131 <h4>CookieModel.headerData</h4> |
132 <b>headerData</b>(<i>section, orientation, role</i>) |
132 <b>headerData</b>(<i>section, orientation, role</i>) |
133 <p> |
133 <p> |
134 Public method to get header data from the model. |
134 Public method to get header data from the model. |
135 </p><dl> |
135 </p><dl> |
136 <dt><i>section</i></dt> |
136 <dt><i>section</i></dt> |
137 <dd> |
137 <dd> |
138 section number (integer) |
138 section number (integer) |
139 </dd><dt><i>orientation</i></dt> |
139 </dd><dt><i>orientation</i></dt> |
140 <dd> |
140 <dd> |
141 orientation (Qt.Orientation) |
141 orientation (Qt.Orientation) |
142 </dd><dt><i>role</i></dt> |
142 </dd><dt><i>role</i></dt> |
143 <dd> |
143 <dd> |
144 role of the data to retrieve (integer) |
144 role of the data to retrieve (integer) |
145 </dd> |
145 </dd> |
146 </dl><dl> |
146 </dl><dl> |
147 <dt>Returns:</dt> |
147 <dt>Returns:</dt> |
148 <dd> |
148 <dd> |
149 requested data |
149 requested data |
150 </dd> |
150 </dd> |
151 </dl><a NAME="CookieModel.removeRows" ID="CookieModel.removeRows"></a> |
151 </dl><a NAME="CookieModel.removeRows" ID="CookieModel.removeRows"></a> |
152 <h4>CookieModel.removeRows</h4> |
152 <h4>CookieModel.removeRows</h4> |
153 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>) |
153 <b>removeRows</b>(<i>row, count, parent = QModelIndex()</i>) |
154 <p> |
154 <p> |
155 Public method to remove entries from the model. |
155 Public method to remove entries from the model. |
156 </p><dl> |
156 </p><dl> |
157 <dt><i>row</i></dt> |
157 <dt><i>row</i></dt> |
158 <dd> |
158 <dd> |
159 start row (integer) |
159 start row (integer) |
160 </dd><dt><i>count</i></dt> |
160 </dd><dt><i>count</i></dt> |
161 <dd> |
161 <dd> |
162 number of rows to remove (integer) |
162 number of rows to remove (integer) |
163 </dd><dt><i>parent</i></dt> |
163 </dd><dt><i>parent</i></dt> |
164 <dd> |
164 <dd> |
165 parent index (QModelIndex) |
165 parent index (QModelIndex) |
166 </dd> |
166 </dd> |
167 </dl><dl> |
167 </dl><dl> |
168 <dt>Returns:</dt> |
168 <dt>Returns:</dt> |
169 <dd> |
169 <dd> |
170 flag indicating success (boolean) |
170 flag indicating success (boolean) |
171 </dd> |
171 </dd> |
172 </dl><a NAME="CookieModel.rowCount" ID="CookieModel.rowCount"></a> |
172 </dl><a NAME="CookieModel.rowCount" ID="CookieModel.rowCount"></a> |
173 <h4>CookieModel.rowCount</h4> |
173 <h4>CookieModel.rowCount</h4> |
174 <b>rowCount</b>(<i>parent = QModelIndex()</i>) |
174 <b>rowCount</b>(<i>parent = QModelIndex()</i>) |
175 <p> |
175 <p> |
176 Public method to get the number of rows of the model. |
176 Public method to get the number of rows of the model. |
177 </p><dl> |
177 </p><dl> |
178 <dt><i>parent</i></dt> |
178 <dt><i>parent</i></dt> |
179 <dd> |
179 <dd> |
180 parent index (QModelIndex) |
180 parent index (QModelIndex) |
181 </dd> |
181 </dd> |
182 </dl><dl> |
182 </dl><dl> |
183 <dt>Returns:</dt> |
183 <dt>Returns:</dt> |
184 <dd> |
184 <dd> |
185 number of columns (integer) |
185 number of columns (integer) |
186 </dd> |
186 </dd> |
187 </dl> |
187 </dl> |
188 <div align="right"><a href="#top">Up</a></div> |
188 <div align="right"><a href="#top">Up</a></div> |
189 <hr /> |
189 <hr /> |
190 </body></html> |
190 </body></html> |