wlanutilities/wlanwizard/t_wlanwizard/stubs/eapqtvalidator_stub.h
changeset 53 bdc64aa9b954
parent 49 fb81b597edf1
child 60 822a45792fdd
equal deleted inserted replaced
49:fb81b597edf1 53:bdc64aa9b954
     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  *   Stub for EAP WIZARD testing: EAP QT configuration validator interface
       
    16  *
       
    17  */
       
    18 
       
    19 /*
       
    20  * %version: 2 %
       
    21  */
       
    22 
       
    23 #ifndef EAPQTVALIDATOR_STUB_H
       
    24 #define EAPQTVALIDATOR_STUB_H
       
    25 
       
    26 #include <eapqtvalidator.h>
       
    27 
       
    28 /*!
       
    29  * @addtogroup group_eap_config_api
       
    30  * @{
       
    31  */
       
    32 
       
    33 class HbLineEdit;
       
    34 
       
    35 class EapQtValidatorStub : public EapQtValidator 
       
    36 {
       
    37    
       
    38 public:
       
    39 
       
    40     EapQtValidatorStub(EapQtValidator::Status status);
       
    41     ~EapQtValidatorStub();
       
    42     virtual EapQtValidator::Status validate(QVariant value);
       
    43     void updateEditor(HbLineEdit* edit );
       
    44     void setReturnValue(EapQtValidator::Status status);
       
    45     
       
    46 private:
       
    47     EapQtValidator::Status mStatus;
       
    48     Q_DISABLE_COPY(EapQtValidatorStub)
       
    49 };
       
    50 
       
    51 /*! @} */
       
    52 
       
    53 #endif