qstmgesturelib/recognisers/qstmhoveringgesturerecogniser.cpp
changeset 16 3c88a81ff781
parent 3 0954f5dd2cd0
equal deleted inserted replaced
14:6aeb7a756187 16:3c88a81ff781
    80                         QStm_UiEventSpeed speedIf(speed);
    80                         QStm_UiEventSpeed speedIf(speed);
    81                         qstmGesture::QStm_DirectionalGesture pgest(
    81                         qstmGesture::QStm_DirectionalGesture pgest(
    82                                         KUid,
    82                                         KUid,
    83                                         puie->currentXY(),
    83                                         puie->currentXY(),
    84                                         puie->previousXY(),
    84                                         puie->previousXY(),
       
    85                                         puie->timestamp(),
    85                                         &speedIf,
    86                                         &speedIf,
    86                                         m_loggingenabled);
    87                                         m_loggingenabled);
    87 
    88 
    88                         pgest.setTarget(puie->target());                        // Call the listener to inform that a Hover has occurred...
    89                         pgest.setTarget(puie->target());                        // Call the listener to inform that a Hover has occurred...
    89                         m_listener->gestureEnter(pgest);
    90                         m_listener->gestureEnter(pgest);
   107                 state = EGestureActive;
   108                 state = EGestureActive;
   108                 qstmGesture::QStm_DirectionalGesture pgest(
   109                 qstmGesture::QStm_DirectionalGesture pgest(
   109                                         KUid,
   110                                         KUid,
   110                                         puie->currentXY(),
   111                                         puie->currentXY(),
   111                                         puie->previousXY(),
   112                                         puie->previousXY(),
       
   113                                         puie->timestamp(),
   112                                         puie,
   114                                         puie,
   113                                         m_loggingenabled);
   115                                         m_loggingenabled);
   114                 pgest.setTarget(puie->target());
   116                 pgest.setTarget(puie->target());
   115 
   117 
   116                 // Call the listener to inform that a Hover has occurred...
   118                 // Call the listener to inform that a Hover has occurred...
   133     using qstmUiEventEngine::QStm_UiEventSpeed;
   135     using qstmUiEventEngine::QStm_UiEventSpeed;
   134     qstmGesture::QStm_DirectionalGesture pgest(
   136     qstmGesture::QStm_DirectionalGesture pgest(
   135                     KUid,
   137                     KUid,
   136                     puie->currentXY(),
   138                     puie->currentXY(),
   137                     puie->previousXY(),
   139                     puie->previousXY(),
       
   140                     puie->timestamp(),
   138                     puie,
   141                     puie,
   139                     m_loggingenabled);
   142                     m_loggingenabled);
   140     pgest.setTarget(puie->target());
   143     pgest.setTarget(puie->target());
   141 	
   144 	
   142     m_listener->gestureExit(pgest) ;
   145     m_listener->gestureExit(pgest) ;