diff options
author | Caolán McNamara <caolanm@redhat.com> | 2020-02-07 12:01:55 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2020-02-07 15:30:46 +0100 |
commit | e982f2d4ad8956bc184b625b50fad4c3be117203 (patch) | |
tree | 9f0692ad8ad92da59ed51d8c942600fb1e572399 /include | |
parent | da7262415fb47710d5ff18fbc33e96a13412ae7b (diff) |
SvtURLBox is now unused
Change-Id: Iab78b3803272ceb62c4df74241b64f23b1437b03
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88184
Tested-by: Jenkins
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/svtools/inettbc.hxx | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/include/svtools/inettbc.hxx b/include/svtools/inettbc.hxx index 8625df7e935d..08893b3e977d 100644 --- a/include/svtools/inettbc.hxx +++ b/include/svtools/inettbc.hxx @@ -25,45 +25,12 @@ #include <svtools/svtdllapi.h> #include <tools/urlobj.hxx> -#include <vcl/combobox.hxx> #include <vcl/idle.hxx> #include <vcl/weld.hxx> class MatchContext_Impl; class SvtMatchContext_Impl; class SvtURLBox_Impl; -class SVT_DLLPUBLIC SvtURLBox final : public ComboBox -{ -friend class SvtMatchContext_Impl; -friend class SvtURLBox_Impl; - Link<SvtURLBox*,void> aOpenHdl; - rtl::Reference< SvtMatchContext_Impl > pCtx; - std::unique_ptr<SvtURLBox_Impl> pImpl; - INetProtocol eSmartProtocol; - bool bAutoCompleteMode : 1; - - SVT_DLLPRIVATE bool ProcessKey( const vcl::KeyCode& rCode ); - SVT_DLLPRIVATE void TryAutoComplete(); - SVT_DLLPRIVATE void UpdatePicklistForSmartProtocol_Impl(); - DECL_DLLPRIVATE_LINK( AutoCompleteHdl_Impl, Edit&, void ); - SVT_DLLPRIVATE void Init(bool bSetDefaultHelpID); - - virtual bool EventNotify( NotifyEvent& rNEvt ) override; - virtual void Select() override; - virtual bool PreNotify( NotifyEvent& rNEvt ) override; - -public: - SvtURLBox( vcl::Window* pParent, INetProtocol eSmart = INetProtocol::NotValid, bool bSetDefaultHelpID = true ); - virtual ~SvtURLBox() override; - virtual void dispose() override; - - void SetOpenHdl( const Link<SvtURLBox*,void>& rLink ) { aOpenHdl = rLink; } - const Link<SvtURLBox*,void>& GetOpenHdl() const { return aOpenHdl; } - INetProtocol GetSmartProtocol() const { return eSmartProtocol; } - OUString GetURL(); - - static OUString ParseSmart( const OUString& aText, const OUString& aBaseURL ); -}; class SVT_DLLPUBLIC URLBox { |