┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinviewcontainer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dolphinviewcontainer.h')
-rw-r--r--src/dolphinviewcontainer.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/dolphinviewcontainer.h b/src/dolphinviewcontainer.h
index 1d1a0a389..83ef15944 100644
--- a/src/dolphinviewcontainer.h
+++ b/src/dolphinviewcontainer.h
@@ -184,6 +184,18 @@ private slots:
*/
void openContextMenu(KFileItem* item, const KUrl& url);
+ /**
+ * Saves the position of the contents to the
+ * current history element.
+ */
+ void saveContentsPos(int x, int y);
+
+ /**
+ * Restores the contents position of the view, if the view
+ * is part of the history.
+ */
+ void restoreContentsPos();
+
private:
/**
* Returns the default text of the status bar, if no item is