56 public: // From CntExtensionGroupCallback |
55 public: // From CntExtensionGroupCallback |
57 void openView(CntViewParameters& viewParams); |
56 void openView(CntViewParameters& viewParams); |
58 |
57 |
59 private slots: |
58 private slots: |
60 void showPreviousView(); |
59 void showPreviousView(); |
|
60 void showNamesViewWithFinder(); |
61 void openGroup(const QModelIndex &index); |
61 void openGroup(const QModelIndex &index); |
62 |
62 |
63 void showContextMenu(HbAbstractViewItem *item, const QPointF &coords); |
63 void showContextMenu(HbAbstractViewItem *item, const QPointF &coords); |
64 void handleMenu(HbAction* action); |
64 void handleMenu(HbAction* action); |
65 |
65 |
66 void newGroup(); |
66 void newGroup(); |
67 void handleNewGroup(HbAction* action); |
67 void handleNewGroup(HbAction* action); |
68 void handleNewGroupMembers(); |
68 void handleNewGroupMembers( QSet<QContactLocalId> aMembers ); |
|
69 void handleCancelGroupMembers(); |
|
70 void notifyNewGroup(); |
69 |
71 |
70 void refreshDataModel(); |
72 void refreshDataModel(); |
71 |
73 |
72 void deleteGroup(QContact group); |
74 void deleteGroup(QContact group); |
73 void handleDeleteGroup(HbAction* action); |
75 void handleDeleteGroup(int action); |
74 |
76 |
75 void deleteGroups(); |
77 void deleteGroups(); |
76 void handleDeleteGroups(HbAction* action); |
78 void handleDeleteGroups(HbAction* action); |
77 |
79 |
78 private: |
80 private: |
93 HbAction* mExtensionAction; // owned by view |
95 HbAction* mExtensionAction; // owned by view |
94 HbAction* mNewGroupAction; // owned by view |
96 HbAction* mNewGroupAction; // owned by view |
95 HbAction* mDeleteGroupsAction; // owned by view |
97 HbAction* mDeleteGroupsAction; // owned by view |
96 |
98 |
97 QContact* mHandledContact; // own, needed for asynchronous popups |
99 QContact* mHandledContact; // own, needed for asynchronous popups |
98 CntFetchContacts* mFetchView; |
|
99 QSet<QContactLocalId> mSelectedContactsSet; |
100 QSet<QContactLocalId> mSelectedContactsSet; |
100 |
101 |
101 QActionGroup* mActionGroup; |
102 QActionGroup* mActionGroup; |
102 }; |
103 }; |
103 |
104 |