aboutsummaryrefslogtreecommitdiffstats
path: root/src/qmltest/quicktestevent_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/qmltest/quicktestevent_p.h')
-rw-r--r--src/qmltest/quicktestevent_p.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/qmltest/quicktestevent_p.h b/src/qmltest/quicktestevent_p.h
index b2f39e90e6..d9439a6bc3 100644
--- a/src/qmltest/quicktestevent_p.h
+++ b/src/qmltest/quicktestevent_p.h
@@ -44,7 +44,7 @@
#include <QtQuickTest/quicktestglobal.h>
#include <QtCore/qobject.h>
-
+#include <QtGui/QWindow>
QT_BEGIN_NAMESPACE
class Q_QUICK_TEST_EXPORT QuickTestEvent : public QObject
@@ -70,7 +70,7 @@ public Q_SLOTS:
bool mouseMove(QObject *item, qreal x, qreal y, int delay);
private:
- QWidget *eventWidget();
+ QWindow *eventWindow();
};
QT_END_NAMESPACE