equal
deleted
inserted
replaced
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__ |