diff options
author | Albert Astals Cid <albert.astals@canonical.com> | 2013-04-03 11:07:18 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-04-05 14:08:02 +0200 |
commit | fedd27e1faa65d38a1a5b11f750b5ae2fb5c4006 (patch) | |
tree | 435a1b02f1636a8a51579e5fbe201803b136a96b /src/qmltest/quicktestevent_p.h | |
parent | 6eed3409c4ecf69d3c43cdcbeeca829624b9fe25 (diff) |
Make keyClick/Press/Release work with a char
Change-Id: Id821bddd993d4da4458464713a69edfea4aaecaa
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Reviewed-by: Alan Alpert <aalpert@blackberry.com>
Diffstat (limited to 'src/qmltest/quicktestevent_p.h')
-rw-r--r-- | src/qmltest/quicktestevent_p.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/qmltest/quicktestevent_p.h b/src/qmltest/quicktestevent_p.h index de33ff736b..595ea9e1f7 100644 --- a/src/qmltest/quicktestevent_p.h +++ b/src/qmltest/quicktestevent_p.h @@ -59,6 +59,10 @@ public Q_SLOTS: bool keyRelease(int key, int modifiers, int delay); bool keyClick(int key, int modifiers, int delay); + bool keyPressChar(const QString &character, int modifiers, int delay); + bool keyReleaseChar(const QString &character, int modifiers, int delay); + bool keyClickChar(const QString &character, int modifiers, int delay); + bool mousePress(QObject *item, qreal x, qreal y, int button, int modifiers, int delay); bool mouseRelease(QObject *item, qreal x, qreal y, int button, |