18 |
18 |
19 /* |
19 /* |
20 * %version: 4 % |
20 * %version: 4 % |
21 */ |
21 */ |
22 |
22 |
|
23 // System includes |
|
24 #include <HbDataFormModelItem> |
|
25 |
|
26 |
|
27 // User includes |
23 #include "cpwpacmneapui.h" |
28 #include "cpwpacmneapui.h" |
24 #include "cpwpacmnui.h" |
29 #include "cpwpacmnui_p.h" |
25 |
30 |
26 #include <HbDataFormModelItem> |
31 //Trace Definition |
27 #include "OstTraceDefinitions.h" |
32 #include "OstTraceDefinitions.h" |
28 #ifdef OST_TRACE_COMPILER_IN_USE |
33 #ifdef OST_TRACE_COMPILER_IN_USE |
29 #include "cpwpacmneapuiTraces.h" |
34 #include "cpwpacmneapuiTraces.h" |
30 #endif |
35 #endif |
31 |
36 |
32 EapEntyItemData::EapEntyItemData(CpWpaCmnUi* wpa, |
37 /*! |
33 CpItemDataHelper &itemDataHelper, const QString &text, |
38 \class |
34 const QString &description, const HbIcon &icon, |
39 Implements the Ui EAP Plugin Loader for WPA/WPA2/802_Dot_1x/WPA2 only Security Modes |
35 const HbDataFormModelItem *parent) : |
40 */ |
36 CpSettingFormEntryItemData(itemDataHelper, text, description, icon, |
41 |
37 parent),itemdatahelper(itemDataHelper) |
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) |
38 { |
57 { |
39 mUi = wpa; |
|
40 |
|
41 } |
58 } |
42 |
59 |
43 EapEntyItemData::~EapEntyItemData() |
60 /*! |
|
61 Desctructor. |
|
62 */ |
|
63 EapEntryItemData::~EapEntryItemData() |
44 { |
64 { |
45 OstTraceFunctionEntry1(EAPENTRYITEMDATA_EAPENTRYITEMDATA_ENTRY,this); |
65 OstTraceFunctionEntry1(EAPENTRYITEMDATA_EAPENTRYITEMDATA_ENTRY,this); |
46 OstTraceFunctionExit1(EAPENTRYITEMDATA_EAPENTRYITEMDATA_EXIT,this); |
66 OstTraceFunctionExit1(EAPENTRYITEMDATA_EAPENTRYITEMDATA_EXIT,this); |
47 } |
67 } |
48 |
68 |
49 /*! |
69 /*! |
50 Implement CpSettingFormEntryItemData::createSettingView |
70 Implement CpSettingFormEntryItemData::createSettingView |
51 */ |
71 */ |
52 CpBaseSettingView* EapEntyItemData::createSettingView() const |
72 CpBaseSettingView* EapEntryItemData::createSettingView() const |
53 { |
73 { |
54 OstTraceFunctionEntry1(EAPENTRYITEMDATA_CREATESETTING_VIEW_ENTRY,this); |
74 OstTraceFunctionEntry1(EAPENTRYITEMDATA_CREATESETTING_VIEW_ENTRY,this); |
55 OstTraceFunctionExit1(EAPENTRYITEMDATA_CREATESETTING_VIEW_EXIT,this); |
75 OstTraceFunctionExit1(EAPENTRYITEMDATA_CREATESETTING_VIEW_EXIT,this); |
56 |
76 |
57 return mUi->eapUiInstance(); |
77 return mUi->eapUiInstance(); |