diff options
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 |
