diff options
| author | Peter Penz <[email protected]> | 2009-02-24 08:09:35 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-02-24 08:09:35 +0000 |
| commit | 7b6ace6466cf349a4ce7a080d5e978aa0a7043e2 (patch) | |
| tree | 42f92ce2db3868834c7f06a63e256011989d93a7 /src/dolphinview.h | |
| parent | 7e7c14ba65bfc524d03bfce00d158010194e9534 (diff) | |
After renaming an item the view should be scrolled in a way to still have a fully visible renamed item. The implementation required a lot of more code changes as such a fix should require: QAbstractItemView::scrollTo() cannot be used directly (inconsistent default behavior in QListView and QTreeView, a special case for the column view), so the communication has to be done with the DolphinController...
BUG: 185191
svn path=/trunk/KDE/kdebase/apps/; revision=930754
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index 5cedeecfa..1498de08a 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -631,6 +631,11 @@ private slots: void restoreCurrentItem(); /** + * Is invoked when the KDirLister indicates refreshed items. + */ + void slotRefreshItems(); + + /** * If \a view can be positively identified as not being the source for the * current drag operation, deleteLater() it immediately. Else stores * it for later deletion. @@ -716,6 +721,7 @@ private: bool m_tabsForFiles : 1; bool m_isContextMenuOpen : 1; // TODO: workaround for Qt-issue 207192 bool m_ignoreViewProperties : 1; + bool m_assureVisibleCurrentIndex : 1; Mode m_mode; @@ -739,7 +745,7 @@ private: KUrl m_rootUrl; KUrl m_currentItemUrl; - QAbstractItemView* m_expandedDragSource; + QAbstractItemView* m_expandedDragSource; }; inline bool DolphinView::isColumnViewActive() const |
