securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtvalidatorpassword.h
changeset 26 9abfd4f00d37
child 27 9660a5eb236f
equal deleted inserted replaced
25:e03a3db4489e 26:9abfd4f00d37
       
     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 the License "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  *   EAP method validator: password 
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * %version: 3 %
       
    21  */
       
    22 
       
    23 #ifndef EAPQTVALIDATOR_PASSWORD_H
       
    24 #define EAPQTVALIDATOR_PASSWORD_H
       
    25 
       
    26 #include <eapqtvalidator.h>
       
    27 #include <eapqtexpandedeaptype.h>
       
    28 
       
    29 /*!
       
    30  * @addtogroup group_eap_config_if_impl
       
    31  * @{
       
    32  */
       
    33 /*!
       
    34  */
       
    35 class EapQtValidatorPassword : public EapQtValidator
       
    36 {
       
    37 public:
       
    38 
       
    39     EapQtValidatorPassword(EapQtExpandedEapType type);
       
    40     ~EapQtValidatorPassword();
       
    41 
       
    42     // from EapQtValidator
       
    43     EapQtValidator::Status validate(QVariant value);
       
    44     void updateEditor(HbLineEdit *edit);
       
    45 
       
    46 private:
       
    47 
       
    48     EapQtValidatorPassword();
       
    49     Q_DISABLE_COPY(EapQtValidatorPassword)
       
    50 
       
    51     EapQtValidator::Status validateGeneral(QVariant value);
       
    52     void updateEditorGeneral(HbLineEdit *edit);
       
    53 
       
    54 private:
       
    55     EapQtExpandedEapType mEapType;
       
    56 
       
    57 };
       
    58 
       
    59 /*! @} */
       
    60 
       
    61 #endif
       
    62