diff -r 6aeb7a756187 -r 3c88a81ff781 qstmgesturelib/recognisers/qstmtapgesturerecogniser.h --- a/qstmgesturelib/recognisers/qstmtapgesturerecogniser.h Thu Sep 23 15:32:11 2010 -0400 +++ b/qstmgesturelib/recognisers/qstmtapgesturerecogniser.h Fri Oct 15 17:30:59 2010 -0400 @@ -25,6 +25,7 @@ #include #include #include +#include "uitimer.h" namespace qstmGesture { @@ -46,7 +47,7 @@ */ class QStm_TapGestureRecogniser : public QStm_GestureRecogniser { - Q_OBJECT + Q_OBJECT public: static const QStm_GestureUid KUid = EGestureUidTap; @@ -111,7 +112,7 @@ QStm_TapGestureRecogniser(QStm_GestureListenerIf* listener) ; public slots: - void timeoutCallback(); + void uiTimerCallback(); private: bool m_loggingenabled ; @@ -120,6 +121,7 @@ void* m_powner ; // The owning control for this gesture bool m_waitingforsecondtap ; QPoint m_firstTapXY ; + QTime m_firstTimestamp; void* m_firstTapTarget ; float m_firstTapSpeed ; int m_doubleTapTimeout ; @@ -131,7 +133,8 @@ QList m_tapListenerWindows ; QList m_doubleTapListeners ; QList m_doubleTapListenerWindows ; - QTimer m_timer; + UiTimer* m_timer; + int m_numOfActiveStreams; }; } // namespace