homescreenapp/stateplugins/hsapplibrarystateplugin/src/hsallcollectionsstate.cpp
changeset 55 03646e8da489
parent 51 4785f57bf3d4
child 61 2b1b11a301d2
equal deleted inserted replaced
51:4785f57bf3d4 55:03646e8da489
   346  */
   346  */
   347 void HsAllCollectionsState::listItemLongPressed(HbAbstractViewItem *item,
   347 void HsAllCollectionsState::listItemLongPressed(HbAbstractViewItem *item,
   348         const QPointF &coords)
   348         const QPointF &coords)
   349 {
   349 {
   350     HSMENUTEST_FUNC_ENTRY("HsAllCollectionsState::listItemLongPressed");
   350     HSMENUTEST_FUNC_ENTRY("HsAllCollectionsState::listItemLongPressed");
   351 
       
   352 
       
   353     const int itemId = item->modelIndex().data(CaItemModel::IdRole).toInt();
       
   354 
   351 
   355     mContextMenu = new HbMenu;
   352     mContextMenu = new HbMenu;
   356 
   353 
   357     // create context menu
   354     // create context menu
   358     HbAction *addShortcutAction = mContextMenu->addAction(hbTrId(
   355     HbAction *addShortcutAction = mContextMenu->addAction(hbTrId(