calendarui/views/src/calenagendaview.cpp
changeset 70 a5ed90760192
parent 51 0b38fc5b94c6
child 75 7ac58b2aae6f
--- a/calendarui/views/src/calenagendaview.cpp	Tue Aug 31 18:15:13 2010 +0530
+++ b/calendarui/views/src/calenagendaview.cpp	Mon Sep 06 10:12:45 2010 +0530
@@ -18,6 +18,7 @@
 // System includes
 #include <QGraphicsSceneEvent>
 #include <hbmainwindow.h>
+#include <hbmenu.h>
 #include <hbaction.h>
 #include <hbpangesture.h>
 #include <hbswipegesture.h>
@@ -217,20 +218,6 @@
 }
 
 // ----------------------------------------------------------------------------
-// CalenAgendaView::HandleNotification
-// Rest of the details are commented in the header
-// ----------------------------------------------------------------------------
-//    
-void CalenAgendaView::HandleNotification(const TCalenNotification notification)
-{
-    OstTraceFunctionEntry0( CALENAGENDAVIEW_HANDLENOTIFICATION_ENTRY );
-    
-    Q_UNUSED(notification)
-    // No implementation yet
-    OstTraceFunctionExit0( CALENAGENDAVIEW_HANDLENOTIFICATION_EXIT );
-}
-
-// ----------------------------------------------------------------------------
 // CalenAgendaView::docLoader
 // Rest of the details are commented in the header
 // ----------------------------------------------------------------------------
@@ -315,6 +302,8 @@
 	// Connect to the signal triggered by settings action
 	connect(settingsAction, SIGNAL(triggered()), this, SLOT(launchSettingsView()));
 	
+	// Close the menu once closeDialogs() is received
+	connect(this, SIGNAL(closeDialogs()), menu(), SLOT(close()));
 	OstTraceFunctionExit0( CALENAGENDAVIEW_SETUPACTIONS_EXIT );
 }