1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
12 #include <vcl/weld.hxx>
16 class TSAURLsDialog
: public weld::GenericDialogController
19 std::unique_ptr
<weld::Button
> m_xAddBtn
;
20 std::unique_ptr
<weld::Button
> m_xDeleteBtn
;
21 std::unique_ptr
<weld::Button
> m_xOKBtn
;
22 std::unique_ptr
<weld::TreeView
> m_xURLListBox
;
23 std::unique_ptr
<weld::Label
> m_xEnterAUrl
;
25 DECL_LINK(AddHdl_Impl
, weld::Button
&, void);
26 DECL_LINK(DeleteHdl_Impl
, weld::Button
&, void);
27 DECL_LINK(OKHdl_Impl
, weld::Button
&, void);
28 // After operations in a TreeView we have nothing selected
29 // Is Selected element handler for the TreeView
30 DECL_LINK(SelectHdl
, weld::TreeView
&, void);
32 std::set
<OUString
> m_aURLs
;
34 void AddTSAURL(const OUString
& rURL
);
37 explicit TSAURLsDialog(weld::Window
* pParent
);
38 virtual ~TSAURLsDialog() override
;
41 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */