mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 08:58:37 +00:00
66 lines
2.4 KiB
C++
66 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"
|
|
|
|
#ifndef _Bool
|
|
#define _Bool bool
|
|
#endif
|
|
#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, bool processEvents) {
|
|
return self->commit(processEvents);
|
|
}
|
|
|
|
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;
|
|
}
|
|
|
|
void QTest__QTouchEventSequence_Delete(QTest__QTouchEventSequence* self, bool isSubclass) {
|
|
if (isSubclass) {
|
|
delete dynamic_cast<QTest::QTouchEventSequence*>( self );
|
|
} else {
|
|
delete self;
|
|
}
|
|
}
|
|
|