|
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 the License "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 * Control Panel QT EAP view for WPA/WPA2/802_Dot_1x/WPA2 only configuration |
|
16 * |
|
17 */ |
|
18 |
|
19 /* |
|
20 * %version: 4 % |
|
21 */ |
|
22 |
|
23 #include "cpwpacmneapui.h" |
|
24 #include "cpwpacmnui.h" |
|
25 |
|
26 #include <HbDataFormModelItem> |
|
27 #include "OstTraceDefinitions.h" |
|
28 #ifdef OST_TRACE_COMPILER_IN_USE |
|
29 #include "cpwpacmneapuiTraces.h" |
|
30 #endif |
|
31 |
|
32 EapEntyItemData::EapEntyItemData(CpWpaCmnUi* wpa, |
|
33 CpItemDataHelper &itemDataHelper, const QString &text, |
|
34 const QString &description, const HbIcon &icon, |
|
35 const HbDataFormModelItem *parent) : |
|
36 CpSettingFormEntryItemData(itemDataHelper, text, description, icon, |
|
37 parent),itemdatahelper(itemDataHelper) |
|
38 { |
|
39 mUi = wpa; |
|
40 |
|
41 } |
|
42 |
|
43 EapEntyItemData::~EapEntyItemData() |
|
44 { |
|
45 OstTraceFunctionEntry1(EAPENTRYITEMDATA_EAPENTRYITEMDATA_ENTRY,this); |
|
46 OstTraceFunctionExit1(EAPENTRYITEMDATA_EAPENTRYITEMDATA_EXIT,this); |
|
47 } |
|
48 |
|
49 /*! |
|
50 Implement CpSettingFormEntryItemData::createSettingView |
|
51 */ |
|
52 CpBaseSettingView* EapEntyItemData::createSettingView() const |
|
53 { |
|
54 OstTraceFunctionEntry1(EAPENTRYITEMDATA_CREATESETTING_VIEW_ENTRY,this); |
|
55 OstTraceFunctionExit1(EAPENTRYITEMDATA_CREATESETTING_VIEW_EXIT,this); |
|
56 |
|
57 return mUi->eapUiInstance(); |
|
58 } |
|
59 |