From 707f9a940973128933b183e7ce36a807ea44e941 Mon Sep 17 00:00:00 2001 From: David Faure Date: Wed, 28 May 2008 23:07:09 +0000 Subject: Handle redirections (e.g. from fish://localhost) without breaking the column view -- thanks Peter for the advice on how to separate the two cleanly. svn path=/trunk/KDE/kdebase/apps/; revision=813954 --- src/dolphinview.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index 121a7f6da..0936b06a3 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -420,6 +420,12 @@ signals: /** Is emitted if URL of the view has been changed to \a url. */ void urlChanged(const KUrl& url); + /** + * Is emitted if the view requests a changing of the current + * URL to \a url (see DolphinController::triggerUrlChangeRequest()). + */ + void requestUrlChange(const KUrl& url); + /** * Is emitted when clicking on an item with the left mouse button. */ @@ -595,6 +601,18 @@ private slots: */ void slotDeleteFileFinished(KJob* job); + /** + * Called when KDirLister emits redirection. + * Testcase: fish://localhost + */ + void slotRedirection(const KUrl& oldUrl, const KUrl& newUrl); + + /** + * Is emitted if the controller requests a changing of the current + * URL to \a url + */ + void slotRequestUrlChange(const KUrl& url); + /** * Restores the current item (= item that has the keyboard focus) * to m_currentItemUrl. -- cgit v1.3