ui/commandhandlers/commandhandlerbase/src/glxmpxcommandhandler.cpp
changeset 50 a0f57508af73
parent 45 863223ea6961
child 62 36d93b4dc635
equal deleted inserted replaced
45:863223ea6961 50:a0f57508af73
   485             QString localisedString  = qtText.arg(qtItemName);
   485             QString localisedString  = qtText.arg(qtItemName);
   486             qtText = localisedString;          
   486             qtText = localisedString;          
   487             }
   487             }
   488             // (else) If error, assume confirmed anyway
   488             // (else) If error, assume confirmed anyway
   489         CleanupStack::PopAndDestroy(attributeContext);
   489         CleanupStack::PopAndDestroy(attributeContext);
   490         HbMessageBox::question(qtText, this, SLOT(messageDialogClose(HbAction*)));  
   490         HbMessageBox::question(qtText, this, SLOT(messageDialogClose(HbAction*)),HbMessageBox::Ok | HbMessageBox::Cancel);
   491         }
   491         }
   492     else{
   492     else{
   493         executeMpxCommand(true);
   493         executeMpxCommand(true);
   494         }
   494         }
   495     }
   495     }
   497 void GlxMpxCommandHandler::ConfirmationNoteMultipleL(MGlxMediaList& /*aMediaList*/)
   497 void GlxMpxCommandHandler::ConfirmationNoteMultipleL(MGlxMediaList& /*aMediaList*/)
   498     {
   498     {
   499     QString qtText = ConfirmationTextL(true);
   499     QString qtText = ConfirmationTextL(true);
   500     if(!qtText.isEmpty ())
   500     if(!qtText.isEmpty ())
   501         {
   501         {
   502         HbMessageBox::question(qtText, this, SLOT(messageDialogClose(HbAction*)));
   502         HbMessageBox::question(qtText, this, SLOT(messageDialogClose(HbAction*)),HbMessageBox::Ok |HbMessageBox::Cancel);
   503         }    
   503         }    
   504     else{
   504     else{
   505         executeMpxCommand(true);
   505         executeMpxCommand(true);
   506         }
   506         }
   507     }
   507     }