aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest/quicktestevent_p.h
diff options
context:
space:
mode:
authorjuhvu <qt-info@nokia.com>2011-09-21 13:04:11 +1000
committerQt by Nokia <qt-info@nokia.com>2011-09-22 05:03:32 +0200
commit7100a74def3a82bc52c93b800cec973bf312b1b3 (patch)
treecc24a9a8dc789e3640beb7f2f48316d0455afb40 /src/qmltest/quicktestevent_p.h
parent7ecce2cc0e33bc6b1aa052163f9d6c1365b93b27 (diff)
Wheel event support in qmltestlib + few fixes.
added unit test and orientaion support for mouseWheel Change-Id: I9c26dc762281bc32965769c151414ac0e177ad0f Reviewed-on: http://codereview.qt-project.org/5272 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Juha Vuolle <juha.vuolle@nokia.com> Reviewed-by: Charles Yin <charles.yin@nokia.com>
Diffstat (limited to 'src/qmltest/quicktestevent_p.h')
-rw-r--r--src/qmltest/quicktestevent_p.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/qmltest/quicktestevent_p.h b/src/qmltest/quicktestevent_p.h
index d9439a6bc3..31f0d115d6 100644
--- a/src/qmltest/quicktestevent_p.h
+++ b/src/qmltest/quicktestevent_p.h
@@ -1,6 +1,6 @@
/****************************************************************************
**
-** Copyright (C) 2010 Nokia Corporation and/or its subsidiary(-ies).
+** Copyright (C) 2011 Nokia Corporation and/or its subsidiary(-ies).
** All rights reserved.
** Contact: Nokia Corporation (qt-info@nokia.com)
**
@@ -67,7 +67,10 @@ public Q_SLOTS:
int modifiers, int delay);
bool mouseDoubleClick(QObject *item, qreal x, qreal y, int button,
int modifiers, int delay);
- bool mouseMove(QObject *item, qreal x, qreal y, int delay);
+ bool mouseMove(QObject *item, qreal x, qreal y, int delay, int buttons);
+
+ bool mouseWheel(QObject *item, qreal x, qreal y, int buttons,
+ int modifiers, int delta, int delay, int orientation);
private:
QWindow *eventWindow();