bluetoothengine/btui/btcpplugin/btcpplugin.cpp
changeset 40 997690c3397a
parent 33 837dcc42fd6a
child 47 9e2a905b887f
equal deleted inserted replaced
37:91746b151f97 40:997690c3397a
     1 /*
     1 /*
     2  * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
     2  * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
     3  * All rights reserved.
     3  * All rights reserved.
     4  * This component and the accompanying materials are made available
     4  * This component and the accompanying materials are made available
     5  * under the terms of "Eclipse Public License v1.0"
     5  * under the terms of "Eclipse Public License v1.0"
     6  * which accompanies this distribution, and is available
     6  * which accompanies this distribution, and is available
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
     7  * at the URL "http://www.eclipse.org/legal/epl-v10.html".
    16  */
    16  */
    17 
    17 
    18 
    18 
    19 #include <cpsettingformentryitemdataimpl.h>
    19 #include <cpsettingformentryitemdataimpl.h>
    20 #include "btcpplugin.h"
    20 #include "btcpplugin.h"
    21 #include "btcpuimainview.h"
       
    22 #include "btcpuisettingitem.h"
    21 #include "btcpuisettingitem.h"
    23 
    22 
    24 /*!
    23 /*!
    25   BtCpPlugin::BtCpPlugin
    24   BtCpPlugin::BtCpPlugin
    26  */
    25  */
    40  */
    39  */
    41 QList<CpSettingFormItemData*> BtCpPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
    40 QList<CpSettingFormItemData*> BtCpPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
    42 {
    41 {
    43     
    42     
    44     return QList<CpSettingFormItemData*> () << new BtCpUiSettingItem(
    43     return QList<CpSettingFormItemData*> () << new BtCpUiSettingItem(
    45             itemDataHelper, tr("Bluetooth"));
    44             itemDataHelper);
    46 
    45 
    47 }
    46 }
    48 
    47 
    49 Q_EXPORT_PLUGIN2(BtCpPlugin, BtCpPlugin);
    48 Q_EXPORT_PLUGIN2(BtCpPlugin, BtCpPlugin);