2024-10-20 05:21:03 +00:00
|
|
|
#include <QPoint>
|
|
|
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QTest__QTouchEventSequence
|
|
|
|
#include <QWindow>
|
|
|
|
#include <qtestsupport_gui.h>
|
|
|
|
#include "gen_qtestsupport_gui.h"
|
2024-12-11 06:55:47 +00:00
|
|
|
|
|
|
|
#ifndef _Bool
|
|
|
|
#define _Bool bool
|
|
|
|
#endif
|
2024-10-20 05:21:03 +00:00
|
|
|
#include "_cgo_export.h"
|
|
|
|
|
|
|
|
QTest__QTouchEventSequence* QTest__QTouchEventSequence_Press(QTest__QTouchEventSequence* self, int touchId, QPoint* pt) {
|
|
|
|
QTest::QTouchEventSequence& _ret = self->press(static_cast<int>(touchId), *pt);
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
return &_ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTest__QTouchEventSequence* QTest__QTouchEventSequence_Move(QTest__QTouchEventSequence* self, int touchId, QPoint* pt) {
|
|
|
|
QTest::QTouchEventSequence& _ret = self->move(static_cast<int>(touchId), *pt);
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
return &_ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTest__QTouchEventSequence* QTest__QTouchEventSequence_Release(QTest__QTouchEventSequence* self, int touchId, QPoint* pt) {
|
|
|
|
QTest::QTouchEventSequence& _ret = self->release(static_cast<int>(touchId), *pt);
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
return &_ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTest__QTouchEventSequence* QTest__QTouchEventSequence_Stationary(QTest__QTouchEventSequence* self, int touchId) {
|
|
|
|
QTest::QTouchEventSequence& _ret = self->stationary(static_cast<int>(touchId));
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
return &_ret;
|
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
bool QTest__QTouchEventSequence_Commit(QTest__QTouchEventSequence* self, bool processEvents) {
|
|
|
|
return self->commit(processEvents);
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
QTest__QTouchEventSequence* QTest__QTouchEventSequence_Press3(QTest__QTouchEventSequence* self, int touchId, QPoint* pt, QWindow* window) {
|
|
|
|
QTest::QTouchEventSequence& _ret = self->press(static_cast<int>(touchId), *pt, window);
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
return &_ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTest__QTouchEventSequence* QTest__QTouchEventSequence_Move3(QTest__QTouchEventSequence* self, int touchId, QPoint* pt, QWindow* window) {
|
|
|
|
QTest::QTouchEventSequence& _ret = self->move(static_cast<int>(touchId), *pt, window);
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
return &_ret;
|
|
|
|
}
|
|
|
|
|
|
|
|
QTest__QTouchEventSequence* QTest__QTouchEventSequence_Release3(QTest__QTouchEventSequence* self, int touchId, QPoint* pt, QWindow* window) {
|
|
|
|
QTest::QTouchEventSequence& _ret = self->release(static_cast<int>(touchId), *pt, window);
|
|
|
|
// Cast returned reference into pointer
|
|
|
|
return &_ret;
|
|
|
|
}
|
|
|
|
|
2024-11-19 06:29:06 +00:00
|
|
|
void QTest__QTouchEventSequence_Delete(QTest__QTouchEventSequence* self, bool isSubclass) {
|
|
|
|
if (isSubclass) {
|
|
|
|
delete dynamic_cast<QTest::QTouchEventSequence*>( self );
|
|
|
|
} else {
|
|
|
|
delete self;
|
|
|
|
}
|
2024-10-20 05:21:03 +00:00
|
|
|
}
|
|
|
|
|