equal
deleted
inserted
replaced
73 // If contact is NOT MyCard OR MyCard is not empty (detail count is more than 4) |
73 // If contact is NOT MyCard OR MyCard is not empty (detail count is more than 4) |
74 if ( aContact.localId() != iMyCardId || aContact.details().size() > 4 ) |
74 if ( aContact.localId() != iMyCardId || aContact.details().size() > 4 ) |
75 { |
75 { |
76 menu->addAction(hbTrId("txt_common_menu_open"), this, SLOT(emitOpenContact()) ); |
76 menu->addAction(hbTrId("txt_common_menu_open"), this, SLOT(emitOpenContact()) ); |
77 menu->addAction(hbTrId("txt_common_menu_edit"), this, SLOT(emitEditContact()) ); |
77 menu->addAction(hbTrId("txt_common_menu_edit"), this, SLOT(emitEditContact()) ); |
78 menu->addAction(hbTrId("txt_common_menu_delete_contact"), this, SLOT(emitDeleteContact())); |
78 menu->addAction(hbTrId("txt_phob_menu_delete_contact"), this, SLOT(emitDeleteContact())); |
79 } |
79 } |
80 return menu; |
80 return menu; |
81 } |
81 } |
82 |
82 |
83 HbMenu* CntActionMenuBuilder::actionMenu( QContact& aContact, QContactLocalId myCardId) |
83 HbMenu* CntActionMenuBuilder::actionMenu( QContact& aContact, QContactLocalId myCardId) |