diff options
| author | Frank Reininghaus <[email protected]> | 2009-11-25 08:46:04 +0000 |
|---|---|---|
| committer | Frank Reininghaus <[email protected]> | 2009-11-25 08:46:04 +0000 |
| commit | ab39a5952001cdb3d1b9ca693da7f8e246558fb8 (patch) | |
| tree | a19f20c2fc6f478de371c694e9fdd98c4e201cee /src/dolphinview.h | |
| parent | a6a253667e20c551fba128cc68891f52470da524 (diff) | |
Restore the "Edit->Selection" menu from Konqueror 3 for file
management. It includes the actions "Select All" and "Select Items
Matching a Pattern".
This feature will be in KDE 4.4.
FEATURE: 197536
svn path=/trunk/KDE/kdebase/apps/; revision=1053976
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 |
