equal
deleted
inserted
replaced
374 HbAction *stopAction = qobject_cast<HbAction*> ( |
374 HbAction *stopAction = qobject_cast<HbAction*> ( |
375 mAlertDocLoader->findObject("stopAction")); |
375 mAlertDocLoader->findObject("stopAction")); |
376 if (!stopAction) { |
376 if (!stopAction) { |
377 qFatal("Unable to load the stopAction softkey"); |
377 qFatal("Unable to load the stopAction softkey"); |
378 } |
378 } |
379 stopAction->setText(hbTrId("txt_calendar_button_alarm_dialog_snooze")); |
379 stopAction->setText(hbTrId("txt_calendar_button_alarm_stop")); |
380 disconnect(stopAction, SIGNAL(triggered()), this, SLOT(close())); |
380 disconnect(stopAction, SIGNAL(triggered()), this, SLOT(close())); |
381 connect(stopAction, SIGNAL(triggered()), this, SLOT(dismissed())); |
381 connect(stopAction, SIGNAL(triggered()), this, SLOT(dismissed())); |
382 |
382 |
383 if (!mCanSnooze) { |
383 if (!mCanSnooze) { |
384 snoozeAction->setVisible(false); |
384 snoozeAction->setVisible(false); |
494 HbAction *stopAction = qobject_cast<HbAction*> ( |
494 HbAction *stopAction = qobject_cast<HbAction*> ( |
495 mAlertDocLoader->findObject("stopAction")); |
495 mAlertDocLoader->findObject("stopAction")); |
496 if (!stopAction) { |
496 if (!stopAction) { |
497 qFatal("Unable to find the stopAction softkey"); |
497 qFatal("Unable to find the stopAction softkey"); |
498 } |
498 } |
499 stopAction->setText(hbTrId("txt_calendar_button_alarm_dialog_snooze")); |
499 stopAction->setText(hbTrId("txt_calendar_button_alarm_stop")); |
500 disconnect(stopAction, SIGNAL(triggered()), this, SLOT(close())); |
500 disconnect(stopAction, SIGNAL(triggered()), this, SLOT(close())); |
501 connect(stopAction, SIGNAL(triggered()), this, SLOT(dismissed())); |
501 connect(stopAction, SIGNAL(triggered()), this, SLOT(dismissed())); |
502 OstTraceFunctionExit0( ALARMALERTDIALOGPRIVATE_HANDLECALENDARALARMS_EXIT ); |
502 OstTraceFunctionExit0( ALARMALERTDIALOGPRIVATE_HANDLECALENDARALARMS_EXIT ); |
503 } |
503 } |
504 |
504 |
556 HbAction *stopAction = qobject_cast<HbAction*> ( |
556 HbAction *stopAction = qobject_cast<HbAction*> ( |
557 mAlertDocLoader->findObject("stopAction")); |
557 mAlertDocLoader->findObject("stopAction")); |
558 if (!stopAction) { |
558 if (!stopAction) { |
559 qFatal("Unable to load the stopAction softkey"); |
559 qFatal("Unable to load the stopAction softkey"); |
560 } |
560 } |
561 stopAction->setText(hbTrId("txt_calendar_button_alarm_dialog_snooze")); |
561 stopAction->setText(hbTrId("txt_calendar_button_alarm_stop")); |
562 disconnect(stopAction, SIGNAL(triggered()), this, SLOT(close())); |
562 disconnect(stopAction, SIGNAL(triggered()), this, SLOT(close())); |
563 connect(stopAction, SIGNAL(triggered()), this, SLOT(dismissed())); |
563 connect(stopAction, SIGNAL(triggered()), this, SLOT(dismissed())); |
564 OstTraceFunctionExit0( ALARMALERTDIALOGPRIVATE_HANDLETODOALARMS_EXIT ); |
564 OstTraceFunctionExit0( ALARMALERTDIALOGPRIVATE_HANDLETODOALARMS_EXIT ); |
565 } |
565 } |
566 |
566 |