--- a/videocollection/tsrc/stubs/inc/hblistview.h Thu Apr 01 23:32:44 2010 +0300
+++ b/videocollection/tsrc/stubs/inc/hblistview.h Fri Apr 16 18:13:14 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;