src/hbcore/gestures/hbswipegesture.cpp
changeset 34 ed14f46c0e55
parent 6 c3690ec91ef8
--- a/src/hbcore/gestures/hbswipegesture.cpp	Mon Oct 04 17:49:30 2010 +0300
+++ b/src/hbcore/gestures/hbswipegesture.cpp	Mon Oct 18 18:23:13 2010 +0300
@@ -23,9 +23,8 @@
 **
 ****************************************************************************/
 
+#include "hbswipegesture.h"
 #include "hbgestures_p.h"
-#include "hbswipegesture.h"
-#include "hbswipegesture_p.h"
 #include "hbglobal_p.h"
 #include <QPointF>
 #include <QVariant>
@@ -121,6 +120,7 @@
 
 {   
     d_ptr->mSceneSwipeAngle = 0;
+    d_ptr->mTime.start();
 }
 
 /*!
@@ -192,44 +192,3 @@
 {
     d_ptr->mSceneSwipeAngle = value;
 }
-
-
-/*!
-    \deprecated
-    Returns the speed.
-*/
-qreal HbSwipeGesture::speed() const
-{    
-    HB_DEPRECATED("HbSwipeGesture::speed is deprecated");
-    return 1;
-}
-
-/*!
-    \deprecated
-    Sets the speed.
-*/
-void HbSwipeGesture::setSpeed(qreal speed)
-{
-    Q_UNUSED (speed);
-    HB_DEPRECATED("HbSwipeGesture::setSpeed is deprecated");
-}
-
-/*!
-    \deprecated
-    Returns the touchPointCount.
-*/
-int HbSwipeGesture::touchPointCount() const
-{
-    HB_DEPRECATED("HbSwipeGesture::touchPointCount is deprecated");
-    return 0;
-}
-
-/*!
-    \deprecated
-    Sets the touchPointCount.
-*/
-void HbSwipeGesture::setTouchPointCount(int touchPointCount)
-{
-    HB_DEPRECATED("HbSwipeGesture::setTouchPointCount is deprecated");
-    Q_UNUSED(touchPointCount)
-}