Revision 744625

Go back to digest for 9th December 2007

Features in KDE Base

Rafael Fernández López committed changes in /trunk/KDE/kdelibs:

Important changes on our models. The sorting of the categories is being done internally, taking info from data() with role CategorySortRole, while we use CategoryDisplayRole for displaying the information on the view itself.

This leads us to do a natural comparing (if needed it can be removed), and therefore, moving the naturalCompare method from KDirSortFilterProxyModel to KCategorizedSortFilterProxyModel.

This way categorizing is even easier. This patch has been developed by John Tapsell and me.

More changes will follow on Dolphin to fit this changes.

File Changes

Modified 5 files
  • /trunk/KDE/kdelibs
  •   /kfile/kdirsortfilterproxymodel.cpp
  •   /kfile/kdirsortfilterproxymodel.h
  •   /kdeui/itemviews/kcategorizedsortfilterproxymodel.cpp
  •   /kdeui/itemviews/kcategorizedsortfilterproxymodel.h
  •   /kdeui/itemviews/kcategorizedsortfilterproxymodel_p.h
5 files changed in total