Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2012-01-15 16:54:41 +0000
committerStijn Buys <ingar@osirion.org>2012-01-15 16:54:41 +0000
commit5b4f6c57feacefd121f71283d189b08880177462 (patch)
treee6522e16f01bb017cfe87b2bfb2c021284b14fdd /src/ui/listview.h
parent47a0d9b5a128ef537693055da194e552476bc2f4 (diff)
Added ui::ListView::sort_reverse() method.
Diffstat (limited to 'src/ui/listview.h')
-rw-r--r--src/ui/listview.h7
1 files changed, 7 insertions, 0 deletions
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();