X-Git-Url: https://cloud.milkyroute.net/gitweb/dolphin.git/blobdiff_plain/b607d3cc4bbce0ef496730b25dfe2ec7bf00ab7a..093efca22dfd247f06e2a669ad968300e71ef08d:/src/kcategorizedview_p.h diff --git a/src/kcategorizedview_p.h b/src/kcategorizedview_p.h index 690db5ba9..d72753b1d 100644 --- a/src/kcategorizedview_p.h +++ b/src/kcategorizedview_p.h @@ -21,7 +21,8 @@ #ifndef KCATEGORIZEDVIEW_P_H #define KCATEGORIZEDVIEW_P_H -class DolphinSortFilterProxyModel; +class KCategorizedSortFilterProxyModel; +class KCategoryDrawer; /** * @internal @@ -122,7 +123,7 @@ public: // Basic data KCategorizedView *listView; - KItemCategorizer *itemCategorizer; + KCategoryDrawer *categoryDrawer; QSize biggestItemSize; // Behavior data @@ -140,10 +141,8 @@ public: // Cache data // We cannot merge some of them into structs because it would affect // performance - QHash elementsInfo; // in source model - QHash elementsPosition; // in source model - QHash elementDictionary; // mapped indexes - QHash invertedElementDictionary; // mapped indexes + QHash elementsInfo; + QHash elementsPosition; QHash categoriesIndexes; QHash categoriesPosition; QStringList categories; @@ -152,8 +151,8 @@ public: QRect lastSelectionRect; // Attributes for speed reasons - DolphinSortFilterProxyModel *proxyModel; - QModelIndexList sourceModelIndexList; // in source model + KCategorizedSortFilterProxyModel *proxyModel; + QModelIndexList modelIndexList; }; #endif // KCATEGORIZEDVIEW_P_H