securitysettings/cpeapuiplugins/cpeaptlsmethodsui/src/cpeaptlsmethodsinnereapui.cpp
changeset 34 ad1f037f1ac2
child 49 43351a4f2da3
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/securitysettings/cpeapuiplugins/cpeaptlsmethodsui/src/cpeaptlsmethodsinnereapui.cpp	Thu Jun 24 11:23:08 2010 +0300
@@ -0,0 +1,79 @@
+/*
+ * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
+ * All rights reserved.
+ * This component and the accompanying materials are made available
+ * under the terms of "Eclipse Public License v1.0"
+ * which accompanies this distribution, and is available
+ * at the URL "http://www.eclipse.org/legal/epl-v10.html".
+ *
+ * Initial Contributors:
+ * Nokia Corporation - initial contribution.
+ *
+ * Contributors:
+ *
+ * Description:
+ *   Control Panel Inner EAP methods Entry Item for TLS-based 
+ *   EAP methods 
+ *
+ */
+
+/*
+ * %version: 2 %
+ */
+
+// System includes
+#include <HbDataFormModelItem>
+
+
+// User includes
+#include "cpeaptlsmethodsinnereapui.h"
+#include "cpeaptlsmethodsui.h"
+
+
+/*!
+ * \class  EapInnerMethodEntryItemData
+ * \brief  Implements Inner EAP method Entry Item
+ */
+
+// External function prototypes
+
+// Local constants
+
+// ======== LOCAL FUNCTIONS ========
+
+// ======== MEMBER FUNCTIONS ========
+
+/*!
+ * Constructor
+ * 
+ * @param tlsUi Pointer to TLS-methods UI object
+ * @param itemDataHelpper Control Panel Item data helpper object
+ * @param text Text for entry button
+ */
+EapInnerMethodEntryItemData::EapInnerMethodEntryItemData(
+    CpEapTlsMethodsUi* tlsUi, 
+    CpItemDataHelper &itemDataHelper,
+    const QString &text) :
+        CpSettingFormEntryItemData(CpSettingFormEntryItemData::ButtonEntryItem,
+            itemDataHelper, text), 
+        mTlsUi(tlsUi),
+        mItemDataHelper(itemDataHelper)
+{
+}
+
+/*!
+ * Desctructor.
+ */
+EapInnerMethodEntryItemData::~EapInnerMethodEntryItemData()
+{
+    qDebug("EapInnerMethodEntryItemData::~EapInnerMethodEntryItemData()");
+}
+
+/*!
+ * Implements CpSettingFormEntryItemData::createSettingView
+ */
+CpBaseSettingView* EapInnerMethodEntryItemData::createSettingView() const
+{
+    qDebug("EapInnerMethodEntryItemData::createSettingView()");
+    return mTlsUi->innerUiInstance();
+}