iaupdate/IAD/ui/src/iaupdateuicontroller.cpp
changeset 64 48c14c385b0e
parent 44 329d304c1aa1
child 69 b18a4bf55ddb
equal deleted inserted replaced
58:67f2119dc623 64:48c14c385b0e
   338                     mDialogUtil = new IAUpdateDialogUtil(NULL, this);
   338                     mDialogUtil = new IAUpdateDialogUtil(NULL, this);
   339                     }
   339                     }
   340                 if ( mDialogUtil )
   340                 if ( mDialogUtil )
   341                     {
   341                     {
   342                     mPrimaryAction = NULL;
   342                     mPrimaryAction = NULL;
   343                     mPrimaryAction = new HbAction("Accept");
   343                     //mPrimaryAction = new HbAction(hbTrId("txt_software_button_accept"));
       
   344 					mPrimaryAction = new HbAction("Accept");
   344                     HbAction *secondaryAction = NULL;
   345                     HbAction *secondaryAction = NULL;
   345                     secondaryAction = new HbAction("Decline");
   346                     //secondaryAction = new HbAction(hbTrId("txt_software_button_decline"));
       
   347 					secondaryAction = new HbAction("Decline");
   346                     mDialogUtil->showAgreement(mPrimaryAction,secondaryAction);
   348                     mDialogUtil->showAgreement(mPrimaryAction,secondaryAction);
   347                     iDialogState = EAgreement;
   349                     iDialogState = EAgreement;
   348                     }
   350                     }
   349                 }
   351                 }
   350             }
   352             }
   458             mDialogUtil = new IAUpdateDialogUtil(NULL, this);
   460             mDialogUtil = new IAUpdateDialogUtil(NULL, this);
   459             }
   461             }
   460         if ( mDialogUtil )
   462         if ( mDialogUtil )
   461             {
   463             {
   462             mPrimaryAction = NULL;
   464             mPrimaryAction = NULL;
   463             mPrimaryAction = new HbAction("OK");
   465             mPrimaryAction = new HbAction(hbTrId("txt_common_button_ok"));
   464             mDialogUtil->showInformation(QString("Insufficient memory. Free some memory and try again."), mPrimaryAction);
   466             //mDialogUtil->showInformation(hbTrId("txt_software_info_insufficient_memory_free_some_m"), mPrimaryAction);
       
   467 			mDialogUtil->showInformation(QString("Insufficient memory. Free some memory and try again."), mPrimaryAction);
   465             iDialogState = EInsufficientMemory;
   468             iDialogState = EInsufficientMemory;
   466             }
   469             }
   467         }
   470         }
   468     else
   471     else
   469         {
   472         {