logsui/AppSrc/CLogsBaseView.cpp
branchRCL_3
changeset 7 b3431bff8c19
parent 3 04ab22b956c2
child 9 0d28c1c5b6dd
equal deleted inserted replaced
6:e8e3147d53eb 7:b3431bff8c19
  2084 	// Calling ShowTypedQueryAndSendL to show the write query. Different menu options are 
  2084 	// Calling ShowTypedQueryAndSendL to show the write query. Different menu options are 
  2085 	// be shown depending on wether the RD_UNIFIED_EDITOR flag is defined ot not, but we don't
  2085 	// be shown depending on wether the RD_UNIFIED_EDITOR flag is defined ot not, but we don't
  2086 	// need care about the flag here.
  2086 	// need care about the flag here.
  2087     TUid uid;
  2087     TUid uid;
  2088     SetToolbarState(ELogsHideItemsAndDrawOnlyBackground, EFalse); 
  2088     SetToolbarState(ELogsHideItemsAndDrawOnlyBackground, EFalse); 
  2089  
       
  2090     TRAPD(err,     
  2089     TRAPD(err,     
  2091         if (aCommandId == ELogsCmdMenuSendUi)           // with ELogsCmdMenuSendUi show query
  2090         if (aCommandId == ELogsCmdMenuSendUi)           // with ELogsCmdMenuSendUi show query
  2092             {
  2091             {
  2093             uid = LogsAppUi()->SendUiL()->ShowTypedQueryL(CSendUi::EWriteMenu, messageData, capabilities, servicesToDim );
  2092             uid = LogsAppUi()->SendUiL()->ShowTypedQueryL(CSendUi::EWriteMenu, NULL, capabilities, servicesToDim );
  2094             } 
  2093             } 
  2095         else if (aCommandId == ELogsCmdToolBarSendUi)   // with ELogsCmdToolBarSendUi dont show query
  2094         else if (aCommandId == ELogsCmdToolBarSendUi)   // with ELogsCmdToolBarSendUi dont show query
  2096             {
  2095             {
  2097             uid = KSenduiMtmUniMessageUid;    
  2096             uid = KSenduiMtmUniMessageUid;    
  2098             }
  2097             }