Kaydet (Commit) 3a15c034 authored tarafından Caolán McNamara's avatar Caolán McNamara

weld SvxGeneralTabPage

Change-Id: I3b32a8f657078ba76d92bee7bff6bab1b226e31e
Reviewed-on: https://gerrit.libreoffice.org/69083
Tested-by: Jenkins
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst eed07fd5
......@@ -23,16 +23,10 @@
#include <svx/optgenrl.hxx>
#include <sfx2/tabdlg.hxx>
#include <vcl/fixed.hxx>
#include <vcl/layout.hxx>
#include <vcl/weld.hxx>
#include <vector>
// forward ---------------------------------------------------------------
class Edit;
// class SvxGeneralTabPage -----------------------------------------------
class SvxGeneralTabPage : public SfxTabPage
......@@ -40,11 +34,11 @@ class SvxGeneralTabPage : public SfxTabPage
using TabPage::DeactivatePage;
private:
// the "Use data for document properties" checkbox
VclPtr<CheckBox> m_pUseDataCB;
VclPtr<VclContainer> m_pCryptoFrame;
VclPtr<ListBox> m_pSigningKeyLB;
VclPtr<ListBox> m_pEncryptionKeyLB;
VclPtr<CheckBox> m_pEncryptToSelfCB;
std::unique_ptr<weld::CheckButton> m_xUseDataCB;
std::unique_ptr<weld::Widget> m_xCryptoFrame;
std::unique_ptr<weld::ComboBox> m_xSigningKeyLB;
std::unique_ptr<weld::ComboBox> m_xEncryptionKeyLB;
std::unique_ptr<weld::CheckButton> m_xEncryptToSelfCB;
// rows
struct Row;
std::vector<std::shared_ptr<Row> > vRows;
......@@ -55,7 +49,7 @@ private:
unsigned nNameRow;
unsigned nShortNameField;
DECL_LINK( ModifyHdl_Impl, Edit&, void );
DECL_LINK( ModifyHdl_Impl, weld::Entry&, void );
bool GetData_Impl();
void SetData_Impl();
......@@ -68,9 +62,8 @@ protected:
virtual DeactivateRC DeactivatePage( SfxItemSet* pSet ) override;
public:
SvxGeneralTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
SvxGeneralTabPage(TabPageParent pParent, const SfxItemSet& rSet);
virtual ~SvxGeneralTabPage() override;
virtual void dispose() override;
static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet );
......
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment