diff options
| author | Peter Penz <[email protected]> | 2007-03-25 06:44:28 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-25 06:44:28 +0000 |
| commit | 8f9baef848c3056cd1df772f0774decad509cff3 (patch) | |
| tree | adcad2dcf4d15e0102d0c466b4d4a38ccd4ff875 /src/dolphinview.h | |
| parent | 3b4d05893b4023338d8484dc5c6812bbe0fb0ceb (diff) | |
Patch by Luca Gugelmann: get rid of any mainwindow dependency from the sidebars.
svn path=/trunk/KDE/kdebase/apps/; revision=646256
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index c2d0a1cc8..aee10bcad 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -353,6 +353,14 @@ public slots: */ void requestActivation(); + /** + * Request of a selection change. The view will do its best to accomodate + * 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); + signals: /** Is emitted if URL of the view has been changed to \a url. */ void urlChanged(const KUrl& url); @@ -388,11 +396,9 @@ signals: void contentsMoved(int x, int y); /** - * Is emitted whenever the selection has been changed. The current selection can - * be retrieved by mainWindow()->activeView()->selectedItems() or by - * mainWindow()->activeView()->selectedUrls(). + * Is emitted whenever the selection has been changed. */ - void selectionChanged(); + void selectionChanged(const KFileItemList& selection); /** * Is emitted whenever the filter bar has been turned show or hidden. |
