Line data Source code
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 : * This file incorporates work covered by the following license notice:
10 : *
11 : * Licensed to the Apache Software Foundation (ASF) under one or more
12 : * contributor license agreements. See the NOTICE file distributed
13 : * with this work for additional information regarding copyright
14 : * ownership. The ASF licenses this file to you under the Apache
15 : * License, Version 2.0 (the "License"); you may not use this file
16 : * except in compliance with the License. You may obtain a copy of
17 : * the License at http://www.apache.org/licenses/LICENSE-2.0 .
18 : */
19 : #ifndef INCLUDED_SW_SOURCE_UIBASE_INC_MAILCONFIGPAGE_HXX
20 : #define INCLUDED_SW_SOURCE_UIBASE_INC_MAILCONFIGPAGE_HXX
21 :
22 : #include <sfx2/tabdlg.hxx>
23 : #include <vcl/button.hxx>
24 : #include <vcl/lstbox.hxx>
25 : #include <vcl/field.hxx>
26 : #include <vcl/fixed.hxx>
27 : #include <sfx2/basedlgs.hxx>
28 :
29 : class SwTestAccountSettingsDialog;
30 : class SwMailMergeConfigItem;
31 :
32 : class SwMailConfigPage : public SfxTabPage
33 : {
34 : friend class SwTestAccountSettingsDialog;
35 :
36 : VclPtr<Edit> m_pDisplayNameED;
37 : VclPtr<Edit> m_pAddressED;
38 :
39 : VclPtr<CheckBox> m_pReplyToCB;
40 : VclPtr<FixedText> m_pReplyToFT;
41 : VclPtr<Edit> m_pReplyToED;
42 :
43 : VclPtr<Edit> m_pServerED;
44 : VclPtr<NumericField> m_pPortNF;
45 :
46 : VclPtr<CheckBox> m_pSecureCB;
47 :
48 : VclPtr<PushButton> m_pServerAuthenticationPB;
49 : VclPtr<PushButton> m_pTestPB;
50 :
51 : SwMailMergeConfigItem* m_pConfigItem;
52 :
53 : DECL_LINK(ReplyToHdl, CheckBox*);
54 : DECL_LINK(AuthenticationHdl, void *);
55 : DECL_LINK(TestHdl, void *);
56 :
57 : public:
58 : SwMailConfigPage( vcl::Window* pParent, const SfxItemSet& rSet );
59 : virtual ~SwMailConfigPage();
60 : virtual void dispose() SAL_OVERRIDE;
61 :
62 : static VclPtr<SfxTabPage> Create( vcl::Window* pParent,
63 : const SfxItemSet* rAttrSet);
64 :
65 : virtual bool FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
66 : virtual void Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
67 :
68 : };
69 :
70 0 : class SwMailConfigDlg : public SfxSingleTabDialog
71 : {
72 : public:
73 : SwMailConfigDlg(vcl::Window* pParent, SfxItemSet& rSet);
74 : };
75 :
76 : #endif
77 :
78 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|