equal
deleted
inserted
replaced
|
1 /* |
|
2 * Copyright (c) 2009-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: |
|
15 * |
|
16 */ |
|
17 #include <cpsettingformentryitemdataimpl.h> |
|
18 #include "cpbarringplugin.h" |
|
19 #include "cpbarringplugingroup.h" |
|
20 #include "cppluginlogging.h" |
|
21 |
|
22 /*! |
|
23 Constructor of CpBarringPlugin. |
|
24 */ |
|
25 CpBarringPlugin::CpBarringPlugin() |
|
26 { |
|
27 // Install plugin specific msg handler |
|
28 INSTALL_TRACE_MSG_HANDLER; |
|
29 |
|
30 DPRINT; |
|
31 } |
|
32 |
|
33 /*! |
|
34 Destructor of CpBarringPlugin. |
|
35 */ |
|
36 CpBarringPlugin::~CpBarringPlugin() |
|
37 { |
|
38 DPRINT; |
|
39 |
|
40 // Uninstall plugin specific msg handler |
|
41 UNINSTALL_TRACE_MSG_HANDLER; |
|
42 } |
|
43 |
|
44 /*! |
|
45 CpBarringPlugin::createSettingFormItemData. |
|
46 */ |
|
47 QList<CpSettingFormItemData*> CpBarringPlugin::createSettingFormItemData( |
|
48 CpItemDataHelper &itemDataHelper) const |
|
49 { |
|
50 DPRINT; |
|
51 QList<CpSettingFormItemData*> ret; |
|
52 ret.append(new CpBarringPluginGroup(itemDataHelper)); |
|
53 return ret; |
|
54 } |
|
55 |
|
56 Q_EXPORT_PLUGIN2(CpBarringPlugin, CpBarringPlugin); |