┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorRahman Duran <[email protected]>2009-03-30 07:18:32 +0000
committerRahman Duran <[email protected]>2009-03-30 07:18:32 +0000
commit91a6bbf95a603965a4afea666ed0392fb5aa0fbb (patch)
treefa01b31968e58db83f59d8747f7b5202d9f4e55d /src/dolphinview.h
parent164706fdb45f81a5e5835f15c108ade6c669208b (diff)
BUG: 187732
Make Dolphin to remember selected files after view refresh. svn path=/trunk/KDE/kdebase/apps/; revision=946726
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index c18785151..385bcd50f 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -657,6 +657,11 @@ private slots:
*/
void selectAndScrollToCreatedItem();
+ /**
+ * Restore selection after view refresh.
+ */
+ void restoreSelection();
+
private:
void loadDirectory(const KUrl& url, bool reload = false);
@@ -760,6 +765,7 @@ private:
KUrl m_rootUrl;
KUrl m_currentItemUrl;
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
QAbstractItemView* m_expandedDragSource;
};