1. 22 Jul, 2007 1 commit
    • Peter Penz's avatar
      Use KDirSortFilterProxyModel::naturalCompare() to prevent code duplication.... · d40be8ab
      Peter Penz authored
      Use KDirSortFilterProxyModel::naturalCompare() to prevent code duplication. DolphinSortFilterProxyModel::lessThan() still contains similar code like KDirSortFilterProxyModel::lessThan(), but we will discuss this with Rafael in August (it's open yet whether KSortFilterProxyModel should be derived from KDirSortFilterProxyModel or not...).
      
      CCMAIL: ereslibre@gmail.com
      
      svn path=/trunk/KDE/kdebase/apps/; revision=691028
      d40be8ab
  2. 21 Jul, 2007 1 commit
  3. 20 Jul, 2007 1 commit
  4. 23 Jun, 2007 2 commits
    • Rafael Fernández López's avatar
      Fix compile problems on systems that don't want nepomuk. eeek ! · f2cb65db
      Rafael Fernández López authored
      svn path=/trunk/KDE/kdebase/apps/; revision=679265
      f2cb65db
    • Rafael Fernández López's avatar
      Small fixes, but that have an impact of how things are visualized. · 2ba22b07
      Rafael Fernández López authored
      * Move "not tagged" elements to the end. We sort the rest (when they have tags), but keep untagged elements (the category) at the end of the view, since the user had
      "less" interest on them.
      
      * Break the law again of "dirs first". If we have on a folder only a tagged file (and is a file) and the rest are folders, that file goes first, since it was tagged.
      
      * If we are on the same category, dirs go first. Here we make them citizens of first class.
      
      * Commas instead of spaces when building categories for tags, they make it more readable and less error-prone (we can have tags "a", "dog" and "a dog" as tags, right?, 
      so spaces here make the thing a bit hard to distinguish, I have two tags "a", "dog", or the tag "a dog") ;)
      
      * Return an empty string when the item is not tagged at the method tagsForIndex. This way we always show untagged items the latest ones very easily (without nasty string 
      checks). We will let the categorizer put a fancy name for them, if the returned string was empty.
      
      CCMAIL: peter.penz@gmx.at
      
      svn path=/trunk/KDE/kdebase/apps/; revision=679097
      2ba22b07
  5. 22 Jun, 2007 3 commits
  6. 20 Jun, 2007 1 commit
  7. 19 Jun, 2007 1 commit
  8. 18 Jun, 2007 10 commits
  9. 17 Jun, 2007 3 commits
  10. 18 May, 2007 1 commit
  11. 06 May, 2007 1 commit
  12. 22 Apr, 2007 1 commit
  13. 09 Apr, 2007 1 commit
  14. 04 Apr, 2007 1 commit
  15. 27 Mar, 2007 2 commits
  16. 14 Mar, 2007 1 commit
  17. 13 Mar, 2007 1 commit
  18. 07 Feb, 2007 1 commit
  19. 05 Feb, 2007 1 commit
  20. 15 Jan, 2007 1 commit
  21. 12 Jan, 2007 2 commits
  22. 11 Jan, 2007 1 commit
    • Peter Penz's avatar
      Do a natural sorting of items (thanks to Dominic Battre and Martin Pool for... · 7aac4752
      Peter Penz authored
      Do a natural sorting of items (thanks to Dominic Battre and Martin Pool for the patch!). This means that items like:
      
       item_10.png
       item_1.png
       item_2.png
      
      are sorted like
       item_1.png
       item_2.png
       item_10.png
      
      TODO: corresponding to Ellen directory items should always be ordered as first items (have to go work now -> weekend task :-))
      
      svn path=/trunk/playground/utils/dolphin/; revision=622241
      7aac4752
  23. 24 Dec, 2006 1 commit
    • Holger Freyther's avatar
      -Use QSortFilterProxyModel for filtering instead of KDirList::setFilterName · 6fc1f6a0
      Holger Freyther authored
      -Map DolphinView::Sorting to a column of the KDirModel and sort this column
      -Reimplement QAbstractItemModel::sort(int,SortOrder) to keep track of the
       sorted column and order as dolphin uses this in the config dialogs. We will
       now work correctly if a view changes sorting.
      
      svn path=/trunk/playground/utils/dolphin/; revision=616170
      6fc1f6a0
  24. 23 Dec, 2006 1 commit