emailuis/nmailui/inc/nmmailboxlistviewitem.h
branchRCL_3
changeset 63 d189ee25cf9d
equal deleted inserted replaced
61:dcf0eedfc1a3 63:d189ee25cf9d
       
     1 /*
       
     2 * Copyright (c) 2009 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 NMMAILBOXLISTVIEWITEM_H_
       
    19 #define NMMAILBOXLISTVIEWITEM_H_
       
    20 
       
    21 #include <hblistviewitem.h>
       
    22 
       
    23 class HbLabel;
       
    24 class QGraphicsLinearLayout;
       
    25 
       
    26 class NmMailboxListViewItem : public HbListViewItem
       
    27 {
       
    28 public:
       
    29     NmMailboxListViewItem(QGraphicsItem * parent = 0);
       
    30     virtual ~NmMailboxListViewItem();
       
    31 
       
    32 public: // from HbListViewItem
       
    33     HbListViewItem *createItem();
       
    34     void updateChildItems();
       
    35     bool canSetModelIndex(const QModelIndex &index);
       
    36 
       
    37 protected:
       
    38     void polishEvent();
       
    39 
       
    40 private:
       
    41     QGraphicsLinearLayout *mLayout;     // Not owned
       
    42 };
       
    43 
       
    44 #endif /* NMMAILBOXLISTVIEWITEM_H_ */