--- a/cpsecplugins/cpadvancedsecplugin/src/cpsecmoduleinfoview.cpp Thu Oct 07 14:07:34 2010 +0300
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,86 +0,0 @@
-
-/*
-* 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:
-*
-*/
-
-#include <QStringList>
-#include <QGraphicsLinearLayout>
-#include <QModelIndex>
-
-#include <hblineedit.h>
-#include <hbdataform.h>
-#include <hbdataformmodel.h>
-#include <hbdataformmodelitem.h>
-#include <hblabel.h>
-#include <hbpushbutton.h>
-#include <hbmenu.h>
-#include <hbaction.h>
-#include <hbmessagebox.h>
-#include <HbListWidget>
-#include <HbListWidgetItem>
-#include <HbGroupBox>
-#include <hbpushbutton.h>
-#include <hbdataform.h>
-#include <hbdataformmodel.h>
-#include <hbdataformmodelitem.h>
-#include <hbabstractviewitem.h>
-#include <hbtextitem.h>
-#include <hbmainwindow.h>
-#include <hblistview.h>
-#include <QStandardItemModel>
-#include <QModelIndexList>
-
-#include <memory>
-#include <../../inc/cpsecplugins.h>
-#include "cpsecmoduleinfoview.h"
-
-
-CpSecmoduleInfoView::CpSecmoduleInfoView(const QVector< QPair<QString,QString> >& securityDetails, QGraphicsItem *parent /*= 0*/)
- : CpBaseSettingView(0,parent)
- {
- RDEBUG("0", 0);
- setTitle(tr("Module info"));
-
- std::auto_ptr<QGraphicsLinearLayout> layout(q_check_ptr(new QGraphicsLinearLayout(Qt::Vertical)));
- HbListWidget* listSecurityDetails = q_check_ptr(new HbListWidget(this));
-
- QVectorIterator< QPair<QString, QString> > secDetIter(securityDetails);
- while(secDetIter.hasNext())
- {
- QPair<QString,QString> pair = secDetIter.next();
-
- std::auto_ptr<HbListWidgetItem> label(q_check_ptr(new HbListWidgetItem()));
- label->setText(pair.first);
- listSecurityDetails->addItem(label.get());
- label.release();
-
- std::auto_ptr<HbListWidgetItem> description(q_check_ptr(new HbListWidgetItem()));
- description->setText(pair.second);
- listSecurityDetails->addItem(description.get());
- description.release();
- }
-
- layout->addItem(listSecurityDetails);
- setLayout(layout.get());
- layout.release();
- RDEBUG("0", 0);
- }
-
-CpSecmoduleInfoView::~CpSecmoduleInfoView()
- {}
-
-// End of file
-