deviceupdatesui/devicemanagementnotifiersplugin/devicemanagementnotifierutils.cpp
changeset 43 88e14c3d4c4f
parent 36 9eefb50e711a
--- a/deviceupdatesui/devicemanagementnotifiersplugin/devicemanagementnotifierutils.cpp	Sat May 01 10:55:27 2010 +0530
+++ b/deviceupdatesui/devicemanagementnotifiersplugin/devicemanagementnotifierutils.cpp	Tue Jul 13 03:42:03 2010 +0530
@@ -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);