From e15a9f3a8da1907b26195a1833588fc86a9d50ca Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Thu, 17 Dec 2009 21:07:18 +0000 Subject: * respect the --select startup option * minor cleanups related to selecting items in general svn path=/trunk/KDE/kdebase/apps/; revision=1063329 --- src/dolphinview.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index f9cf39d7f..2120e1ee0 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -179,6 +179,14 @@ public: */ bool supportsCategorizedSorting() const; + /** + * Marks the items indicated by \p urls to get selected after the + * directory DolphinView::url() has been loaded. Note that nothing + * gets selected if no loading of a directory has been triggered + * by DolphinView::setUrl() or DolphinView::reload(). + */ + void markUrlsAsSelected(const QList& urls); + /** * Returns the selected items. The list is empty if no item has been * selected. @@ -381,14 +389,6 @@ public slots: 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 - * are not in the currently displayed folder. - */ - void changeSelection(const KFileItemList& selection); - /** * Triggers the renaming of the currently selected items, where * the user must input a new name for the items. -- cgit v1.3