phonebookui/pbkcommonui/inc/cntmycardview.h
changeset 53 e6aff7b69165
parent 46 efe85016a067
child 61 d30183af6ca6
equal deleted inserted replaced
51:81c360d47083 53:e6aff7b69165
    17 
    17 
    18 #ifndef CNTMYCARDVIEW_H_
    18 #ifndef CNTMYCARDVIEW_H_
    19 #define CNTMYCARDVIEW_H_
    19 #define CNTMYCARDVIEW_H_
    20 
    20 
    21 #include <QObject>
    21 #include <QObject>
       
    22 #include <QSet>
    22 #include <hbdocumentloader.h>
    23 #include <hbdocumentloader.h>
    23 
       
    24 #include <cntabstractview.h>
    24 #include <cntabstractview.h>
    25 
    25 
    26 class CntAbstractViewManager;
    26 class CntAbstractViewManager;
    27 class CntFetchContacts;
       
    28 class HbView;
    27 class HbView;
    29 class HbAction;
    28 class HbAction;
    30 
    29 
    31 QTM_BEGIN_NAMESPACE
    30 QTM_BEGIN_NAMESPACE
    32 class QContact;
    31 class QContact;
    53     
    52     
    54 private slots:
    53 private slots:
    55     void showPreviousView();
    54     void showPreviousView();
    56     void openNameEditor();
    55     void openNameEditor();
    57     void openMyCardSelectionView(); 
    56     void openMyCardSelectionView(); 
    58     void handleMultiCardSelection();
    57     void handleMultiCardSelection(QSet<QContactLocalId> aIds);
    59     void setOrientation(Qt::Orientation orientation);
    58     void setOrientation(Qt::Orientation orientation);
    60 
    59 
    61 private: 
    60 private: 
    62     
    61     
    63     void removeFromGroup(const QContact* contact);
    62     void removeFromGroup(const QContact* contact);
    66     QContact*                 mContact; // own
    65     QContact*                 mContact; // own
    67     CntAbstractViewManager*   mViewManager;
    66     CntAbstractViewManager*   mViewManager;
    68     HbDocumentLoader          mDocumentLoader;
    67     HbDocumentLoader          mDocumentLoader;
    69     HbView*                   mView; // own
    68     HbView*                   mView; // own
    70     HbAction*                 mSoftkey;
    69     HbAction*                 mSoftkey;
    71     CntFetchContacts*         mFetchView;
       
    72     
    70     
    73     friend class TestCntMyCardView;
    71     friend class TestCntMyCardView;
    74 };
    72 };
    75 
    73 
    76 #endif /* CNTMYCARDVIEW_H_ */
    74 #endif /* CNTMYCARDVIEW_H_ */