summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-04 12:24:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-04 22:10:54 +0200
commit2cab4acbe2aaaee6e5b9afeb68f3e555ecff2ec7 (patch)
treeca04beb6908221e95811e2acb26a626d7febf92b /include
parent5103c6a405e93bb05018ab7c89e7e9446c740aaa (diff)
weld SwNumPositionTabPage
Change-Id: I12171eb00d5b8354456b629d58d20b22109e24f8 Reviewed-on: https://gerrit.libreoffice.org/53845 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r--include/vcl/weld.hxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 9e58e585a533..6c1078a04457 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -309,6 +309,7 @@ public:
//by index
virtual int get_selected_index() const = 0;
virtual void select(int pos) = 0;
+ virtual void unselect(int pos) = 0;
virtual void remove(int pos) = 0;
virtual void set_top_entry(int pos) = 0;
virtual std::vector<int> get_selected_rows() const = 0;
@@ -334,6 +335,10 @@ public:
virtual int find_id(const OUString& rId) const = 0;
OUString get_selected_id() const { return get_id(get_selected_index()); }
void select_id(const OUString& rId) { select(find_id(rId)); }
+
+ //all of them
+ void select_all() { unselect(-1); }
+ void unselect_all() { select(-1); }
};
class VCL_DLLPUBLIC Button : virtual public Container