calendarui/views/inc/caleneventlistviewitem.h
changeset 55 2c54b51f39c4
parent 45 b6db4fd4947b
child 57 bb2d3e476f29
--- a/calendarui/views/inc/caleneventlistviewitem.h	Mon Jul 12 02:32:28 2010 +0530
+++ b/calendarui/views/inc/caleneventlistviewitem.h	Mon Jul 26 13:54:38 2010 +0530
@@ -20,16 +20,36 @@
 
 // System includes
 #include <hblistviewitem.h>
+#include "calenagendaviewwidget.h"
 
 class CalenEventListViewItem : public HbListViewItem
 {
     Q_OBJECT
+    Q_PROPERTY(bool leftAllDayIcon READ hasAllDayIcon WRITE setAllDayLeftIcon)
+    Q_PROPERTY(bool repeatingIcon READ hasRepeatingIcon WRITE setRepeatingIcon) 
+    Q_PROPERTY(bool alarmIcon READ hasAlarmIcon WRITE setAlarmIcon)
+    Q_PROPERTY(bool exceptionIcon READ hasExceptionIcon WRITE setExceptionIcon)
 public:
-    CalenEventListViewItem(QGraphicsItem *parent = 0);
+    CalenEventListViewItem(CalenAgendaViewWidget *parent = 0);
     ~CalenEventListViewItem();
 
     HbAbstractViewItem * createItem();
     void updateChildItems();
+    bool hasAllDayIcon();
+    void setAllDayLeftIcon(bool icon = false);
+    bool hasRepeatingIcon();
+    void setRepeatingIcon(bool icon = false);
+    bool hasAlarmIcon();
+    void setAlarmIcon(bool icon = false);
+    bool hasExceptionIcon();
+    void setExceptionIcon(bool icon = false);
+private:  
+    
+    bool mAllDayIcon ;
+    bool mExceptionIcon ;
+    bool mAlarmIcon ;
+    bool mRepeatingIcon ;
+    CalenAgendaViewWidget* mParent; 
 };
 
 #endif      // __CALEN_EVENT_LIST_VIEW_ITEM_H__