*/
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.
*/
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
* Saves the view state (current item, contents position, details view expansion state)
*/
void saveState(QDataStream &stream);
-
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