calendarui/views/inc/caleneventlistviewitem.h
changeset 64 1881ad52dc45
parent 57 bb2d3e476f29
child 70 a5ed90760192
equal deleted inserted replaced
63:a3cb48f6c889 64:1881ad52dc45
    24 
    24 
    25 class CalenEventListViewItem : public HbListViewItem
    25 class CalenEventListViewItem : public HbListViewItem
    26 {
    26 {
    27     Q_OBJECT
    27     Q_OBJECT
    28     Q_PROPERTY(bool leftAllDayIcon READ hasAllDayIcon WRITE setAllDayLeftIcon)
    28     Q_PROPERTY(bool leftAllDayIcon READ hasAllDayIcon WRITE setAllDayLeftIcon)
    29     Q_PROPERTY(bool locationEntry READ locationEntryLayout WRITE setLocationEntry)
       
    30 
    29 
    31 public:
    30 public:
    32     /**
    31     /**
    33      * @brief Constructor
    32      * @brief Constructor
    34      * @param CalenAgendaViewWidget
    33      * @param CalenAgendaViewWidget
    58     /**
    57     /**
    59      * @brief sets teh all day icon 
    58      * @brief sets teh all day icon 
    60      */
    59      */
    61     void setAllDayLeftIcon(bool icon = false);
    60     void setAllDayLeftIcon(bool icon = false);
    62     
    61     
    63     /**
       
    64     * @brief sets location entry status 
       
    65     */
       
    66     void setLocationEntry(bool icon);
       
    67     
       
    68     /**
       
    69     * @brief check if location is present
       
    70     */
       
    71     bool locationEntryLayout();
       
    72 private:  
    62 private:  
    73     CalenAgendaViewWidget* mParent; 
    63     CalenAgendaViewWidget* mParent; 
    74     bool mAllDayIcon ;
    64     bool mAllDayIcon ;
    75     bool mLocationEntry;
       
    76 };
    65 };
    77 
    66 
    78 #endif      // __CALEN_EVENT_LIST_VIEW_ITEM_H__
    67 #endif      // __CALEN_EVENT_LIST_VIEW_ITEM_H__