phoneengine/networkhandlingstarter/src/networkhandlingstarter_p.cpp
changeset 30 ebdbd102c78a
parent 27 2f8f8080a020
child 51 f39ed5e045e0
equal deleted inserted replaced
27:2f8f8080a020 30:ebdbd102c78a
    68     }
    68     }
    69     m_note = new HbDeviceMessageBox(
    69     m_note = new HbDeviceMessageBox(
    70         hbTrId("txt_phone_info_network_lost_select_network"), 
    70         hbTrId("txt_phone_info_network_lost_select_network"), 
    71         HbMessageBox::MessageTypeQuestion);
    71         HbMessageBox::MessageTypeQuestion);
    72     HbAction *primaryAction = new HbAction(hbTrId("txt_common_button_yes"), m_note);
    72     HbAction *primaryAction = new HbAction(hbTrId("txt_common_button_yes"), m_note);
    73     m_note->setPrimaryAction(primaryAction);
    73     m_note->setAction(primaryAction, HbDeviceMessageBox::AcceptButtonRole); 
    74     HbAction *secondaryAction = new HbAction(hbTrId("txt_common_button_no"), m_note);
    74     HbAction *secondaryAction = new HbAction(hbTrId("txt_common_button_no"), m_note);
    75     m_note->setSecondaryAction(secondaryAction);
    75     m_note->setAction(secondaryAction,HbDeviceMessageBox::RejectButtonRole); 
    76     QObject::connect(
    76     QObject::connect(
    77         primaryAction, SIGNAL(triggered()),
    77         primaryAction, SIGNAL(triggered()),
    78         this, SLOT(LaunchCpNetworkPluginView()));
    78         this, SLOT(LaunchCpNetworkPluginView()));
    79     m_note->setTimeout(0);
    79     m_note->setTimeout(0);
    80     m_note->show();
    80     m_note->show();