Qt 4.8
Classes | Namespaces | Functions
qtesttouch.h File Reference
#include <QtTest/qtest_global.h>
#include <QtTest/qtestassert.h>
#include <QtTest/qtestsystem.h>
#include <QtTest/qtestspontaneevent.h>
#include <QtCore/qmap.h>
#include <QtGui/qevent.h>
#include <QtGui/qwidget.h>

Go to the source code of this file.

Classes

class  QTest::QTouchEventSequence
 The QTouchEventSequence class is used to simulate a sequence of touch events. More...
 

Namespaces

 QTest
 The QTest namespace contains all the functions and declarations that are related to the QTestLib tool.
 

Functions

Q_GUI_EXPORT void qt_translateRawTouchEvent (QWidget *window, QTouchEvent::DeviceType deviceType, const QList< QTouchEvent::TouchPoint > &touchPoints)
 
QTouchEventSequence QTest::touchEvent (QWidget *widget=0, QTouchEvent::DeviceType deviceType=QTouchEvent::TouchScreen)
 Creates and returns a QTouchEventSequence for the device deviceType to simulate events for widget. More...
 

Function Documentation

◆ qt_translateRawTouchEvent()

Q_GUI_EXPORT void qt_translateRawTouchEvent ( QWidget window,
QTouchEvent::DeviceType  deviceType,
const QList< QTouchEvent::TouchPoint > &  touchPoints 
)

Definition at line 6191 of file qapplication.cpp.

Referenced by QTest::QTouchEventSequence::commit().

6194 {
6195  QApplicationPrivate::translateRawTouchEvent(window, deviceType, touchPoints);
6196 }
static void translateRawTouchEvent(QWidget *widget, QTouchEvent::DeviceType deviceType, const QList< QTouchEvent::TouchPoint > &touchPoints)