diff options
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 38 |
1 files changed, 20 insertions, 18 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index 0d3b15098..97054b754 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -182,24 +182,6 @@ public: bool supportsCategorizedSorting() const; /** - * Selects all items. - * @see DolphinView::selectedItems() - */ - void selectAll(); - - /** - * Inverts the current selection: selected items get unselected, - * unselected items get selected. - * @see DolphinView::selectedItems() - */ - void invertSelection(); - - /** Returns true, if at least one item is selected. */ - bool hasSelection() const; - - void clearSelection(); - - /** * Returns the selected items. The list is empty if no item has been * selected. * @see DolphinView::selectedUrls() @@ -219,6 +201,8 @@ public: */ int selectedItemsCount() const; + QItemSelectionModel* selectionModel() const; + /** * Sets the upper left position of the view content * to (x,y). The content of the view might be larger than the visible area @@ -382,6 +366,24 @@ public slots: void setUrl(const KUrl& url); /** + * Selects all items. + * @see DolphinView::selectedItems() + */ + void selectAll(); + + /** + * Inverts the current selection: selected items get unselected, + * unselected items get selected. + * @see DolphinView::selectedItems() + */ + void invertSelection(); + + /** Returns true, if at least one item is selected. */ + bool hasSelection() const; + + void clearSelection(); + + /** * Request of a selection change. The view will do its best to accommodate * the request, but it is not guaranteed that all items in \a selection * will actually get selected. The view will e.g. not select items which |
