phonebookui/pbkcommonui/src/cntactionmenubuilder.cpp
changeset 40 b46a585f6909
parent 37 fd64c38c277d
child 47 7cbcb2896f0e
equal deleted inserted replaced
37:fd64c38c277d 40:b46a585f6909
    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)