diff options
author | Matthew Cattell <matthew.cattell@nokia.com> | 2011-09-09 14:37:26 +0200 |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-09-09 14:43:05 +0200 |
commit | 2cca7e0884a45c3a022609b2cb4efd381ee8d5a1 (patch) | |
tree | e2a9b528634453585366bfdd3ad6307eca2a75c6 /src/testlib/qtestmouse.h | |
parent | 0bfa24106d1465dccabcf7ad38c9cffdc2229f29 (diff) |
added additional qwindow test support functions for keyboard and mouse events
Change-Id: Id5be7053c917bcefb2bb8cfab58de0933baf15d3
Reviewed-on: http://codereview.qt-project.org/4540
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
Diffstat (limited to 'src/testlib/qtestmouse.h')
-rw-r--r-- | src/testlib/qtestmouse.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/testlib/qtestmouse.h b/src/testlib/qtestmouse.h index 16bc0baf4f..dfd07a9d42 100644 --- a/src/testlib/qtestmouse.h +++ b/src/testlib/qtestmouse.h @@ -214,7 +214,7 @@ namespace QTest inline void mouseDClick(QWindow *window, Qt::MouseButton button, Qt::KeyboardModifiers stateKey = 0, QPoint pos = QPoint(), int delay=-1) { mouseEvent(MouseDClick, window, button, stateKey, pos, delay); } - inline void mouseMove(QWindow *window, QPoint pos = QPoint(), int delay= -1) + inline void mouseMove(QWindow *window, QPoint pos = QPoint(), int delay=-1) { mouseEvent(MouseMove, window, Qt::NoButton, 0, pos, delay); } } |