securitysettings/cpwlansecurityuiplugins/cp802dot1xui/inc/cp802dot1xui.h
branchRCL_3
changeset 46 c74b3d9f6b9e
parent 45 bad0cc58d154
child 55 9c2aa05919d9
equal deleted inserted replaced
45:bad0cc58d154 46:c74b3d9f6b9e
     1 /*
       
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3  * All rights reserved.
       
     4  * This component and the accompanying materials are made available
       
     5  * under the terms of "Eclipse Public License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *    Control Panel QT UI for 802_Dot_1x configuration
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * %version: tr1cfwln#7 %
       
    21  */
       
    22 
       
    23 #ifndef CP802DOT1XUI_H
       
    24 #define CP802DOT1XUI_H
       
    25 
       
    26 // System includes
       
    27 #include <cpsettingformitemdata.h>
       
    28 #include <cpwlansecurityplugininterface.h>
       
    29 
       
    30 // User includes
       
    31 
       
    32 
       
    33 // Forward declarations
       
    34 class EapQtConfigInterface;
       
    35 class CmConnectionMethodShim;
       
    36 class CpWpaCmnUi;
       
    37 class HbTranslator;
       
    38 
       
    39 /*!
       
    40  * @addtogroup group_wlan_security_ui_plugin_802_Dot_1x
       
    41  * @{
       
    42  */
       
    43 
       
    44 /*! 
       
    45  * Implements 802_Dot_1x plugin for Wlan security control panel  
       
    46  */
       
    47 //Class Declaration
       
    48 class Cp802Dot1xUi : public QObject, public CpWlanSecurityPluginInterface
       
    49 {
       
    50     Q_OBJECT
       
    51     Q_INTERFACES(CpWlanSecurityPluginInterface)
       
    52     
       
    53     public:
       
    54         Cp802Dot1xUi();
       
    55         ~Cp802Dot1xUi();
       
    56     
       
    57     public:
       
    58         // from CpWlanSecurityPluginInterface 
       
    59     
       
    60         CMManagerShim::WlanSecMode securityMode() const;
       
    61             
       
    62         QString securityModeTextId() const;
       
    63             
       
    64         void setReference(CmConnectionMethodShim *cmCm, uint id);
       
    65             
       
    66         int orderNumber() const;
       
    67            
       
    68         CpSettingFormItemData* uiInstance(
       
    69                 CpItemDataHelper &dataHelper);
       
    70         
       
    71         bool validateSettings();
       
    72     
       
    73     private:
       
    74     
       
    75         Q_DISABLE_COPY(Cp802Dot1xUi)      
       
    76 
       
    77         //!WPA security group item
       
    78         CpSettingFormItemData* mUi;   
       
    79 
       
    80         //!Translator for all the localisation Text Id's
       
    81         HbTranslator *mTranslator;
       
    82 
       
    83         //! Connection Settings Shim connection method pointer    
       
    84         CmConnectionMethodShim *mCmCM;    
       
    85 
       
    86         //! Eap Plugin config interface
       
    87         EapQtConfigInterface *mEapQtConfigInterface;
       
    88 
       
    89         //!802.1x ui Implementer Interface
       
    90         QScopedPointer <CpWpaCmnUi> m802Ui;
       
    91 
       
    92 };
       
    93 
       
    94 /*! @} */
       
    95 
       
    96 #endif //CP802DOT1XUI_H