┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinview.h
diff options
context:
space:
mode:
authorPeter Penz <[email protected]>2007-06-22 10:18:46 +0000
committerPeter Penz <[email protected]>2007-06-22 10:18:46 +0000
commit4062c4cf2d9c3a6716ced8686fa2e2324261c0ec (patch)
treed011dde8a6c19adb57a00f3d39a16a2e6d91fbd1 /src/dolphinview.h
parentaed0e931958cc466974baf1307ea02d3f755880d (diff)
Allow to sort by rating, which can be quite useful in combination with the "Show in Groups" feature. Although still slow, it basically works. All the code is based on Rafael Fernández López patch available at http://media.ereslibre.es/2007/06/dolphin-21062007.diff.
svn path=/trunk/KDE/kdebase/apps/; revision=678801
Diffstat (limited to 'src/dolphinview.h')
-rw-r--r--src/dolphinview.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/dolphinview.h b/src/dolphinview.h
index 1a240be7a..223c52dbf 100644
--- a/src/dolphinview.h
+++ b/src/dolphinview.h
@@ -22,6 +22,8 @@
#ifndef DOLPHINVIEW_H
#define DOLPHINVIEW_H
+#include <config-nepomuk.h>
+
#include <kparts/part.h>
#include <kfileitem.h>
#include <kfileitemdelegate.h>
@@ -102,7 +104,9 @@ public:
SortByOwner,
SortByGroup,
SortByType,
- MaxSortEnum = SortByType
+ SortByRating,
+ SortByTags,
+ MaxSortEnum = SortByTags
};
/**