qstmgesturelib/recognisers/qstmreleasegesturerecogniser.cpp
changeset 16 3c88a81ff781
parent 3 0954f5dd2cd0
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
    74             }
    74             }
    75             else {
    75             else {
    76                 produceGesture = (m_powner == puie->target()) ;  // no area defined, touch detected in the window
    76                 produceGesture = (m_powner == puie->target()) ;  // no area defined, touch detected in the window
    77             }
    77             }
    78             if (produceGesture) {
    78             if (produceGesture) {
    79                 //state = EGestureActive ;
    79                 state = EGestureActive ;
    80                 // issue the release gesture using the GenericSimpleGesture
    80                 // issue the release gesture using the GenericSimpleGesture
    81                 qstmGesture::QStm_GenericSimpleGesture pgest(KUid, puie->currentXY());
    81                 qstmGesture::QStm_GenericSimpleGesture pgest(KUid, puie->currentXY(), puie->timestamp());
    82                 // Give the gesture a name
    82                 // Give the gesture a name
    83                 pgest.setName(QString("Release")) ;
    83                 pgest.setName(QString("Release")) ;
    84                 pgest.setTarget(puie->target());
    84                 pgest.setTarget(puie->target());
    85                 // Call the listener to inform that a release has occurred...
    85                 // Call the listener to inform that a release has occurred...
    86                 m_listener->gestureEnter(pgest);
    86                 m_listener->gestureEnter(pgest);