summaryrefslogtreecommitdiff
path: root/include/vcl/weld.hxx
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-05-01 16:03:24 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-05-01 21:23:32 +0200
commitab4609c8f9756e4fe6959a10e54ebee9105edbf7 (patch)
treeaf85710d0826cba013b52f72b9033dc5ad0dc1ba /include/vcl/weld.hxx
parent43af818557904450b13839350c65ad865b9ee9d2 (diff)
weld ScMoveTableDlg
Change-Id: I4d5601d0fb02a20bf6c83fc10411f610bdb5ce32 Reviewed-on: https://gerrit.libreoffice.org/53698 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/vcl/weld.hxx')
-rw-r--r--include/vcl/weld.hxx15
1 files changed, 9 insertions, 6 deletions
diff --git a/include/vcl/weld.hxx b/include/vcl/weld.hxx
index 702b0cf415c7..9d3ab732984a 100644
--- a/include/vcl/weld.hxx
+++ b/include/vcl/weld.hxx
@@ -249,6 +249,9 @@ public:
virtual bool get_entry_selection_bounds(int& rStartPos, int& rEndPos) = 0;
virtual void set_entry_completion(bool bEnable) = 0;
+ virtual void freeze() = 0;
+ virtual void thaw() = 0;
+
void connect_entry_activate(const Link<ComboBoxText&, void>& rLink)
{
m_aEntryActivateHdl = rLink;
@@ -299,18 +302,18 @@ public:
virtual std::vector<int> get_selected_rows() const = 0;
//by text
- virtual OUString get(int pos) const = 0;
- virtual int find(const OUString& rText) const = 0;
- OUString get_selected_text() const { return get(get_selected_index()); }
- void select_text(const OUString& rText) { select(find(rText)); }
- void remove_text(const OUString& rText) { remove(find(rText)); }
+ virtual OUString get_text(int pos) const = 0;
+ virtual int find_text(const OUString& rText) const = 0;
+ OUString get_selected_text() const { return get_text(get_selected_index()); }
+ void select_text(const OUString& rText) { select(find_text(rText)); }
+ void remove_text(const OUString& rText) { remove(find_text(rText)); }
std::vector<OUString> get_selected_rows_text() const
{
std::vector<int> aRows(get_selected_rows());
std::vector<OUString> aRet;
aRet.reserve(aRows.size());
for (auto a : aRows)
- aRet.push_back(get(a));
+ aRet.push_back(get_text(a));
return aRet;
}