diff -r 26b6f0522fd8 -r 8110bf1194d1 iaupdate/IAD/ui/src/iaupdateautomaticcheck.cpp --- a/iaupdate/IAD/ui/src/iaupdateautomaticcheck.cpp Mon May 03 12:38:03 2010 +0300 +++ b/iaupdate/IAD/ui/src/iaupdateautomaticcheck.cpp Fri May 14 15:58:48 2010 +0300 @@ -25,10 +25,10 @@ #include "iaupdate.hrh" #include "iaupdateprivatecrkeys.h" - - -#include +//#include #include +#include +#include // --------------------------------------------------------------------------- @@ -102,15 +102,20 @@ } else { - /*TInt ret = IAUpdateDialogUtil::ShowConfirmationQueryL( - R_IAUPDATE_TURN_ON_AUTOUPD_CHECKS, - R_AVKON_SOFTKEYS_YES_NO );*/ - TInt ret = EAknSoftkeyYes; + HbMessageBox messageBox(HbMessageBox::MessageTypeQuestion); + messageBox.setText(QString("Turn on setting for Automatic update checks?")); + HbAction yesAction("Yes"); + HbAction noAction("No"); + messageBox.setPrimaryAction(&yesAction); + messageBox.setSecondaryAction(&noAction); + messageBox.setTimeout(HbPopup::NoTimeout); + messageBox.show(); + //HbAction *selectedAction = messageBox.exec(); firstTimeInfo->SetAutomaticUpdatesAskedL(); - if ( ret == EAknSoftkeyYes ) - { - EnableAutoUpdateCheckL( ETrue ); - } + //if ( selectedAction == messageBox.primaryAction() ) + // { + //EnableAutoUpdateCheckL( ETrue ); // TEMP + // } } } CleanupStack::PopAndDestroy( firstTimeInfo );