diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-07 11:57:21 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-07 15:30:15 +0100 |
commit | 91f54b1990153efd17ea5e33feffd1ec16b0387b (patch) | |
tree | 367bc38c21223a91f4089a408b5c8d0ae2254974 /include/svtools | |
parent | 30ab660b07ab9aa72624a728d9e1f963507def7c (diff) |
weld URLBox ItemWindow
Change-Id: I7dad000404a188e2f5588b90d73ea9b1236bd301
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88183
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include/svtools')
-rw-r--r-- | include/svtools/inettbc.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index ac72b4d57bef..8625df7e935d 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -101,6 +101,7 @@ public: void show() { m_xWidget->show(); } void clear() { m_xWidget->clear(); } void connect_entry_activate(const Link<weld::ComboBox&, bool>& rLink) { m_xWidget->connect_entry_activate(rLink); } + void connect_key_press(const Link<const KeyEvent&, bool>& rLink) { m_xWidget->connect_key_press(rLink); } void connect_changed(const Link<weld::ComboBox&, void>& rLink) { aChangeHdl = rLink; } void trigger_changed() { aChangeHdl.Call(*m_xWidget); } void connect_focus_in(const Link<weld::Widget&, void>& rLink) { aFocusInHdl = rLink; } @@ -112,6 +113,7 @@ public: void set_sensitive(bool bSensitive) { m_xWidget->set_sensitive(bSensitive); } void set_help_id(const OString& rHelpId) { m_xWidget->set_help_id(rHelpId); } void select_entry_region(int nStartPos, int nEndPos) { m_xWidget->select_entry_region(nStartPos, nEndPos); } + Size get_preferred_size() const { return m_xWidget->get_preferred_size(); } void EnableAutocomplete(bool bEnable = true) { m_xWidget->set_entry_completion(bEnable); } void SetBaseURL( const OUString& rURL ); |