34
|
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 Inner EAP methods Entry Item for TLS-based
|
|
16 |
* EAP methods
|
|
17 |
*
|
|
18 |
*/
|
|
19 |
|
|
20 |
/*
|
|
21 |
* %version: 2 %
|
|
22 |
*/
|
|
23 |
|
|
24 |
// System includes
|
|
25 |
#include <HbDataFormModelItem>
|
|
26 |
|
|
27 |
|
|
28 |
// User includes
|
|
29 |
#include "cpeaptlsmethodsinnereapui.h"
|
|
30 |
#include "cpeaptlsmethodsui.h"
|
|
31 |
|
|
32 |
|
|
33 |
/*!
|
|
34 |
* \class EapInnerMethodEntryItemData
|
|
35 |
* \brief Implements Inner EAP method Entry Item
|
|
36 |
*/
|
|
37 |
|
|
38 |
// External function prototypes
|
|
39 |
|
|
40 |
// Local constants
|
|
41 |
|
|
42 |
// ======== LOCAL FUNCTIONS ========
|
|
43 |
|
|
44 |
// ======== MEMBER FUNCTIONS ========
|
|
45 |
|
|
46 |
/*!
|
|
47 |
* Constructor
|
|
48 |
*
|
|
49 |
* @param tlsUi Pointer to TLS-methods UI object
|
|
50 |
* @param itemDataHelpper Control Panel Item data helpper object
|
|
51 |
* @param text Text for entry button
|
|
52 |
*/
|
|
53 |
EapInnerMethodEntryItemData::EapInnerMethodEntryItemData(
|
|
54 |
CpEapTlsMethodsUi* tlsUi,
|
|
55 |
CpItemDataHelper &itemDataHelper,
|
|
56 |
const QString &text) :
|
|
57 |
CpSettingFormEntryItemData(CpSettingFormEntryItemData::ButtonEntryItem,
|
|
58 |
itemDataHelper, text),
|
|
59 |
mTlsUi(tlsUi),
|
|
60 |
mItemDataHelper(itemDataHelper)
|
|
61 |
{
|
|
62 |
}
|
|
63 |
|
|
64 |
/*!
|
|
65 |
* Desctructor.
|
|
66 |
*/
|
|
67 |
EapInnerMethodEntryItemData::~EapInnerMethodEntryItemData()
|
|
68 |
{
|
|
69 |
qDebug("EapInnerMethodEntryItemData::~EapInnerMethodEntryItemData()");
|
|
70 |
}
|
|
71 |
|
|
72 |
/*!
|
|
73 |
* Implements CpSettingFormEntryItemData::createSettingView
|
|
74 |
*/
|
|
75 |
CpBaseSettingView* EapInnerMethodEntryItemData::createSettingView() const
|
|
76 |
{
|
|
77 |
qDebug("EapInnerMethodEntryItemData::createSettingView()");
|
|
78 |
return mTlsUi->innerUiInstance();
|
|
79 |
}
|