~dandrader/qtmir/surfaceItemFillMode

« back to all changes in this revision

Viewing changes to tests/mirserver/QtEventFeeder/mock_qtwindowsystem.h

  • Committer: CI Train Bot
  • Author(s): Lukáš Tinkl
  • Date: 2015-10-21 11:47:03 UTC
  • mfrom: (381.1.8 wheelEvent)
  • Revision ID: ci-train-bot@canonical.com-20151021114703-7w40trt2rwubflri
Implement support for mouse wheel events; correctly pass around buttons Fixes: #1497091
Approved by: Gerry Boland

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
    MOCK_METHOD5(handleTouchEvent, void(QWindow *window, ulong timestamp, QTouchDevice *device,
42
42
            const QList<struct QWindowSystemInterface::TouchPoint> &points,
43
43
            Qt::KeyboardModifiers mods));
44
 
    MOCK_METHOD4(handleMouseEvent, void(ulong, QPointF, Qt::MouseButtons, Qt::KeyboardModifiers));
 
44
    MOCK_METHOD4(handleMouseEvent, void(ulong timestamp, QPointF point, Qt::MouseButtons buttons, Qt::KeyboardModifiers modifiers));
 
45
    MOCK_METHOD7(handleWheelEvent, void(ulong timestamp, const QPointF & local, const QPointF & global, QPoint pixelDelta, QPoint angleDelta,
 
46
                                        Qt::KeyboardModifiers mods, Qt::ScrollPhase phase));
 
47
    MOCK_METHOD2(handleEnterEvent, void(const QPointF &localPoint, const QPointF& globalPoint));
 
48
    MOCK_METHOD1(handleLeaveEvent, void(const QPointF &localPoint));
45
49
};
46
50
 
47
51
namespace testing