┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphindetailsview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2009-08-29 09:42:21 +0000
committerPeter Penz <[email protected]>2009-08-29 09:42:21 +0000
commitc05395ef9a6f449bd96b4323d308b53d70cede99 (patch)
treeee8b6db0d0b07a7439b95395cbce0429c17ef635 /src/dolphindetailsview.h
parente1c74b05fdae664aa9211cba3afb7993b51ec23b (diff)
Move code for initializing and handling view extensions to the new class ViewExtensionsFactory. Beside making DolphinView less complex this will allow the column view to share the view extension code instead of (partly) duplicating it as it has been done before.
Currently only the tooltips- and filepreview-handling have been moved into ViewExtensionsFactory, a further cleanup will be done later. svn path=/trunk/KDE/kdebase/apps/; revision=1016893
Diffstat (limited to 'src/dolphindetailsview.h')
-rw-r--r--src/dolphindetailsview.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/dolphindetailsview.h b/src/dolphindetailsview.h
index 483d57dd8..93c27ac50 100644
--- a/src/dolphindetailsview.h
+++ b/src/dolphindetailsview.h
@@ -27,7 +27,9 @@
class DolphinController;
class SelectionManager;
+class DolphinSortFilterProxyModel;
class DolphinViewAutoScroller;
+class ViewExtensionsFactory;
/**
* @brief Represents the details view which shows the name, size,
@@ -42,7 +44,9 @@ class LIBDOLPHINPRIVATE_EXPORT DolphinDetailsView : public QTreeView
Q_OBJECT
public:
- explicit DolphinDetailsView(QWidget* parent, DolphinController* controller);
+ explicit DolphinDetailsView(QWidget* parent,
+ DolphinController* controller,
+ DolphinSortFilterProxyModel* model);
virtual ~DolphinDetailsView();
protected:
@@ -202,6 +206,7 @@ private:
DolphinController* m_controller;
SelectionManager* m_selectionManager;
DolphinViewAutoScroller* m_autoScroller;
+ ViewExtensionsFactory* m_extensionsFactory;
QAction* m_expandableFoldersAction;
QFont m_font;