--- a/phonebookui/phonebookservices/inc/cntservicecontactfetchview.h Tue Jul 06 14:05:47 2010 +0300
+++ b/phonebookui/phonebookservices/inc/cntservicecontactfetchview.h Wed Aug 18 09:39:00 2010 +0300
@@ -21,26 +21,39 @@
#include <QObject>
#include "cntbaseselectionview.h"
+#include <cntservicescontact.h>
+#include "cntabstractserviceprovider.h"
-class CntServiceHandler;
+class CntServicesContact;
class CntServiceContactFetchView : public CntBaseSelectionView
{
Q_OBJECT
public:
- CntServiceContactFetchView( CntServiceHandler *aServiceHandler );
+ CntServiceContactFetchView( CntAbstractServiceProvider& aServiceProvider );
~CntServiceContactFetchView();
int viewId() const { return serviceContactFetchView; }
public slots:
void aboutToOpenView(CntAbstractViewManager* aMgr, const CntViewParameters viewParameters);
- void aboutToCloseView();
+ void closeFetchView();
void cancelFetch();
+ void popupContactAction(QContact& aContact,QContactDetail contactDetail, QString aAction);
+ void actionPopupCancelSlot();
+
+private:
+ void serviceCallMessageAction(QContact& aContact, QString aAction);
+ void serviceEmailAction(QContact& aContact);
+ void serviceAllAction(QContact& aContact);
+ void showPreviousView();
private:
- CntServiceHandler *mServiceHandler;
+ CntAbstractServiceProvider& mProvider;
+ QString mAction;
+ CntServicesContactList mServiceList;
+ int mIndex;
};
#endif /* CNTSERVICECONTACTFETCHVIEW_H */