┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/views/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2010-11-08 18:05:36 +0000
committerPeter Penz <[email protected]>2010-11-08 18:05:36 +0000
commit1ae377cd6ced8477fe235ca6a8006fef91e1fc33 (patch)
tree768310fc04ed2d71a74ab940fe50704e557b9934 /src/views/dolphinview.h
parent0ee402486b4fe7078b16da49e3859983e1c0e0f1 (diff)
Remember the root-URL when saving the state of a view. This allows to restore a column-view correctly when going back in history.
svn path=/trunk/KDE/kdebase/apps/; revision=1194323
Diffstat (limited to 'src/views/dolphinview.h')
-rw-r--r--src/views/dolphinview.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/views/dolphinview.h b/src/views/dolphinview.h
index 5fcf1ab4d..d513eba1b 100644
--- a/src/views/dolphinview.h
+++ b/src/views/dolphinview.h
@@ -756,6 +756,7 @@ private:
*/
QWidget* layoutTarget() const;
+ void setRootUrl(const KUrl& rootUrl);
KUrl rootUrl() const;
bool supportsCategorizedSorting() const;
@@ -775,6 +776,7 @@ private:
KDirLister* dirLister() const;
private:
+ KUrl m_rootUrl;
DolphinIconsView* m_iconsView;
DolphinDetailsView* m_detailsView;
DolphinColumnViewContainer* m_columnsContainer;
@@ -801,7 +803,6 @@ private:
QTimer* m_selectionChangedTimer;
- KUrl m_rootUrl;
KUrl m_activeItemUrl;
QPoint m_restoredContentsPosition;
KUrl m_createdItemUrl; // URL for a new item that got created by the "Create New..." menu