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 #include <cpsettingformentryitemdataimpl.h> |
|
18 #include "cpnetworkplugin.h" |
|
19 #include "cpnetworkpluginview.h" |
|
20 #include "cppluginlogging.h" |
|
21 |
|
22 /*! |
|
23 CpNetworkPlugin::CpNetworkPlugin |
|
24 */ |
|
25 CpNetworkPlugin::CpNetworkPlugin() : QObject(0) |
|
26 { |
|
27 INSTALL_TRACE_MSG_HANDLER; |
|
28 |
|
29 DPRINT; |
|
30 } |
|
31 |
|
32 /*! |
|
33 CpNetworkPlugin::~CpNetworkPlugin |
|
34 */ |
|
35 CpNetworkPlugin::~CpNetworkPlugin() |
|
36 { |
|
37 UNINSTALL_TRACE_MSG_HANDLER; |
|
38 } |
|
39 |
|
40 /*! |
|
41 CpNetworkPlugin::createSettingFormItemData |
|
42 */ |
|
43 CpSettingFormItemData *CpNetworkPlugin::createSettingFormItemData( |
|
44 CpItemDataHelper &itemDataHelper) const |
|
45 { |
|
46 DPRINT; |
|
47 |
|
48 return new CpSettingFormEntryItemDataImpl<CpNetworkPluginView>( |
|
49 itemDataHelper, |
|
50 hbTrId("Mobile network"), |
|
51 hbTrId("Mobile network settings")); |
|
52 } |
|
53 |
|
54 Q_EXPORT_PLUGIN2(CpNetworkPlugin, CpNetworkPlugin); |