mirror of
https://github.com/mappu/miqt.git
synced 2024-12-23 01:18:37 +00:00
62 lines
2.4 KiB
C++
62 lines
2.4 KiB
C++
|
#include <QPoint>
|
||
|
#define WORKAROUND_INNER_CLASS_DEFINITION_QTest__QTouchEventSequence
|
||
|
#include <QWindow>
|
||
|
#include <qtestsupport_gui.h>
|
||
|
#include "gen_qtestsupport_gui.h"
|
||
|
#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;
|
||
|
}
|
||
|
|
||
|
bool QTest__QTouchEventSequence_Commit(QTest__QTouchEventSequence* self) {
|
||
|
return self->commit();
|
||
|
}
|
||
|
|
||
|
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;
|
||
|
}
|
||
|
|
||
|
bool QTest__QTouchEventSequence_Commit1(QTest__QTouchEventSequence* self, bool processEvents) {
|
||
|
return self->commit(processEvents);
|
||
|
}
|
||
|
|
||
|
void QTest__QTouchEventSequence_Delete(QTest__QTouchEventSequence* self) {
|
||
|
delete self;
|
||
|
}
|
||
|
|