┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphincontroller.h
diff options
context:
space:
mode:
authorDavid Faure <[email protected]>2009-09-18 17:14:03 +0000
committerDavid Faure <[email protected]>2009-09-18 17:14:03 +0000
commit4bccabca1bd705f24a35ed1ea31fc6d185c2b442 (patch)
tree8a9f23ea5660e02c5ec1219cf7259015a0a7fa38 /src/dolphincontroller.h
parent1b160aee92af8bd215f88f524683c7214f497f90 (diff)
Update the controller's url upon redirection, otherwise pasting would paste into the old url. #186947
svn path=/trunk/KDE/kdebase/apps/; revision=1025406
Diffstat (limited to 'src/dolphincontroller.h')
-rw-r--r--src/dolphincontroller.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dolphincontroller.h b/src/dolphincontroller.h
index bd2189e21..8aebdcac4 100644
--- a/src/dolphincontroller.h
+++ b/src/dolphincontroller.h
@@ -98,6 +98,12 @@ public:
const KUrl& url() const;
/**
+ * Sets the URL to \a url and does nothing else. Called when
+ * a redirection happens.
+ */
+ void redirectToUrl(const KUrl& url);
+
+ /**
* Changes the current item view where the controller is working. This
* is only necessary for views like the tree view, where internally
* several QAbstractItemView instances are used.
@@ -165,7 +171,7 @@ public:
void indicateSortOrderChange(Qt::SortOrder order);
/**
- * Informs the abstract Dolphin view about a change between separate sorting
+ * Informs the abstract Dolphin view about a change between separate sorting
* (with folders first) and mixed sorting of files and folders done inside
* the view implementation. This method should be invoked by the view
* implementation (e. g. the details view uses this method in combination