cpsecplugins/devicelockplugin/src/cpdevicelockplugin.cpp
branchGCC_SURGE
changeset 40 604cd42065d1
parent 37 7bad16cccaca
child 42 82671cd8994b
equal deleted inserted replaced
29:b63e8c2d8cff 40:604cd42065d1
    15  *
    15  *
    16  */
    16  */
    17 #include "cpdevicelockplugin.h"
    17 #include "cpdevicelockplugin.h"
    18 #include "cpdevicelockpluginview.h"
    18 #include "cpdevicelockpluginview.h"
    19 #include <cpsettingformentryitemdataimpl.h>
    19 #include <cpsettingformentryitemdataimpl.h>
    20 
    20 #include <../../inc/cpsecplugins.h>
    21 
    21 
    22 
    22 
    23 /*
    23 /*
    24  *****************************************************************
    24  *****************************************************************
    25  * Name        : CpDeviceLockPlugin
    25  * Name        : CpDeviceLockPlugin
    28  * Description : constructor
    28  * Description : constructor
    29  *****************************************************************
    29  *****************************************************************
    30  */
    30  */
    31 CpDeviceLockPlugin::CpDeviceLockPlugin()
    31 CpDeviceLockPlugin::CpDeviceLockPlugin()
    32 {
    32 {
       
    33 	RDEBUG("0", 0);
    33 }
    34 }
    34 
    35 
    35 
    36 
    36 /*
    37 /*
    37  *****************************************************************
    38  *****************************************************************
    54  * Description : creates a data form for device lock settings
    55  * Description : creates a data form for device lock settings
    55  *****************************************************************
    56  *****************************************************************
    56  */
    57  */
    57 QList<CpSettingFormItemData*> CpDeviceLockPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
    58 QList<CpSettingFormItemData*> CpDeviceLockPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
    58 {
    59 {
       
    60 		RDEBUG("0", 0);
    59     return QList<CpSettingFormItemData*>() 
    61     return QList<CpSettingFormItemData*>() 
    60            << new CpSettingFormEntryItemDataImpl<CpDeviceLockPluginView>(itemDataHelper,tr("Device lock"), QString());
    62            << new CpSettingFormEntryItemDataImpl<CpDeviceLockPluginView>(itemDataHelper,tr("Device lock"), QString());
    61 }
    63 }
    62 
    64 
    63 Q_EXPORT_PLUGIN2(cpdevicelockplugin, CpDeviceLockPlugin);
    65 Q_EXPORT_PLUGIN2(cpdevicelockplugin, CpDeviceLockPlugin);