bluetoothengine/btui/btcpplugin/btcpuisearchlistviewitem.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:  device view item
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef BTCPUISEARCHLISTVIEWITEM_H
       
    20 #define BTCPUISEARCHLISTVIEWITEM_H
       
    21 
       
    22 #include <hblistviewitem.h>
       
    23 #include <hblabel.h>
       
    24 #include <hbpushbutton.h>
       
    25 #include <QtGui/QGraphicsGridLayout>
       
    26 #include "btuimodelsortfilter.h"
       
    27 
       
    28 class BtCpUiSearchListViewItem : public HbListViewItem
       
    29 {
       
    30     Q_OBJECT
       
    31     
       
    32 public:
       
    33     BtCpUiSearchListViewItem(QGraphicsItem * parent = 0);
       
    34     ~BtCpUiSearchListViewItem();
       
    35     
       
    36     HbAbstractViewItem * createItem();
       
    37     void updateChildItems();
       
    38     
       
    39     void setModelSortFilter(BtuiModelSortFilter *filter);
       
    40     
       
    41 private:
       
    42     QGraphicsItem *mParent;
       
    43     HbLabel *mDevTypeIconLabel;
       
    44     HbLabel *mDeviceNameLabel;
       
    45     HbLabel *mDevTypeTextLabel;
       
    46     BtuiModelSortFilter*    mBtuiModelSortFilter;
       
    47     
       
    48     QGraphicsGridLayout *mRow;
       
    49 };
       
    50 
       
    51 #endif /* BTCPUISEARCHLISTVIEWITEM_H */