equal
deleted
inserted
replaced
19 #include "cntabstractview.h" |
19 #include "cntabstractview.h" |
20 #include "cntserviceeditview.h" |
20 #include "cntserviceeditview.h" |
21 #include "cntservicesubeditview.h" |
21 #include "cntservicesubeditview.h" |
22 #include "cntservicecontactfetchview.h" |
22 #include "cntservicecontactfetchview.h" |
23 #include "cntservicecontactselectionview.h" |
23 #include "cntservicecontactselectionview.h" |
|
24 #include "cntservicecontactcardview.h" |
|
25 #include "cntserviceassigncontactcardview.h" |
24 |
26 |
25 CntServiceViewFactory::CntServiceViewFactory(CntServiceHandler* aHandler) : |
27 CntServiceViewFactory::CntServiceViewFactory(CntServiceHandler* aHandler) : |
26 CntDefaultViewFactory(), |
28 CntDefaultViewFactory(), |
27 mService( aHandler ) |
29 mService( aHandler ) |
28 { |
30 { |
49 |
51 |
50 case serviceSubEditView: |
52 case serviceSubEditView: |
51 return new CntServiceSubEditView( mService ); |
53 return new CntServiceSubEditView( mService ); |
52 |
54 |
53 case serviceContactCardView: |
55 case serviceContactCardView: |
54 return new CntServiceEditView( mService ); |
56 return new CntServiceContactCardView( mService ); |
55 |
57 |
56 case serviceAssignContactCardView: |
58 case serviceAssignContactCardView: |
57 return new CntServiceSubEditView( mService ); |
59 return new CntServiceAssignContactCardView( mService ); |
58 |
60 |
59 default: |
61 default: |
60 return CntDefaultViewFactory::createView( aViewId ); |
62 return CntDefaultViewFactory::createView( aViewId ); |
61 } |
63 } |
62 } |
64 } |