calendarui/views/inc/caleneventlistviewitem.h
changeset 32 ea672fcb0ea0
parent 18 c198609911f9
child 55 2c54b51f39c4
child 58 ef813d54df51
equal deleted inserted replaced
26:a949c2543c15 32:ea672fcb0ea0
    22 #include <hblistviewitem.h>
    22 #include <hblistviewitem.h>
    23 
    23 
    24 class CalenEventListViewItem : public HbListViewItem
    24 class CalenEventListViewItem : public HbListViewItem
    25 {
    25 {
    26     Q_OBJECT
    26     Q_OBJECT
    27     Q_PROPERTY(bool timeFormat12 READ timeFormat12Hr WRITE setTimeFormat12Hr)
       
    28 public:
    27 public:
    29     CalenEventListViewItem(QGraphicsItem *parent = 0);
    28     CalenEventListViewItem(QGraphicsItem *parent = 0);
    30     ~CalenEventListViewItem();
    29     ~CalenEventListViewItem();
    31 
    30 
    32     HbAbstractViewItem * createItem();
    31     HbAbstractViewItem * createItem();
    33     void updateChildItems();
    32     void updateChildItems();
    34     bool timeFormat12Hr();
       
    35     void setTimeFormat12Hr(bool format);
       
    36 private:
       
    37     bool timeFormat12;
       
    38 };
    33 };
    39 
    34 
    40 #endif      // __CALEN_EVENT_LIST_VIEW_ITEM_H__
    35 #endif      // __CALEN_EVENT_LIST_VIEW_ITEM_H__