phoneengine/networkhandlingstarter/src/networkhandlingstarter_p.cpp
changeset 30 ebdbd102c78a
parent 27 2f8f8080a020
child 51 f39ed5e045e0
--- a/phoneengine/networkhandlingstarter/src/networkhandlingstarter_p.cpp	Mon May 03 12:31:11 2010 +0300
+++ b/phoneengine/networkhandlingstarter/src/networkhandlingstarter_p.cpp	Fri May 14 15:51:57 2010 +0300
@@ -70,9 +70,9 @@
         hbTrId("txt_phone_info_network_lost_select_network"), 
         HbMessageBox::MessageTypeQuestion);
     HbAction *primaryAction = new HbAction(hbTrId("txt_common_button_yes"), m_note);
-    m_note->setPrimaryAction(primaryAction);
+    m_note->setAction(primaryAction, HbDeviceMessageBox::AcceptButtonRole); 
     HbAction *secondaryAction = new HbAction(hbTrId("txt_common_button_no"), m_note);
-    m_note->setSecondaryAction(secondaryAction);
+    m_note->setAction(secondaryAction,HbDeviceMessageBox::RejectButtonRole); 
     QObject::connect(
         primaryAction, SIGNAL(triggered()),
         this, SLOT(LaunchCpNetworkPluginView()));