diff options
| author | Peter Penz <[email protected]> | 2009-08-30 20:49:34 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-08-30 20:49:34 +0000 |
| commit | ef68f84a6ecdd84ea4b49686a02984c768d9fa39 (patch) | |
| tree | d3432deb6d3afcd7fd29899a9914f1bae447d598 /src/viewextensionsfactory.h | |
| parent | a2a99926359cb58519b7814bba662f2afa4eee5d (diff) | |
Restore "open folders automatically when dragging items above it" (it had been temporary deactivated because of the column view refactoring).
svn path=/trunk/KDE/kdebase/apps/; revision=1017531
Diffstat (limited to 'src/viewextensionsfactory.h')
| -rw-r--r-- | src/viewextensionsfactory.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/viewextensionsfactory.h b/src/viewextensionsfactory.h index ddc1cf581..9187c10e3 100644 --- a/src/viewextensionsfactory.h +++ b/src/viewextensionsfactory.h @@ -29,6 +29,7 @@ class DolphinFileItemDelegate; class DolphinSortFilterProxyModel; class DolphinViewAutoScroller; class KFilePreviewGenerator; +class FolderExpander; class QModelIndex; class SelectionManager; class ToolTipManager; @@ -62,6 +63,13 @@ public: DolphinFileItemDelegate* fileItemDelegate() const; + /** + * Enables the automatically expanding of a folder when dragging + * items above the folder. + */ + void setAutoFolderExpandingEnabled(bool enabled); + bool autoFolderExpandingEnabled() const; + protected: virtual bool eventFilter(QObject* watched, QEvent* event); @@ -89,6 +97,7 @@ private: DolphinViewAutoScroller* m_autoScroller; DolphinFileItemDelegate* m_fileItemDelegate; VersionControlObserver* m_versionControlObserver; + FolderExpander* m_folderExpander; }; #endif |
