From ed5b2e54736b04d551eae01d976038fb7d5aac35 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 20 May 2008 21:21:48 +0000 Subject: when going back in history apply the keyboard focus to the the previously shown directory BUG: 156550 BUG: 158590 svn path=/trunk/KDE/kdebase/apps/; revision=810493 --- src/dolphinview.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 5d88e4f54..708535567 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -233,6 +233,12 @@ public: /** Returns the upper left position of the view content. */ QPoint contentsPosition() const; + /** + * Sets the current item (= item that has the keyboard focus) to + * the item with the URL \a url. + */ + void setCurrentItem(const KUrl& url); + /** Increases the size of the current set view mode. */ void zoomIn(); -- cgit v1.3