diff -r 09b1ac925e3f -r 03674e5abf46 cpsecplugins/devicelockplugin/src/cpdevicelockplugin.cpp --- a/cpsecplugins/devicelockplugin/src/cpdevicelockplugin.cpp Tue Aug 31 16:04:40 2010 +0300 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,71 +0,0 @@ -/* - * Copyright (c) 2009 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 "cpdevicelockplugin.h" -#include "cpdevicelockpluginview.h" -#include -#include <../../inc/cpsecplugins.h> - - -/* - ***************************************************************** - * Name : CpDeviceLockPlugin - * Parameters : None - * Return value: None - * Description : constructor - ***************************************************************** - */ -CpDeviceLockPlugin::CpDeviceLockPlugin() -{ - RDEBUG("0", 0); -} - - -/* - ***************************************************************** - * Name : ~CpDeviceLockPlugin - * Parameters : None - * Return value: None - * Description : destructor - ***************************************************************** - */ -CpDeviceLockPlugin::~CpDeviceLockPlugin() -{ -} - - -/* - ***************************************************************** - * Name : createSettingFormItemData - * Parameters : CpItemDataHelper - * Return value: QLsit* - * Description : creates a data form for device lock settings - ***************************************************************** - */ -QList CpDeviceLockPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const -{ - RDEBUG("0", 0); - RDEBUG("using icon", 1); - return QList() - << new CpSettingFormEntryItemDataImpl( - itemDataHelper, - tr("Device lock"), // text - QString(), // description - HbIcon(QString("qtg_large_device_lock")) // icon - ); -} - -Q_EXPORT_PLUGIN2(cpdevicelockplugin, CpDeviceLockPlugin);