equal
deleted
inserted
replaced
|
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 #include "eapqtvalidator_stub.h" |
|
19 |
|
20 EapQtValidatorStub::EapQtValidatorStub( |
|
21 EapQtValidator::Status status) : |
|
22 mStatus(status) |
|
23 { |
|
24 } |
|
25 |
|
26 EapQtValidatorStub::~EapQtValidatorStub() |
|
27 { |
|
28 } |
|
29 |
|
30 EapQtValidator::Status EapQtValidatorStub::validate(const QVariant & value) |
|
31 { |
|
32 Q_UNUSED(value); |
|
33 return mStatus; |
|
34 } |
|
35 |
|
36 void EapQtValidatorStub::updateEditor(HbLineEdit* const edit) |
|
37 { |
|
38 Q_UNUSED(edit); |
|
39 } |
|
40 |
|
41 void EapQtValidatorStub::setReturnValue(EapQtValidator::Status status) |
|
42 { |
|
43 mStatus = status; |
|
44 } |