Version 6.4.0.0.beta1, tag libreoffice-6.4.0.0.beta1
[LibreOffice.git] / cui / source / options / tsaurls.hxx
blob41ceeaa3725367cf171b4d04575d92c8d57f0151
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
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/.
8 */
10 #ifndef INCLUDED_CUI_SOURCE_OPTIONS_TSAURLS_HXX
11 #define INCLUDED_CUI_SOURCE_OPTIONS_TSAURLS_HXX
13 #include <vcl/weld.hxx>
15 #include <set>
17 class TSAURLsDialog : public weld::GenericDialogController
19 private:
20 std::unique_ptr<weld::Button> m_xAddBtn;
21 std::unique_ptr<weld::Button> m_xDeleteBtn;
22 std::unique_ptr<weld::Button> m_xOKBtn;
23 std::unique_ptr<weld::TreeView> m_xURLListBox;
24 std::unique_ptr<weld::Label> m_xEnterAUrl;
26 DECL_LINK(AddHdl_Impl, weld::Button&, void);
27 DECL_LINK(DeleteHdl_Impl, weld::Button&, void);
28 DECL_LINK(OKHdl_Impl, weld::Button&, void);
29 // After operations in a TreeView we have nothing selected
30 // Is Selected element handler for the TreeView
31 DECL_LINK(SelectHdl, weld::TreeView&, void);
33 std::set<OUString> m_aURLs;
35 void AddTSAURL(const OUString &rURL);
37 public:
38 explicit TSAURLsDialog(weld::Window* pParent);
39 virtual ~TSAURLsDialog() override;
42 #endif
44 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */