locationpickerservice/inc/locationpickersearchview.h
changeset 30 96df3ab41000
parent 20 cd10d5b85554
child 31 8db05346071b
--- a/locationpickerservice/inc/locationpickersearchview.h	Fri Jun 11 13:33:47 2010 +0300
+++ b/locationpickerservice/inc/locationpickersearchview.h	Wed Jun 23 18:07:15 2010 +0300
@@ -29,6 +29,9 @@
 class HbDocumentLoader;
 class HbTextItem;
 class QGraphicsLinearLayout;
+class HbAbstractViewItem;
+class QPoint;
+class HbMenu;
 
 /**  
  * Class defines the search view of location picker
@@ -52,6 +55,10 @@
     void handleActivated(const QModelIndex &aIndex);
     // slot to handle backbutton on search panel
     void handleExit();
+	//launch context menu
+    void launchPopUpMenu(HbAbstractViewItem *aItem, const QPointF &aPoint);
+	//handle long press
+    void handleLongPress();
 signals:
     //signals to switch current view
     void switchView();
@@ -72,6 +79,9 @@
     QGraphicsLinearLayout* mVerticalLayout;
     //Documentloader
     HbDocumentLoader &mDocumentLoader;
+    QModelIndex mIndex;
+    //context menu
+    HbMenu* mLongPressMenu;
 };