From e536466ac75e7fa3cfdc18728596beac36996128 Mon Sep 17 00:00:00 2001 From: Peter Penz Date: Tue, 26 Jan 2010 08:27:42 +0000 Subject: * Assure that the URL navigator is synchronized with the active column. * Removed obsolete triggerUrlChangeRequest() method + signal in the DolphinController. This is not needed anymore because of the refactored column view. svn path=/trunk/KDE/kdebase/apps/; revision=1080351 --- src/dolphincontroller.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/dolphincontroller.h') diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h index d1eba97a1..397215bfb 100644 --- a/src/dolphincontroller.h +++ b/src/dolphincontroller.h @@ -30,9 +30,6 @@ class DolphinView; class KUrl; class QPoint; -// TODO: get rid of all the state duplications in the controller and allow read access -// to the Dolphin view for all view implementations - /** * @brief Acts as mediator between the abstract Dolphin view and the view * implementations. @@ -52,7 +49,6 @@ class QPoint; * The communication of the view implementations to the abstract view is done by: * - triggerContextMenuRequest() * - requestActivation() - * - triggerUrlChangeRequest() * - indicateDroppedUrls() * - indicateSortingChange() * - indicateSortOrderChanged() @@ -111,16 +107,6 @@ public: QAbstractItemView* itemView() const; - /** - * Allows a view implementation to request an URL change to \a url. - * The signal requestUrlChange() is emitted and the abstract Dolphin view - * will assure that the URL of the Dolphin Controller will be updated - * later. Invoking this method makes only sense if the view implementation - * shows a hierarchy of URLs and allows to change the URL within - * the view (e. g. this is the case in the column view). - */ - void triggerUrlChangeRequest(const KUrl& url); - /** * Requests a context menu for the position \a pos. This method * should be invoked by the view implementation when a context @@ -299,12 +285,6 @@ signals: */ void urlChanged(const KUrl& url); - /** - * Is emitted if the view implementation requests a changing of the current - * URL to \a url (see triggerUrlChangeRequest()). - */ - void requestUrlChange(const KUrl& url); - /** * Is emitted if a context menu should be opened (see triggerContextMenuRequest()). * The abstract Dolphin view connects to this signal and will open the context menu. -- cgit v1.3