Changeset 52257 in webkit


Ignore:
Timestamp:
Dec 17, 2009 9:21:40 AM (14 years ago)
Author:
eric@webkit.org
Message:

2009-12-17 Benjamin Poulain <benjamin.poulain@nokia.com>

Reviewed by Simon Hausmann.

[Qt] Add support for mocking touch events with Q(GV)Launcher
https://bugs.webkit.org/show_bug.cgi?id=32434

The event delivery should go through QCoreApplication::sendEvent()

  • QtLauncher/main.cpp: (MainWindow::sendTouchEvent):
Location:
trunk/WebKit/qt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKit/qt/ChangeLog

    r52256 r52257  
     12009-12-17  Benjamin Poulain  <benjamin.poulain@nokia.com>
     2
     3        Reviewed by Simon Hausmann.
     4
     5        [Qt] Add support for mocking touch events with Q(GV)Launcher
     6        https://bugs.webkit.org/show_bug.cgi?id=32434
     7
     8        The event delivery should go through QCoreApplication::sendEvent()
     9
     10        * QtLauncher/main.cpp:
     11        (MainWindow::sendTouchEvent):
     12
    1132009-12-17  Kim Grönholm  <kim.gronholm@nomovok.com>
    214
  • trunk/WebKit/qt/QtLauncher/main.cpp

    r52250 r52257  
    243243        QTouchEvent touchEv(type);
    244244        touchEv.setTouchPoints(touchPoints);
    245         view->page()->event(&touchEv);
     245        QCoreApplication::sendEvent(view, &touchEv);
    246246
    247247        // After sending the event, remove all touchpoints that were released
Note: See TracChangeset for help on using the changeset viewer.