LCOV - code coverage report
Current view: top level - cui/source/options - optinet2.hxx (source / functions) Hit Total Coverage
Test: commit 10e77ab3ff6f4314137acd6e2702a6e5c1ce1fae Lines: 0 5 0.0 %
Date: 2014-11-03 Functions: 0 5 0.0 %
Legend: Lines: hit not hit

          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_CUI_SOURCE_OPTIONS_OPTINET2_HXX
      20             : #define INCLUDED_CUI_SOURCE_OPTIONS_OPTINET2_HXX
      21             : 
      22             : #include <com/sun/star/lang/XMultiServiceFactory.hpp>
      23             : #include <vcl/field.hxx>
      24             : #include <vcl/group.hxx>
      25             : #include <vcl/layout.hxx>
      26             : #include <vcl/lstbox.hxx>
      27             : #include <svtools/stdctrl.hxx>
      28             : #include <svtools/svtabbx.hxx>
      29             : #include <sfx2/tabdlg.hxx>
      30             : #include <unotools/configitem.hxx>
      31             : 
      32             : #include <svtools/headbar.hxx>
      33             : 
      34             : namespace svx {
      35             :     class SecurityOptionsDialog;
      36             : }
      37             : 
      38             : 
      39             : // class SvxNoSpaceEdit --------------------------------------------------
      40             : 
      41           0 : class SvxNoSpaceEdit : public Edit
      42             : {
      43             : private:
      44             :     bool bOnlyNumeric;
      45             : public:
      46           0 :     SvxNoSpaceEdit(vcl::Window* pParent, WinBits nStyle)
      47             :         : Edit(pParent, nStyle)
      48           0 :         , bOnlyNumeric(false)
      49           0 :     {}
      50             :     virtual void KeyInput(const KeyEvent& rKEvent) SAL_OVERRIDE;
      51             :     virtual void Modify() SAL_OVERRIDE;
      52             :     virtual bool set_property(const OString &rKey, const OString &rValue) SAL_OVERRIDE;
      53             : };
      54             : 
      55             : // class SvxProxyTabPage -------------------------------------------------
      56             : 
      57             : class SvxProxyTabPage : public SfxTabPage
      58             : {
      59             : private:
      60             : 
      61             :     ListBox*        m_pProxyModeLB;
      62             : 
      63             :     FixedText*      m_pHttpProxyFT;
      64             :     SvxNoSpaceEdit* m_pHttpProxyED;
      65             :     FixedText*      m_pHttpPortFT;
      66             :     SvxNoSpaceEdit* m_pHttpPortED;
      67             : 
      68             :     FixedText*      m_pHttpsProxyFT;
      69             :     SvxNoSpaceEdit* m_pHttpsProxyED;
      70             :     FixedText*      m_pHttpsPortFT;
      71             :     SvxNoSpaceEdit* m_pHttpsPortED;
      72             : 
      73             :     FixedText*      m_pFtpProxyFT;
      74             :     SvxNoSpaceEdit* m_pFtpProxyED;
      75             :     FixedText*      m_pFtpPortFT;
      76             :     SvxNoSpaceEdit* m_pFtpPortED;
      77             : 
      78             :     FixedText*      m_pNoProxyForFT;
      79             :     Edit*           m_pNoProxyForED;
      80             :     FixedText*      m_pNoProxyDescFT;
      81             : 
      82             :     const OUString aProxyModePN;
      83             :     const OUString aHttpProxyPN;
      84             :     const OUString aHttpPortPN;
      85             :     const OUString aHttpsProxyPN;
      86             :     const OUString aHttpsPortPN;
      87             :     const OUString aFtpProxyPN;
      88             :     const OUString aFtpPortPN;
      89             :     const OUString aNoProxyDescPN;
      90             : 
      91             :     css::uno::Reference< css::uno::XInterface > m_xConfigurationUpdateAccess;
      92             : 
      93             :     void EnableControls_Impl(bool bEnable);
      94             :     void ReadConfigData_Impl();
      95             :     void ReadConfigDefaults_Impl();
      96             :     void RestoreConfigDefaults_Impl();
      97             : 
      98             :     DECL_LINK( ProxyHdl_Impl, ListBox * );
      99             :     DECL_LINK( LoseFocusHdl_Impl, Edit * );
     100             : 
     101             :     SvxProxyTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
     102             :     virtual ~SvxProxyTabPage();
     103             : 
     104             : public:
     105             :     static SfxTabPage*  Create( vcl::Window* pParent, const SfxItemSet* rAttrSet );
     106             :     virtual bool        FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
     107             :     virtual void        Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
     108             : };
     109             : 
     110             : // #98647# class SvxScriptExecListBox ------------------------------------
     111           0 : class SvxScriptExecListBox : public ListBox
     112             : { // for adding tooltips to ListBox
     113             : public:
     114             :     SvxScriptExecListBox( vcl::Window* pParent, WinBits nStyle = WB_BORDER )
     115             :             :ListBox(pParent, nStyle) {}
     116             :     SvxScriptExecListBox( vcl::Window* pParent, const ResId& rResId )
     117             :             :ListBox(pParent, rResId) {}
     118             : 
     119             : protected:
     120             :     virtual void RequestHelp( const HelpEvent& rHEvt ) SAL_OVERRIDE;
     121             : };
     122             : 
     123             : // class SvxSecurityTabPage ---------------------------------------------
     124             : 
     125             : class SvtSecurityOptions;
     126             : 
     127             : class CertPathDialog;
     128             : 
     129             : class SvxSecurityTabPage : public SfxTabPage
     130             : {
     131             :     using TabPage::ActivatePage;
     132             :     using TabPage::DeactivatePage;
     133             : 
     134             : private:
     135             :     PushButton*         m_pSecurityOptionsPB;
     136             : 
     137             :     CheckBox*           m_pSavePasswordsCB;
     138             :     PushButton*         m_pShowConnectionsPB;
     139             : 
     140             :     CheckBox*           m_pMasterPasswordCB;
     141             :     FixedText*          m_pMasterPasswordFT;
     142             :     PushButton*         m_pMasterPasswordPB;
     143             : 
     144             :     VclContainer*       m_pMacroSecFrame;
     145             :     PushButton*         m_pMacroSecPB;
     146             : 
     147             :     VclContainer*       m_pCertFrame;
     148             :     PushButton*         m_pCertPathPB;
     149             : 
     150             :     SvtSecurityOptions*         mpSecOptions;
     151             :     svx::SecurityOptionsDialog* mpSecOptDlg;
     152             : 
     153             :     CertPathDialog* mpCertPathDlg;
     154             : 
     155             :     OUString            m_sPasswordStoringDeactivateStr;
     156             : 
     157             :     DECL_LINK(SecurityOptionsHdl, void *);
     158             :     DECL_LINK(SavePasswordHdl, void* );
     159             :     DECL_LINK(MasterPasswordHdl, void *);
     160             :     DECL_LINK(MasterPasswordCBHdl, void* );
     161             :     DECL_LINK(ShowPasswordsHdl, void *);
     162             :     DECL_LINK(MacroSecPBHdl, void* );
     163             :     DECL_LINK(CertPathPBHdl, void* );
     164             : 
     165             :     void                InitControls();
     166             : 
     167             :                 SvxSecurityTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
     168             :     virtual     ~SvxSecurityTabPage();
     169             : 
     170             : protected:
     171             :     virtual void        ActivatePage( const SfxItemSet& rSet ) SAL_OVERRIDE;
     172             :     virtual int         DeactivatePage( SfxItemSet* pSet = 0 ) SAL_OVERRIDE;
     173             : 
     174             : public:
     175             :     static SfxTabPage*  Create( vcl::Window* pParent, const SfxItemSet* rAttrSet );
     176             :     virtual bool        FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
     177             :     virtual void        Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
     178             : };
     179             : 
     180             : struct SvxEMailTabPage_Impl;
     181             : class SvxEMailTabPage : public SfxTabPage
     182             : {
     183             :     VclContainer* m_pMailContainer;
     184             :     FixedImage*   m_pMailerURLFI;
     185             :     Edit*         m_pMailerURLED;
     186             :     PushButton*   m_pMailerURLPB;
     187             : 
     188             :     OUString      m_sDefaultFilterName;
     189             : 
     190             :     SvxEMailTabPage_Impl* pImpl;
     191             : 
     192             :     DECL_LINK(  FileDialogHdl_Impl, PushButton* ) ;
     193             : 
     194             : public:
     195             :     SvxEMailTabPage( vcl::Window* pParent, const SfxItemSet& rSet );
     196             :     virtual ~SvxEMailTabPage();
     197             : 
     198             :     static SfxTabPage*  Create( vcl::Window* pParent, const SfxItemSet* rAttrSet );
     199             : 
     200             :     virtual bool        FillItemSet( SfxItemSet* rSet ) SAL_OVERRIDE;
     201             :     virtual void        Reset( const SfxItemSet* rSet ) SAL_OVERRIDE;
     202             : };
     203             : 
     204             : #endif // INCLUDED_CUI_SOURCE_OPTIONS_OPTINET2_HXX
     205             : 
     206             : 
     207             : /* vim:set shiftwidth=4 softtabstop=4 expandtab: */

Generated by: LCOV version 1.10