clientprovisioning/cpqtsp/src/CpMessage.cpp
changeset 66 f8de2c99bcde
parent 30 d3981f4fe6a4
equal deleted inserted replaced
64:f2a9f5a3b8ba 66:f8de2c99bcde
    62 void CpMessage::saveSettingMessage()
    62 void CpMessage::saveSettingMessage()
    63     {
    63     {
    64     HbMessageBox *box = new HbMessageBox(hbTrId("txt_device_update_info_settings_are_already_saved"),HbMessageBox::MessageTypeQuestion);
    64     HbMessageBox *box = new HbMessageBox(hbTrId("txt_device_update_info_settings_are_already_saved"),HbMessageBox::MessageTypeQuestion);
    65     box->setAttribute(Qt::WA_DeleteOnClose);
    65     box->setAttribute(Qt::WA_DeleteOnClose);
    66     box->setTimeout(HbPopup::NoTimeout);
    66     box->setTimeout(HbPopup::NoTimeout);
       
    67     box->clearActions(); 
       
    68 		HbAction * action1 = new HbAction(hbTrId("txt_common_button_save"));
       
    69 		HbAction * action2 = new HbAction(hbTrId("txt_common_button_cancel"));	
       
    70 		box->addAction(action1);
       
    71 		box->addAction(action2);	
    67     box->open(this,SLOT(saveSettingDialogClosed(HbAction*)));
    72     box->open(this,SLOT(saveSettingDialogClosed(HbAction*)));
    68     }
    73     }
    69 
    74 
    70 // ----------------------------------------------------------------------------
    75 // ----------------------------------------------------------------------------
    71 // CpMessage::saveSettingDialogClosed
    76 // CpMessage::saveSettingDialogClosed