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