diff options
author | Caolán McNamara <caolanm@redhat.com> | 2019-04-09 09:42:56 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2019-04-09 11:50:43 +0200 |
commit | 13f449221e550c84bb60c368b2520148104e6da9 (patch) | |
tree | 7dfd66bd7823acf14a9df27f68df1b4ed7182e89 /include/vcl | |
parent | d750e5bae576502edf8cd59291be33c50cd15193 (diff) |
n_children is count of toplevel nodes
Change-Id: I38302045bfe096781ce9c59c6f2dbe0a7625efda
Reviewed-on: https://gerrit.libreoffice.org/70453
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/vcl')
-rw-r--r-- | include/vcl/weld.hxx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx index 1529abe9a31b..4b2c759628b9 100644 --- a/include/vcl/weld.hxx +++ b/include/vcl/weld.hxx @@ -732,15 +732,18 @@ public: void select_all() { unselect(-1); } void unselect_all() { select(-1); } + // return the number of toplevel nodes virtual int n_children() const = 0; virtual void make_sorted() = 0; virtual void make_unsorted() = 0; virtual bool get_sort_order() const = 0; virtual void set_sort_order(bool bAscending) = 0; + // TRUE ascending, FALSE, descending, INDET, neither (off) virtual void set_sort_indicator(TriState eState, int nColumn = -1) = 0; virtual TriState get_sort_indicator(int nColumn = -1) const = 0; + virtual int get_sort_column() const = 0; virtual void set_sort_column(int nColumn) = 0; |