homescreenapp/stateplugins/hsapplibrarystateplugin/inc/hslistviewitem.h
changeset 62 341166945d65
child 71 1db7cc813a4e
equal deleted inserted replaced
57:2e2dc3d30ca8 62:341166945d65
       
     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: List View Item.
       
    15  *
       
    16  */
       
    17 
       
    18 #ifndef CUSTOMLISTVIEWITEM_H
       
    19 #define CUSTOMLISTVIEWITEM_H
       
    20 
       
    21 #include <hblistviewitem.h>
       
    22 
       
    23 #include "hsmenustates_global.h"
       
    24 
       
    25 class HbProgressBar;
       
    26 
       
    27 HS_STATES_TEST_CLASS(MenuStatesTest)
       
    28 
       
    29 class HsListViewItem : public HbListViewItem
       
    30 {
       
    31     Q_OBJECT
       
    32     public:
       
    33                 
       
    34         explicit HsListViewItem(QGraphicsItem* parent=0);
       
    35         virtual ~HsListViewItem();
       
    36         
       
    37         virtual HbAbstractViewItem* createItem();
       
    38         virtual void updateChildItems();
       
    39     
       
    40 	    virtual void polish(HbStyleParameters& params);
       
    41 
       
    42     private:
       
    43 
       
    44         HbProgressBar *progress;
       
    45         bool isProgress;
       
    46     HS_STATES_TEST_FRIEND_CLASS(MenuStatesTest)
       
    47 };
       
    48 
       
    49 #endif // CUSTOMLISTVIEWITEM_H