videocollection/tsrc/stubs/inc/hblistview.h
changeset 17 69946d1824c4
parent 15 cf5481c2bc0b
child 28 c48470be1ba7
--- a/videocollection/tsrc/stubs/inc/hblistview.h	Fri Apr 16 14:59:52 2010 +0300
+++ b/videocollection/tsrc/stubs/inc/hblistview.h	Mon May 03 12:32:50 2010 +0300
@@ -18,6 +18,7 @@
 #ifndef HBLISTVIEW_H
 #define HBLISTVIEW_H
 
+#include <hbglobal.h>
 #include "hbwidget.h"
 #include "hblistviewitem.h"
 #include "hbscrollbar.h"
@@ -42,7 +43,7 @@
     enum ScrollingStyle
     {
         InvalidScrolling,
-        PanOrFlick
+        PanWithFollowOn
     };
 };
 
@@ -221,6 +222,14 @@
     }
     
     /**
+     * sets mLongPressedPoint
+     */
+    void panGesture (const QPointF &point)
+    {
+        mPanGesturePoint = point;
+    }
+    
+    /**
      * dummy method
      */
     void clearSelection()
@@ -263,6 +272,7 @@
      */
     HbAbstractViewItem* itemAtPosition(const QPointF &position)
     {
+        Q_UNUSED(position);
         return mItem;
     }
 public:
@@ -325,6 +335,11 @@
     static QPointF mLongPressedPoint;
     
     /**
+     * value setted in panGesture
+     */
+    static QPointF mPanGesturePoint;
+    
+    /**
      * latest value settes in setClampingStyle
      */
     static HbScrollArea::ClampingStyle mLatestClamping;