21 #include "TouchEventSequenceWrapper.h"
22 #include <QtQuick/QQuickItem>
26 class TestUtil :
public QObject
29 Q_DISABLE_COPY(TestUtil)
32 TestUtil(QObject *parent = 0);
35 Q_INVOKABLE
bool isInstanceOf(QObject*, QString);
36 Q_INVOKABLE TouchEventSequenceWrapper *touchEvent(QQuickItem *item);
39 void ensureTargetWindow();
40 void ensureTouchDevice();
42 QWindow *m_targetWindow;
43 QTouchDevice *m_touchDevice;
44 bool m_putFakeTimerFactoryInTouchRegistry;
47 QML_DECLARE_TYPE(TestUtil)