diff options
Diffstat (limited to 'tizen/src/ui/displaybase.cpp')
-rw-r--r-- | tizen/src/ui/displaybase.cpp | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/tizen/src/ui/displaybase.cpp b/tizen/src/ui/displaybase.cpp index 6db630a0c6..f74364bf3a 100644 --- a/tizen/src/ui/displaybase.cpp +++ b/tizen/src/ui/displaybase.cpp @@ -280,7 +280,7 @@ void DisplayBase::handleMousePress(QMouseEvent *event) isDragging = true; if (tsHelper != NULL) { - tsHelper->mousePressed(event, getGuestPos(event->pos())); + tsHelper->touchPressed(event->pos(), getGuestPos(event->pos())); } if (mouseHelper != NULL) { mouseHelper->mousePressed(); @@ -308,7 +308,7 @@ void DisplayBase::handleMouseRelease(QMouseEvent *event) } if (tsHelper != NULL) { - tsHelper->mouseReleased(event, getGuestPos(event->pos())); + tsHelper->touchReleased(event->pos(), getGuestPos(event->pos())); } if (mouseHelper != NULL) { mouseHelper->mouseReleased(); @@ -354,10 +354,9 @@ void DisplayBase::handleMouseMove(QMouseEvent *event) QPoint clientPos(hostPosX, hostPosY); qDebug() << "drag out of touch screen:" << clientPos; - // TODO: modify event - tsHelper->mouseReleased(event, getGuestPos(clientPos)); + tsHelper->touchReleased(event->pos(), getGuestPos(clientPos)); } else { - tsHelper->mouseMoved(event, getGuestPos(event->pos())); + tsHelper->touchMoved(event->pos(), getGuestPos(event->pos())); } } } |