LibreOffice Module cui (master)  1
certpath.hxx
Go to the documentation of this file.
1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
2 /*
3  * This file is part of the LibreOffice project.
4  *
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  */
9 
10 #ifndef INCLUDED_CUI_SOURCE_OPTIONS_CERTPATH_HXX
11 #define INCLUDED_CUI_SOURCE_OPTIONS_CERTPATH_HXX
12 
13 #include <vcl/weld.hxx>
14 
16 {
17 private:
18  std::unique_ptr<weld::Button> m_xAddBtn;
19  std::unique_ptr<weld::Button> m_xOKBtn;
20  std::unique_ptr<weld::TreeView> m_xCertPathList;
21  std::unique_ptr<weld::Label> m_xAddDialogLabel;
22  std::unique_ptr<weld::Label> m_xManualLabel;
23  OUString m_sAddDialogText;
24  OUString m_sManual;
25 
26  typedef std::pair<int, int> row_col;
27  DECL_LINK(CheckHdl_Impl, const row_col&, void);
28  DECL_LINK(AddHdl_Impl, weld::Button&, void);
29  DECL_LINK(OKHdl_Impl, weld::Button&, void);
30 
31  void HandleEntryChecked(int nRow);
32  void AddCertPath(const OUString &rProfile, const OUString &rPath);
33 public:
34  explicit CertPathDialog(weld::Window* pParent);
35  virtual ~CertPathDialog() override;
36 
37  OUString getDirectory() const;
38 };
39 
40 #endif
41 
42 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
void HandleEntryChecked(int nRow)
Definition: certpath.cxx:162
DECL_LINK(CheckHdl_Impl, const row_col &, void)
OUString getDirectory() const
Definition: certpath.cxx:145
OUString m_sAddDialogText
Definition: certpath.hxx:23
OUString m_sManual
Definition: certpath.hxx:24
std::unique_ptr< weld::Button > m_xAddBtn
Definition: certpath.hxx:18
virtual ~CertPathDialog() override
Definition: certpath.cxx:153
std::unique_ptr< weld::TreeView > m_xCertPathList
Definition: certpath.hxx:20
std::unique_ptr< weld::Label > m_xManualLabel
Definition: certpath.hxx:22
std::pair< int, int > row_col
Definition: certpath.hxx:26
std::unique_ptr< weld::Label > m_xAddDialogLabel
Definition: certpath.hxx:21
std::unique_ptr< weld::Button > m_xOKBtn
Definition: certpath.hxx:19
void AddCertPath(const OUString &rProfile, const OUString &rPath)
Definition: certpath.cxx:178
CertPathDialog(weld::Window *pParent)
Definition: certpath.cxx:26