cpsecplugins/devicelockplugin/src/cpdevicelockplugin.cpp
changeset 19 098e361762d2
child 30 cc1cea6aabaf
equal deleted inserted replaced
17:8957df7b0072 19:098e361762d2
       
     1 /*
       
     2  * Copyright (c) 2009 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  *
       
    16  */
       
    17 #include "cpdevicelockplugin.h"
       
    18 #include "cpdevicelockpluginview.h"
       
    19 #include <cpsettingformentryitemdataimpl.h>
       
    20 
       
    21 
       
    22 
       
    23 /*
       
    24  *****************************************************************
       
    25  * Name        : CpDeviceLockPlugin
       
    26  * Parameters  : None
       
    27  * Return value: None
       
    28  * Description : constructor
       
    29  *****************************************************************
       
    30  */
       
    31 CpDeviceLockPlugin::CpDeviceLockPlugin()
       
    32 {
       
    33 }
       
    34 
       
    35 
       
    36 /*
       
    37  *****************************************************************
       
    38  * Name        : ~CpDeviceLockPlugin
       
    39  * Parameters  : None
       
    40  * Return value: None
       
    41  * Description : destructor
       
    42  *****************************************************************
       
    43  */
       
    44 CpDeviceLockPlugin::~CpDeviceLockPlugin()
       
    45 {
       
    46 }
       
    47 
       
    48 
       
    49 /*
       
    50  *****************************************************************
       
    51  * Name        : createSettingFormItemData
       
    52  * Parameters  : CpItemDataHelper
       
    53  * Return value: QLsit<CpSettingFormItemData>*
       
    54  * Description : creates a data form for device lock settings
       
    55  *****************************************************************
       
    56  */
       
    57 QList<CpSettingFormItemData*> CpDeviceLockPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
       
    58 {
       
    59     return QList<CpSettingFormItemData*>() 
       
    60            << new CpSettingFormEntryItemDataImpl<CpDeviceLockPluginView>(itemDataHelper,tr("Device lock"), QString());
       
    61 }
       
    62 
       
    63 Q_EXPORT_PLUGIN2(cpdevicelockplugin, CpDeviceLockPlugin);