equal
deleted
inserted
replaced
23 |
23 |
24 #include "cntcontactcardview.h" |
24 #include "cntcontactcardview.h" |
25 |
25 |
26 class CntServiceHandler; |
26 class CntServiceHandler; |
27 class CntAbstractViewManager; |
27 class CntAbstractViewManager; |
|
28 class CntAbstractServiceProvider; |
28 |
29 |
29 QTM_BEGIN_NAMESPACE |
30 QTM_BEGIN_NAMESPACE |
30 class QContact; |
31 class QContact; |
31 class QContactDetail; |
32 class QContactDetail; |
32 QTM_END_NAMESPACE |
33 QTM_END_NAMESPACE |
37 { |
38 { |
38 Q_OBJECT |
39 Q_OBJECT |
39 |
40 |
40 public slots: |
41 public slots: |
41 void doCloseView(); |
42 void doCloseView(); |
42 void addActionsToToolBar(); |
|
43 void addToContacts(); |
43 void addToContacts(); |
44 void saveNew(); |
44 void saveNew(); |
45 void updateExisting(); |
45 void updateExisting(); |
46 |
46 |
47 void doViewActivated(CntAbstractViewManager* aMgr, const CntViewParameters aArgs); |
47 void doViewActivated(CntAbstractViewManager* aMgr, const CntViewParameters aArgs); |
48 |
48 |
49 public: |
49 public: |
50 CntServiceAssignContactCardView(CntServiceHandler *aServiceHandler); |
50 CntServiceAssignContactCardView( CntAbstractServiceProvider& aServiceController ); |
51 ~CntServiceAssignContactCardView(); |
51 ~CntServiceAssignContactCardView(); |
52 |
52 |
53 int viewId() const { return serviceAssignContactCardView; } |
53 int viewId() const { return serviceAssignContactCardView; } |
54 |
54 |
55 private: |
55 private: |
56 CntServiceHandler *mServiceHandler; |
56 CntAbstractServiceProvider& mProvider; |
57 CntAbstractViewManager *mViewManager; |
57 CntAbstractViewManager *mViewManager; |
58 QContact mContact; |
58 QContact mContact; |
59 QContactDetail mDetail; |
59 QContactDetail mDetail; |
60 |
60 |
61 }; |
61 }; |