bluetoothengine/btui/btcpplugin/btcpplugin.cpp
author hgs
Fri, 03 Sep 2010 16:17:59 +0300
changeset 57 5ebadcda06cb
parent 47 9e2a905b887f
permissions -rw-r--r--
201035_7
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
29
48ae3789ce00 201017_2
hgs
parents:
diff changeset
     1
/*
42
hgs
parents: 31
diff changeset
     2
 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
29
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
47
9e2a905b887f 201029_02
hgs
parents: 42
diff changeset
    18
#include "btcpplugin.h"
29
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    19
#include <cpsettingformentryitemdataimpl.h>
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    20
#include "btcpuisettingitem.h"
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    21
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    22
/*!
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    23
  BtCpPlugin::BtCpPlugin
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
}
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    28
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    29
/*!
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    30
  BtCpPlugin::~BtCpPlugin
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
}
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    35
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    36
/*!
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    37
  BtCpPlugin::createSettingFormItemData
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    38
 */
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    39
QList<CpSettingFormItemData*> BtCpPlugin::createSettingFormItemData(CpItemDataHelper &itemDataHelper) const
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    40
{
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    41
    
57
5ebadcda06cb 201035_7
hgs
parents: 47
diff changeset
    42
    return QList<CpSettingFormItemData*> () << new BtcpuiSettingItem(
42
hgs
parents: 31
diff changeset
    43
            itemDataHelper);
29
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    44
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    45
}
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    46
48ae3789ce00 201017_2
hgs
parents:
diff changeset
    47
Q_EXPORT_PLUGIN2(BtCpPlugin, BtCpPlugin);