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: Creates the plug-in to the control panel.Creates a setting form |
|
15 * item data, by which the control panel framework can build a setting form model |
|
16 * |
|
17 */ |
|
18 #include "cprfsplugin.h" |
|
19 #include "cprfsview.h" |
|
20 #include <cpsettingformentryitemdataimpl.h> |
|
21 #include <cpitemdatahelper.h> |
|
22 #include <hbtranslator.h> |
|
23 |
|
24 CpRfsPlugin::CpRfsPlugin() |
|
25 { |
|
26 } |
|
27 |
|
28 CpRfsPlugin::~CpRfsPlugin() |
|
29 { |
|
30 } |
|
31 QList<CpSettingFormItemData*> CpRfsPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const |
|
32 { |
|
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")); |
|
36 } |
|
37 |
|
38 Q_EXPORT_PLUGIN2(cprfsplugin, CpRfsPlugin); |