bluetoothengine/btui/btuidelegate/btabstractdelegate.cpp
changeset 29 48ae3789ce00
child 31 a0ea99b6fa53
equal deleted inserted replaced
28:7e2761e776bd 29:48ae3789ce00
       
     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 
       
    19 #include "btabstractdelegate.h"
       
    20 #include "btuimodel.h"
       
    21 
       
    22 /*!
       
    23     Constructor.
       
    24  */
       
    25 BtAbstractDelegate::BtAbstractDelegate( BtuiModel& model, QObject *parent )
       
    26     : QObject( parent ), mModel(model)
       
    27 {
       
    28 }
       
    29 
       
    30 /*!
       
    31     Destructor.
       
    32  */
       
    33 BtAbstractDelegate::~BtAbstractDelegate()
       
    34 {
       
    35 }
       
    36 
       
    37 BtuiModel &BtAbstractDelegate::model()
       
    38 {
       
    39     return mModel;
       
    40 }