controlpanelui/src/cpplugins/personalizationplugin/src/cppersonalizationplugin.cpp
equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009 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: |
|
15 * |
|
16 */ |
|
17 |
|
18 #include "cppersonalizationplugin.h" |
|
19 #include "cppersonalizationgroupitemdata.h" |
|
20 #include "cpprofilesgroupitemdata.h" |
|
21 #include <cpcategorysettingformitemdata.h> |
|
22 #include <cpitemdatahelper.h> |
|
23 |
|
24 CpPersonalizationPlugin::CpPersonalizationPlugin() |
|
25 { |
|
26 } |
|
27 |
|
28 CpPersonalizationPlugin::~CpPersonalizationPlugin() |
|
29 { |
|
30 } |
|
31 |
|
32 QList<CpSettingFormItemData*> CpPersonalizationPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const |
|
33 { |
|
34 Q_UNUSED(itemDataHelper); |
|
35 /* |
|
36 CpProfilesGroupItemData *profileItemData = |
|
37 new CpProfilesGroupItemData(itemDataHelper); |
|
38 */ |
|
39 CpPersonalizationGroupItemData *personalItemData = |
|
40 new CpPersonalizationGroupItemData( |
|
41 HbDataFormModelItem::GroupItem, |
|
42 tr("Default tones"), |
|
43 QString("cppersonalizationplugin.cpcfg") ); |
|
44 |
|
45 return QList<CpSettingFormItemData*>() /*<< profileItemData*/ << personalItemData; |
|
46 } |
|
47 |
|
48 Q_EXPORT_PLUGIN2(cppersonalizationplugin, CpPersonalizationPlugin); |
|
49 |
|
50 |