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 * Stub for EAP WIZARD testing: EAP QT configuration validator interface |
|
16 * |
|
17 */ |
|
18 |
|
19 #ifndef EAPQTVALIDATOR_STUB_H |
|
20 #define EAPQTVALIDATOR_STUB_H |
|
21 |
|
22 // System includes |
|
23 #include <eapqtvalidator.h> |
|
24 |
|
25 // User includes |
|
26 |
|
27 // Forward declarations |
|
28 |
|
29 class HbLineEdit; |
|
30 |
|
31 // External data types |
|
32 |
|
33 // Constants |
|
34 |
|
35 // Class declaration |
|
36 |
|
37 /*! |
|
38 * @addtogroup group_eap_config_api |
|
39 * @{ |
|
40 */ |
|
41 |
|
42 class EapQtValidatorStub : public EapQtValidator |
|
43 { |
|
44 |
|
45 public: |
|
46 |
|
47 EapQtValidatorStub(EapQtValidator::Status status); |
|
48 ~EapQtValidatorStub(); |
|
49 virtual EapQtValidator::Status validate(const QVariant & value); |
|
50 void updateEditor(HbLineEdit* const edit ); |
|
51 void setReturnValue(EapQtValidator::Status status); |
|
52 |
|
53 private: |
|
54 EapQtValidator::Status mStatus; |
|
55 Q_DISABLE_COPY(EapQtValidatorStub) |
|
56 }; |
|
57 |
|
58 /*! @} */ |
|
59 |
|
60 #endif |
|