48 HbAction *action = 0; |
49 HbAction *action = 0; |
49 |
50 |
50 #ifdef FM_CHANGE_ORIENT_ENABLE |
51 #ifdef FM_CHANGE_ORIENT_ENABLE |
51 action = new HbAction( this ); |
52 action = new HbAction( this ); |
52 action->setObjectName( "rotateAction" ); |
53 action->setObjectName( "rotateAction" ); |
53 action->setText( tr( "Change orientation" ) ); |
54 action->setText( hbTrId( "Change orientation" ) ); |
54 menu()->addAction( action ); |
55 menu()->addAction( action ); |
55 #endif |
56 #endif |
56 |
57 |
57 action = new HbAction( this ); |
58 action = new HbAction( this ); |
58 action->setObjectName( "findAction" ); |
59 action->setObjectName( "findAction" ); |
59 action->setText( tr( "Find" ) ); |
60 action->setText( hbTrId( "txt_fmgr_opt_find" ) ); |
60 menu()->addAction( action ); |
61 menu()->addAction( action ); |
61 |
62 |
62 action = new HbAction( this ); |
63 action = new HbAction( this ); |
63 action->setObjectName( "backupAction" ); |
64 action->setObjectName( "backupAction" ); |
64 action->setText( tr( "Backup" ) ); |
65 action->setText( hbTrId( "txt_fmgr_opt_backup" ) ); |
65 menu()->addAction( action ); |
66 menu()->addAction( action ); |
66 |
67 |
67 action = new HbAction( this ); |
68 action = new HbAction( this ); |
68 action->setObjectName( "restoreAction" ); |
69 action->setObjectName( "restoreAction" ); |
69 action->setText( tr( "Restore" ) ); |
70 action->setText( hbTrId( "txt_fmgr_opt_restore" ) ); |
70 menu()->addAction( action ); |
71 menu()->addAction( action ); |
71 |
72 |
72 action = new HbAction( this ); |
73 action = new HbAction( this ); |
73 action->setObjectName( "exitAction" ); |
74 action->setObjectName( "exitAction" ); |
74 action->setText( tr( "Exit" ) ); |
75 action->setText( hbTrId( "Exit" ) ); |
75 menu()->addAction( action ); |
76 menu()->addAction( action ); |
76 |
77 |
77 } |
78 } |
78 |
79 |
79 void FmDriverView::initDiskListWidget() |
80 void FmDriverView::initDiskListWidget() |