From 5b4f6c57feacefd121f71283d189b08880177462 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Sun, 15 Jan 2012 16:54:41 +0000 Subject: Added ui::ListView::sort_reverse() method. --- src/ui/listview.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/ui/listview.h') diff --git a/src/ui/listview.h b/src/ui/listview.h index 81dd5a5..5a465f9 100644 --- a/src/ui/listview.h +++ b/src/ui/listview.h @@ -66,6 +66,13 @@ public: */ void sort(); + /** + * @brief reverse sort child ListItems according to their sortkey + * Sort will fail with an assert error if the ListView + * contains any non-ListItem child widgets + */ + void sort_reverse(); + protected: virtual void resize(); -- cgit v1.2.3