equal
deleted
inserted
replaced
13 * |
13 * |
14 * Description: Device updates plug-in for control panel |
14 * Description: Device updates plug-in for control panel |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 //#include <cpsettingformentryitemdataimpl.h> |
|
19 |
18 |
20 #include <cpitemdatahelper.h> |
19 #include <cpitemdatahelper.h> |
21 #include "deviceupdatesplugin.h" |
20 #include "deviceupdatesplugin.h" |
22 #include "deviceupdatesdata.h" |
21 #include "deviceupdatesdata.h" |
23 |
22 |
31 DeviceUpdatesPlugin::~DeviceUpdatesPlugin() |
30 DeviceUpdatesPlugin::~DeviceUpdatesPlugin() |
32 { |
31 { |
33 |
32 |
34 } |
33 } |
35 |
34 |
36 int DeviceUpdatesPlugin::uid() const |
35 QList<CpSettingFormItemData*> DeviceUpdatesPlugin::createSettingFormItemData(CpItemDataHelper& itemDataHelper) const |
37 { |
|
38 // get a uid and replace it. |
|
39 return 0X2002DD04; |
|
40 } |
|
41 |
|
42 CpSettingFormItemData *DeviceUpdatesPlugin::createSettingFormItemData(CpItemDataHelper& itemDataHelper) const |
|
43 { |
36 { |
44 |
37 |
45 CpSettingFormItemData *entryItem = new DeviceUpdateData(itemDataHelper, QString("Device updates"), |
38 return QList<CpSettingFormItemData*>() |
46 QString()); |
39 << new DeviceUpdateData(itemDataHelper, QString("Device updates"), |
47 |
40 QString("Device updates plugin"), HbIcon(":/resources/qtg_large_device_update.svg")); |
48 return entryItem; |
|
49 } |
41 } |
50 |
42 |
51 Q_EXPORT_PLUGIN2( deviceupdatesplugin, DeviceUpdatesPlugin) |
43 Q_EXPORT_PLUGIN2( deviceupdatesplugin, DeviceUpdatesPlugin) |