equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: Device updates plug-in for control panel |
|
15 * |
|
16 */ |
|
17 |
|
18 //#include <cpsettingformentryitemdataimpl.h> |
|
19 |
|
20 #include <cpitemdatahelper.h> |
|
21 #include "deviceupdatesplugin.h" |
|
22 #include "deviceupdatesdata.h" |
|
23 |
|
24 |
|
25 |
|
26 DeviceUpdatesPlugin::DeviceUpdatesPlugin() |
|
27 { |
|
28 |
|
29 } |
|
30 |
|
31 DeviceUpdatesPlugin::~DeviceUpdatesPlugin() |
|
32 { |
|
33 |
|
34 } |
|
35 |
|
36 int DeviceUpdatesPlugin::uid() const |
|
37 { |
|
38 // get a uid and replace it. |
|
39 return 0X2002DD04; |
|
40 } |
|
41 |
|
42 CpSettingFormItemData *DeviceUpdatesPlugin::createSettingFormItemData(CpItemDataHelper& itemDataHelper) const |
|
43 { |
|
44 |
|
45 CpSettingFormItemData *entryItem = new DeviceUpdateData(itemDataHelper, QString("Device updates"), |
|
46 QString()); |
|
47 |
|
48 return entryItem; |
|
49 } |
|
50 |
|
51 Q_EXPORT_PLUGIN2( deviceupdatesplugin, DeviceUpdatesPlugin) |