equal
deleted
inserted
replaced
44 ~CntMyCardView(); |
44 ~CntMyCardView(); |
45 |
45 |
46 public: // From CntAbstractView |
46 public: // From CntAbstractView |
47 void activate( CntAbstractViewManager* aMgr, const CntViewParameters aArgs ); |
47 void activate( CntAbstractViewManager* aMgr, const CntViewParameters aArgs ); |
48 void deactivate(); |
48 void deactivate(); |
49 bool isDefault() const { return false; } |
|
50 HbView* view() const { return mView; } |
|
51 int viewId() const { return myCardView; } |
|
52 |
49 |
53 #ifdef PBK_UNIT_TEST |
50 inline bool isDefault() const { return false; } |
54 public slots: |
51 inline HbView* view() const { return mView; } |
55 #else |
52 inline int viewId() const { return myCardView; } |
|
53 |
56 private slots: |
54 private slots: |
57 #endif |
|
58 void showPreviousView(); |
55 void showPreviousView(); |
59 void openNameEditor(); |
56 void openNameEditor(); |
60 void openMyCardSelectionView(); |
57 void openMyCardSelectionView(); |
61 void handleMultiCardSelection(); |
58 void handleMultiCardSelection(); |
62 void setOrientation(Qt::Orientation orientation); |
59 void setOrientation(Qt::Orientation orientation); |
70 CntAbstractViewManager* mViewManager; |
67 CntAbstractViewManager* mViewManager; |
71 HbDocumentLoader mDocumentLoader; |
68 HbDocumentLoader mDocumentLoader; |
72 HbView* mView; // own |
69 HbView* mView; // own |
73 HbAction* mSoftkey; |
70 HbAction* mSoftkey; |
74 CntFetchContacts* mFetchView; |
71 CntFetchContacts* mFetchView; |
|
72 |
|
73 friend class TestCntMyCardView; |
75 }; |
74 }; |
76 |
75 |
77 #endif /* CNTMYCARDVIEW_H_ */ |
76 #endif /* CNTMYCARDVIEW_H_ */ |