bluetoothengine/btui/btcpplugin/btcpplugin.cpp
author hgs
Mon, 17 May 2010 11:06:23 +0300
changeset 31 a0ea99b6fa53
parent 29 48ae3789ce00
child 40 997690c3397a
permissions -rw-r--r--
201019_1
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
29
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     1
/*
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     2
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     3
 * All rights reserved.
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     4
 * This component and the accompanying materials are made available
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     5
 * under the terms of "Eclipse Public License v1.0"
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     6
 * which accompanies this distribution, and is available
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     7
 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     8
 *
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     9
 * Initial Contributors:
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    10
 * Nokia Corporation - initial contribution.
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    11
 *
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    12
 * Contributors:
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    13
 *
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    14
 * Description:  
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    15
 *
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    16
 */
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    17
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    18
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    19
#include <cpsettingformentryitemdataimpl.h>
31
a0ea99b6fa53 201019_1
hgs
parents: 29
diff changeset
    20
#include "btcpplugin.h"
29
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    21
#include "btcpuimainview.h"
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    22
#include "btcpuisettingitem.h"
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    23
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    24
/*!
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    25
  BtCpPlugin::BtCpPlugin
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    26
 */
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    27
BtCpPlugin::BtCpPlugin()
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    28
{
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    29
}
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    30
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    31
/*!
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    32
  BtCpPlugin::~BtCpPlugin
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    33
 */
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    34
BtCpPlugin::~BtCpPlugin()
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    35
{
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    36
}
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    37
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    38
/*!
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    39
  BtCpPlugin::createSettingFormItemData
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    40
 */
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    41
QList<CpSettingFormItemData*> BtCpPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    42
{
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    43
    
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    44
    return QList<CpSettingFormItemData*> () << new BtCpUiSettingItem(
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    45
            itemDataHelper, tr("Bluetooth"));
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    46
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    47
}
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    48
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    49
Q_EXPORT_PLUGIN2(BtCpPlugin, BtCpPlugin);