deviceupdatesui/devicemanagementnotifiersplugin/devicemanagementnotifierutils.cpp
changeset 27 516a867811c3
parent 18 7d11f9a6646f
--- a/deviceupdatesui/devicemanagementnotifiersplugin/devicemanagementnotifierutils.cpp	Fri May 14 15:42:35 2010 +0300
+++ b/deviceupdatesui/devicemanagementnotifiersplugin/devicemanagementnotifierutils.cpp	Thu May 27 12:45:33 2010 +0300
@@ -186,11 +186,11 @@
         contentbody->setPlainText(serverinitmessage);
 
         //set softkeys
-        HbAction *primaryAction = dialog->primaryAction();
+        HbAction *primaryAction = (HbAction *) dialog->actions().first();
         QString softkeyok = hbTrId("txt_common_button_ok");
         primaryAction->setText(softkeyok);
 
-        HbAction *secondaryAction = dialog->secondaryAction();
+        HbAction *secondaryAction = (HbAction *) dialog->actions().at(1);
         QString softkeyCancel = hbTrId("txt_common_button_cancel");
         secondaryAction->setText(softkeyCancel);
 
@@ -313,11 +313,11 @@
     contentbody->setPlainText(string);
 
     //set softkeys
-    HbAction *primaryAction = dialog->primaryAction();
+    HbAction *primaryAction = (HbAction *) dialog->actions().first();
     QString softkeyok = hbTrId("txt_common_button_yes");
     primaryAction->setText(softkeyok);
 
-    HbAction *secondaryAction = dialog->secondaryAction();
+    HbAction *secondaryAction = (HbAction *) dialog->actions().at(1);
     QString softkeyCancel = hbTrId("txt_common_button_no");
     secondaryAction->setText(softkeyCancel);