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);
37 Q_INVOKABLE
void ensureTouchRegistryInstalled();
40 void ensureTargetWindow();
41 void ensureTouchDevice();
43 QWindow *m_targetWindow;
44 QTouchDevice *m_touchDevice;
47 QML_DECLARE_TYPE(TestUtil)