calendarui/views/src/calenmonthview.cpp
changeset 77 b0711afde476
parent 68 a5a1242fd2e8
child 80 fa7c359294fa
equal deleted inserted replaced
68:a5a1242fd2e8 77:b0711afde476
   326 	        SLOT(changeOrientation(Qt::Orientation)));
   326 	        SLOT(changeOrientation(Qt::Orientation)));
   327 	
   327 	
   328 	// Connect to the signal when options menu is shown
   328 	// Connect to the signal when options menu is shown
   329 	// This is required to add/remove dynamically some options
   329 	// This is required to add/remove dynamically some options
   330 	connect(menu(), SIGNAL(aboutToShow ()), this,
   330 	connect(menu(), SIGNAL(aboutToShow ()), this,
   331 			SLOT(addRemoveActionsInMenu()));	
   331 										SLOT(addRemoveActionsInMenu()));
       
   332 	// Close the menu once closeDialogs() is received
       
   333 	connect(this, SIGNAL(closeDialogs()), menu(), SLOT(close()));
       
   334 		
   332 	//add "show lunar data" action item ,if regional plugin is present
   335 	//add "show lunar data" action item ,if regional plugin is present
   333 	//regional plugin will add the option itself and handles it accordingly
   336 	//regional plugin will add the option itself and handles it accordingly
   334 	//use this api after adding all action item to the menu
   337 	//use this api after adding all action item to the menu
   335 	//so that plugin add the "Show lunar data" item as a second last option 
   338 	//so that plugin add the "Show lunar data" item as a second last option 
   336 	// in all views
   339 	// in all views