clock/clockui/clockviews/inc/listitemprototype.h
changeset 45 b6db4fd4947b
parent 23 fd30d51f876b
child 46 ecd7b9840282
equal deleted inserted replaced
23:fd30d51f876b 45:b6db4fd4947b
     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 * Header file for class ListItemPrototype.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef LISTITEMPROTOTYPE_H
       
    20 #define LISTITEMPROTOTYPE_H
       
    21 
       
    22 // System includes
       
    23 #include <HbListViewItem>
       
    24 
       
    25 // Forward declarations
       
    26 class QGraphicsItem;
       
    27 class HbIconItem;
       
    28 class HbAbstractViewItem;
       
    29 class HbTextItem;
       
    30 
       
    31 class ListItemPrototype : public HbListViewItem
       
    32 {
       
    33 	Q_OBJECT
       
    34 
       
    35 public:
       
    36 	explicit ListItemPrototype(QGraphicsItem *parent = 0);
       
    37 	virtual ~ListItemPrototype();
       
    38 
       
    39 public:
       
    40 	HbAbstractViewItem* createItem();
       
    41 	void updateChildItems();
       
    42 
       
    43 private:
       
    44 	HbIconItem *mDayNightIcon;
       
    45 	HbTextItem *mDateText;
       
    46 	HbTextItem *mCityText;
       
    47 	HbTextItem *mOffsetText;
       
    48 	HbIconItem *mDstIcon;
       
    49 	HbTextItem *mTimeText;
       
    50 };
       
    51 
       
    52 #endif // LISTITEMPROTOTYPE_H
       
    53 
       
    54 // End of file	--Don't remove this.