47 |
47 |
48 virtual QPointF speedVec() const; |
48 virtual QPointF speedVec() const; |
49 virtual void setSpeedVec(QPointF speedVec) { m_speedVec = speedVec; } |
49 virtual void setSpeedVec(QPointF speedVec) { m_speedVec = speedVec; } |
50 virtual QEvent::Type mapToMouseEventType(); |
50 virtual QEvent::Type mapToMouseEventType(); |
51 virtual QEvent::Type mapToTouchEventType(); |
51 virtual QEvent::Type mapToTouchEventType(); |
52 |
52 virtual unsigned int getModifiers() { return m_modifiers; } |
53 |
53 |
54 // for testing... |
54 // for testing... |
55 virtual void logSpeed() const ; |
55 virtual void logSpeed() const ; |
56 |
56 |
57 QStm_UiEvent( |
57 QStm_UiEvent( |
58 QStm_UiEventCode code, |
58 QStm_UiEventCode code, |
59 const QPoint& start, const QPoint& xy, const QPoint& previousXY, |
59 const QPoint& start, const QPoint& xy, const QPoint& previousXY, |
60 bool timerExpired, void* target, long interval, |
60 bool timerExpired, void* target, long interval, |
61 int index, QTime timestamp) ; |
61 int index, QTime timestamp, unsigned int modifiers = 0) ; |
62 |
62 |
63 ~QStm_UiEvent() ; |
63 ~QStm_UiEvent() ; |
64 /*! |
64 /*! |
65 * Chain the UI events ; the whole chain is deleted after release has been handled |
65 * Chain the UI events ; the whole chain is deleted after release has been handled |
66 * in UI sender |
66 * in UI sender |