diff options
| author | Peter Penz <[email protected]> | 2010-03-30 20:19:32 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2010-03-30 20:19:32 +0000 |
| commit | 47d31139224f9bfded4626803626a58afe3eb748 (patch) | |
| tree | d07122b133b9865bb982177706376478651d1ea7 /src/viewextensionsfactory.h | |
| parent | 25ffe18e65543cacd07be2628a60f10316375dd3 (diff) | |
Split the class DolphinController into the two classes DolphinViewController and ViewModeController.
The ViewModeController offers a defined interface to control view mode implementations like icons view, details view and column view. The DolphinViewController allows those view mode implementations to control the parent DolphinView in a limited way.
svn path=/trunk/KDE/kdebase/apps/; revision=1109228
Diffstat (limited to 'src/viewextensionsfactory.h')
| -rw-r--r-- | src/viewextensionsfactory.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/viewextensionsfactory.h b/src/viewextensionsfactory.h index 9187c10e3..9324932ac 100644 --- a/src/viewextensionsfactory.h +++ b/src/viewextensionsfactory.h @@ -24,7 +24,6 @@ #include "dolphinview.h" -class DolphinController; class DolphinFileItemDelegate; class DolphinSortFilterProxyModel; class DolphinViewAutoScroller; @@ -35,6 +34,7 @@ class SelectionManager; class ToolTipManager; class QAbstractItemView; class VersionControlObserver; +class ViewModeController; /** * @brief Responsible for creating extensions like tooltips and previews @@ -51,7 +51,8 @@ class ViewExtensionsFactory : public QObject public: explicit ViewExtensionsFactory(QAbstractItemView* view, - DolphinController* controller); + DolphinViewController* dolphinViewController, + const ViewModeController* viewModeController); virtual ~ViewExtensionsFactory(); /** @@ -90,7 +91,7 @@ private: private: QAbstractItemView* m_view; - DolphinController* m_controller; + DolphinViewController* m_dolphinViewController; ToolTipManager* m_toolTipManager; KFilePreviewGenerator* m_previewGenerator; SelectionManager* m_selectionManager; |
