qstmgesturelib/recognisers/qstmedgescrollgesturerecogniser.cpp
changeset 16 3c88a81ff781
parent 3 0954f5dd2cd0
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
    89                 else if (p.x() < m_area.x() + m_rangesizeInPixels)
    89                 else if (p.x() < m_area.x() + m_rangesizeInPixels)
    90                     scrolltype = EEdgeScrollLeft ; // if X is small enough, it is always left
    90                     scrolltype = EEdgeScrollLeft ; // if X is small enough, it is always left
    91                 else  if (p.x() > m_area.x() + m_area.width() - m_rangesizeInPixels)
    91                 else  if (p.x() > m_area.x() + m_area.width() - m_rangesizeInPixels)
    92                     scrolltype = EEdgeScrollRight ;   // if X is big enough, it is always right
    92                     scrolltype = EEdgeScrollRight ;   // if X is big enough, it is always right
    93                 // issue the edge scroll gesture
    93                 // issue the edge scroll gesture
    94                 qstmGesture::QStm_GenericSimpleGesture pgest(KUid, p, scrolltype, puie) ;
    94                 qstmGesture::QStm_GenericSimpleGesture pgest(KUid, p, puie->timestamp(), scrolltype, puie) ;
    95                 pgest.setTarget(puie->target());
    95                 pgest.setTarget(puie->target());
    96                 // Call the listener to inform that a Tap has occurred...
    96                 // Call the listener to inform that a Tap has occurred...
    97                 m_listener->gestureEnter(pgest) ;
    97                 m_listener->gestureEnter(pgest) ;
    98             }
    98             }
    99         }
    99         }