diff options
| author | Peter Penz <[email protected]> | 2009-08-29 12:16:02 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2009-08-29 12:16:02 +0000 |
| commit | b1536a43422d80300afe48172444dced06e03a70 (patch) | |
| tree | df6fb9f41c98970b8dcc45593f4cc6691bc15bff /src/dolphinview.h | |
| parent | 95f0ba76ae26e45a6ff9f1ec51db7d270ca278c0 (diff) | |
move the DolphinFileItemDelegate creation into ViewExtensionsFactory
svn path=/trunk/KDE/kdebase/apps/; revision=1016949
Diffstat (limited to 'src/dolphinview.h')
| -rw-r--r-- | src/dolphinview.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h index 3637df444..08fe70e5f 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -44,7 +44,6 @@ typedef KIO::FileUndoManager::CommandType CommandType; class DolphinController; class DolphinColumnViewContainer; class DolphinDetailsView; -class DolphinFileItemDelegate; class DolphinIconsView; class DolphinMainWindow; class DolphinModel; @@ -768,8 +767,15 @@ private: void createView(QWidget* parent, DolphinController* controller, Mode mode); void deleteView(); - bool prepareUrlChange(const KUrl& url); + + /** + * Must be invoked before the URL has been changed and allows view implementations + * like the column view to create a new column. + */ + void prepareUrlChange(const KUrl& url); + QAbstractItemView* itemView() const; + KFileItemDelegate* itemDelegate() const; /** * Returns the widget that should be added to the layout as target. Usually @@ -817,7 +823,6 @@ private: QVBoxLayout* m_topLayout; DolphinController* m_controller; - DolphinFileItemDelegate* m_fileItemDelegate; ViewAccessor m_viewAccessor; QItemSelectionModel* m_selectionModel; |
