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_UI_INC_MAILCONFIGPAGE_HXX
20 : #define INCLUDED_SW_SOURCE_UI_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 : Edit* m_pDisplayNameED;
37 : Edit* m_pAddressED;
38 :
39 : CheckBox* m_pReplyToCB;
40 : FixedText* m_pReplyToFT;
41 : Edit* m_pReplyToED;
42 :
43 : Edit* m_pServerED;
44 : NumericField* m_pPortNF;
45 :
46 : CheckBox* m_pSecureCB;
47 :
48 : PushButton* m_pServerAuthenticationPB;
49 : 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( Window* pParent, const SfxItemSet& rSet );
59 : virtual ~SwMailConfigPage();
60 :
61 : static SfxTabPage* Create( Window* pParent,
62 : const SfxItemSet& rAttrSet);
63 :
64 : virtual bool FillItemSet( SfxItemSet& rSet ) SAL_OVERRIDE;
65 : virtual void Reset( const SfxItemSet& rSet ) SAL_OVERRIDE;
66 :
67 : };
68 :
69 0 : class SwMailConfigDlg : public SfxSingleTabDialog
70 : {
71 : public:
72 : SwMailConfigDlg(Window* pParent, SfxItemSet& rSet);
73 : };
74 :
75 : #endif
76 :
77 : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
|