phonebookui/phonebookservices/inc/cntservicecontactselectionview.h
changeset 27 de1630741fbe
parent 24 0ba2181d7c28
child 37 fd64c38c277d
--- a/phonebookui/phonebookservices/inc/cntservicecontactselectionview.h	Fri Apr 16 14:53:18 2010 +0300
+++ b/phonebookui/phonebookservices/inc/cntservicecontactselectionview.h	Mon May 03 12:24:20 2010 +0300
@@ -21,8 +21,8 @@
 #include <QObject>
 
 #include "cntbaseselectionview.h"
-#include "cntviewparameters.h"
 
+class QModelIndex;
 class CntServiceHandler;
 
 class CntServiceContactSelectionView : public CntBaseSelectionView
@@ -30,18 +30,16 @@
     Q_OBJECT
 
 public:
-    CntServiceContactSelectionView(CntServiceHandler *aServiceHandler, CntViewManager *aViewManager, 
-            QGraphicsItem *aParent = 0, HbAbstractItemView::SelectionMode newMode = HbAbstractItemView::NoSelection);
+    CntServiceContactSelectionView(CntServiceHandler *aServiceHandler);
     ~CntServiceContactSelectionView();
 
+    int viewId() const { return serviceContactSelectionView; }
+    
 public slots:
     void onListViewActivated(const QModelIndex &aIndex);
+    void aboutToOpenView(const CntViewParameters viewParameters);
     void aboutToCloseView();
-
-public:
-    void activateView(const CntViewParameters &viewParameters);
-    CntViewParameters::ViewId viewId() const { return CntViewParameters::serviceContactSelectionView; }
-
+        
 private:
     CntServiceHandler *mServiceHandler;
     QContactDetail     mDetail;