2024-08-25 16:08:24 +12:00
# include <QAction>
# include <QActionEvent>
# include <QApplicationStateChangeEvent>
# include <QCloseEvent>
# include <QContextMenuEvent>
# include <QDragEnterEvent>
# include <QDragLeaveEvent>
# include <QDragMoveEvent>
# include <QDropEvent>
# include <QEnterEvent>
2024-11-19 19:29:06 +13:00
# include <QEvent>
2024-08-25 16:08:24 +12:00
# include <QExposeEvent>
2024-08-29 19:01:51 +12:00
# include <QFile>
2024-08-25 16:08:24 +12:00
# include <QFileOpenEvent>
# include <QFocusEvent>
# include <QHelpEvent>
# include <QHideEvent>
# include <QHoverEvent>
# include <QIconDragEvent>
# include <QInputEvent>
# include <QInputMethodEvent>
2024-08-29 19:01:51 +12:00
# define WORKAROUND_INNER_CLASS_DEFINITION_QInputMethodEvent__Attribute
2024-08-25 16:08:24 +12:00
# include <QInputMethodQueryEvent>
# include <QKeyEvent>
# include <QKeySequence>
2024-08-29 19:01:51 +12:00
# include <QList>
2024-08-25 16:08:24 +12:00
# include <QMimeData>
# include <QMouseEvent>
# include <QMoveEvent>
# include <QNativeGestureEvent>
# include <QObject>
# include <QPaintEvent>
# include <QPoint>
# include <QPointF>
# include <QPointingDeviceUniqueId>
# include <QRect>
# include <QRectF>
# include <QRegion>
# include <QResizeEvent>
# include <QScreen>
# include <QScreenOrientationChangeEvent>
# include <QScrollEvent>
# include <QScrollPrepareEvent>
# include <QShortcutEvent>
# include <QShowEvent>
# include <QSize>
# include <QSizeF>
# include <QStatusTipEvent>
# include <QString>
2024-08-29 19:01:51 +12:00
# include <QByteArray>
# include <cstring>
2024-08-25 16:08:24 +12:00
# include <QTabletEvent>
# include <QToolBarChangeEvent>
# include <QTouchDevice>
# include <QTouchEvent>
2024-08-29 19:01:51 +12:00
# define WORKAROUND_INNER_CLASS_DEFINITION_QTouchEvent__TouchPoint
2024-08-25 16:08:24 +12:00
# include <QUrl>
2024-08-29 19:01:51 +12:00
# include <QVariant>
# include <QVector2D>
2024-08-25 16:08:24 +12:00
# include <QWhatsThisClickedEvent>
# include <QWheelEvent>
# include <QWindow>
# include <QWindowStateChangeEvent>
2024-10-16 18:07:56 +13:00
# include <qevent.h>
2024-08-29 19:01:51 +12:00
# include "gen_qevent.h"
2024-12-11 19:55:47 +13:00
2025-01-07 11:30:33 +01:00
# ifdef __cplusplus
extern " C " {
# endif
# ifdef __cplusplus
} /* extern C */
2024-12-11 19:55:47 +13:00
# endif
2024-08-25 16:08:24 +12:00
2025-02-01 13:45:16 +13:00
QInputEvent * QInputEvent_new ( int type ) {
return new QInputEvent ( static_cast < QEvent : : Type > ( type ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QInputEvent * QInputEvent_new2 ( QInputEvent * param1 ) {
return new QInputEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QInputEvent * QInputEvent_new3 ( int type , int modifiers ) {
return new QInputEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-12-07 17:15:57 +13:00
}
void QInputEvent_virtbase ( QInputEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QInputEvent_modifiers ( const QInputEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : KeyboardModifiers _ret = self - > modifiers ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QInputEvent_setModifiers ( QInputEvent * self , int amodifiers ) {
2024-08-29 19:01:51 +12:00
self - > setModifiers ( static_cast < Qt : : KeyboardModifiers > ( amodifiers ) ) ;
}
2025-02-01 13:45:16 +13:00
unsigned long QInputEvent_timestamp ( const QInputEvent * self ) {
2024-09-18 12:12:02 +12:00
ulong _ret = self - > timestamp ( ) ;
return static_cast < unsigned long > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QInputEvent_setTimestamp ( QInputEvent * self , unsigned long atimestamp ) {
2024-08-25 16:08:24 +12:00
self - > setTimestamp ( static_cast < ulong > ( atimestamp ) ) ;
}
2025-02-01 13:45:16 +13:00
void QInputEvent_delete ( QInputEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QEnterEvent * QEnterEvent_new ( QPointF * localPos , QPointF * windowPos , QPointF * screenPos ) {
return new QEnterEvent ( * localPos , * windowPos , * screenPos ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QEnterEvent * QEnterEvent_new2 ( QEnterEvent * param1 ) {
return new QEnterEvent ( * param1 ) ;
}
void QEnterEvent_virtbase ( QEnterEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QEnterEvent_pos ( const QEnterEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > pos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QEnterEvent_globalPos ( const QEnterEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > globalPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QEnterEvent_x ( const QEnterEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > x ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QEnterEvent_y ( const QEnterEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > y ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QEnterEvent_globalX ( const QEnterEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalX ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QEnterEvent_globalY ( const QEnterEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalY ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QEnterEvent_localPos ( const QEnterEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > localPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QEnterEvent_windowPos ( const QEnterEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > windowPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QEnterEvent_screenPos ( const QEnterEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > screenPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QEnterEvent_delete ( QEnterEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QMouseEvent * QMouseEvent_new ( int type , QPointF * localPos , int button , int buttons , int modifiers ) {
return new QMouseEvent ( static_cast < QEvent : : Type > ( type ) , * localPos , static_cast < Qt : : MouseButton > ( button ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-12-07 17:15:57 +13:00
}
2025-02-01 13:45:16 +13:00
QMouseEvent * QMouseEvent_new2 ( int type , QPointF * localPos , QPointF * screenPos , int button , int buttons , int modifiers ) {
return new QMouseEvent ( static_cast < QEvent : : Type > ( type ) , * localPos , * screenPos , static_cast < Qt : : MouseButton > ( button ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QMouseEvent * QMouseEvent_new3 ( int type , QPointF * localPos , QPointF * windowPos , QPointF * screenPos , int button , int buttons , int modifiers ) {
return new QMouseEvent ( static_cast < QEvent : : Type > ( type ) , * localPos , * windowPos , * screenPos , static_cast < Qt : : MouseButton > ( button ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QMouseEvent * QMouseEvent_new4 ( int type , QPointF * localPos , QPointF * windowPos , QPointF * screenPos , int button , int buttons , int modifiers , int source ) {
return new QMouseEvent ( static_cast < QEvent : : Type > ( type ) , * localPos , * windowPos , * screenPos , static_cast < Qt : : MouseButton > ( button ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : MouseEventSource > ( source ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QMouseEvent * QMouseEvent_new5 ( QMouseEvent * param1 ) {
return new QMouseEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QMouseEvent_virtbase ( QMouseEvent * src , QInputEvent * * outptr_QInputEvent ) {
* outptr_QInputEvent = static_cast < QInputEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QMouseEvent_pos ( const QMouseEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > pos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QMouseEvent_globalPos ( const QMouseEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > globalPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QMouseEvent_x ( const QMouseEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > x ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QMouseEvent_y ( const QMouseEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > y ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QMouseEvent_globalX ( const QMouseEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalX ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QMouseEvent_globalY ( const QMouseEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalY ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QMouseEvent_localPos ( const QMouseEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > localPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QMouseEvent_windowPos ( const QMouseEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > windowPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QMouseEvent_screenPos ( const QMouseEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > screenPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QMouseEvent_button ( const QMouseEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseButton _ret = self - > button ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QMouseEvent_buttons ( const QMouseEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseButtons _ret = self - > buttons ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QMouseEvent_setLocalPos ( QMouseEvent * self , QPointF * localPosition ) {
2024-08-25 16:08:24 +12:00
self - > setLocalPos ( * localPosition ) ;
}
2025-02-01 13:45:16 +13:00
int QMouseEvent_source ( const QMouseEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseEventSource _ret = self - > source ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QMouseEvent_flags ( const QMouseEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseEventFlags _ret = self - > flags ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QMouseEvent_delete ( QMouseEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QHoverEvent * QHoverEvent_new ( int type , QPointF * pos , QPointF * oldPos ) {
return new QHoverEvent ( static_cast < QEvent : : Type > ( type ) , * pos , * oldPos ) ;
2024-12-07 17:15:57 +13:00
}
QHoverEvent * QHoverEvent_new2 ( QHoverEvent * param1 ) {
return new QHoverEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QHoverEvent * QHoverEvent_new3 ( int type , QPointF * pos , QPointF * oldPos , int modifiers ) {
return new QHoverEvent ( static_cast < QEvent : : Type > ( type ) , * pos , * oldPos , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QHoverEvent_virtbase ( QHoverEvent * src , QInputEvent * * outptr_QInputEvent ) {
* outptr_QInputEvent = static_cast < QInputEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QHoverEvent_pos ( const QHoverEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > pos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QHoverEvent_oldPos ( const QHoverEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > oldPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QHoverEvent_posF ( const QHoverEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > posF ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QHoverEvent_oldPosF ( const QHoverEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > oldPosF ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QHoverEvent_delete ( QHoverEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new ( QPointF * pos , int delta , int buttons , int modifiers ) {
return new QWheelEvent ( * pos , static_cast < int > ( delta ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
}
QWheelEvent * QWheelEvent_new2 ( QPointF * pos , QPointF * globalPos , int delta , int buttons , int modifiers ) {
return new QWheelEvent ( * pos , * globalPos , static_cast < int > ( delta ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new3 ( QPointF * pos , QPointF * globalPos , QPoint * pixelDelta , QPoint * angleDelta , int qt4Delta , int qt4Orientation , int buttons , int modifiers ) {
return new QWheelEvent ( * pos , * globalPos , * pixelDelta , * angleDelta , static_cast < int > ( qt4Delta ) , static_cast < Qt : : Orientation > ( qt4Orientation ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new4 ( QPointF * pos , QPointF * globalPos , QPoint * pixelDelta , QPoint * angleDelta , int qt4Delta , int qt4Orientation , int buttons , int modifiers , int phase ) {
return new QWheelEvent ( * pos , * globalPos , * pixelDelta , * angleDelta , static_cast < int > ( qt4Delta ) , static_cast < Qt : : Orientation > ( qt4Orientation ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : ScrollPhase > ( phase ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new5 ( QPointF * pos , QPointF * globalPos , QPoint * pixelDelta , QPoint * angleDelta , int qt4Delta , int qt4Orientation , int buttons , int modifiers , int phase , int source ) {
return new QWheelEvent ( * pos , * globalPos , * pixelDelta , * angleDelta , static_cast < int > ( qt4Delta ) , static_cast < Qt : : Orientation > ( qt4Orientation ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : ScrollPhase > ( phase ) , static_cast < Qt : : MouseEventSource > ( source ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new6 ( QPointF * pos , QPointF * globalPos , QPoint * pixelDelta , QPoint * angleDelta , int qt4Delta , int qt4Orientation , int buttons , int modifiers , int phase , int source , bool inverted ) {
return new QWheelEvent ( * pos , * globalPos , * pixelDelta , * angleDelta , static_cast < int > ( qt4Delta ) , static_cast < Qt : : Orientation > ( qt4Orientation ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : ScrollPhase > ( phase ) , static_cast < Qt : : MouseEventSource > ( source ) , inverted ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new7 ( QPointF * pos , QPointF * globalPos , QPoint * pixelDelta , QPoint * angleDelta , int buttons , int modifiers , int phase , bool inverted ) {
return new QWheelEvent ( * pos , * globalPos , * pixelDelta , * angleDelta , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : ScrollPhase > ( phase ) , inverted ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new8 ( QWheelEvent * param1 ) {
return new QWheelEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new9 ( QPointF * pos , int delta , int buttons , int modifiers , int orient ) {
return new QWheelEvent ( * pos , static_cast < int > ( delta ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : Orientation > ( orient ) ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new10 ( QPointF * pos , QPointF * globalPos , int delta , int buttons , int modifiers , int orient ) {
return new QWheelEvent ( * pos , * globalPos , static_cast < int > ( delta ) , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : Orientation > ( orient ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWheelEvent * QWheelEvent_new11 ( QPointF * pos , QPointF * globalPos , QPoint * pixelDelta , QPoint * angleDelta , int buttons , int modifiers , int phase , bool inverted , int source ) {
return new QWheelEvent ( * pos , * globalPos , * pixelDelta , * angleDelta , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : ScrollPhase > ( phase ) , inverted , static_cast < Qt : : MouseEventSource > ( source ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QWheelEvent_virtbase ( QWheelEvent * src , QInputEvent * * outptr_QInputEvent ) {
* outptr_QInputEvent = static_cast < QInputEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QWheelEvent_pixelDelta ( const QWheelEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > pixelDelta ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QWheelEvent_angleDelta ( const QWheelEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > angleDelta ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_delta ( const QWheelEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > delta ( ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_orientation ( const QWheelEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : Orientation _ret = self - > orientation ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QWheelEvent_pos ( const QWheelEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > pos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QWheelEvent_globalPos ( const QWheelEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > globalPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_x ( const QWheelEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > x ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_y ( const QWheelEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > y ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_globalX ( const QWheelEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalX ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_globalY ( const QWheelEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalY ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QWheelEvent_posF ( const QWheelEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > posF ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QWheelEvent_globalPosF ( const QWheelEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > globalPosF ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QWheelEvent_position ( const QWheelEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > position ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QWheelEvent_globalPosition ( const QWheelEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > globalPosition ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_buttons ( const QWheelEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseButtons _ret = self - > buttons ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_phase ( const QWheelEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : ScrollPhase _ret = self - > phase ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
bool QWheelEvent_inverted ( const QWheelEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > inverted ( ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QWheelEvent_source ( const QWheelEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseEventSource _ret = self - > source ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QWheelEvent_delete ( QWheelEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QTabletEvent * QTabletEvent_new ( int t , QPointF * pos , QPointF * globalPos , int device , int pointerType , double pressure , int xTilt , int yTilt , double tangentialPressure , double rotation , int z , int keyState , long long uniqueID ) {
return new QTabletEvent ( static_cast < QEvent : : Type > ( t ) , * pos , * globalPos , static_cast < int > ( device ) , static_cast < int > ( pointerType ) , static_cast < qreal > ( pressure ) , static_cast < int > ( xTilt ) , static_cast < int > ( yTilt ) , static_cast < qreal > ( tangentialPressure ) , static_cast < qreal > ( rotation ) , static_cast < int > ( z ) , static_cast < Qt : : KeyboardModifiers > ( keyState ) , static_cast < qint64 > ( uniqueID ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTabletEvent * QTabletEvent_new2 ( int t , QPointF * pos , QPointF * globalPos , int device , int pointerType , double pressure , int xTilt , int yTilt , double tangentialPressure , double rotation , int z , int keyState , long long uniqueID , int button , int buttons ) {
return new QTabletEvent ( static_cast < QEvent : : Type > ( t ) , * pos , * globalPos , static_cast < int > ( device ) , static_cast < int > ( pointerType ) , static_cast < qreal > ( pressure ) , static_cast < int > ( xTilt ) , static_cast < int > ( yTilt ) , static_cast < qreal > ( tangentialPressure ) , static_cast < qreal > ( rotation ) , static_cast < int > ( z ) , static_cast < Qt : : KeyboardModifiers > ( keyState ) , static_cast < qint64 > ( uniqueID ) , static_cast < Qt : : MouseButton > ( button ) , static_cast < Qt : : MouseButtons > ( buttons ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTabletEvent * QTabletEvent_new3 ( QTabletEvent * param1 ) {
return new QTabletEvent ( * param1 ) ;
}
void QTabletEvent_virtbase ( QTabletEvent * src , QInputEvent * * outptr_QInputEvent ) {
* outptr_QInputEvent = static_cast < QInputEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QTabletEvent_pos ( const QTabletEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > pos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QTabletEvent_globalPos ( const QTabletEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > globalPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTabletEvent_posF ( const QTabletEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > posF ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTabletEvent_globalPosF ( const QTabletEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > globalPosF ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_x ( const QTabletEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > x ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_y ( const QTabletEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > y ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_globalX ( const QTabletEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalX ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_globalY ( const QTabletEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalY ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
double QTabletEvent_hiResGlobalX ( const QTabletEvent * self ) {
2024-09-18 12:12:02 +12:00
qreal _ret = self - > hiResGlobalX ( ) ;
return static_cast < double > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
double QTabletEvent_hiResGlobalY ( const QTabletEvent * self ) {
2024-09-18 12:12:02 +12:00
qreal _ret = self - > hiResGlobalY ( ) ;
return static_cast < double > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_device ( const QTabletEvent * self ) {
2024-09-15 10:29:05 +12:00
QTabletEvent : : TabletDevice _ret = self - > device ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_deviceType ( const QTabletEvent * self ) {
2024-09-15 10:29:05 +12:00
QTabletEvent : : TabletDevice _ret = self - > deviceType ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_pointerType ( const QTabletEvent * self ) {
2024-09-15 10:29:05 +12:00
QTabletEvent : : PointerType _ret = self - > pointerType ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
long long QTabletEvent_uniqueId ( const QTabletEvent * self ) {
2024-09-18 12:12:02 +12:00
qint64 _ret = self - > uniqueId ( ) ;
return static_cast < long long > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
double QTabletEvent_pressure ( const QTabletEvent * self ) {
2024-09-18 12:12:02 +12:00
qreal _ret = self - > pressure ( ) ;
return static_cast < double > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_z ( const QTabletEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > z ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
double QTabletEvent_tangentialPressure ( const QTabletEvent * self ) {
2024-09-18 12:12:02 +12:00
qreal _ret = self - > tangentialPressure ( ) ;
return static_cast < double > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
double QTabletEvent_rotation ( const QTabletEvent * self ) {
2024-09-18 12:12:02 +12:00
qreal _ret = self - > rotation ( ) ;
return static_cast < double > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_xTilt ( const QTabletEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > xTilt ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_yTilt ( const QTabletEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > yTilt ( ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_button ( const QTabletEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseButton _ret = self - > button ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QTabletEvent_buttons ( const QTabletEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseButtons _ret = self - > buttons ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QTabletEvent_delete ( QTabletEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QNativeGestureEvent * QNativeGestureEvent_new ( int type , QPointF * localPos , QPointF * windowPos , QPointF * screenPos , double value , unsigned long sequenceId , unsigned long long intArgument ) {
return new QNativeGestureEvent ( static_cast < Qt : : NativeGestureType > ( type ) , * localPos , * windowPos , * screenPos , static_cast < qreal > ( value ) , static_cast < ulong > ( sequenceId ) , static_cast < quint64 > ( intArgument ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QNativeGestureEvent * QNativeGestureEvent_new2 ( int type , QTouchDevice * dev , QPointF * localPos , QPointF * windowPos , QPointF * screenPos , double value , unsigned long sequenceId , unsigned long long intArgument ) {
return new QNativeGestureEvent ( static_cast < Qt : : NativeGestureType > ( type ) , dev , * localPos , * windowPos , * screenPos , static_cast < qreal > ( value ) , static_cast < ulong > ( sequenceId ) , static_cast < quint64 > ( intArgument ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QNativeGestureEvent * QNativeGestureEvent_new3 ( QNativeGestureEvent * param1 ) {
return new QNativeGestureEvent ( * param1 ) ;
}
void QNativeGestureEvent_virtbase ( QNativeGestureEvent * src , QInputEvent * * outptr_QInputEvent ) {
* outptr_QInputEvent = static_cast < QInputEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QNativeGestureEvent_gestureType ( const QNativeGestureEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : NativeGestureType _ret = self - > gestureType ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
double QNativeGestureEvent_value ( const QNativeGestureEvent * self ) {
2024-09-18 12:12:02 +12:00
qreal _ret = self - > value ( ) ;
return static_cast < double > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QNativeGestureEvent_pos ( const QNativeGestureEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > pos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QNativeGestureEvent_globalPos ( const QNativeGestureEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > globalPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QNativeGestureEvent_localPos ( const QNativeGestureEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > localPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QNativeGestureEvent_windowPos ( const QNativeGestureEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > windowPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QNativeGestureEvent_screenPos ( const QNativeGestureEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > screenPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QTouchDevice * QNativeGestureEvent_device ( const QNativeGestureEvent * self ) {
2024-09-11 17:41:09 +12:00
return ( QTouchDevice * ) self - > device ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QNativeGestureEvent_delete ( QNativeGestureEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QKeyEvent * QKeyEvent_new ( int type , int key , int modifiers ) {
return new QKeyEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < int > ( key ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QKeyEvent * QKeyEvent_new2 ( int type , int key , int modifiers , unsigned int nativeScanCode , unsigned int nativeVirtualKey , unsigned int nativeModifiers ) {
return new QKeyEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < int > ( key ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < quint32 > ( nativeScanCode ) , static_cast < quint32 > ( nativeVirtualKey ) , static_cast < quint32 > ( nativeModifiers ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QKeyEvent * QKeyEvent_new3 ( QKeyEvent * param1 ) {
return new QKeyEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QKeyEvent * QKeyEvent_new4 ( int type , int key , int modifiers , struct miqt_string text ) {
2024-10-19 12:53:33 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-02-01 13:45:16 +13:00
return new QKeyEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < int > ( key ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , text_QString ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QKeyEvent * QKeyEvent_new5 ( int type , int key , int modifiers , struct miqt_string text , bool autorep ) {
2024-10-19 12:53:33 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-02-01 13:45:16 +13:00
return new QKeyEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < int > ( key ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , text_QString , autorep ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QKeyEvent * QKeyEvent_new6 ( int type , int key , int modifiers , struct miqt_string text , bool autorep , uint16_t count ) {
2024-10-19 12:53:33 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-02-01 13:45:16 +13:00
return new QKeyEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < int > ( key ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , text_QString , autorep , static_cast < ushort > ( count ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QKeyEvent * QKeyEvent_new7 ( int type , int key , int modifiers , unsigned int nativeScanCode , unsigned int nativeVirtualKey , unsigned int nativeModifiers , struct miqt_string text ) {
2024-10-19 12:53:33 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-02-01 13:45:16 +13:00
return new QKeyEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < int > ( key ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < quint32 > ( nativeScanCode ) , static_cast < quint32 > ( nativeVirtualKey ) , static_cast < quint32 > ( nativeModifiers ) , text_QString ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QKeyEvent * QKeyEvent_new8 ( int type , int key , int modifiers , unsigned int nativeScanCode , unsigned int nativeVirtualKey , unsigned int nativeModifiers , struct miqt_string text , bool autorep ) {
2024-10-19 12:53:33 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-02-01 13:45:16 +13:00
return new QKeyEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < int > ( key ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < quint32 > ( nativeScanCode ) , static_cast < quint32 > ( nativeVirtualKey ) , static_cast < quint32 > ( nativeModifiers ) , text_QString , autorep ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QKeyEvent * QKeyEvent_new9 ( int type , int key , int modifiers , unsigned int nativeScanCode , unsigned int nativeVirtualKey , unsigned int nativeModifiers , struct miqt_string text , bool autorep , uint16_t count ) {
2024-10-19 12:53:33 +13:00
QString text_QString = QString : : fromUtf8 ( text . data , text . len ) ;
2025-02-01 13:45:16 +13:00
return new QKeyEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < int > ( key ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < quint32 > ( nativeScanCode ) , static_cast < quint32 > ( nativeVirtualKey ) , static_cast < quint32 > ( nativeModifiers ) , text_QString , autorep , static_cast < ushort > ( count ) ) ;
2024-12-07 17:15:57 +13:00
}
void QKeyEvent_virtbase ( QKeyEvent * src , QInputEvent * * outptr_QInputEvent ) {
* outptr_QInputEvent = static_cast < QInputEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QKeyEvent_key ( const QKeyEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > key ( ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
bool QKeyEvent_matches ( const QKeyEvent * self , int key ) {
2024-09-11 17:41:09 +12:00
return self - > matches ( static_cast < QKeySequence : : StandardKey > ( key ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QKeyEvent_modifiers ( const QKeyEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : KeyboardModifiers _ret = self - > modifiers ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QKeyEvent_text ( const QKeyEvent * self ) {
2024-09-15 10:29:05 +12:00
QString _ret = self - > text ( ) ;
2024-08-25 16:08:24 +12:00
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
2024-09-15 10:29:05 +12:00
QByteArray _b = _ret . toUtf8 ( ) ;
2024-10-19 12:53:33 +13:00
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
bool QKeyEvent_isAutoRepeat ( const QKeyEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > isAutoRepeat ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QKeyEvent_count ( const QKeyEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > count ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
unsigned int QKeyEvent_nativeScanCode ( const QKeyEvent * self ) {
2024-09-18 12:12:02 +12:00
quint32 _ret = self - > nativeScanCode ( ) ;
return static_cast < unsigned int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
unsigned int QKeyEvent_nativeVirtualKey ( const QKeyEvent * self ) {
2024-09-18 12:12:02 +12:00
quint32 _ret = self - > nativeVirtualKey ( ) ;
return static_cast < unsigned int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
unsigned int QKeyEvent_nativeModifiers ( const QKeyEvent * self ) {
2024-09-18 12:12:02 +12:00
quint32 _ret = self - > nativeModifiers ( ) ;
return static_cast < unsigned int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QKeyEvent_delete ( QKeyEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QFocusEvent * QFocusEvent_new ( int type ) {
return new QFocusEvent ( static_cast < QEvent : : Type > ( type ) ) ;
2024-12-07 17:15:57 +13:00
}
QFocusEvent * QFocusEvent_new2 ( QFocusEvent * param1 ) {
return new QFocusEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QFocusEvent * QFocusEvent_new3 ( int type , int reason ) {
return new QFocusEvent ( static_cast < QEvent : : Type > ( type ) , static_cast < Qt : : FocusReason > ( reason ) ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QFocusEvent_virtbase ( QFocusEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
bool QFocusEvent_gotFocus ( const QFocusEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > gotFocus ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
bool QFocusEvent_lostFocus ( const QFocusEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > lostFocus ( ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QFocusEvent_reason ( const QFocusEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : FocusReason _ret = self - > reason ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QFocusEvent_delete ( QFocusEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QPaintEvent * QPaintEvent_new ( QRegion * paintRegion ) {
return new QPaintEvent ( * paintRegion ) ;
}
QPaintEvent * QPaintEvent_new2 ( QRect * paintRect ) {
return new QPaintEvent ( * paintRect ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QPaintEvent * QPaintEvent_new3 ( QPaintEvent * param1 ) {
return new QPaintEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QPaintEvent_virtbase ( QPaintEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QRect * QPaintEvent_rect ( const QPaintEvent * self ) {
2024-09-15 10:29:05 +12:00
const QRect & _ret = self - > rect ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QRect * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QRegion * QPaintEvent_region ( const QPaintEvent * self ) {
2024-09-15 10:29:05 +12:00
const QRegion & _ret = self - > region ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QRegion * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QPaintEvent_delete ( QPaintEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QMoveEvent * QMoveEvent_new ( QPoint * pos , QPoint * oldPos ) {
return new QMoveEvent ( * pos , * oldPos ) ;
}
QMoveEvent * QMoveEvent_new2 ( QMoveEvent * param1 ) {
return new QMoveEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QMoveEvent_virtbase ( QMoveEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QMoveEvent_pos ( const QMoveEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPoint & _ret = self - > pos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPoint * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QMoveEvent_oldPos ( const QMoveEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPoint & _ret = self - > oldPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPoint * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QMoveEvent_delete ( QMoveEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QExposeEvent * QExposeEvent_new ( QRegion * rgn ) {
return new QExposeEvent ( * rgn ) ;
}
QExposeEvent * QExposeEvent_new2 ( QExposeEvent * param1 ) {
return new QExposeEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QExposeEvent_virtbase ( QExposeEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QRegion * QExposeEvent_region ( const QExposeEvent * self ) {
2024-09-15 10:29:05 +12:00
const QRegion & _ret = self - > region ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QRegion * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QExposeEvent_delete ( QExposeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QPlatformSurfaceEvent * QPlatformSurfaceEvent_new ( int surfaceEventType ) {
return new QPlatformSurfaceEvent ( static_cast < QPlatformSurfaceEvent : : SurfaceEventType > ( surfaceEventType ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QPlatformSurfaceEvent * QPlatformSurfaceEvent_new2 ( QPlatformSurfaceEvent * param1 ) {
return new QPlatformSurfaceEvent ( * param1 ) ;
}
void QPlatformSurfaceEvent_virtbase ( QPlatformSurfaceEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QPlatformSurfaceEvent_surfaceEventType ( const QPlatformSurfaceEvent * self ) {
2024-09-15 10:29:05 +12:00
QPlatformSurfaceEvent : : SurfaceEventType _ret = self - > surfaceEventType ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QPlatformSurfaceEvent_delete ( QPlatformSurfaceEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QResizeEvent * QResizeEvent_new ( QSize * size , QSize * oldSize ) {
return new QResizeEvent ( * size , * oldSize ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QResizeEvent * QResizeEvent_new2 ( QResizeEvent * param1 ) {
return new QResizeEvent ( * param1 ) ;
}
void QResizeEvent_virtbase ( QResizeEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QSize * QResizeEvent_size ( const QResizeEvent * self ) {
2024-09-15 10:29:05 +12:00
const QSize & _ret = self - > size ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QSize * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QSize * QResizeEvent_oldSize ( const QResizeEvent * self ) {
2024-09-15 10:29:05 +12:00
const QSize & _ret = self - > oldSize ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QSize * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QResizeEvent_delete ( QResizeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QCloseEvent * QCloseEvent_new ( ) {
return new QCloseEvent ( ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QCloseEvent * QCloseEvent_new2 ( QCloseEvent * param1 ) {
return new QCloseEvent ( * param1 ) ;
}
void QCloseEvent_virtbase ( QCloseEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QCloseEvent_operatorAssign ( QCloseEvent * self , QCloseEvent * param1 ) {
2024-08-25 16:08:24 +12:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QCloseEvent_delete ( QCloseEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QIconDragEvent * QIconDragEvent_new ( ) {
return new QIconDragEvent ( ) ;
}
QIconDragEvent * QIconDragEvent_new2 ( QIconDragEvent * param1 ) {
return new QIconDragEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QIconDragEvent_virtbase ( QIconDragEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QIconDragEvent_operatorAssign ( QIconDragEvent * self , QIconDragEvent * param1 ) {
2024-08-25 16:08:24 +12:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QIconDragEvent_delete ( QIconDragEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QShowEvent * QShowEvent_new ( ) {
return new QShowEvent ( ) ;
}
QShowEvent * QShowEvent_new2 ( QShowEvent * param1 ) {
return new QShowEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QShowEvent_virtbase ( QShowEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QShowEvent_operatorAssign ( QShowEvent * self , QShowEvent * param1 ) {
2024-08-25 16:08:24 +12:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QShowEvent_delete ( QShowEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QHideEvent * QHideEvent_new ( ) {
return new QHideEvent ( ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QHideEvent * QHideEvent_new2 ( QHideEvent * param1 ) {
return new QHideEvent ( * param1 ) ;
}
void QHideEvent_virtbase ( QHideEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QHideEvent_operatorAssign ( QHideEvent * self , QHideEvent * param1 ) {
2024-08-25 16:08:24 +12:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QHideEvent_delete ( QHideEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QContextMenuEvent * QContextMenuEvent_new ( int reason , QPoint * pos , QPoint * globalPos , int modifiers ) {
return new QContextMenuEvent ( static_cast < QContextMenuEvent : : Reason > ( reason ) , * pos , * globalPos , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
}
QContextMenuEvent * QContextMenuEvent_new2 ( int reason , QPoint * pos , QPoint * globalPos ) {
return new QContextMenuEvent ( static_cast < QContextMenuEvent : : Reason > ( reason ) , * pos , * globalPos ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QContextMenuEvent * QContextMenuEvent_new3 ( int reason , QPoint * pos ) {
return new QContextMenuEvent ( static_cast < QContextMenuEvent : : Reason > ( reason ) , * pos ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QContextMenuEvent * QContextMenuEvent_new4 ( QContextMenuEvent * param1 ) {
return new QContextMenuEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QContextMenuEvent_virtbase ( QContextMenuEvent * src , QInputEvent * * outptr_QInputEvent ) {
* outptr_QInputEvent = static_cast < QInputEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QContextMenuEvent_x ( const QContextMenuEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > x ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QContextMenuEvent_y ( const QContextMenuEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > y ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QContextMenuEvent_globalX ( const QContextMenuEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalX ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QContextMenuEvent_globalY ( const QContextMenuEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalY ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QContextMenuEvent_pos ( const QContextMenuEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPoint & _ret = self - > pos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPoint * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QContextMenuEvent_globalPos ( const QContextMenuEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPoint & _ret = self - > globalPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPoint * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QContextMenuEvent_reason ( const QContextMenuEvent * self ) {
2024-09-15 10:29:05 +12:00
QContextMenuEvent : : Reason _ret = self - > reason ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QContextMenuEvent_delete ( QContextMenuEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QInputMethodEvent * QInputMethodEvent_new ( ) {
return new QInputMethodEvent ( ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QInputMethodEvent * QInputMethodEvent_new2 ( struct miqt_string preeditText , struct miqt_array /* of QInputMethodEvent__Attribute* */ attributes ) {
2024-10-19 12:53:33 +13:00
QString preeditText_QString = QString : : fromUtf8 ( preeditText . data , preeditText . len ) ;
2024-08-29 19:01:51 +12:00
QList < QInputMethodEvent : : Attribute > attributes_QList ;
2024-11-04 20:18:27 +13:00
attributes_QList . reserve ( attributes . len ) ;
QInputMethodEvent__Attribute * * attributes_arr = static_cast < QInputMethodEvent__Attribute * * > ( attributes . data ) ;
for ( size_t i = 0 ; i < attributes . len ; + + i ) {
2024-09-15 10:29:05 +12:00
attributes_QList . push_back ( * ( attributes_arr [ i ] ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
return new QInputMethodEvent ( preeditText_QString , attributes_QList ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QInputMethodEvent * QInputMethodEvent_new3 ( QInputMethodEvent * other ) {
return new QInputMethodEvent ( * other ) ;
}
void QInputMethodEvent_virtbase ( QInputMethodEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QInputMethodEvent_setCommitString ( QInputMethodEvent * self , struct miqt_string commitString ) {
2024-10-19 12:53:33 +13:00
QString commitString_QString = QString : : fromUtf8 ( commitString . data , commitString . len ) ;
2024-08-25 16:08:24 +12:00
self - > setCommitString ( commitString_QString ) ;
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QInputMethodEvent__Attribute* */ QInputMethodEvent_attributes ( const QInputMethodEvent * self ) {
2024-09-18 12:12:02 +12:00
const QList < QInputMethodEvent : : Attribute > & _ret = self - > attributes ( ) ;
// Convert QList<> from C++ memory to manually-managed C memory
QInputMethodEvent__Attribute * * _arr = static_cast < QInputMethodEvent__Attribute * * > ( malloc ( sizeof ( QInputMethodEvent__Attribute * ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
_arr [ i ] = new QInputMethodEvent : : Attribute ( _ret [ i ] ) ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-09-18 12:12:02 +12:00
return _out ;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QInputMethodEvent_preeditString ( const QInputMethodEvent * self ) {
2024-09-15 10:29:05 +12:00
const QString _ret = self - > preeditString ( ) ;
2024-08-25 16:08:24 +12:00
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
2024-09-15 10:29:05 +12:00
QByteArray _b = _ret . toUtf8 ( ) ;
2024-10-19 12:53:33 +13:00
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QInputMethodEvent_commitString ( const QInputMethodEvent * self ) {
2024-09-15 10:29:05 +12:00
const QString _ret = self - > commitString ( ) ;
2024-08-25 16:08:24 +12:00
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
2024-09-15 10:29:05 +12:00
QByteArray _b = _ret . toUtf8 ( ) ;
2024-10-19 12:53:33 +13:00
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QInputMethodEvent_replacementStart ( const QInputMethodEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > replacementStart ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QInputMethodEvent_replacementLength ( const QInputMethodEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > replacementLength ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QInputMethodEvent_setCommitString2 ( QInputMethodEvent * self , struct miqt_string commitString , int replaceFrom ) {
2024-10-19 12:53:33 +13:00
QString commitString_QString = QString : : fromUtf8 ( commitString . data , commitString . len ) ;
2024-08-25 16:08:24 +12:00
self - > setCommitString ( commitString_QString , static_cast < int > ( replaceFrom ) ) ;
}
2025-02-01 13:45:16 +13:00
void QInputMethodEvent_setCommitString3 ( QInputMethodEvent * self , struct miqt_string commitString , int replaceFrom , int replaceLength ) {
2024-10-19 12:53:33 +13:00
QString commitString_QString = QString : : fromUtf8 ( commitString . data , commitString . len ) ;
2024-08-25 16:08:24 +12:00
self - > setCommitString ( commitString_QString , static_cast < int > ( replaceFrom ) , static_cast < int > ( replaceLength ) ) ;
}
2025-02-01 13:45:16 +13:00
void QInputMethodEvent_delete ( QInputMethodEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QInputMethodQueryEvent * QInputMethodQueryEvent_new ( int queries ) {
return new QInputMethodQueryEvent ( static_cast < Qt : : InputMethodQueries > ( queries ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QInputMethodQueryEvent * QInputMethodQueryEvent_new2 ( QInputMethodQueryEvent * param1 ) {
return new QInputMethodQueryEvent ( * param1 ) ;
}
void QInputMethodQueryEvent_virtbase ( QInputMethodQueryEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QInputMethodQueryEvent_queries ( const QInputMethodQueryEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : InputMethodQueries _ret = self - > queries ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QInputMethodQueryEvent_setValue ( QInputMethodQueryEvent * self , int query , QVariant * value ) {
2024-08-29 19:01:51 +12:00
self - > setValue ( static_cast < Qt : : InputMethodQuery > ( query ) , * value ) ;
}
2025-02-01 13:45:16 +13:00
QVariant * QInputMethodQueryEvent_value ( const QInputMethodQueryEvent * self , int query ) {
2024-09-17 18:29:11 +12:00
return new QVariant ( self - > value ( static_cast < Qt : : InputMethodQuery > ( query ) ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QInputMethodQueryEvent_delete ( QInputMethodQueryEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QDropEvent * QDropEvent_new ( QPointF * pos , int actions , QMimeData * data , int buttons , int modifiers ) {
return new QDropEvent ( * pos , static_cast < Qt : : DropActions > ( actions ) , data , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
}
QDropEvent * QDropEvent_new2 ( QDropEvent * param1 ) {
return new QDropEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QDropEvent * QDropEvent_new3 ( QPointF * pos , int actions , QMimeData * data , int buttons , int modifiers , int type ) {
return new QDropEvent ( * pos , static_cast < Qt : : DropActions > ( actions ) , data , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < QEvent : : Type > ( type ) ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QDropEvent_virtbase ( QDropEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QDropEvent_pos ( const QDropEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPoint ( self - > pos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QDropEvent_posF ( const QDropEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPointF & _ret = self - > posF ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPointF * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QDropEvent_mouseButtons ( const QDropEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : MouseButtons _ret = self - > mouseButtons ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QDropEvent_keyboardModifiers ( const QDropEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : KeyboardModifiers _ret = self - > keyboardModifiers ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QDropEvent_possibleActions ( const QDropEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : DropActions _ret = self - > possibleActions ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QDropEvent_proposedAction ( const QDropEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : DropAction _ret = self - > proposedAction ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QDropEvent_acceptProposedAction ( QDropEvent * self ) {
2024-08-25 16:08:24 +12:00
self - > acceptProposedAction ( ) ;
}
2025-02-01 13:45:16 +13:00
int QDropEvent_dropAction ( const QDropEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : DropAction _ret = self - > dropAction ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QDropEvent_setDropAction ( QDropEvent * self , int action ) {
2024-08-29 19:01:51 +12:00
self - > setDropAction ( static_cast < Qt : : DropAction > ( action ) ) ;
}
2025-02-01 13:45:16 +13:00
QObject * QDropEvent_source ( const QDropEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > source ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QMimeData * QDropEvent_mimeData ( const QDropEvent * self ) {
2024-09-11 17:41:09 +12:00
return ( QMimeData * ) self - > mimeData ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QDropEvent_delete ( QDropEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QDragMoveEvent * QDragMoveEvent_new ( QPoint * pos , int actions , QMimeData * data , int buttons , int modifiers ) {
return new QDragMoveEvent ( * pos , static_cast < Qt : : DropActions > ( actions ) , data , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
}
QDragMoveEvent * QDragMoveEvent_new2 ( QDragMoveEvent * param1 ) {
return new QDragMoveEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QDragMoveEvent * QDragMoveEvent_new3 ( QPoint * pos , int actions , QMimeData * data , int buttons , int modifiers , int type ) {
return new QDragMoveEvent ( * pos , static_cast < Qt : : DropActions > ( actions ) , data , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < QEvent : : Type > ( type ) ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QDragMoveEvent_virtbase ( QDragMoveEvent * src , QDropEvent * * outptr_QDropEvent ) {
* outptr_QDropEvent = static_cast < QDropEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QRect * QDragMoveEvent_answerRect ( const QDragMoveEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QRect ( self - > answerRect ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QDragMoveEvent_accept ( QDragMoveEvent * self ) {
2024-08-25 16:08:24 +12:00
self - > accept ( ) ;
}
2025-02-01 13:45:16 +13:00
void QDragMoveEvent_ignore ( QDragMoveEvent * self ) {
2024-08-25 16:08:24 +12:00
self - > ignore ( ) ;
}
2025-02-01 13:45:16 +13:00
void QDragMoveEvent_acceptWithQRect ( QDragMoveEvent * self , QRect * r ) {
2024-08-25 16:08:24 +12:00
self - > accept ( * r ) ;
}
2025-02-01 13:45:16 +13:00
void QDragMoveEvent_ignoreWithQRect ( QDragMoveEvent * self , QRect * r ) {
2024-08-25 16:08:24 +12:00
self - > ignore ( * r ) ;
}
2025-02-01 13:45:16 +13:00
void QDragMoveEvent_delete ( QDragMoveEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QDragEnterEvent * QDragEnterEvent_new ( QPoint * pos , int actions , QMimeData * data , int buttons , int modifiers ) {
return new QDragEnterEvent ( * pos , static_cast < Qt : : DropActions > ( actions ) , data , static_cast < Qt : : MouseButtons > ( buttons ) , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
}
QDragEnterEvent * QDragEnterEvent_new2 ( QDragEnterEvent * param1 ) {
return new QDragEnterEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QDragEnterEvent_virtbase ( QDragEnterEvent * src , QDragMoveEvent * * outptr_QDragMoveEvent ) {
* outptr_QDragMoveEvent = static_cast < QDragMoveEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QDragEnterEvent_operatorAssign ( QDragEnterEvent * self , QDragEnterEvent * param1 ) {
2024-08-25 16:08:24 +12:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QDragEnterEvent_delete ( QDragEnterEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QDragLeaveEvent * QDragLeaveEvent_new ( ) {
return new QDragLeaveEvent ( ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QDragLeaveEvent * QDragLeaveEvent_new2 ( QDragLeaveEvent * param1 ) {
return new QDragLeaveEvent ( * param1 ) ;
}
void QDragLeaveEvent_virtbase ( QDragLeaveEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QDragLeaveEvent_operatorAssign ( QDragLeaveEvent * self , QDragLeaveEvent * param1 ) {
2024-08-25 16:08:24 +12:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QDragLeaveEvent_delete ( QDragLeaveEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QHelpEvent * QHelpEvent_new ( int type , QPoint * pos , QPoint * globalPos ) {
return new QHelpEvent ( static_cast < QEvent : : Type > ( type ) , * pos , * globalPos ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QHelpEvent * QHelpEvent_new2 ( QHelpEvent * param1 ) {
return new QHelpEvent ( * param1 ) ;
}
void QHelpEvent_virtbase ( QHelpEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QHelpEvent_x ( const QHelpEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > x ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QHelpEvent_y ( const QHelpEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > y ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QHelpEvent_globalX ( const QHelpEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalX ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QHelpEvent_globalY ( const QHelpEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > globalY ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QHelpEvent_pos ( const QHelpEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPoint & _ret = self - > pos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPoint * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPoint * QHelpEvent_globalPos ( const QHelpEvent * self ) {
2024-09-15 10:29:05 +12:00
const QPoint & _ret = self - > globalPos ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QPoint * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QHelpEvent_delete ( QHelpEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QStatusTipEvent * QStatusTipEvent_new ( struct miqt_string tip ) {
2024-10-19 12:53:33 +13:00
QString tip_QString = QString : : fromUtf8 ( tip . data , tip . len ) ;
2024-12-07 17:15:57 +13:00
return new QStatusTipEvent ( tip_QString ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QStatusTipEvent * QStatusTipEvent_new2 ( QStatusTipEvent * param1 ) {
return new QStatusTipEvent ( * param1 ) ;
}
void QStatusTipEvent_virtbase ( QStatusTipEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QStatusTipEvent_tip ( const QStatusTipEvent * self ) {
2024-09-15 10:29:05 +12:00
QString _ret = self - > tip ( ) ;
2024-08-25 16:08:24 +12:00
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
2024-09-15 10:29:05 +12:00
QByteArray _b = _ret . toUtf8 ( ) ;
2024-10-19 12:53:33 +13:00
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QStatusTipEvent_delete ( QStatusTipEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QWhatsThisClickedEvent * QWhatsThisClickedEvent_new ( struct miqt_string href ) {
2024-10-19 12:53:33 +13:00
QString href_QString = QString : : fromUtf8 ( href . data , href . len ) ;
2024-12-07 17:15:57 +13:00
return new QWhatsThisClickedEvent ( href_QString ) ;
}
QWhatsThisClickedEvent * QWhatsThisClickedEvent_new2 ( QWhatsThisClickedEvent * param1 ) {
return new QWhatsThisClickedEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QWhatsThisClickedEvent_virtbase ( QWhatsThisClickedEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QWhatsThisClickedEvent_href ( const QWhatsThisClickedEvent * self ) {
2024-09-15 10:29:05 +12:00
QString _ret = self - > href ( ) ;
2024-08-25 16:08:24 +12:00
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
2024-09-15 10:29:05 +12:00
QByteArray _b = _ret . toUtf8 ( ) ;
2024-10-19 12:53:33 +13:00
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QWhatsThisClickedEvent_delete ( QWhatsThisClickedEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QActionEvent * QActionEvent_new ( int type , QAction * action ) {
return new QActionEvent ( static_cast < int > ( type ) , action ) ;
2024-12-07 17:15:57 +13:00
}
QActionEvent * QActionEvent_new2 ( QActionEvent * param1 ) {
return new QActionEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QActionEvent * QActionEvent_new3 ( int type , QAction * action , QAction * before ) {
return new QActionEvent ( static_cast < int > ( type ) , action , before ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QActionEvent_virtbase ( QActionEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QAction * QActionEvent_action ( const QActionEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > action ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QAction * QActionEvent_before ( const QActionEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > before ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QActionEvent_operatorAssign ( QActionEvent * self , QActionEvent * param1 ) {
2024-08-25 16:08:24 +12:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QActionEvent_delete ( QActionEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QFileOpenEvent * QFileOpenEvent_new ( struct miqt_string file ) {
2024-10-19 12:53:33 +13:00
QString file_QString = QString : : fromUtf8 ( file . data , file . len ) ;
2024-12-07 17:15:57 +13:00
return new QFileOpenEvent ( file_QString ) ;
}
QFileOpenEvent * QFileOpenEvent_new2 ( QUrl * url ) {
return new QFileOpenEvent ( * url ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QFileOpenEvent * QFileOpenEvent_new3 ( QFileOpenEvent * param1 ) {
return new QFileOpenEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QFileOpenEvent_virtbase ( QFileOpenEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QFileOpenEvent_file ( const QFileOpenEvent * self ) {
2024-09-15 10:29:05 +12:00
QString _ret = self - > file ( ) ;
2024-08-25 16:08:24 +12:00
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
2024-09-15 10:29:05 +12:00
QByteArray _b = _ret . toUtf8 ( ) ;
2024-10-19 12:53:33 +13:00
struct miqt_string _ms ;
_ms . len = _b . length ( ) ;
_ms . data = static_cast < char * > ( malloc ( _ms . len ) ) ;
memcpy ( _ms . data , _b . data ( ) , _ms . len ) ;
return _ms ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QUrl * QFileOpenEvent_url ( const QFileOpenEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QUrl ( self - > url ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
bool QFileOpenEvent_openFile ( const QFileOpenEvent * self , QFile * file , int flags ) {
2024-09-11 17:41:09 +12:00
return self - > openFile ( * file , static_cast < QIODevice : : OpenMode > ( flags ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QFileOpenEvent_delete ( QFileOpenEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QToolBarChangeEvent * QToolBarChangeEvent_new ( bool t ) {
return new QToolBarChangeEvent ( t ) ;
}
QToolBarChangeEvent * QToolBarChangeEvent_new2 ( QToolBarChangeEvent * param1 ) {
return new QToolBarChangeEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QToolBarChangeEvent_virtbase ( QToolBarChangeEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
bool QToolBarChangeEvent_toggle ( const QToolBarChangeEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > toggle ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QToolBarChangeEvent_delete ( QToolBarChangeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QShortcutEvent * QShortcutEvent_new ( QKeySequence * key , int id ) {
return new QShortcutEvent ( * key , static_cast < int > ( id ) ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QShortcutEvent * QShortcutEvent_new2 ( QShortcutEvent * param1 ) {
return new QShortcutEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QShortcutEvent * QShortcutEvent_new3 ( QKeySequence * key , int id , bool ambiguous ) {
return new QShortcutEvent ( * key , static_cast < int > ( id ) , ambiguous ) ;
}
void QShortcutEvent_virtbase ( QShortcutEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QKeySequence * QShortcutEvent_key ( const QShortcutEvent * self ) {
2024-09-15 10:29:05 +12:00
const QKeySequence & _ret = self - > key ( ) ;
2024-08-25 16:08:24 +12:00
// Cast returned reference into pointer
2024-09-15 10:29:05 +12:00
return const_cast < QKeySequence * > ( & _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QShortcutEvent_shortcutId ( const QShortcutEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > shortcutId ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
bool QShortcutEvent_isAmbiguous ( const QShortcutEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > isAmbiguous ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QShortcutEvent_delete ( QShortcutEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QWindowStateChangeEvent * QWindowStateChangeEvent_new ( int aOldState ) {
return new QWindowStateChangeEvent ( static_cast < Qt : : WindowStates > ( aOldState ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QWindowStateChangeEvent * QWindowStateChangeEvent_new2 ( QWindowStateChangeEvent * param1 ) {
return new QWindowStateChangeEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QWindowStateChangeEvent * QWindowStateChangeEvent_new3 ( int aOldState , bool isOverride ) {
return new QWindowStateChangeEvent ( static_cast < Qt : : WindowStates > ( aOldState ) , isOverride ) ;
}
void QWindowStateChangeEvent_virtbase ( QWindowStateChangeEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QWindowStateChangeEvent_oldState ( const QWindowStateChangeEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : WindowStates _ret = self - > oldState ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
bool QWindowStateChangeEvent_isOverride ( const QWindowStateChangeEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > isOverride ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QWindowStateChangeEvent_delete ( QWindowStateChangeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QPointingDeviceUniqueId * QPointingDeviceUniqueId_new ( ) {
return new QPointingDeviceUniqueId ( ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QPointingDeviceUniqueId * QPointingDeviceUniqueId_new2 ( QPointingDeviceUniqueId * param1 ) {
return new QPointingDeviceUniqueId ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointingDeviceUniqueId * QPointingDeviceUniqueId_fromNumericId ( long long id ) {
2024-09-17 18:29:11 +12:00
return new QPointingDeviceUniqueId ( QPointingDeviceUniqueId : : fromNumericId ( static_cast < qint64 > ( id ) ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
bool QPointingDeviceUniqueId_isValid ( const QPointingDeviceUniqueId * self ) {
2024-09-11 17:41:09 +12:00
return self - > isValid ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
long long QPointingDeviceUniqueId_numericId ( const QPointingDeviceUniqueId * self ) {
2024-09-18 12:12:02 +12:00
qint64 _ret = self - > numericId ( ) ;
return static_cast < long long > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QPointingDeviceUniqueId_delete ( QPointingDeviceUniqueId * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent * QTouchEvent_new ( int eventType ) {
return new QTouchEvent ( static_cast < QEvent : : Type > ( eventType ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent * QTouchEvent_new2 ( QTouchEvent * param1 ) {
return new QTouchEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent * QTouchEvent_new3 ( int eventType , QTouchDevice * device ) {
return new QTouchEvent ( static_cast < QEvent : : Type > ( eventType ) , device ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent * QTouchEvent_new4 ( int eventType , QTouchDevice * device , int modifiers ) {
return new QTouchEvent ( static_cast < QEvent : : Type > ( eventType ) , device , static_cast < Qt : : KeyboardModifiers > ( modifiers ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent * QTouchEvent_new5 ( int eventType , QTouchDevice * device , int modifiers , int touchPointStates ) {
return new QTouchEvent ( static_cast < QEvent : : Type > ( eventType ) , device , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : TouchPointStates > ( touchPointStates ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent * QTouchEvent_new6 ( int eventType , QTouchDevice * device , int modifiers , int touchPointStates , struct miqt_array /* of QTouchEvent__TouchPoint* */ touchPoints ) {
2024-08-29 19:01:51 +12:00
QList < QTouchEvent : : TouchPoint > touchPoints_QList ;
2024-11-04 20:18:27 +13:00
touchPoints_QList . reserve ( touchPoints . len ) ;
QTouchEvent__TouchPoint * * touchPoints_arr = static_cast < QTouchEvent__TouchPoint * * > ( touchPoints . data ) ;
for ( size_t i = 0 ; i < touchPoints . len ; + + i ) {
2024-09-15 10:29:05 +12:00
touchPoints_QList . push_back ( * ( touchPoints_arr [ i ] ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
return new QTouchEvent ( static_cast < QEvent : : Type > ( eventType ) , device , static_cast < Qt : : KeyboardModifiers > ( modifiers ) , static_cast < Qt : : TouchPointStates > ( touchPointStates ) , touchPoints_QList ) ;
}
void QTouchEvent_virtbase ( QTouchEvent * src , QInputEvent * * outptr_QInputEvent ) {
* outptr_QInputEvent = static_cast < QInputEvent * > ( src ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QWindow * QTouchEvent_window ( const QTouchEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > window ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QObject * QTouchEvent_target ( const QTouchEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > target ( ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QTouchEvent_touchPointStates ( const QTouchEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : TouchPointStates _ret = self - > touchPointStates ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QTouchEvent__TouchPoint* */ QTouchEvent_touchPoints ( const QTouchEvent * self ) {
2024-09-18 12:12:02 +12:00
const QList < QTouchEvent : : TouchPoint > & _ret = self - > touchPoints ( ) ;
// Convert QList<> from C++ memory to manually-managed C memory
QTouchEvent__TouchPoint * * _arr = static_cast < QTouchEvent__TouchPoint * * > ( malloc ( sizeof ( QTouchEvent__TouchPoint * ) * _ret . length ( ) ) ) ;
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
_arr [ i ] = new QTouchEvent : : TouchPoint ( _ret [ i ] ) ;
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-09-18 12:12:02 +12:00
return _out ;
}
2025-02-01 13:45:16 +13:00
QTouchDevice * QTouchEvent_device ( const QTouchEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > device ( ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QTouchEvent_setWindow ( QTouchEvent * self , QWindow * awindow ) {
2024-08-25 16:08:24 +12:00
self - > setWindow ( awindow ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent_setTarget ( QTouchEvent * self , QObject * atarget ) {
2024-08-25 16:08:24 +12:00
self - > setTarget ( atarget ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent_setTouchPointStates ( QTouchEvent * self , int aTouchPointStates ) {
2024-08-29 19:01:51 +12:00
self - > setTouchPointStates ( static_cast < Qt : : TouchPointStates > ( aTouchPointStates ) ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent_setTouchPoints ( QTouchEvent * self , struct miqt_array /* of QTouchEvent__TouchPoint* */ atouchPoints ) {
2024-08-29 19:01:51 +12:00
QList < QTouchEvent : : TouchPoint > atouchPoints_QList ;
2024-11-04 20:18:27 +13:00
atouchPoints_QList . reserve ( atouchPoints . len ) ;
QTouchEvent__TouchPoint * * atouchPoints_arr = static_cast < QTouchEvent__TouchPoint * * > ( atouchPoints . data ) ;
for ( size_t i = 0 ; i < atouchPoints . len ; + + i ) {
2024-09-15 10:29:05 +12:00
atouchPoints_QList . push_back ( * ( atouchPoints_arr [ i ] ) ) ;
2024-08-29 19:01:51 +12:00
}
self - > setTouchPoints ( atouchPoints_QList ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent_setDevice ( QTouchEvent * self , QTouchDevice * adevice ) {
2024-08-25 16:08:24 +12:00
self - > setDevice ( adevice ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent_delete ( QTouchEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QScrollPrepareEvent * QScrollPrepareEvent_new ( QPointF * startPos ) {
return new QScrollPrepareEvent ( * startPos ) ;
}
QScrollPrepareEvent * QScrollPrepareEvent_new2 ( QScrollPrepareEvent * param1 ) {
return new QScrollPrepareEvent ( * param1 ) ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
void QScrollPrepareEvent_virtbase ( QScrollPrepareEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QScrollPrepareEvent_startPos ( const QScrollPrepareEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > startPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QSizeF * QScrollPrepareEvent_viewportSize ( const QScrollPrepareEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QSizeF ( self - > viewportSize ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QRectF * QScrollPrepareEvent_contentPosRange ( const QScrollPrepareEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QRectF ( self - > contentPosRange ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QScrollPrepareEvent_contentPos ( const QScrollPrepareEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > contentPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QScrollPrepareEvent_setViewportSize ( QScrollPrepareEvent * self , QSizeF * size ) {
2024-08-25 16:08:24 +12:00
self - > setViewportSize ( * size ) ;
}
2025-02-01 13:45:16 +13:00
void QScrollPrepareEvent_setContentPosRange ( QScrollPrepareEvent * self , QRectF * rect ) {
2024-08-25 16:08:24 +12:00
self - > setContentPosRange ( * rect ) ;
}
2025-02-01 13:45:16 +13:00
void QScrollPrepareEvent_setContentPos ( QScrollPrepareEvent * self , QPointF * pos ) {
2024-08-25 16:08:24 +12:00
self - > setContentPos ( * pos ) ;
}
2025-02-01 13:45:16 +13:00
void QScrollPrepareEvent_delete ( QScrollPrepareEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QScrollEvent * QScrollEvent_new ( QPointF * contentPos , QPointF * overshoot , int scrollState ) {
return new QScrollEvent ( * contentPos , * overshoot , static_cast < QScrollEvent : : ScrollState > ( scrollState ) ) ;
}
QScrollEvent * QScrollEvent_new2 ( QScrollEvent * param1 ) {
return new QScrollEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QScrollEvent_virtbase ( QScrollEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QScrollEvent_contentPos ( const QScrollEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > contentPos ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QScrollEvent_overshootDistance ( const QScrollEvent * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > overshootDistance ( ) ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QScrollEvent_scrollState ( const QScrollEvent * self ) {
2024-09-15 10:29:05 +12:00
QScrollEvent : : ScrollState _ret = self - > scrollState ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QScrollEvent_delete ( QScrollEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QScreenOrientationChangeEvent * QScreenOrientationChangeEvent_new ( QScreen * screen , int orientation ) {
return new QScreenOrientationChangeEvent ( screen , static_cast < Qt : : ScreenOrientation > ( orientation ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QScreenOrientationChangeEvent * QScreenOrientationChangeEvent_new2 ( QScreenOrientationChangeEvent * param1 ) {
return new QScreenOrientationChangeEvent ( * param1 ) ;
}
void QScreenOrientationChangeEvent_virtbase ( QScreenOrientationChangeEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
QScreen * QScreenOrientationChangeEvent_screen ( const QScreenOrientationChangeEvent * self ) {
2024-09-11 17:41:09 +12:00
return self - > screen ( ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QScreenOrientationChangeEvent_orientation ( const QScreenOrientationChangeEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : ScreenOrientation _ret = self - > orientation ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
void QScreenOrientationChangeEvent_delete ( QScreenOrientationChangeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QApplicationStateChangeEvent * QApplicationStateChangeEvent_new ( int state ) {
return new QApplicationStateChangeEvent ( static_cast < Qt : : ApplicationState > ( state ) ) ;
}
QApplicationStateChangeEvent * QApplicationStateChangeEvent_new2 ( QApplicationStateChangeEvent * param1 ) {
return new QApplicationStateChangeEvent ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
void QApplicationStateChangeEvent_virtbase ( QApplicationStateChangeEvent * src , QEvent * * outptr_QEvent ) {
* outptr_QEvent = static_cast < QEvent * > ( src ) ;
2024-08-25 16:08:24 +12:00
}
2025-02-01 13:45:16 +13:00
int QApplicationStateChangeEvent_applicationState ( const QApplicationStateChangeEvent * self ) {
2024-09-15 10:29:05 +12:00
Qt : : ApplicationState _ret = self - > applicationState ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QApplicationStateChangeEvent_delete ( QApplicationStateChangeEvent * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-25 16:08:24 +12:00
}
2024-12-07 17:15:57 +13:00
QInputMethodEvent__Attribute * QInputMethodEvent__Attribute_new ( int typ , int s , int l , QVariant * val ) {
return new QInputMethodEvent : : Attribute ( static_cast < QInputMethodEvent : : AttributeType > ( typ ) , static_cast < int > ( s ) , static_cast < int > ( l ) , * val ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QInputMethodEvent__Attribute * QInputMethodEvent__Attribute_new2 ( int typ , int s , int l ) {
return new QInputMethodEvent : : Attribute ( static_cast < QInputMethodEvent : : AttributeType > ( typ ) , static_cast < int > ( s ) , static_cast < int > ( l ) ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QInputMethodEvent__Attribute * QInputMethodEvent__Attribute_new3 ( QInputMethodEvent__Attribute * param1 ) {
return new QInputMethodEvent : : Attribute ( * param1 ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QInputMethodEvent__Attribute_operatorAssign ( QInputMethodEvent__Attribute * self , QInputMethodEvent__Attribute * param1 ) {
2024-09-18 12:12:02 +12:00
self - > operator = ( * param1 ) ;
}
2025-02-01 13:45:16 +13:00
void QInputMethodEvent__Attribute_delete ( QInputMethodEvent__Attribute * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent__TouchPoint * QTouchEvent__TouchPoint_new ( ) {
return new QTouchEvent : : TouchPoint ( ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent__TouchPoint * QTouchEvent__TouchPoint_new2 ( QTouchEvent__TouchPoint * other ) {
return new QTouchEvent : : TouchPoint ( * other ) ;
2024-08-29 19:01:51 +12:00
}
2024-12-07 17:15:57 +13:00
QTouchEvent__TouchPoint * QTouchEvent__TouchPoint_new3 ( int id ) {
return new QTouchEvent : : TouchPoint ( static_cast < int > ( id ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_operatorAssign ( QTouchEvent__TouchPoint * self , QTouchEvent__TouchPoint * other ) {
2024-09-18 12:12:02 +12:00
self - > operator = ( * other ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_swap ( QTouchEvent__TouchPoint * self , QTouchEvent__TouchPoint * other ) {
2024-08-29 19:01:51 +12:00
self - > swap ( * other ) ;
}
2025-02-01 13:45:16 +13:00
int QTouchEvent__TouchPoint_id ( const QTouchEvent__TouchPoint * self ) {
2024-09-11 17:41:09 +12:00
return self - > id ( ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointingDeviceUniqueId * QTouchEvent__TouchPoint_uniqueId ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointingDeviceUniqueId ( self - > uniqueId ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QTouchEvent__TouchPoint_state ( const QTouchEvent__TouchPoint * self ) {
2024-09-15 10:29:05 +12:00
Qt : : TouchPointState _ret = self - > state ( ) ;
2024-09-18 12:12:02 +12:00
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_pos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > pos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_startPos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > startPos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_lastPos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > lastPos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_scenePos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > scenePos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_startScenePos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > startScenePos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_lastScenePos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > lastScenePos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_screenPos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > screenPos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_startScreenPos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > startScreenPos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_lastScreenPos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > lastScreenPos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_normalizedPos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > normalizedPos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_startNormalizedPos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > startNormalizedPos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QPointF * QTouchEvent__TouchPoint_lastNormalizedPos ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QPointF ( self - > lastNormalizedPos ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QRectF * QTouchEvent__TouchPoint_rect ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QRectF ( self - > rect ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QRectF * QTouchEvent__TouchPoint_sceneRect ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QRectF ( self - > sceneRect ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QRectF * QTouchEvent__TouchPoint_screenRect ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QRectF ( self - > screenRect ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setRect ( QTouchEvent__TouchPoint * self , QRectF * rect ) {
2024-08-29 19:01:51 +12:00
self - > setRect ( * rect ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setSceneRect ( QTouchEvent__TouchPoint * self , QRectF * sceneRect ) {
2024-08-29 19:01:51 +12:00
self - > setSceneRect ( * sceneRect ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setScreenRect ( QTouchEvent__TouchPoint * self , QRectF * screenRect ) {
2024-08-29 19:01:51 +12:00
self - > setScreenRect ( * screenRect ) ;
}
2025-02-01 13:45:16 +13:00
double QTouchEvent__TouchPoint_pressure ( const QTouchEvent__TouchPoint * self ) {
2024-09-18 12:12:02 +12:00
qreal _ret = self - > pressure ( ) ;
return static_cast < double > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
double QTouchEvent__TouchPoint_rotation ( const QTouchEvent__TouchPoint * self ) {
2024-09-18 12:12:02 +12:00
qreal _ret = self - > rotation ( ) ;
return static_cast < double > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QSizeF * QTouchEvent__TouchPoint_ellipseDiameters ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QSizeF ( self - > ellipseDiameters ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
QVector2D * QTouchEvent__TouchPoint_velocity ( const QTouchEvent__TouchPoint * self ) {
2024-09-17 18:29:11 +12:00
return new QVector2D ( self - > velocity ( ) ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
int QTouchEvent__TouchPoint_flags ( const QTouchEvent__TouchPoint * self ) {
2024-09-15 10:29:05 +12:00
QTouchEvent : : TouchPoint : : InfoFlags _ret = self - > flags ( ) ;
return static_cast < int > ( _ret ) ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QPointF* */ QTouchEvent__TouchPoint_rawScreenPositions ( const QTouchEvent__TouchPoint * self ) {
2024-09-15 10:29:05 +12:00
QVector < QPointF > _ret = self - > rawScreenPositions ( ) ;
2024-09-17 18:29:11 +12:00
// Convert QList<> from C++ memory to manually-managed C memory
QPointF * * _arr = static_cast < QPointF * * > ( malloc ( sizeof ( QPointF * ) * _ret . length ( ) ) ) ;
2024-09-15 10:29:05 +12:00
for ( size_t i = 0 , e = _ret . length ( ) ; i < e ; + + i ) {
_arr [ i ] = new QPointF ( _ret [ i ] ) ;
2024-08-29 19:01:51 +12:00
}
2024-11-04 20:18:27 +13:00
struct miqt_array _out ;
_out . len = _ret . length ( ) ;
_out . data = static_cast < void * > ( _arr ) ;
2024-09-15 10:29:05 +12:00
return _out ;
2024-08-29 19:01:51 +12:00
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setId ( QTouchEvent__TouchPoint * self , int id ) {
2024-08-29 19:01:51 +12:00
self - > setId ( static_cast < int > ( id ) ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setUniqueId ( QTouchEvent__TouchPoint * self , long long uid ) {
2024-08-29 19:01:51 +12:00
self - > setUniqueId ( static_cast < qint64 > ( uid ) ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setState ( QTouchEvent__TouchPoint * self , int state ) {
2024-08-29 19:01:51 +12:00
self - > setState ( static_cast < Qt : : TouchPointStates > ( state ) ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setPos ( QTouchEvent__TouchPoint * self , QPointF * pos ) {
2024-08-29 19:01:51 +12:00
self - > setPos ( * pos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setScenePos ( QTouchEvent__TouchPoint * self , QPointF * scenePos ) {
2024-08-29 19:01:51 +12:00
self - > setScenePos ( * scenePos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setScreenPos ( QTouchEvent__TouchPoint * self , QPointF * screenPos ) {
2024-08-29 19:01:51 +12:00
self - > setScreenPos ( * screenPos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setNormalizedPos ( QTouchEvent__TouchPoint * self , QPointF * normalizedPos ) {
2024-08-29 19:01:51 +12:00
self - > setNormalizedPos ( * normalizedPos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setStartPos ( QTouchEvent__TouchPoint * self , QPointF * startPos ) {
2024-08-29 19:01:51 +12:00
self - > setStartPos ( * startPos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setStartScenePos ( QTouchEvent__TouchPoint * self , QPointF * startScenePos ) {
2024-08-29 19:01:51 +12:00
self - > setStartScenePos ( * startScenePos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setStartScreenPos ( QTouchEvent__TouchPoint * self , QPointF * startScreenPos ) {
2024-08-29 19:01:51 +12:00
self - > setStartScreenPos ( * startScreenPos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setStartNormalizedPos ( QTouchEvent__TouchPoint * self , QPointF * startNormalizedPos ) {
2024-08-29 19:01:51 +12:00
self - > setStartNormalizedPos ( * startNormalizedPos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setLastPos ( QTouchEvent__TouchPoint * self , QPointF * lastPos ) {
2024-08-29 19:01:51 +12:00
self - > setLastPos ( * lastPos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setLastScenePos ( QTouchEvent__TouchPoint * self , QPointF * lastScenePos ) {
2024-08-29 19:01:51 +12:00
self - > setLastScenePos ( * lastScenePos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setLastScreenPos ( QTouchEvent__TouchPoint * self , QPointF * lastScreenPos ) {
2024-08-29 19:01:51 +12:00
self - > setLastScreenPos ( * lastScreenPos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setLastNormalizedPos ( QTouchEvent__TouchPoint * self , QPointF * lastNormalizedPos ) {
2024-08-29 19:01:51 +12:00
self - > setLastNormalizedPos ( * lastNormalizedPos ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setPressure ( QTouchEvent__TouchPoint * self , double pressure ) {
2024-08-29 19:01:51 +12:00
self - > setPressure ( static_cast < qreal > ( pressure ) ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setRotation ( QTouchEvent__TouchPoint * self , double angle ) {
2024-08-29 19:01:51 +12:00
self - > setRotation ( static_cast < qreal > ( angle ) ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setEllipseDiameters ( QTouchEvent__TouchPoint * self , QSizeF * dia ) {
2024-08-29 19:01:51 +12:00
self - > setEllipseDiameters ( * dia ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setVelocity ( QTouchEvent__TouchPoint * self , QVector2D * v ) {
2024-08-29 19:01:51 +12:00
self - > setVelocity ( * v ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setFlags ( QTouchEvent__TouchPoint * self , int flags ) {
2024-08-29 19:01:51 +12:00
self - > setFlags ( static_cast < QTouchEvent : : TouchPoint : : InfoFlags > ( flags ) ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_setRawScreenPositions ( QTouchEvent__TouchPoint * self , struct miqt_array /* of QPointF* */ positions ) {
2024-08-29 19:01:51 +12:00
QVector < QPointF > positions_QList ;
2024-11-04 20:18:27 +13:00
positions_QList . reserve ( positions . len ) ;
QPointF * * positions_arr = static_cast < QPointF * * > ( positions . data ) ;
for ( size_t i = 0 ; i < positions . len ; + + i ) {
2024-09-15 10:29:05 +12:00
positions_QList . push_back ( * ( positions_arr [ i ] ) ) ;
2024-08-29 19:01:51 +12:00
}
self - > setRawScreenPositions ( positions_QList ) ;
}
2025-02-01 13:45:16 +13:00
void QTouchEvent__TouchPoint_delete ( QTouchEvent__TouchPoint * self ) {
2025-01-18 17:42:41 +13:00
delete self ;
2024-08-29 19:01:51 +12:00
}