┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-06-08 05:55:46 +0000
committerPeter Penz <[email protected]>2009-06-08 05:55:46 +0000
commita38f83014467f61059fc40b2273d0175e9b3b26d (patch)
treea83c930af5c6092697ea675f00216bcbfb899525 /src/dolphinview.h
parentd34036152b86d86d1dabe2d719d5abe1e6f205a5 (diff)
Mark the last visitied directory as active when going back in history.
BUG: 192811 svn path=/trunk/KDE/kdebase/apps/; revision=978757
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 24831e03b..24f56f403 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -346,6 +346,15 @@ public:
bool isTabsForFilesEnabled() const;
/**
+ * Marks the item \a url as active item as soon as it has
+ * been loaded by the directory lister. This is useful mark
+ * the previously visited directory as active when going
+ * back in history (the URL is known, but the item is not
+ * loaded yet).
+ */
+ void activateItem(const KUrl& url);
+
+ /**
* Returns true if the current view allows folders to be expanded,
* i.e. presents a hierarchical view to the user.
*/
@@ -786,7 +795,7 @@ private:
ToolTipManager* m_toolTipManager;
KUrl m_rootUrl;
- KUrl m_currentItemUrl;
+ KUrl m_activeItemUrl;
KUrl m_createdItemUrl; // URL for a new item that got created by the "Create New..." menu
KFileItemList m_selectedItems; // this is used for making the View to remember selections after F5