messagingapp/msgui/unifiedviewer/src/unifiedviewer.cpp
changeset 44 36f374c67aa8
parent 34 84197e66a4bd
child 47 5b14749788d7
child 52 12db4185673b
equal deleted inserted replaced
43:35b64624a9e7 44:36f374c67aa8
    46 const QString SEND_ICON("qtg_mono_send");
    46 const QString SEND_ICON("qtg_mono_send");
    47 const QString DELETE_ICON("qtg_mono_delete");
    47 const QString DELETE_ICON("qtg_mono_delete");
    48 
    48 
    49 //LOCALIZED CONSTANTS
    49 //LOCALIZED CONSTANTS
    50 #define LOC_DELETE_MESSAGE hbTrId("txt_messaging_dialog_delete_message")
    50 #define LOC_DELETE_MESSAGE hbTrId("txt_messaging_dialog_delete_message")
    51 #define LOC_BUTTON_DELETE hbTrId("txt_common_button_delete")
       
    52 #define LOC_BUTTON_CANCEL hbTrId("txt_common_button_cancel")
       
    53 
    51 
    54 //----------------------------------------------------------------------------
    52 //----------------------------------------------------------------------------
    55 // UnifiedViewer::UnifiedViewer
    53 // UnifiedViewer::UnifiedViewer
    56 // constructor
    54 // constructor
    57 //----------------------------------------------------------------------------
    55 //----------------------------------------------------------------------------
   236 // UnifiedViewer::handleDeleteAction
   234 // UnifiedViewer::handleDeleteAction
   237 // @see header file
   235 // @see header file
   238 //---------------------------------------------------------------
   236 //---------------------------------------------------------------
   239 void UnifiedViewer::handleDeleteAction()
   237 void UnifiedViewer::handleDeleteAction()
   240 {
   238 {
   241     HbMessageBox::question(LOC_DELETE_MESSAGE,this,SLOT(onDialogDeleteMsg(HbAction*)),
   239     HbMessageBox::question(LOC_DELETE_MESSAGE,this,
   242                                          LOC_BUTTON_DELETE, 
   240                            SLOT(onDialogDeleteMsg(HbAction*)),
   243                                          LOC_BUTTON_CANCEL);
   241                            HbMessageBox::Delete | HbMessageBox::Cancel);
   244 }
   242 }
   245 
   243 
   246 //---------------------------------------------------------------
   244 //---------------------------------------------------------------
   247 // UnifiedViewer::sendMessage
   245 // UnifiedViewer::sendMessage
   248 // @see header file
   246 // @see header file