33
|
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 |
|
|
19 |
#include <cpitemdatahelper.h>
|
|
20 |
#include "deviceupdatesplugin.h"
|
|
21 |
#include "deviceupdatesdata.h"
|
|
22 |
|
|
23 |
|
|
24 |
|
|
25 |
DeviceUpdatesPlugin::DeviceUpdatesPlugin()
|
|
26 |
{
|
|
27 |
|
|
28 |
}
|
|
29 |
|
|
30 |
DeviceUpdatesPlugin::~DeviceUpdatesPlugin()
|
|
31 |
{
|
|
32 |
|
|
33 |
}
|
|
34 |
|
43
|
35 |
QList<CpSettingFormItemData*> DeviceUpdatesPlugin::createSettingFormItemData(CpItemDataHelper& itemDataHelper) const
|
33
|
36 |
{
|
|
37 |
|
43
|
38 |
return QList<CpSettingFormItemData*>()
|
|
39 |
<< new DeviceUpdateData(itemDataHelper, QString("Device updates"),
|
|
40 |
QString("Device updates plugin"), HbIcon(":/resources/qtg_large_device_update.svg"));
|
33
|
41 |
}
|
|
42 |
|
|
43 |
Q_EXPORT_PLUGIN2( deviceupdatesplugin, DeviceUpdatesPlugin)
|