notes/notesui/notesviews/src/notesfavoriteview.cpp
changeset 83 5aadd1120515
parent 70 a5ed90760192
equal deleted inserted replaced
82:dcd0ca396fa1 83:5aadd1120515
   339 
   339 
   340 	if (entry.favourite()) {
   340 	if (entry.favourite()) {
   341 		entry.setFavourite(0);
   341 		entry.setFavourite(0);
   342 	}
   342 	}
   343 	mAgendaUtil->store(entry);
   343 	mAgendaUtil->store(entry);
       
   344 	
       
   345 		// Show the soft notification.
       
   346 	HbNotificationDialog *notificationDialog = new HbNotificationDialog();
       
   347 	notificationDialog->setTimeout(
       
   348 			HbNotificationDialog::ConfirmationNoteTimeout);
       
   349 	notificationDialog->setTitle(
       
   350 			hbTrId("txt_notes_dpopinfo_removed_from_favorites"));
       
   351 	notificationDialog->show();
       
   352 	
   344 	OstTraceFunctionExit0( NOTESFAVORITEVIEW_MARKNOTEASNOTFAVOURITE_EXIT );
   353 	OstTraceFunctionExit0( NOTESFAVORITEVIEW_MARKNOTEASNOTFAVOURITE_EXIT );
   345 }
   354 }
   346 
   355 
   347 /*!
   356 /*!
   348     Slot to make a note as to-do.
   357     Slot to make a note as to-do.