wlanutilities/wlanwizard/t_wlanwizard/stubs/eapqtvalidator_stub.cpp
changeset 56 de27cc8389dd
parent 50 d4198dcb9983
child 58 301aeb18ae47
equal deleted inserted replaced
50:d4198dcb9983 56:de27cc8389dd
     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  *   EAP method validator: Stub or EapWizard testing
       
    16  *
       
    17  */
       
    18 
       
    19 #include "eapqtvalidator_stub.h"
       
    20 
       
    21 EapQtValidatorStub::EapQtValidatorStub(
       
    22     EapQtValidator::Status status) :
       
    23     mStatus(status)
       
    24 {
       
    25 }
       
    26 
       
    27 EapQtValidatorStub::~EapQtValidatorStub()
       
    28 {
       
    29 }
       
    30 
       
    31 EapQtValidator::Status EapQtValidatorStub::validate(QVariant value)
       
    32 {
       
    33     Q_UNUSED(value);
       
    34     return mStatus;
       
    35 }
       
    36 
       
    37 void EapQtValidatorStub::updateEditor(HbLineEdit *edit)
       
    38 {
       
    39     Q_UNUSED(edit);
       
    40 }
       
    41 
       
    42 void EapQtValidatorStub::setReturnValue(EapQtValidator::Status status)
       
    43 {
       
    44     mStatus = status;
       
    45 }