phonebookui/pbkcommonui/inc/cntcollectionview.h
changeset 59 a642906a277a
parent 40 b46a585f6909
child 65 ae724a111993
equal deleted inserted replaced
47:7cbcb2896f0e 59:a642906a277a
    27 
    27 
    28 class HbAction;
    28 class HbAction;
    29 class HbView;
    29 class HbView;
    30 class HbListView;
    30 class HbListView;
    31 class CntCollectionListModel;
    31 class CntCollectionListModel;
    32 class CntFetchContacts;
       
    33 class QModelIndex;
    32 class QModelIndex;
    34 class QActionGroup;
    33 class QActionGroup;
    35 class HbAbstractViewItem;
    34 class HbAbstractViewItem;
    36 class CntExtensionManager;
    35 class CntExtensionManager;
    37 
    36 
    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