equal
deleted
inserted
replaced
19 #define CNTSERVICECONTACTFETCHVIEW_H |
19 #define CNTSERVICECONTACTFETCHVIEW_H |
20 |
20 |
21 #include <QObject> |
21 #include <QObject> |
22 |
22 |
23 #include "cntbaseselectionview.h" |
23 #include "cntbaseselectionview.h" |
|
24 #include "cntabstractserviceprovider.h" |
24 |
25 |
25 class CntServiceHandler; |
|
26 |
26 |
27 class CntServiceContactFetchView : public CntBaseSelectionView |
27 class CntServiceContactFetchView : public CntBaseSelectionView |
28 { |
28 { |
29 Q_OBJECT |
29 Q_OBJECT |
30 |
30 |
31 public: |
31 public: |
32 CntServiceContactFetchView( CntServiceHandler *aServiceHandler ); |
32 CntServiceContactFetchView( CntAbstractServiceProvider& aServiceProvider ); |
33 ~CntServiceContactFetchView(); |
33 ~CntServiceContactFetchView(); |
34 |
34 |
35 int viewId() const { return serviceContactFetchView; } |
35 int viewId() const { return serviceContactFetchView; } |
36 |
36 |
37 public slots: |
37 public slots: |
38 void aboutToOpenView(CntAbstractViewManager* aMgr, const CntViewParameters viewParameters); |
38 void aboutToOpenView(CntAbstractViewManager* aMgr, const CntViewParameters viewParameters); |
39 void aboutToCloseView(); |
39 void closeFetchView(); |
40 void cancelFetch(); |
40 void cancelFetch(); |
41 |
41 |
42 private: |
42 private: |
43 CntServiceHandler *mServiceHandler; |
43 CntAbstractServiceProvider& mProvider; |
44 }; |
44 }; |
45 |
45 |
46 #endif /* CNTSERVICECONTACTFETCHVIEW_H */ |
46 #endif /* CNTSERVICECONTACTFETCHVIEW_H */ |