cpsecplugins/devicelockplugin/src/cpdevicelockplugin.cpp
changeset 42 82671cd8994b
parent 30 cc1cea6aabaf
equal deleted inserted replaced
41:5b698dd6e75a 42:82671cd8994b
    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);