equal
deleted
inserted
replaced
86 void CntFavoritesView::openSelectionPopup() |
86 void CntFavoritesView::openSelectionPopup() |
87 { |
87 { |
88 QSet<QContactLocalId> emptySet; |
88 QSet<QContactLocalId> emptySet; |
89 |
89 |
90 if (!mFetchView) { |
90 if (!mFetchView) { |
91 mFetchView = new CntFetchContacts(getContactManager()); |
91 mFetchView = new CntFetchContacts(*getContactManager()); |
92 connect(mFetchView, SIGNAL(clicked()), this, SLOT(handleMemberSelection())); |
92 connect(mFetchView, SIGNAL(clicked()), this, SLOT(handleMemberSelection())); |
93 } |
93 } |
94 mFetchView->setDetails(hbTrId("txt_phob_subtitle_favorites"), hbTrId("txt_common_button_save")); |
94 mFetchView->setDetails(hbTrId("txt_phob_subtitle_favorites"), hbTrId("txt_common_button_save")); |
95 mFetchView->displayContacts(CntFetchContacts::popup, HbAbstractItemView::MultiSelection, emptySet); |
95 mFetchView->displayContacts(HbAbstractItemView::MultiSelection, emptySet); |
96 } |
96 } |
97 |
97 |
98 void CntFavoritesView::handleMemberSelection() |
98 void CntFavoritesView::handleMemberSelection() |
99 { |
99 { |
100 QSet<QContactLocalId> members = mFetchView->getSelectedContacts(); |
100 QSet<QContactLocalId> members = mFetchView->getSelectedContacts(); |