calendarui/views/src/calenagendaview.cpp
changeset 70 a5ed90760192
parent 51 0b38fc5b94c6
child 75 7ac58b2aae6f
equal deleted inserted replaced
64:1881ad52dc45 70:a5ed90760192
    16 */
    16 */
    17 
    17 
    18 // System includes
    18 // System includes
    19 #include <QGraphicsSceneEvent>
    19 #include <QGraphicsSceneEvent>
    20 #include <hbmainwindow.h>
    20 #include <hbmainwindow.h>
       
    21 #include <hbmenu.h>
    21 #include <hbaction.h>
    22 #include <hbaction.h>
    22 #include <hbpangesture.h>
    23 #include <hbpangesture.h>
    23 #include <hbswipegesture.h>
    24 #include <hbswipegesture.h>
    24 #include <hbapplication.h> // hbapplication
    25 #include <hbapplication.h> // hbapplication
    25 #include <hbactivitymanager.h> // Activity Manager
    26 #include <hbactivitymanager.h> // Activity Manager
   215 	
   216 	
   216 	OstTraceFunctionExit0( CALENAGENDAVIEW_REFRESHVIEWONGOTODATE_EXIT );
   217 	OstTraceFunctionExit0( CALENAGENDAVIEW_REFRESHVIEWONGOTODATE_EXIT );
   217 }
   218 }
   218 
   219 
   219 // ----------------------------------------------------------------------------
   220 // ----------------------------------------------------------------------------
   220 // CalenAgendaView::HandleNotification
       
   221 // Rest of the details are commented in the header
       
   222 // ----------------------------------------------------------------------------
       
   223 //    
       
   224 void CalenAgendaView::HandleNotification(const TCalenNotification notification)
       
   225 {
       
   226     OstTraceFunctionEntry0( CALENAGENDAVIEW_HANDLENOTIFICATION_ENTRY );
       
   227     
       
   228     Q_UNUSED(notification)
       
   229     // No implementation yet
       
   230     OstTraceFunctionExit0( CALENAGENDAVIEW_HANDLENOTIFICATION_EXIT );
       
   231 }
       
   232 
       
   233 // ----------------------------------------------------------------------------
       
   234 // CalenAgendaView::docLoader
   221 // CalenAgendaView::docLoader
   235 // Rest of the details are commented in the header
   222 // Rest of the details are commented in the header
   236 // ----------------------------------------------------------------------------
   223 // ----------------------------------------------------------------------------
   237 //    
   224 //    
   238 CalenDocLoader* CalenAgendaView::docLoader()
   225 CalenDocLoader* CalenAgendaView::docLoader()
   313 	    qFatal("calenagendaview.cpp : Unable to find settings action");
   300 	    qFatal("calenagendaview.cpp : Unable to find settings action");
   314 	}
   301 	}
   315 	// Connect to the signal triggered by settings action
   302 	// Connect to the signal triggered by settings action
   316 	connect(settingsAction, SIGNAL(triggered()), this, SLOT(launchSettingsView()));
   303 	connect(settingsAction, SIGNAL(triggered()), this, SLOT(launchSettingsView()));
   317 	
   304 	
       
   305 	// Close the menu once closeDialogs() is received
       
   306 	connect(this, SIGNAL(closeDialogs()), menu(), SLOT(close()));
   318 	OstTraceFunctionExit0( CALENAGENDAVIEW_SETUPACTIONS_EXIT );
   307 	OstTraceFunctionExit0( CALENAGENDAVIEW_SETUPACTIONS_EXIT );
   319 }
   308 }
   320 
   309 
   321 // ----------------------------------------------------------------------------
   310 // ----------------------------------------------------------------------------
   322 // CalenAgendaView::createNewEvent
   311 // CalenAgendaView::createNewEvent