securitysettings/qtconfigutils/eapqtconfiginterface/inc/eapqtvalidatorrealm.h
changeset 39 fe6b6762fccd
parent 33 938269283a16
equal deleted inserted replaced
38:7a0216d033ac 39:fe6b6762fccd
     1 /*
     1 /*
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of the License "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     8  *
     8  *
     9  * Initial Contributors:
     9  * Initial Contributors:
    10  * Nokia Corporation - initial contribution.
    10  * Nokia Corporation - initial contribution.
    15  *   EAP method validator: realm
    15  *   EAP method validator: realm
    16  *
    16  *
    17  */
    17  */
    18 
    18 
    19 /*
    19 /*
    20  * %version: 4 %
    20  * %version: 5 %
    21  */
    21  */
    22 
    22 
    23 #ifndef EAPQTVALIDATOR_REALM_H
    23 #ifndef EAPQTVALIDATORREALM_H
    24 #define EAPQTVALIDATOR_REALM_H
    24 #define EAPQTVALIDATORREALM_H
    25 
    25 
       
    26 // System includes
    26 #include <eapqtvalidator.h>
    27 #include <eapqtvalidator.h>
    27 #include <eapqtexpandedeaptype.h>
    28 #include <eapqtexpandedeaptype.h>
    28 
    29 
    29 /*!
    30 // User includes
    30  * @addtogroup group_eap_config_if_impl
    31 
    31  * @{
    32 // Forward declarations
    32  */
    33 
    33 /*!
    34 // External data types
    34  */
    35 
       
    36 // Constants
       
    37 
       
    38 // Class declaration
    35 class EapQtValidatorRealm : public EapQtValidator
    39 class EapQtValidatorRealm : public EapQtValidator
    36 {
    40 {
       
    41 
    37 public:
    42 public:
    38 
    43 
    39     explicit EapQtValidatorRealm(EapQtExpandedEapType type);
    44     // Data types
       
    45 
       
    46     explicit EapQtValidatorRealm(const EapQtExpandedEapType& type);
    40     ~EapQtValidatorRealm();
    47     ~EapQtValidatorRealm();
    41 
    48 
    42     // from EapQtValidator
    49     // from EapQtValidator
    43     EapQtValidator::Status validate(QVariant value);
    50     EapQtValidator::Status validate(const QVariant& value);
    44     void updateEditor(HbLineEdit *edit);
    51     void updateEditor(HbLineEdit* const edit);
    45 
    52 
    46 private:
    53 private:
    47 
    54 
    48     EapQtValidatorRealm();
    55     EapQtValidatorRealm();
    49     Q_DISABLE_COPY(EapQtValidatorRealm)
    56     Q_DISABLE_COPY(EapQtValidatorRealm)
    50 
    57 
    51     EapQtValidator::Status validateGeneral(QVariant value);
    58     EapQtValidator::Status validateGeneral(const QVariant& value);
    52     void updateEditorGeneral(HbLineEdit *edit);
    59     void updateEditorGeneral(HbLineEdit* const edit);
    53 
    60 
    54 private:
    61 private: // data
       
    62 
    55     EapQtExpandedEapType mEapType;
    63     EapQtExpandedEapType mEapType;
    56 
    64 
    57 };
    65 };
    58 
    66 
    59 /*! @} */
    67 #endif // EAPQTVALIDATORREALM_H
    60 
       
    61 #endif
       
    62