bluetoothengine/btui/btuidelegate/btdelegatedevname.h
branchRCL_3
changeset 56 9386f31cc85b
parent 55 613943a21004
child 61 269724087bed
equal deleted inserted replaced
55:613943a21004 56:9386f31cc85b
     1 /*
       
     2 * Copyright (c) 2010 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 #ifndef BTDELEGATEDEVNAME_H
       
    19 #define BTDELEGATEDEVNAME_H
       
    20 
       
    21 #include <e32base.h>
       
    22 #include <btengsettings.h>
       
    23 #include "btabstractdelegate.h"
       
    24 
       
    25 class BtuiModel;
       
    26 
       
    27 /*!
       
    28     \class BtDelegateDevName
       
    29     \brief the base class for handling Bluetooth Local Name.
       
    30  */
       
    31 class BtDelegateDevName : public BtAbstractDelegate
       
    32 {
       
    33     Q_OBJECT
       
    34 
       
    35 public:
       
    36     explicit BtDelegateDevName( QObject *parent = 0 );
       
    37     
       
    38     virtual ~BtDelegateDevName();
       
    39 
       
    40     virtual void exec( const QVariant &params );
       
    41     
       
    42 public slots:
       
    43 
       
    44 private:
       
    45     bool validateName(QString &name );
       
    46 
       
    47     CBTEngSettings* mBtEngSettings;
       
    48 
       
    49 private:
       
    50 
       
    51     Q_DISABLE_COPY(BtDelegateDevName)
       
    52 
       
    53 };
       
    54 
       
    55 #endif // BTDELEGATEDEVNAME_H