cpsecplugins/devicelockplugin/src/cpdevicelockplugin.cpp
changeset 45 5d3e34b7618a
parent 37 7bad16cccaca
equal deleted inserted replaced
38:e0432375ea67 45:5d3e34b7618a
    56  *****************************************************************
    56  *****************************************************************
    57  */
    57  */
    58 QList<CpSettingFormItemData*> CpDeviceLockPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
    58 QList<CpSettingFormItemData*> CpDeviceLockPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
    59 {
    59 {
    60 		RDEBUG("0", 0);
    60 		RDEBUG("0", 0);
       
    61 		RDEBUG("using icon", 1);
    61     return QList<CpSettingFormItemData*>() 
    62     return QList<CpSettingFormItemData*>() 
    62            << new CpSettingFormEntryItemDataImpl<CpDeviceLockPluginView>(itemDataHelper,tr("Device lock"), QString());
    63            << new CpSettingFormEntryItemDataImpl<CpDeviceLockPluginView>(
       
    64            itemDataHelper,
       
    65            tr("Device lock"),	// text
       
    66            QString(),					// description
       
    67            HbIcon(QString("qtg_large_device_lock"))	// icon
       
    68            );
    63 }
    69 }
    64 
    70 
    65 Q_EXPORT_PLUGIN2(cpdevicelockplugin, CpDeviceLockPlugin);
    71 Q_EXPORT_PLUGIN2(cpdevicelockplugin, CpDeviceLockPlugin);