equal
deleted
inserted
replaced
22 |
22 |
23 // USER INCLUDES |
23 // USER INCLUDES |
24 #include "msgaudiofetcherview.h" |
24 #include "msgaudiofetcherview.h" |
25 #include "msgaudiofetcherwidget.h" |
25 #include "msgaudiofetcherwidget.h" |
26 #include "convergedmessage.h" |
26 #include "convergedmessage.h" |
|
27 |
|
28 #define LOC_SELECT_SOUND hbTrId("txt_messaging_title_select_a_sound") |
27 |
29 |
28 MsgAudioFetcherView::MsgAudioFetcherView(const QVariantList& data) : |
30 MsgAudioFetcherView::MsgAudioFetcherView(const QVariantList& data) : |
29 message(NULL) |
31 message(NULL) |
30 { |
32 { |
31 message = new ConvergedMessage; |
33 message = new ConvergedMessage; |
68 mToolBarLeftAction->setEnabled(false); |
70 mToolBarLeftAction->setEnabled(false); |
69 |
71 |
70 mToolBarRightAction = new HbAction(this); |
72 mToolBarRightAction = new HbAction(this); |
71 mToolBarRightAction->setObjectName("rightAction"); |
73 mToolBarRightAction->setObjectName("rightAction"); |
72 //TODO: need localized string |
74 //TODO: need localized string |
73 mToolBarRightAction->setText(hbTrId("Select")); |
75 mToolBarRightAction->setText(LOC_SELECT_SOUND); |
74 mToolBarRightAction->setEnabled(false); |
76 mToolBarRightAction->setEnabled(false); |
75 toolBar()->addAction(mToolBarRightAction); |
77 toolBar()->addAction(mToolBarRightAction); |
76 |
78 |
77 toolBar()->setOrientation(Qt::Horizontal); |
79 toolBar()->setOrientation(Qt::Horizontal); |
78 toolBar()->setEnabled(false); |
80 toolBar()->setEnabled(false); |