diff options
| author | Peter Penz <[email protected]> | 2007-06-22 10:18:46 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-06-22 10:18:46 +0000 |
| commit | 4062c4cf2d9c3a6716ced8686fa2e2324261c0ec (patch) | |
| tree | d011dde8a6c19adb57a00f3d39a16a2e6d91fbd1 /src/dolphinmainwindow.h | |
| parent | aed0e931958cc466974baf1307ea02d3f755880d (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/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 5bbba5f21..93ab2762a 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -25,6 +25,8 @@ #include "dolphinview.h" #include "sidebarpage.h" +#include <config-nepomuk.h> + #include <kxmlguiwindow.h> #include <ksortablelist.h> #include <konq_undo.h> @@ -278,6 +280,12 @@ private slots: /** The sorting of the current view should be done by the type. */ void sortByType(); + /** The sorting of the current view should be done by the rating. */ + void sortByRating(); + + /** The sorting of the current view should be done by tags. */ + void sortByTags(); + /** Switches between an ascending and descending sorting order. */ void toggleSortOrder(); |
