equal
deleted
inserted
replaced
17 */ |
17 */ |
18 #include "cprfsplugin.h" |
18 #include "cprfsplugin.h" |
19 #include "cprfsview.h" |
19 #include "cprfsview.h" |
20 #include <cpsettingformentryitemdataimpl.h> |
20 #include <cpsettingformentryitemdataimpl.h> |
21 #include <cpitemdatahelper.h> |
21 #include <cpitemdatahelper.h> |
|
22 #include <hbtranslator.h> |
22 |
23 |
23 CpRfsPlugin::CpRfsPlugin() |
24 CpRfsPlugin::CpRfsPlugin() |
24 { |
25 { |
25 } |
26 } |
26 |
27 |
27 CpRfsPlugin::~CpRfsPlugin() |
28 CpRfsPlugin::~CpRfsPlugin() |
28 { |
29 { |
29 } |
30 } |
30 CpSettingFormItemData *CpRfsPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const |
31 QList<CpSettingFormItemData*> CpRfsPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const |
31 { |
32 { |
32 return new CpSettingFormEntryItemDataImpl<CpRfsView>(itemDataHelper,tr("Restore Factory Settings")); |
33 HbTranslator trans("control_panel"); |
|
34 return QList<CpSettingFormItemData*>() |
|
35 << new CpSettingFormEntryItemDataImpl<CpRfsView>(itemDataHelper,hbTrId("txt_cp_dblist_reset"),hbTrId("txt_cp_dblist_reset_val_reset_your_device"),QString("qtg_large_reset")); |
33 } |
36 } |
34 |
37 |
35 Q_EXPORT_PLUGIN2(cprfsplugin, CpRfsPlugin); |
38 Q_EXPORT_PLUGIN2(cprfsplugin, CpRfsPlugin); |