From 91f54b1990153efd17ea5e33feffd1ec16b0387b Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Fri, 7 Feb 2020 11:57:21 +0000 Subject: weld URLBox ItemWindow MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I7dad000404a188e2f5588b90d73ea9b1236bd301 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88183 Tested-by: Jenkins Reviewed-by: Caolán McNamara --- include/svtools/inettbc.hxx | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include/svtools') 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& rLink) { m_xWidget->connect_entry_activate(rLink); } + void connect_key_press(const Link& rLink) { m_xWidget->connect_key_press(rLink); } void connect_changed(const Link& rLink) { aChangeHdl = rLink; } void trigger_changed() { aChangeHdl.Call(*m_xWidget); } void connect_focus_in(const Link& 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 ); -- cgit