149 <dd> |
149 <dd> |
150 reference to the bookmarks manager object (BookmarksManager) |
150 reference to the bookmarks manager object (BookmarksManager) |
151 </dd> |
151 </dd> |
152 </dl><a NAME="BookmarksModel.columnCount" ID="BookmarksModel.columnCount"></a> |
152 </dl><a NAME="BookmarksModel.columnCount" ID="BookmarksModel.columnCount"></a> |
153 <h4>BookmarksModel.columnCount</h4> |
153 <h4>BookmarksModel.columnCount</h4> |
154 <b>columnCount</b>(<i>parent=QModelIndex()</i>) |
154 <b>columnCount</b>(<i>parent=None</i>) |
155 <p> |
155 <p> |
156 Public method to get the number of columns. |
156 Public method to get the number of columns. |
157 </p><dl> |
157 </p><dl> |
158 <dt><i>parent</i></dt> |
158 <dt><i>parent</i></dt> |
159 <dd> |
159 <dd> |
260 <dd> |
260 <dd> |
261 flags (Qt.ItemFlags) |
261 flags (Qt.ItemFlags) |
262 </dd> |
262 </dd> |
263 </dl><a NAME="BookmarksModel.hasChildren" ID="BookmarksModel.hasChildren"></a> |
263 </dl><a NAME="BookmarksModel.hasChildren" ID="BookmarksModel.hasChildren"></a> |
264 <h4>BookmarksModel.hasChildren</h4> |
264 <h4>BookmarksModel.hasChildren</h4> |
265 <b>hasChildren</b>(<i>parent=QModelIndex()</i>) |
265 <b>hasChildren</b>(<i>parent=None</i>) |
266 <p> |
266 <p> |
267 Public method to check, if a parent node has some children. |
267 Public method to check, if a parent node has some children. |
268 </p><dl> |
268 </p><dl> |
269 <dt><i>parent</i></dt> |
269 <dt><i>parent</i></dt> |
270 <dd> |
270 <dd> |
296 <dd> |
296 <dd> |
297 header data |
297 header data |
298 </dd> |
298 </dd> |
299 </dl><a NAME="BookmarksModel.index" ID="BookmarksModel.index"></a> |
299 </dl><a NAME="BookmarksModel.index" ID="BookmarksModel.index"></a> |
300 <h4>BookmarksModel.index</h4> |
300 <h4>BookmarksModel.index</h4> |
301 <b>index</b>(<i>row, column, parent=QModelIndex()</i>) |
301 <b>index</b>(<i>row, column, parent=None</i>) |
302 <p> |
302 <p> |
303 Public method to get a model index for a node cell. |
303 Public method to get a model index for a node cell. |
304 </p><dl> |
304 </p><dl> |
305 <dt><i>row</i></dt> |
305 <dt><i>row</i></dt> |
306 <dd> |
306 <dd> |
372 <dd> |
372 <dd> |
373 model index (QModelIndex) |
373 model index (QModelIndex) |
374 </dd> |
374 </dd> |
375 </dl><a NAME="BookmarksModel.parent" ID="BookmarksModel.parent"></a> |
375 </dl><a NAME="BookmarksModel.parent" ID="BookmarksModel.parent"></a> |
376 <h4>BookmarksModel.parent</h4> |
376 <h4>BookmarksModel.parent</h4> |
377 <b>parent</b>(<i>index=QModelIndex()</i>) |
377 <b>parent</b>(<i>index=None</i>) |
378 <p> |
378 <p> |
379 Public method to get the index of the parent node. |
379 Public method to get the index of the parent node. |
380 </p><dl> |
380 </p><dl> |
381 <dt><i>index</i></dt> |
381 <dt><i>index</i></dt> |
382 <dd> |
382 <dd> |
387 <dd> |
387 <dd> |
388 index of the parent node (QModelIndex) |
388 index of the parent node (QModelIndex) |
389 </dd> |
389 </dd> |
390 </dl><a NAME="BookmarksModel.removeRows" ID="BookmarksModel.removeRows"></a> |
390 </dl><a NAME="BookmarksModel.removeRows" ID="BookmarksModel.removeRows"></a> |
391 <h4>BookmarksModel.removeRows</h4> |
391 <h4>BookmarksModel.removeRows</h4> |
392 <b>removeRows</b>(<i>row, count, parent=QModelIndex()</i>) |
392 <b>removeRows</b>(<i>row, count, parent=None</i>) |
393 <p> |
393 <p> |
394 Public method to remove bookmarks from the model. |
394 Public method to remove bookmarks from the model. |
395 </p><dl> |
395 </p><dl> |
396 <dt><i>row</i></dt> |
396 <dt><i>row</i></dt> |
397 <dd> |
397 <dd> |
408 <dd> |
408 <dd> |
409 flag indicating successful removal (boolean) |
409 flag indicating successful removal (boolean) |
410 </dd> |
410 </dd> |
411 </dl><a NAME="BookmarksModel.rowCount" ID="BookmarksModel.rowCount"></a> |
411 </dl><a NAME="BookmarksModel.rowCount" ID="BookmarksModel.rowCount"></a> |
412 <h4>BookmarksModel.rowCount</h4> |
412 <h4>BookmarksModel.rowCount</h4> |
413 <b>rowCount</b>(<i>parent=QModelIndex()</i>) |
413 <b>rowCount</b>(<i>parent=None</i>) |
414 <p> |
414 <p> |
415 Public method to determine the number of rows. |
415 Public method to determine the number of rows. |
416 </p><dl> |
416 </p><dl> |
417 <dt><i>parent</i></dt> |
417 <dt><i>parent</i></dt> |
418 <dd> |
418 <dd> |