phonebookui/pbkcommonui/inc/cntfavoritesview.h
changeset 59 a642906a277a
parent 40 b46a585f6909
child 61 d30183af6ca6
equal deleted inserted replaced
47:7cbcb2896f0e 59:a642906a277a
    19 #define CNTFAVORITESVIEW_H
    19 #define CNTFAVORITESVIEW_H
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
    22 #include <hbdocumentloader.h>
    22 #include <hbdocumentloader.h>
    23 #include <cntabstractview.h>
    23 #include <cntabstractview.h>
       
    24 #include <QSet>
    24 
    25 
    25 class HbAction;
    26 class HbAction;
    26 class HbView;
    27 class HbView;
    27 class CntFetchContacts;
       
    28 
    28 
    29 QTM_BEGIN_NAMESPACE
    29 QTM_BEGIN_NAMESPACE
    30 class QContact;
    30 class QContact;
    31 class QContactManager;
    31 class QContactManager;
    32 QTM_END_NAMESPACE
    32 QTM_END_NAMESPACE
    50     int viewId() const { return collectionFavoritesView; }
    50     int viewId() const { return collectionFavoritesView; }
    51 
    51 
    52 private slots:
    52 private slots:
    53     void showPreviousView();
    53     void showPreviousView();
    54     void openSelectionPopup();
    54     void openSelectionPopup();
    55     void handleMemberSelection();
    55     void handleMemberSelection( QSet<QContactLocalId> aIds );
    56     void setOrientation(Qt::Orientation orientation);
    56     void setOrientation(Qt::Orientation orientation);
    57 
    57 
    58 private:
    58 private:
    59     QContactManager* getContactManager();
    59     QContactManager* getContactManager();
    60     
    60     
    66     QContact* mContact; // own
    66     QContact* mContact; // own
    67     HbView* mView; // own
    67     HbView* mView; // own
    68     HbAction* mSoftkey;
    68     HbAction* mSoftkey;
    69     CntAbstractViewManager* mViewManager;
    69     CntAbstractViewManager* mViewManager;
    70     HbDocumentLoader mDocumentLoader;
    70     HbDocumentLoader mDocumentLoader;
    71     CntFetchContacts* mFetchView;
       
    72 };
    71 };
    73 
    72 
    74 #endif // CNTFAVORITESVIEW_H
    73 #endif // CNTFAVORITESVIEW_H
    75 
    74 
    76 // EOF
    75 // EOF