diff options
| author | Peter Penz <[email protected]> | 2009-08-29 09:42:21 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-08-29 09:42:21 +0000 |
| commit | c05395ef9a6f449bd96b4323d308b53d70cede99 (patch) | |
| tree | ee8b6db0d0b07a7439b95395cbce0429c17ef635 /src/dolphincolumnview.h | |
| parent | e1c74b05fdae664aa9211cba3afb7993b51ec23b (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/dolphincolumnview.h')
| -rw-r--r-- | src/dolphincolumnview.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/src/dolphincolumnview.h b/src/dolphincolumnview.h index 0a601b7fa..97f498c97 100644 --- a/src/dolphincolumnview.h +++ b/src/dolphincolumnview.h @@ -34,11 +34,10 @@ class DolphinModel; class DolphinSortFilterProxyModel; class DolphinDirLister; class DolphinViewAutoScroller; -class KFilePreviewGenerator; class KFileItem; class KFileItemList; class SelectionManager; -class ToolTipManager; +class ViewExtensionsFactory; /** * Represents one column inside the DolphinColumnViewContainer. @@ -127,6 +126,7 @@ private: DolphinColumnViewContainer* m_container; SelectionManager* m_selectionManager; DolphinViewAutoScroller* m_autoScroller; + ViewExtensionsFactory* m_extensionsFactory; KUrl m_url; // URL of the directory that is shown KUrl m_childUrl; // URL of the next column that is shown @@ -137,10 +137,6 @@ private: DolphinModel* m_dolphinModel; DolphinSortFilterProxyModel* m_proxyModel; - KFilePreviewGenerator* m_previewGenerator; - - ToolTipManager* m_toolTipManager; - QRect m_dropRect; friend class DolphinColumnViewContainer; |
