calendarui/agendaeventviewer/inc/agendaeventvieweritem.h
branchRCL_3
changeset 65 12af337248b1
equal deleted inserted replaced
60:96907930389d 65:12af337248b1
       
     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: Header file for AgendaEventViewer Itemclass
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef AGENDAEVENTVIEWERITEM_H
       
    19 #define AGENDAEVENTVIEWERITEM_H
       
    20 
       
    21 // System includes
       
    22 #include <HbWidget>
       
    23 
       
    24 // Forward declaration
       
    25 class HbTextItem;
       
    26 class HbIconItem;
       
    27 class QGraphicsItem;
       
    28 
       
    29 class AgendaEventViewerItem : public HbWidget
       
    30 {
       
    31 	Q_OBJECT
       
    32 
       
    33 public:
       
    34 	AgendaEventViewerItem(QGraphicsItem *parent = 0);
       
    35 	virtual ~AgendaEventViewerItem();
       
    36 
       
    37 public:
       
    38 	void setEventViewerItemData(const QStringList & itemData, int role);
       
    39 
       
    40 private:
       
    41 
       
    42 	HbTextItem *mPrimaryText;
       
    43 	HbTextItem *mSecondaryText;
       
    44 	HbIconItem *mPrimaryIcon;
       
    45 	HbIconItem *mSecondaryIcon;
       
    46 	HbIconItem *mPrimaryRightIcon;
       
    47 	HbIconItem *mPrimaryLeftIcon;
       
    48 
       
    49 };
       
    50 
       
    51 #endif // AGENDAEVENTVIEWERITEM_H
       
    52 
       
    53 // End of file	--Don't remove this.