calendarui/views/inc/calendayviewwidget.h
changeset 26 a949c2543c15
parent 23 fd30d51f876b
child 49 5de72ea7a065
--- a/calendarui/views/inc/calendayviewwidget.h	Mon May 03 12:30:32 2010 +0300
+++ b/calendarui/views/inc/calendayviewwidget.h	Fri May 14 15:51:09 2010 +0300
@@ -32,6 +32,7 @@
 class HbGroupBox;
 class HbListView;
 class HbLabel;
+class HbAction;
 class HbDateTimePicker;
 class XQSettingsManager;
 class MCalenServices;
@@ -90,6 +91,11 @@
      */
     void handleLocaleChange();
     
+    /**
+     * @brief clears the list model from the view
+     */
+    void clearListModel();
+    
 private:
     
     /**
@@ -219,6 +225,17 @@
      * events for some day other than the current day
      */
     void goToToday();
+    
+    /**
+     * @brief This slot connected to aboutToClose()signal of contextmenu
+     * To reset the flag of mLongTapEventFlag
+     */
+    void contextMenuClosed();
+    
+    /**
+     * @brief Called when contextMenu item is triggered
+     */
+    void contextManuTriggered(HbAction *action);
 
 private:
     /**
@@ -321,6 +338,13 @@
 	 */
 	
 	XQSettingsManager *mSettingsManager;
+	
+	/**
+	 * @var mLongTapeventFlag
+	 * @brief Set flag true if contextmenu is opened
+	 */
+	bool mLongTapEventFlag;
+	
 };
 
 #endif //CALENDAYVIEWWIDGET_H