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 * Control Panel QT EAP view for WPA/WPA2/802_Dot_1x/WPA2 only configuration |
|
16 * |
|
17 */ |
|
18 |
|
19 /* |
|
20 * %version: tr1cfwln#10 % |
|
21 */ |
|
22 |
|
23 // System includes |
|
24 #include <HbDataFormModelItem> |
|
25 |
|
26 |
|
27 // User includes |
|
28 #include "cpwpacmneapui.h" |
|
29 #include "cpwpacmnui_p.h" |
|
30 |
|
31 //Trace Definition |
|
32 #include "OstTraceDefinitions.h" |
|
33 #ifdef OST_TRACE_COMPILER_IN_USE |
|
34 #include "cpwpacmneapuiTraces.h" |
|
35 #endif |
|
36 |
|
37 /*! |
|
38 \class |
|
39 Implements the Ui EAP Plugin Loader for WPA/WPA2/802_Dot_1x/WPA2 only Security Modes |
|
40 */ |
|
41 |
|
42 /*! |
|
43 Constructor |
|
44 |
|
45 @param wpa Pointer to UI object |
|
46 @param itemDataHelpper Control Panel Item data helpper object |
|
47 @param text Text for entry button |
|
48 */ |
|
49 EapEntryItemData::EapEntryItemData( |
|
50 CpWpaCmnUiPrivate* wpa, |
|
51 CpItemDataHelper &itemDataHelper, |
|
52 const QString &text) : |
|
53 CpSettingFormEntryItemData(CpSettingFormEntryItemData::ButtonEntryItem, |
|
54 itemDataHelper, text), |
|
55 mUi(wpa), |
|
56 itemdatahelper(itemDataHelper) |
|
57 { |
|
58 } |
|
59 |
|
60 /*! |
|
61 Desctructor. |
|
62 */ |
|
63 EapEntryItemData::~EapEntryItemData() |
|
64 { |
|
65 OstTraceFunctionEntry1(EAPENTRYITEMDATA_EAPENTRYITEMDATA_ENTRY,this); |
|
66 OstTraceFunctionExit1(EAPENTRYITEMDATA_EAPENTRYITEMDATA_EXIT,this); |
|
67 } |
|
68 |
|
69 /*! |
|
70 Implement CpSettingFormEntryItemData::createSettingView |
|
71 */ |
|
72 CpBaseSettingView* EapEntryItemData::createSettingView() const |
|
73 { |
|
74 OstTraceFunctionEntry1(EAPENTRYITEMDATA_CREATESETTING_VIEW_ENTRY,this); |
|
75 OstTraceFunctionExit1(EAPENTRYITEMDATA_CREATESETTING_VIEW_EXIT,this); |
|
76 |
|
77 return mUi->eapUiInstance(); |
|
78 } |
|
79 |
|