From c8072005fada01d772595ec64adca449134f421e Mon Sep 17 00:00:00 2001 From: Rafael Fernández López Date: Mon, 17 Sep 2007 04:02:17 +0000 Subject: Create the new architecture for KCategorizedView. Now DolphinModel is created, inheriting KDirModel for returning valid data for the role of the category of an item. DolphinSortFilterProxyModel implements now methods lessThanCategoryMethod and lessThanGeneralMethod from KCategorizedSortFilterProxyModel. The only thing that needs to be adapted is the keyboard navigation on the KCategorizedView. CCMAIL: peter.penz@gmx.at svn path=/trunk/KDE/kdebase/apps/; revision=713319 --- src/dolphinview.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/dolphinview.h') diff --git a/src/dolphinview.h b/src/dolphinview.h index fa47ba8a5..159613cd9 100644 --- a/src/dolphinview.h +++ b/src/dolphinview.h @@ -41,7 +41,7 @@ class DolphinController; class KDirLister; class KFileItemDelegate; class KUrl; -class KDirModel; +class DolphinModel; class DolphinColumnView; class DolphinDetailsView; class DolphinIconsView; @@ -116,7 +116,7 @@ public: * @param url Specifies the content which should be shown. * @param dirLister Used directory lister. The lister is not owned * by the view and won't get deleted. - * @param dirModel Used directory model. The model is not owned + * @param dolphinModel Used directory model. The model is not owned * by the view and won't get deleted. * @param proxyModel Used proxy model which specifies the sorting. The * model is not owned by the view and won't get @@ -125,7 +125,7 @@ public: DolphinView(QWidget* parent, const KUrl& url, KDirLister* dirLister, - KDirModel* dirModel, + DolphinModel* dolphinModel, DolphinSortFilterProxyModel* proxyModel); virtual ~DolphinView(); @@ -509,7 +509,7 @@ private: /** * Returns true if the index is valid and represents - * the column KDirModel::Name. + * the column DolphinModel::Name. */ bool isValidNameIndex(const QModelIndex& index) const; @@ -563,7 +563,7 @@ private: DolphinColumnView* m_columnView; KFileItemDelegate* m_fileItemDelegate; - KDirModel* m_dirModel; + DolphinModel* m_dolphinModel; KDirLister* m_dirLister; DolphinSortFilterProxyModel* m_proxyModel; -- cgit v1.3