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