controlpanelui/src/cpplugins/communicationplugin/src/cpcommunicationplugin.cpp
branchRCL_3
changeset 14 5f281e37a2f5
parent 13 90fe62538f66
equal deleted inserted replaced
13:90fe62538f66 14:5f281e37a2f5
     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 "cpcommunicationplugin.h"
       
    19 #include "cpcommunicationgroupitemdata.h"
       
    20 #include <cpitemdatahelper.h>
       
    21 
       
    22 CpCommunicationPlugin::CpCommunicationPlugin()
       
    23 {
       
    24 }
       
    25 
       
    26 CpCommunicationPlugin::~CpCommunicationPlugin()
       
    27 {
       
    28 }
       
    29 
       
    30 QList<CpSettingFormItemData*> CpCommunicationPlugin::createSettingFormItemData(CpItemDataHelper &/*itemDataHelper*/) const
       
    31 {
       
    32     CpCategorySettingFormItemData *itemData = 
       
    33             new CpCommunicationGroupItemData(
       
    34             HbDataFormModelItem::GroupItem,
       
    35             hbTrId("txt_cp_subhead_connectivity"),
       
    36             QString("cpcommunicationplugin.cpcfg") );
       
    37     return QList<CpSettingFormItemData*>() << itemData;
       
    38 }
       
    39 
       
    40 Q_EXPORT_PLUGIN2(cpcommunicationplugin, CpCommunicationPlugin);