// +build !minimal #define protected public #define private public #include "widgets.h" #include "_cgo_export.h" #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include class MyQAbstractButton: public QAbstractButton { public: MyQAbstractButton(QWidget *parent = Q_NULLPTR) : QAbstractButton(parent) {QAbstractButton_QAbstractButton_QRegisterMetaType();}; void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); }; void click() { callbackQAbstractButton_Click(this); }; void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast(static_cast(this)), const_cast(&pos)) != 0; }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void nextCheckState() { callbackQAbstractButton_NextCheckState(this); }; void paintEvent(QPaintEvent * e) { callbackQAbstractButton_PaintEvent(this, e); }; void Signal_Pressed() { callbackQAbstractButton_Pressed(this); }; void Signal_Released() { callbackQAbstractButton_Released(this); }; void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); }; void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast(&size)); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void toggle() { callbackQAbstractButton_Toggle(this); }; void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); }; ~MyQAbstractButton() { callbackQAbstractButton_DestroyQAbstractButton(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QAbstractButton*) Q_DECLARE_METATYPE(MyQAbstractButton*) int QAbstractButton_QAbstractButton_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QAbstractButton_NewQAbstractButton(void* parent) { return new MyQAbstractButton(static_cast(parent)); } void QAbstractButton_AnimateClick(void* ptr, int msec) { QMetaObject::invokeMethod(static_cast(ptr), "animateClick", Q_ARG(int, msec)); } void QAbstractButton_AnimateClickDefault(void* ptr, int msec) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::animateClick(msec); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::animateClick(msec); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::animateClick(msec); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::animateClick(msec); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::animateClick(msec); } else { static_cast(ptr)->QAbstractButton::animateClick(msec); } } char QAbstractButton_AutoExclusive(void* ptr) { return static_cast(ptr)->autoExclusive(); } char QAbstractButton_AutoRepeat(void* ptr) { return static_cast(ptr)->autoRepeat(); } int QAbstractButton_AutoRepeatDelay(void* ptr) { return static_cast(ptr)->autoRepeatDelay(); } int QAbstractButton_AutoRepeatInterval(void* ptr) { return static_cast(ptr)->autoRepeatInterval(); } void QAbstractButton_CheckStateSet(void* ptr) { static_cast(ptr)->checkStateSet(); } void QAbstractButton_CheckStateSetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::checkStateSet(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::checkStateSet(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::checkStateSet(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::checkStateSet(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::checkStateSet(); } else { static_cast(ptr)->QAbstractButton::checkStateSet(); } } void QAbstractButton_Click(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "click"); } void QAbstractButton_ClickDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::click(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::click(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::click(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::click(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::click(); } else { static_cast(ptr)->QAbstractButton::click(); } } void QAbstractButton_ConnectClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractButton::clicked), static_cast(ptr), static_cast(&MyQAbstractButton::Signal_Clicked), static_cast(t)); } void QAbstractButton_DisconnectClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractButton::clicked), static_cast(ptr), static_cast(&MyQAbstractButton::Signal_Clicked)); } void QAbstractButton_Clicked(void* ptr, char checked) { static_cast(ptr)->clicked(checked != 0); } void* QAbstractButton_Group(void* ptr) { return static_cast(ptr)->group(); } char QAbstractButton_HitButton(void* ptr, void* pos) { return static_cast(ptr)->hitButton(*static_cast(pos)); } char QAbstractButton_HitButtonDefault(void* ptr, void* pos) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::hitButton(*static_cast(pos)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::hitButton(*static_cast(pos)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::hitButton(*static_cast(pos)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::hitButton(*static_cast(pos)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::hitButton(*static_cast(pos)); } else { return static_cast(ptr)->QAbstractButton::hitButton(*static_cast(pos)); } } void* QAbstractButton_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon()); } void* QAbstractButton_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } char QAbstractButton_IsCheckable(void* ptr) { return static_cast(ptr)->isCheckable(); } char QAbstractButton_IsChecked(void* ptr) { return static_cast(ptr)->isChecked(); } char QAbstractButton_IsDown(void* ptr) { return static_cast(ptr)->isDown(); } void QAbstractButton_NextCheckState(void* ptr) { static_cast(ptr)->nextCheckState(); } void QAbstractButton_NextCheckStateDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::nextCheckState(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::nextCheckState(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::nextCheckState(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::nextCheckState(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::nextCheckState(); } else { static_cast(ptr)->QAbstractButton::nextCheckState(); } } void QAbstractButton_PaintEvent(void* ptr, void* e) { static_cast(ptr)->paintEvent(static_cast(e)); } void QAbstractButton_ConnectPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractButton::pressed), static_cast(ptr), static_cast(&MyQAbstractButton::Signal_Pressed), static_cast(t)); } void QAbstractButton_DisconnectPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractButton::pressed), static_cast(ptr), static_cast(&MyQAbstractButton::Signal_Pressed)); } void QAbstractButton_Pressed(void* ptr) { static_cast(ptr)->pressed(); } void QAbstractButton_ConnectReleased(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractButton::released), static_cast(ptr), static_cast(&MyQAbstractButton::Signal_Released), static_cast(t)); } void QAbstractButton_DisconnectReleased(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractButton::released), static_cast(ptr), static_cast(&MyQAbstractButton::Signal_Released)); } void QAbstractButton_Released(void* ptr) { static_cast(ptr)->released(); } void QAbstractButton_SetAutoExclusive(void* ptr, char vbo) { static_cast(ptr)->setAutoExclusive(vbo != 0); } void QAbstractButton_SetAutoRepeat(void* ptr, char vbo) { static_cast(ptr)->setAutoRepeat(vbo != 0); } void QAbstractButton_SetAutoRepeatDelay(void* ptr, int vin) { static_cast(ptr)->setAutoRepeatDelay(vin); } void QAbstractButton_SetAutoRepeatInterval(void* ptr, int vin) { static_cast(ptr)->setAutoRepeatInterval(vin); } void QAbstractButton_SetCheckable(void* ptr, char vbo) { static_cast(ptr)->setCheckable(vbo != 0); } void QAbstractButton_SetChecked(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setChecked", Q_ARG(bool, vbo != 0)); } void QAbstractButton_SetCheckedDefault(void* ptr, char vbo) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setChecked(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setChecked(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setChecked(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setChecked(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setChecked(vbo != 0); } else { static_cast(ptr)->QAbstractButton::setChecked(vbo != 0); } } void QAbstractButton_SetDown(void* ptr, char vbo) { static_cast(ptr)->setDown(vbo != 0); } void QAbstractButton_SetIcon(void* ptr, void* icon) { static_cast(ptr)->setIcon(*static_cast(icon)); } void QAbstractButton_SetIconSize(void* ptr, void* size) { QMetaObject::invokeMethod(static_cast(ptr), "setIconSize", Q_ARG(const QSize, *static_cast(size))); } void QAbstractButton_SetIconSizeDefault(void* ptr, void* size) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setIconSize(*static_cast(size)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setIconSize(*static_cast(size)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setIconSize(*static_cast(size)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setIconSize(*static_cast(size)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setIconSize(*static_cast(size)); } else { static_cast(ptr)->QAbstractButton::setIconSize(*static_cast(size)); } } void QAbstractButton_SetShortcut(void* ptr, void* key) { static_cast(ptr)->setShortcut(*static_cast(key)); } void QAbstractButton_SetText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(QString::fromUtf8(text.data, text.len)); } void* QAbstractButton_Shortcut(void* ptr) { return new QKeySequence(static_cast(ptr)->shortcut()); } struct QtWidgets_PackedString QAbstractButton_Text(void* ptr) { return ({ QByteArray* t8ae7db = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(t8ae7db->prepend("WHITESPACE").constData()+10), t8ae7db->size()-10, t8ae7db }; }); } void QAbstractButton_Toggle(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "toggle"); } void QAbstractButton_ToggleDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::toggle(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::toggle(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::toggle(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::toggle(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::toggle(); } else { static_cast(ptr)->QAbstractButton::toggle(); } } void QAbstractButton_ConnectToggled(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractButton::toggled), static_cast(ptr), static_cast(&MyQAbstractButton::Signal_Toggled), static_cast(t)); } void QAbstractButton_DisconnectToggled(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractButton::toggled), static_cast(ptr), static_cast(&MyQAbstractButton::Signal_Toggled)); } void QAbstractButton_Toggled(void* ptr, char checked) { static_cast(ptr)->toggled(checked != 0); } void QAbstractButton_DestroyQAbstractButton(void* ptr) { static_cast(ptr)->~QAbstractButton(); } void QAbstractButton_DestroyQAbstractButtonDefault(void* ptr) { Q_UNUSED(ptr); } class MyQAbstractGraphicsShapeItem: public QAbstractGraphicsShapeItem { public: MyQAbstractGraphicsShapeItem(QGraphicsItem *parent = Q_NULLPTR) : QAbstractGraphicsShapeItem(parent) {QAbstractGraphicsShapeItem_QAbstractGraphicsShapeItem_QRegisterMetaType();}; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; ~MyQAbstractGraphicsShapeItem() { callbackQAbstractGraphicsShapeItem_DestroyQAbstractGraphicsShapeItem(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; QRectF boundingRect() const { return *static_cast(callbackQAbstractGraphicsShapeItem_BoundingRect(const_cast(static_cast(this)))); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQAbstractGraphicsShapeItem_Paint(this, painter, const_cast(option), widget); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QAbstractGraphicsShapeItem*) Q_DECLARE_METATYPE(MyQAbstractGraphicsShapeItem*) int QAbstractGraphicsShapeItem_QAbstractGraphicsShapeItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QAbstractGraphicsShapeItem_NewQAbstractGraphicsShapeItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQAbstractGraphicsShapeItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractGraphicsShapeItem(static_cast(parent)); } else { return new MyQAbstractGraphicsShapeItem(static_cast(parent)); } } void* QAbstractGraphicsShapeItem_Brush(void* ptr) { return new QBrush(static_cast(ptr)->brush()); } void* QAbstractGraphicsShapeItem_Pen(void* ptr) { return new QPen(static_cast(ptr)->pen()); } void QAbstractGraphicsShapeItem_SetBrush(void* ptr, void* brush) { static_cast(ptr)->setBrush(*static_cast(brush)); } void QAbstractGraphicsShapeItem_SetPen(void* ptr, void* pen) { static_cast(ptr)->setPen(*static_cast(pen)); } void QAbstractGraphicsShapeItem_DestroyQAbstractGraphicsShapeItem(void* ptr) { static_cast(ptr)->~QAbstractGraphicsShapeItem(); } void QAbstractGraphicsShapeItem_DestroyQAbstractGraphicsShapeItemDefault(void* ptr) { Q_UNUSED(ptr); } void* QAbstractGraphicsShapeItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QAbstractGraphicsShapeItem_BoundingRectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsSimpleTextItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsPolygonItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsEllipseItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsRectItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsPathItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { } } void QAbstractGraphicsShapeItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QAbstractGraphicsShapeItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else { } } class MyQAbstractItemDelegate: public QAbstractItemDelegate { public: MyQAbstractItemDelegate(QObject *parent = Q_NULLPTR) : QAbstractItemDelegate(parent) {QAbstractItemDelegate_QAbstractItemDelegate_QRegisterMetaType();}; void Signal_CloseEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemDelegate_CloseEditor(this, editor, hint); }; void Signal_CommitData(QWidget * editor) { callbackQAbstractItemDelegate_CommitData(this, editor); }; QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const { return static_cast(callbackQAbstractItemDelegate_CreateEditor(const_cast(static_cast(this)), parent, const_cast(&option), const_cast(&index))); }; void destroyEditor(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_DestroyEditor(const_cast(static_cast(this)), editor, const_cast(&index)); }; bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast(&option), const_cast(&index)) != 0; }; bool helpEvent(QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_HelpEvent(this, event, view, const_cast(&option), const_cast(&index)) != 0; }; void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQAbstractItemDelegate_Paint(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&index)); }; void setEditorData(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetEditorData(const_cast(static_cast(this)), editor, const_cast(&index)); }; void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetModelData(const_cast(static_cast(this)), editor, model, const_cast(&index)); }; QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const { return *static_cast(callbackQAbstractItemDelegate_SizeHint(const_cast(static_cast(this)), const_cast(&option), const_cast(&index))); }; void Signal_SizeHintChanged(const QModelIndex & index) { callbackQAbstractItemDelegate_SizeHintChanged(this, const_cast(&index)); }; void updateEditorGeometry(QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQAbstractItemDelegate_UpdateEditorGeometry(const_cast(static_cast(this)), editor, const_cast(&option), const_cast(&index)); }; ~MyQAbstractItemDelegate() { callbackQAbstractItemDelegate_DestroyQAbstractItemDelegate(this); }; void childEvent(QChildEvent * event) { callbackQAbstractItemDelegate_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQAbstractItemDelegate_CustomEvent(this, event); }; void deleteLater() { callbackQAbstractItemDelegate_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQAbstractItemDelegate_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQAbstractItemDelegate_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAbstractItemDelegate_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractItemDelegate_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQAbstractItemDelegate_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQAbstractItemDelegate_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QAbstractItemDelegate*) Q_DECLARE_METATYPE(MyQAbstractItemDelegate*) int QAbstractItemDelegate_QAbstractItemDelegate_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QAbstractItemDelegate_NewQAbstractItemDelegate(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAbstractItemDelegate(static_cast(parent)); } else { return new MyQAbstractItemDelegate(static_cast(parent)); } } void QAbstractItemDelegate_ConnectCloseEditor(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemDelegate::closeEditor), static_cast(ptr), static_cast(&MyQAbstractItemDelegate::Signal_CloseEditor), static_cast(t)); } void QAbstractItemDelegate_DisconnectCloseEditor(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemDelegate::closeEditor), static_cast(ptr), static_cast(&MyQAbstractItemDelegate::Signal_CloseEditor)); } void QAbstractItemDelegate_CloseEditor(void* ptr, void* editor, long long hint) { static_cast(ptr)->closeEditor(static_cast(editor), static_cast(hint)); } void QAbstractItemDelegate_ConnectCommitData(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemDelegate::commitData), static_cast(ptr), static_cast(&MyQAbstractItemDelegate::Signal_CommitData), static_cast(t)); } void QAbstractItemDelegate_DisconnectCommitData(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemDelegate::commitData), static_cast(ptr), static_cast(&MyQAbstractItemDelegate::Signal_CommitData)); } void QAbstractItemDelegate_CommitData(void* ptr, void* editor) { static_cast(ptr)->commitData(static_cast(editor)); } void* QAbstractItemDelegate_CreateEditor(void* ptr, void* parent, void* option, void* index) { return static_cast(ptr)->createEditor(static_cast(parent), *static_cast(option), *static_cast(index)); } void* QAbstractItemDelegate_CreateEditorDefault(void* ptr, void* parent, void* option, void* index) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStyledItemDelegate::createEditor(static_cast(parent), *static_cast(option), *static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QItemDelegate::createEditor(static_cast(parent), *static_cast(option), *static_cast(index)); } else { return static_cast(ptr)->QAbstractItemDelegate::createEditor(static_cast(parent), *static_cast(option), *static_cast(index)); } } void QAbstractItemDelegate_DestroyEditor(void* ptr, void* editor, void* index) { static_cast(ptr)->destroyEditor(static_cast(editor), *static_cast(index)); } void QAbstractItemDelegate_DestroyEditorDefault(void* ptr, void* editor, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::destroyEditor(static_cast(editor), *static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::destroyEditor(static_cast(editor), *static_cast(index)); } else { static_cast(ptr)->QAbstractItemDelegate::destroyEditor(static_cast(editor), *static_cast(index)); } } char QAbstractItemDelegate_EditorEvent(void* ptr, void* event, void* model, void* option, void* index) { return static_cast(ptr)->editorEvent(static_cast(event), static_cast(model), *static_cast(option), *static_cast(index)); } char QAbstractItemDelegate_EditorEventDefault(void* ptr, void* event, void* model, void* option, void* index) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStyledItemDelegate::editorEvent(static_cast(event), static_cast(model), *static_cast(option), *static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QItemDelegate::editorEvent(static_cast(event), static_cast(model), *static_cast(option), *static_cast(index)); } else { return static_cast(ptr)->QAbstractItemDelegate::editorEvent(static_cast(event), static_cast(model), *static_cast(option), *static_cast(index)); } } char QAbstractItemDelegate_HelpEvent(void* ptr, void* event, void* view, void* option, void* index) { return static_cast(ptr)->helpEvent(static_cast(event), static_cast(view), *static_cast(option), *static_cast(index)); } char QAbstractItemDelegate_HelpEventDefault(void* ptr, void* event, void* view, void* option, void* index) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStyledItemDelegate::helpEvent(static_cast(event), static_cast(view), *static_cast(option), *static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QItemDelegate::helpEvent(static_cast(event), static_cast(view), *static_cast(option), *static_cast(index)); } else { return static_cast(ptr)->QAbstractItemDelegate::helpEvent(static_cast(event), static_cast(view), *static_cast(option), *static_cast(index)); } } void QAbstractItemDelegate_Paint(void* ptr, void* painter, void* option, void* index) { static_cast(ptr)->paint(static_cast(painter), *static_cast(option), *static_cast(index)); } void QAbstractItemDelegate_SetEditorData(void* ptr, void* editor, void* index) { static_cast(ptr)->setEditorData(static_cast(editor), *static_cast(index)); } void QAbstractItemDelegate_SetEditorDataDefault(void* ptr, void* editor, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::setEditorData(static_cast(editor), *static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::setEditorData(static_cast(editor), *static_cast(index)); } else { static_cast(ptr)->QAbstractItemDelegate::setEditorData(static_cast(editor), *static_cast(index)); } } void QAbstractItemDelegate_SetModelData(void* ptr, void* editor, void* model, void* index) { static_cast(ptr)->setModelData(static_cast(editor), static_cast(model), *static_cast(index)); } void QAbstractItemDelegate_SetModelDataDefault(void* ptr, void* editor, void* model, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::setModelData(static_cast(editor), static_cast(model), *static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::setModelData(static_cast(editor), static_cast(model), *static_cast(index)); } else { static_cast(ptr)->QAbstractItemDelegate::setModelData(static_cast(editor), static_cast(model), *static_cast(index)); } } void* QAbstractItemDelegate_SizeHint(void* ptr, void* option, void* index) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(*static_cast(option), *static_cast(index)); new QSize(tmpValue.width(), tmpValue.height()); }); } void QAbstractItemDelegate_ConnectSizeHintChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemDelegate::sizeHintChanged), static_cast(ptr), static_cast(&MyQAbstractItemDelegate::Signal_SizeHintChanged), static_cast(t)); } void QAbstractItemDelegate_DisconnectSizeHintChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemDelegate::sizeHintChanged), static_cast(ptr), static_cast(&MyQAbstractItemDelegate::Signal_SizeHintChanged)); } void QAbstractItemDelegate_SizeHintChanged(void* ptr, void* index) { static_cast(ptr)->sizeHintChanged(*static_cast(index)); } void QAbstractItemDelegate_UpdateEditorGeometry(void* ptr, void* editor, void* option, void* index) { static_cast(ptr)->updateEditorGeometry(static_cast(editor), *static_cast(option), *static_cast(index)); } void QAbstractItemDelegate_UpdateEditorGeometryDefault(void* ptr, void* editor, void* option, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::updateEditorGeometry(static_cast(editor), *static_cast(option), *static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::updateEditorGeometry(static_cast(editor), *static_cast(option), *static_cast(index)); } else { static_cast(ptr)->QAbstractItemDelegate::updateEditorGeometry(static_cast(editor), *static_cast(option), *static_cast(index)); } } void QAbstractItemDelegate_DestroyQAbstractItemDelegate(void* ptr) { static_cast(ptr)->~QAbstractItemDelegate(); } void QAbstractItemDelegate_DestroyQAbstractItemDelegateDefault(void* ptr) { Q_UNUSED(ptr); } int QAbstractItemDelegate___paintingRoles_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); } void QAbstractItemDelegate___paintingRoles_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QAbstractItemDelegate___paintingRoles_newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QAbstractItemDelegate___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAbstractItemDelegate___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QAbstractItemDelegate___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAbstractItemDelegate___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QAbstractItemDelegate___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QAbstractItemDelegate___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAbstractItemDelegate___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAbstractItemDelegate___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QAbstractItemDelegate___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAbstractItemDelegate___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAbstractItemDelegate___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QAbstractItemDelegate___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QAbstractItemDelegate_ChildEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::childEvent(static_cast(event)); } else { static_cast(ptr)->QAbstractItemDelegate::childEvent(static_cast(event)); } } void QAbstractItemDelegate_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QAbstractItemDelegate::connectNotify(*static_cast(sign)); } } void QAbstractItemDelegate_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::customEvent(static_cast(event)); } else { static_cast(ptr)->QAbstractItemDelegate::customEvent(static_cast(event)); } } void QAbstractItemDelegate_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::deleteLater(); } else { static_cast(ptr)->QAbstractItemDelegate::deleteLater(); } } void QAbstractItemDelegate_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QAbstractItemDelegate::disconnectNotify(*static_cast(sign)); } } char QAbstractItemDelegate_EventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStyledItemDelegate::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QItemDelegate::event(static_cast(e)); } else { return static_cast(ptr)->QAbstractItemDelegate::event(static_cast(e)); } } char QAbstractItemDelegate_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStyledItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStyledItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStyledItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStyledItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QStyledItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QAbstractItemDelegate::eventFilter(static_cast(watched), static_cast(event)); } } } void* QAbstractItemDelegate_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QStyledItemDelegate::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QItemDelegate::metaObject()); } else { return const_cast(static_cast(ptr)->QAbstractItemDelegate::metaObject()); } } void QAbstractItemDelegate_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStyledItemDelegate::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QItemDelegate::timerEvent(static_cast(event)); } else { static_cast(ptr)->QAbstractItemDelegate::timerEvent(static_cast(event)); } } class MyQAbstractItemView: public QAbstractItemView { public: MyQAbstractItemView(QWidget *parent = Q_NULLPTR) : QAbstractItemView(parent) {QAbstractItemView_QAbstractItemView_QRegisterMetaType();}; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQAbstractItemView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQAbstractItemView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; int horizontalOffset() const { return callbackQAbstractItemView_HorizontalOffset(const_cast(static_cast(this))); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; QModelIndex indexAt(const QPoint & point) const { return *static_cast(callbackQAbstractItemView_IndexAt(const_cast(static_cast(this)), const_cast(&point))); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQAbstractItemView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQAbstractItemView_MoveCursor(this, cursorAction, modifiers)); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void reset() { callbackQAbstractItemView_Reset(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsInserted(this, const_cast(&parent), start, end); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQAbstractItemView_ScrollTo(this, const_cast(&index), hint); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; void selectAll() { callbackQAbstractItemView_SelectAll(this); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQAbstractItemView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast(&index)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags flags) { callbackQAbstractItemView_SetSelection(this, const_cast(&rect), flags); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; void updateGeometries() { callbackQAbstractItemView_UpdateGeometries(this); }; int verticalOffset() const { return callbackQAbstractItemView_VerticalOffset(const_cast(static_cast(this))); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQAbstractItemView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQAbstractItemView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; ~MyQAbstractItemView() { callbackQAbstractItemView_DestroyQAbstractItemView(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QAbstractItemView*) Q_DECLARE_METATYPE(MyQAbstractItemView*) int QAbstractItemView_QAbstractItemView_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QAbstractItemView_NewQAbstractItemView(void* parent) { return new MyQAbstractItemView(static_cast(parent)); } void QAbstractItemView_ConnectActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemView::activated), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_Activated), static_cast(t)); } void QAbstractItemView_DisconnectActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemView::activated), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_Activated)); } void QAbstractItemView_Activated(void* ptr, void* index) { static_cast(ptr)->activated(*static_cast(index)); } char QAbstractItemView_AlternatingRowColors(void* ptr) { return static_cast(ptr)->alternatingRowColors(); } int QAbstractItemView_AutoScrollMargin(void* ptr) { return static_cast(ptr)->autoScrollMargin(); } void QAbstractItemView_ClearSelection(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clearSelection"); } void QAbstractItemView_ClearSelectionDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::clearSelection(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::clearSelection(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::clearSelection(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::clearSelection(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::clearSelection(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::clearSelection(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::clearSelection(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::clearSelection(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::clearSelection(); } else { static_cast(ptr)->QAbstractItemView::clearSelection(); } } void QAbstractItemView_ConnectClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemView::clicked), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_Clicked), static_cast(t)); } void QAbstractItemView_DisconnectClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemView::clicked), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_Clicked)); } void QAbstractItemView_Clicked(void* ptr, void* index) { static_cast(ptr)->clicked(*static_cast(index)); } void QAbstractItemView_CloseEditor(void* ptr, void* editor, long long hint) { QMetaObject::invokeMethod(static_cast(ptr), "closeEditor", Q_ARG(QWidget*, static_cast(editor)), Q_ARG(QAbstractItemDelegate::EndEditHint, static_cast(hint))); } void QAbstractItemView_CloseEditorDefault(void* ptr, void* editor, long long hint) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::closeEditor(static_cast(editor), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::closeEditor(static_cast(editor), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::closeEditor(static_cast(editor), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::closeEditor(static_cast(editor), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::closeEditor(static_cast(editor), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::closeEditor(static_cast(editor), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::closeEditor(static_cast(editor), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::closeEditor(static_cast(editor), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::closeEditor(static_cast(editor), static_cast(hint)); } else { static_cast(ptr)->QAbstractItemView::closeEditor(static_cast(editor), static_cast(hint)); } } void QAbstractItemView_ClosePersistentEditor(void* ptr, void* index) { static_cast(ptr)->closePersistentEditor(*static_cast(index)); } void QAbstractItemView_CommitData(void* ptr, void* editor) { QMetaObject::invokeMethod(static_cast(ptr), "commitData", Q_ARG(QWidget*, static_cast(editor))); } void QAbstractItemView_CommitDataDefault(void* ptr, void* editor) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::commitData(static_cast(editor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::commitData(static_cast(editor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::commitData(static_cast(editor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::commitData(static_cast(editor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::commitData(static_cast(editor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::commitData(static_cast(editor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::commitData(static_cast(editor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::commitData(static_cast(editor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::commitData(static_cast(editor)); } else { static_cast(ptr)->QAbstractItemView::commitData(static_cast(editor)); } } void QAbstractItemView_CurrentChanged(void* ptr, void* current, void* previous) { QMetaObject::invokeMethod(static_cast(ptr), "currentChanged", Q_ARG(const QModelIndex, *static_cast(current)), Q_ARG(const QModelIndex, *static_cast(previous))); } void QAbstractItemView_CurrentChangedDefault(void* ptr, void* current, void* previous) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::currentChanged(*static_cast(current), *static_cast(previous)); } else { static_cast(ptr)->QAbstractItemView::currentChanged(*static_cast(current), *static_cast(previous)); } } void* QAbstractItemView_CurrentIndex(void* ptr) { return new QModelIndex(static_cast(ptr)->currentIndex()); } void QAbstractItemView_DataChanged(void* ptr, void* topLeft, void* bottomRight, void* roles) { QMetaObject::invokeMethod(static_cast(ptr), "dataChanged", Q_ARG(const QModelIndex, *static_cast(topLeft)), Q_ARG(const QModelIndex, *static_cast(bottomRight)), Q_ARG(const QVector, *static_cast*>(roles))); } void QAbstractItemView_DataChangedDefault(void* ptr, void* topLeft, void* bottomRight, void* roles) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else { static_cast(ptr)->QAbstractItemView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } } long long QAbstractItemView_DefaultDropAction(void* ptr) { return static_cast(ptr)->defaultDropAction(); } void* QAbstractItemView_DirtyRegionOffset(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->dirtyRegionOffset(); new QPoint(tmpValue.x(), tmpValue.y()); }); } void QAbstractItemView_ConnectDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemView::doubleClicked), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_DoubleClicked), static_cast(t)); } void QAbstractItemView_DisconnectDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemView::doubleClicked), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_DoubleClicked)); } void QAbstractItemView_DoubleClicked(void* ptr, void* index) { static_cast(ptr)->doubleClicked(*static_cast(index)); } long long QAbstractItemView_DragDropMode(void* ptr) { return static_cast(ptr)->dragDropMode(); } char QAbstractItemView_DragDropOverwriteMode(void* ptr) { return static_cast(ptr)->dragDropOverwriteMode(); } char QAbstractItemView_DragEnabled(void* ptr) { return static_cast(ptr)->dragEnabled(); } long long QAbstractItemView_DropIndicatorPosition(void* ptr) { return static_cast(ptr)->dropIndicatorPosition(); } void QAbstractItemView_Edit(void* ptr, void* index) { QMetaObject::invokeMethod(static_cast(ptr), "edit", Q_ARG(const QModelIndex, *static_cast(index))); } void QAbstractItemView_EditDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::edit(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::edit(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::edit(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::edit(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::edit(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::edit(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::edit(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::edit(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::edit(*static_cast(index)); } else { static_cast(ptr)->QAbstractItemView::edit(*static_cast(index)); } } char QAbstractItemView_Edit2(void* ptr, void* index, long long trigger, void* event) { return static_cast(ptr)->edit(*static_cast(index), static_cast(trigger), static_cast(event)); } char QAbstractItemView_Edit2Default(void* ptr, void* index, long long trigger, void* event) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } else { return static_cast(ptr)->QAbstractItemView::edit(*static_cast(index), static_cast(trigger), static_cast(event)); } } long long QAbstractItemView_EditTriggers(void* ptr) { return static_cast(ptr)->editTriggers(); } void QAbstractItemView_EditorDestroyed(void* ptr, void* editor) { QMetaObject::invokeMethod(static_cast(ptr), "editorDestroyed", Q_ARG(QObject*, static_cast(editor))); } void QAbstractItemView_EditorDestroyedDefault(void* ptr, void* editor) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTreeWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTreeWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTreeWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTreeWidget::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QTreeWidget::editorDestroyed(static_cast(editor)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTreeView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTreeView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTreeView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTreeView::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QTreeView::editorDestroyed(static_cast(editor)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTableWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTableWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTableWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTableWidget::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QTableWidget::editorDestroyed(static_cast(editor)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTableView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTableView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTableView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QTableView::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QTableView::editorDestroyed(static_cast(editor)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QUndoView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QUndoView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QUndoView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QUndoView::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QUndoView::editorDestroyed(static_cast(editor)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QListWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QListWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QListWidget::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QListWidget::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QListWidget::editorDestroyed(static_cast(editor)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QListView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QListView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QListView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QListView::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QListView::editorDestroyed(static_cast(editor)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QHeaderView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QHeaderView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QHeaderView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QHeaderView::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QHeaderView::editorDestroyed(static_cast(editor)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QColumnView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QColumnView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QColumnView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QColumnView::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QColumnView::editorDestroyed(static_cast(editor)); } } else { if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QAbstractItemView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QAbstractItemView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QAbstractItemView::editorDestroyed(static_cast(editor)); } else if (dynamic_cast(static_cast(editor))) { static_cast(ptr)->QAbstractItemView::editorDestroyed(static_cast(editor)); } else { static_cast(ptr)->QAbstractItemView::editorDestroyed(static_cast(editor)); } } } void QAbstractItemView_ConnectEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemView::entered), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_Entered), static_cast(t)); } void QAbstractItemView_DisconnectEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemView::entered), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_Entered)); } void QAbstractItemView_Entered(void* ptr, void* index) { static_cast(ptr)->entered(*static_cast(index)); } void QAbstractItemView_ExecuteDelayedItemsLayout(void* ptr) { static_cast(ptr)->executeDelayedItemsLayout(); } char QAbstractItemView_HasAutoScroll(void* ptr) { return static_cast(ptr)->hasAutoScroll(); } int QAbstractItemView_HorizontalOffset(void* ptr) { return static_cast(ptr)->horizontalOffset(); } long long QAbstractItemView_HorizontalScrollMode(void* ptr) { return static_cast(ptr)->horizontalScrollMode(); } void* QAbstractItemView_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QAbstractItemView_ConnectIconSizeChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemView::iconSizeChanged), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_IconSizeChanged), static_cast(t)); } void QAbstractItemView_DisconnectIconSizeChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemView::iconSizeChanged), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_IconSizeChanged)); } void QAbstractItemView_IconSizeChanged(void* ptr, void* size) { static_cast(ptr)->iconSizeChanged(*static_cast(size)); } void* QAbstractItemView_IndexAt(void* ptr, void* point) { return new QModelIndex(static_cast(ptr)->indexAt(*static_cast(point))); } void* QAbstractItemView_IndexWidget(void* ptr, void* index) { return static_cast(ptr)->indexWidget(*static_cast(index)); } char QAbstractItemView_IsIndexHidden(void* ptr, void* index) { return static_cast(ptr)->isIndexHidden(*static_cast(index)); } char QAbstractItemView_IsPersistentEditorOpen(void* ptr, void* index) { return static_cast(ptr)->isPersistentEditorOpen(*static_cast(index)); } void* QAbstractItemView_ItemDelegate(void* ptr) { return static_cast(ptr)->itemDelegate(); } void* QAbstractItemView_ItemDelegate2(void* ptr, void* index) { return static_cast(ptr)->itemDelegate(*static_cast(index)); } void* QAbstractItemView_ItemDelegateForColumn(void* ptr, int column) { return static_cast(ptr)->itemDelegateForColumn(column); } void* QAbstractItemView_ItemDelegateForRow(void* ptr, int row) { return static_cast(ptr)->itemDelegateForRow(row); } void QAbstractItemView_KeyboardSearch(void* ptr, struct QtWidgets_PackedString search) { static_cast(ptr)->keyboardSearch(QString::fromUtf8(search.data, search.len)); } void QAbstractItemView_KeyboardSearchDefault(void* ptr, struct QtWidgets_PackedString search) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::keyboardSearch(QString::fromUtf8(search.data, search.len)); } else { static_cast(ptr)->QAbstractItemView::keyboardSearch(QString::fromUtf8(search.data, search.len)); } } void* QAbstractItemView_Model(void* ptr) { return static_cast(ptr)->model(); } void* QAbstractItemView_MoveCursor(void* ptr, long long cursorAction, long long modifiers) { return new QModelIndex(static_cast(ptr)->moveCursor(static_cast(cursorAction), static_cast(modifiers))); } void QAbstractItemView_OpenPersistentEditor(void* ptr, void* index) { static_cast(ptr)->openPersistentEditor(*static_cast(index)); } void QAbstractItemView_ConnectPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemView::pressed), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_Pressed), static_cast(t)); } void QAbstractItemView_DisconnectPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemView::pressed), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_Pressed)); } void QAbstractItemView_Pressed(void* ptr, void* index) { static_cast(ptr)->pressed(*static_cast(index)); } void QAbstractItemView_Reset(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "reset"); } void QAbstractItemView_ResetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::reset(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::reset(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::reset(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::reset(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::reset(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::reset(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::reset(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::reset(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::reset(); } else { static_cast(ptr)->QAbstractItemView::reset(); } } void QAbstractItemView_ResetHorizontalScrollMode(void* ptr) { static_cast(ptr)->resetHorizontalScrollMode(); } void QAbstractItemView_ResetVerticalScrollMode(void* ptr) { static_cast(ptr)->resetVerticalScrollMode(); } void* QAbstractItemView_RootIndex(void* ptr) { return new QModelIndex(static_cast(ptr)->rootIndex()); } void QAbstractItemView_RowsAboutToBeRemoved(void* ptr, void* parent, int start, int end) { QMetaObject::invokeMethod(static_cast(ptr), "rowsAboutToBeRemoved", Q_ARG(const QModelIndex, *static_cast(parent)), Q_ARG(int, start), Q_ARG(int, end)); } void QAbstractItemView_RowsAboutToBeRemovedDefault(void* ptr, void* parent, int start, int end) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else { static_cast(ptr)->QAbstractItemView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } } void QAbstractItemView_RowsInserted(void* ptr, void* parent, int start, int end) { QMetaObject::invokeMethod(static_cast(ptr), "rowsInserted", Q_ARG(const QModelIndex, *static_cast(parent)), Q_ARG(int, start), Q_ARG(int, end)); } void QAbstractItemView_RowsInsertedDefault(void* ptr, void* parent, int start, int end) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::rowsInserted(*static_cast(parent), start, end); } else { static_cast(ptr)->QAbstractItemView::rowsInserted(*static_cast(parent), start, end); } } void QAbstractItemView_ScheduleDelayedItemsLayout(void* ptr) { static_cast(ptr)->scheduleDelayedItemsLayout(); } void QAbstractItemView_ScrollDirtyRegion(void* ptr, int dx, int dy) { static_cast(ptr)->scrollDirtyRegion(dx, dy); } void QAbstractItemView_ScrollTo(void* ptr, void* index, long long hint) { static_cast(ptr)->scrollTo(*static_cast(index), static_cast(hint)); } void QAbstractItemView_ScrollToBottom(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "scrollToBottom"); } void QAbstractItemView_ScrollToBottomDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::scrollToBottom(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::scrollToBottom(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::scrollToBottom(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::scrollToBottom(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::scrollToBottom(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::scrollToBottom(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::scrollToBottom(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::scrollToBottom(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::scrollToBottom(); } else { static_cast(ptr)->QAbstractItemView::scrollToBottom(); } } void QAbstractItemView_ScrollToTop(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "scrollToTop"); } void QAbstractItemView_ScrollToTopDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::scrollToTop(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::scrollToTop(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::scrollToTop(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::scrollToTop(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::scrollToTop(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::scrollToTop(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::scrollToTop(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::scrollToTop(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::scrollToTop(); } else { static_cast(ptr)->QAbstractItemView::scrollToTop(); } } void QAbstractItemView_SelectAll(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "selectAll"); } void QAbstractItemView_SelectAllDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::selectAll(); } else { static_cast(ptr)->QAbstractItemView::selectAll(); } } struct QtWidgets_PackedList QAbstractItemView_SelectedIndexes(void* ptr) { return ({ QList* tmpValue765a4d = new QList(static_cast(ptr)->selectedIndexes()); QtWidgets_PackedList { tmpValue765a4d, tmpValue765a4d->size() }; }); } struct QtWidgets_PackedList QAbstractItemView_SelectedIndexesDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QTreeWidget::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QTreeView::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QTableWidget::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QTableView::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QUndoView::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QListWidget::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QListView::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QHeaderView::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QColumnView::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } else { return ({ QList* tmpValuec60d90 = new QList(static_cast(ptr)->QAbstractItemView::selectedIndexes()); QtWidgets_PackedList { tmpValuec60d90, tmpValuec60d90->size() }; }); } } long long QAbstractItemView_SelectionBehavior(void* ptr) { return static_cast(ptr)->selectionBehavior(); } void QAbstractItemView_SelectionChanged(void* ptr, void* selected, void* deselected) { QMetaObject::invokeMethod(static_cast(ptr), "selectionChanged", Q_ARG(const QItemSelection, *static_cast(selected)), Q_ARG(const QItemSelection, *static_cast(deselected))); } void QAbstractItemView_SelectionChangedDefault(void* ptr, void* selected, void* deselected) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else { static_cast(ptr)->QAbstractItemView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } } long long QAbstractItemView_SelectionCommand(void* ptr, void* index, void* event) { return static_cast(ptr)->selectionCommand(*static_cast(index), static_cast(event)); } long long QAbstractItemView_SelectionCommandDefault(void* ptr, void* index, void* event) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::selectionCommand(*static_cast(index), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::selectionCommand(*static_cast(index), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::selectionCommand(*static_cast(index), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::selectionCommand(*static_cast(index), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::selectionCommand(*static_cast(index), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::selectionCommand(*static_cast(index), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::selectionCommand(*static_cast(index), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::selectionCommand(*static_cast(index), static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::selectionCommand(*static_cast(index), static_cast(event)); } else { return static_cast(ptr)->QAbstractItemView::selectionCommand(*static_cast(index), static_cast(event)); } } long long QAbstractItemView_SelectionMode(void* ptr) { return static_cast(ptr)->selectionMode(); } void* QAbstractItemView_SelectionModel(void* ptr) { return static_cast(ptr)->selectionModel(); } void QAbstractItemView_SetAlternatingRowColors(void* ptr, char enable) { static_cast(ptr)->setAlternatingRowColors(enable != 0); } void QAbstractItemView_SetAutoScroll(void* ptr, char enable) { static_cast(ptr)->setAutoScroll(enable != 0); } void QAbstractItemView_SetAutoScrollMargin(void* ptr, int margin) { static_cast(ptr)->setAutoScrollMargin(margin); } void QAbstractItemView_SetCurrentIndex(void* ptr, void* index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(const QModelIndex, *static_cast(index))); } void QAbstractItemView_SetCurrentIndexDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setCurrentIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setCurrentIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setCurrentIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setCurrentIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setCurrentIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setCurrentIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setCurrentIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setCurrentIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setCurrentIndex(*static_cast(index)); } else { static_cast(ptr)->QAbstractItemView::setCurrentIndex(*static_cast(index)); } } void QAbstractItemView_SetDefaultDropAction(void* ptr, long long dropAction) { static_cast(ptr)->setDefaultDropAction(static_cast(dropAction)); } void QAbstractItemView_SetDirtyRegion(void* ptr, void* region) { static_cast(ptr)->setDirtyRegion(*static_cast(region)); } void QAbstractItemView_SetDragDropMode(void* ptr, long long behavior) { static_cast(ptr)->setDragDropMode(static_cast(behavior)); } void QAbstractItemView_SetDragDropOverwriteMode(void* ptr, char overwrite) { static_cast(ptr)->setDragDropOverwriteMode(overwrite != 0); } void QAbstractItemView_SetDragEnabled(void* ptr, char enable) { static_cast(ptr)->setDragEnabled(enable != 0); } void QAbstractItemView_SetDropIndicatorShown(void* ptr, char enable) { static_cast(ptr)->setDropIndicatorShown(enable != 0); } void QAbstractItemView_SetEditTriggers(void* ptr, long long triggers) { static_cast(ptr)->setEditTriggers(static_cast(triggers)); } void QAbstractItemView_SetHorizontalScrollMode(void* ptr, long long mode) { static_cast(ptr)->setHorizontalScrollMode(static_cast(mode)); } void QAbstractItemView_SetIconSize(void* ptr, void* size) { static_cast(ptr)->setIconSize(*static_cast(size)); } void QAbstractItemView_SetIndexWidget(void* ptr, void* index, void* widget) { static_cast(ptr)->setIndexWidget(*static_cast(index), static_cast(widget)); } void QAbstractItemView_SetItemDelegate(void* ptr, void* delegate) { static_cast(ptr)->setItemDelegate(static_cast(delegate)); } void QAbstractItemView_SetItemDelegateForColumn(void* ptr, int column, void* delegate) { static_cast(ptr)->setItemDelegateForColumn(column, static_cast(delegate)); } void QAbstractItemView_SetItemDelegateForRow(void* ptr, int row, void* delegate) { static_cast(ptr)->setItemDelegateForRow(row, static_cast(delegate)); } void QAbstractItemView_SetModel(void* ptr, void* model) { static_cast(ptr)->setModel(static_cast(model)); } void QAbstractItemView_SetModelDefault(void* ptr, void* model) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setModel(static_cast(model)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setModel(static_cast(model)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setModel(static_cast(model)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setModel(static_cast(model)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setModel(static_cast(model)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setModel(static_cast(model)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setModel(static_cast(model)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setModel(static_cast(model)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setModel(static_cast(model)); } else { static_cast(ptr)->QAbstractItemView::setModel(static_cast(model)); } } void QAbstractItemView_SetRootIndex(void* ptr, void* index) { QMetaObject::invokeMethod(static_cast(ptr), "setRootIndex", Q_ARG(const QModelIndex, *static_cast(index))); } void QAbstractItemView_SetRootIndexDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setRootIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setRootIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setRootIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setRootIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setRootIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setRootIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setRootIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setRootIndex(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setRootIndex(*static_cast(index)); } else { static_cast(ptr)->QAbstractItemView::setRootIndex(*static_cast(index)); } } void QAbstractItemView_SetSelection(void* ptr, void* rect, long long flags) { static_cast(ptr)->setSelection(*static_cast(rect), static_cast(flags)); } void QAbstractItemView_SetSelectionBehavior(void* ptr, long long behavior) { static_cast(ptr)->setSelectionBehavior(static_cast(behavior)); } void QAbstractItemView_SetSelectionMode(void* ptr, long long mode) { static_cast(ptr)->setSelectionMode(static_cast(mode)); } void QAbstractItemView_SetSelectionModel(void* ptr, void* selectionModel) { static_cast(ptr)->setSelectionModel(static_cast(selectionModel)); } void QAbstractItemView_SetSelectionModelDefault(void* ptr, void* selectionModel) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setSelectionModel(static_cast(selectionModel)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setSelectionModel(static_cast(selectionModel)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setSelectionModel(static_cast(selectionModel)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setSelectionModel(static_cast(selectionModel)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setSelectionModel(static_cast(selectionModel)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setSelectionModel(static_cast(selectionModel)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setSelectionModel(static_cast(selectionModel)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setSelectionModel(static_cast(selectionModel)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setSelectionModel(static_cast(selectionModel)); } else { static_cast(ptr)->QAbstractItemView::setSelectionModel(static_cast(selectionModel)); } } void QAbstractItemView_SetState(void* ptr, long long state) { static_cast(ptr)->setState(static_cast(state)); } void QAbstractItemView_SetTabKeyNavigation(void* ptr, char enable) { static_cast(ptr)->setTabKeyNavigation(enable != 0); } void QAbstractItemView_SetTextElideMode(void* ptr, long long mode) { static_cast(ptr)->setTextElideMode(static_cast(mode)); } void QAbstractItemView_SetVerticalScrollMode(void* ptr, long long mode) { static_cast(ptr)->setVerticalScrollMode(static_cast(mode)); } char QAbstractItemView_ShowDropIndicator(void* ptr) { return static_cast(ptr)->showDropIndicator(); } int QAbstractItemView_SizeHintForColumn(void* ptr, int column) { return static_cast(ptr)->sizeHintForColumn(column); } int QAbstractItemView_SizeHintForColumnDefault(void* ptr, int column) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::sizeHintForColumn(column); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::sizeHintForColumn(column); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::sizeHintForColumn(column); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::sizeHintForColumn(column); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::sizeHintForColumn(column); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::sizeHintForColumn(column); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::sizeHintForColumn(column); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::sizeHintForColumn(column); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::sizeHintForColumn(column); } else { return static_cast(ptr)->QAbstractItemView::sizeHintForColumn(column); } } void* QAbstractItemView_SizeHintForIndex(void* ptr, void* index) { return ({ QSize tmpValue = static_cast(ptr)->sizeHintForIndex(*static_cast(index)); new QSize(tmpValue.width(), tmpValue.height()); }); } int QAbstractItemView_SizeHintForRow(void* ptr, int row) { return static_cast(ptr)->sizeHintForRow(row); } int QAbstractItemView_SizeHintForRowDefault(void* ptr, int row) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::sizeHintForRow(row); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::sizeHintForRow(row); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::sizeHintForRow(row); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::sizeHintForRow(row); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::sizeHintForRow(row); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::sizeHintForRow(row); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::sizeHintForRow(row); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::sizeHintForRow(row); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::sizeHintForRow(row); } else { return static_cast(ptr)->QAbstractItemView::sizeHintForRow(row); } } void QAbstractItemView_StartDrag(void* ptr, long long supportedActions) { static_cast(ptr)->startDrag(static_cast(supportedActions)); } void QAbstractItemView_StartDragDefault(void* ptr, long long supportedActions) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::startDrag(static_cast(supportedActions)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::startDrag(static_cast(supportedActions)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::startDrag(static_cast(supportedActions)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::startDrag(static_cast(supportedActions)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::startDrag(static_cast(supportedActions)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::startDrag(static_cast(supportedActions)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::startDrag(static_cast(supportedActions)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::startDrag(static_cast(supportedActions)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::startDrag(static_cast(supportedActions)); } else { static_cast(ptr)->QAbstractItemView::startDrag(static_cast(supportedActions)); } } long long QAbstractItemView_State(void* ptr) { return static_cast(ptr)->state(); } char QAbstractItemView_TabKeyNavigation(void* ptr) { return static_cast(ptr)->tabKeyNavigation(); } long long QAbstractItemView_TextElideMode(void* ptr) { return static_cast(ptr)->textElideMode(); } void QAbstractItemView_Update(void* ptr, void* index) { QMetaObject::invokeMethod(static_cast(ptr), "update", Q_ARG(const QModelIndex, *static_cast(index))); } void QAbstractItemView_UpdateDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::update(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::update(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::update(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::update(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::update(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::update(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::update(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::update(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::update(*static_cast(index)); } else { static_cast(ptr)->QAbstractItemView::update(*static_cast(index)); } } void QAbstractItemView_UpdateGeometries(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "updateGeometries"); } void QAbstractItemView_UpdateGeometriesDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::updateGeometries(); } else { static_cast(ptr)->QAbstractItemView::updateGeometries(); } } int QAbstractItemView_VerticalOffset(void* ptr) { return static_cast(ptr)->verticalOffset(); } long long QAbstractItemView_VerticalScrollMode(void* ptr) { return static_cast(ptr)->verticalScrollMode(); } void* QAbstractItemView_ViewOptions(void* ptr) { return new QStyleOptionViewItem(static_cast(ptr)->viewOptions()); } void* QAbstractItemView_ViewOptionsDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QTreeWidget::viewOptions()); } else if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QTreeView::viewOptions()); } else if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QTableWidget::viewOptions()); } else if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QTableView::viewOptions()); } else if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QUndoView::viewOptions()); } else if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QListWidget::viewOptions()); } else if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QListView::viewOptions()); } else if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QHeaderView::viewOptions()); } else if (dynamic_cast(static_cast(ptr))) { return new QStyleOptionViewItem(static_cast(ptr)->QColumnView::viewOptions()); } else { return new QStyleOptionViewItem(static_cast(ptr)->QAbstractItemView::viewOptions()); } } void QAbstractItemView_ConnectViewportEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractItemView::viewportEntered), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_ViewportEntered), static_cast(t)); } void QAbstractItemView_DisconnectViewportEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractItemView::viewportEntered), static_cast(ptr), static_cast(&MyQAbstractItemView::Signal_ViewportEntered)); } void QAbstractItemView_ViewportEntered(void* ptr) { static_cast(ptr)->viewportEntered(); } void* QAbstractItemView_VisualRect(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QAbstractItemView_VisualRegionForSelection(void* ptr, void* selection) { return new QRegion(static_cast(ptr)->visualRegionForSelection(*static_cast(selection))); } void QAbstractItemView_DestroyQAbstractItemView(void* ptr) { static_cast(ptr)->~QAbstractItemView(); } void QAbstractItemView_DestroyQAbstractItemViewDefault(void* ptr) { Q_UNUSED(ptr); } int QAbstractItemView___dataChanged_roles_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); } void QAbstractItemView___dataChanged_roles_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QAbstractItemView___dataChanged_roles_newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QAbstractItemView___selectedIndexes_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QAbstractItemView___selectedIndexes_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QAbstractItemView___selectedIndexes_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQAbstractScrollArea: public QAbstractScrollArea { public: MyQAbstractScrollArea(QWidget *parent = Q_NULLPTR) : QAbstractScrollArea(parent) {QAbstractScrollArea_QAbstractScrollArea_QRegisterMetaType();}; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; ~MyQAbstractScrollArea() { callbackQAbstractScrollArea_DestroyQAbstractScrollArea(this); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QAbstractScrollArea*) Q_DECLARE_METATYPE(MyQAbstractScrollArea*) int QAbstractScrollArea_QAbstractScrollArea_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QAbstractScrollArea_NewQAbstractScrollArea(void* parent) { return new MyQAbstractScrollArea(static_cast(parent)); } void QAbstractScrollArea_AddScrollBarWidget(void* ptr, void* widget, long long alignment) { static_cast(ptr)->addScrollBarWidget(static_cast(widget), static_cast(alignment)); } void* QAbstractScrollArea_CornerWidget(void* ptr) { return static_cast(ptr)->cornerWidget(); } void* QAbstractScrollArea_HorizontalScrollBar(void* ptr) { return static_cast(ptr)->horizontalScrollBar(); } long long QAbstractScrollArea_HorizontalScrollBarPolicy(void* ptr) { return static_cast(ptr)->horizontalScrollBarPolicy(); } void* QAbstractScrollArea_MaximumViewportSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->maximumViewportSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } struct QtWidgets_PackedList QAbstractScrollArea_ScrollBarWidgets(void* ptr, long long alignment) { return ({ QList* tmpValue2f39ff = new QList(static_cast(ptr)->scrollBarWidgets(static_cast(alignment))); QtWidgets_PackedList { tmpValue2f39ff, tmpValue2f39ff->size() }; }); } void QAbstractScrollArea_ScrollContentsBy(void* ptr, int dx, int dy) { static_cast(ptr)->scrollContentsBy(dx, dy); } void QAbstractScrollArea_ScrollContentsByDefault(void* ptr, int dx, int dy) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::scrollContentsBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::scrollContentsBy(dx, dy); } else { static_cast(ptr)->QAbstractScrollArea::scrollContentsBy(dx, dy); } } void QAbstractScrollArea_SetCornerWidget(void* ptr, void* widget) { static_cast(ptr)->setCornerWidget(static_cast(widget)); } void QAbstractScrollArea_SetHorizontalScrollBar(void* ptr, void* scrollBar) { static_cast(ptr)->setHorizontalScrollBar(static_cast(scrollBar)); } void QAbstractScrollArea_SetHorizontalScrollBarPolicy(void* ptr, long long vqt) { static_cast(ptr)->setHorizontalScrollBarPolicy(static_cast(vqt)); } void QAbstractScrollArea_SetSizeAdjustPolicy(void* ptr, long long policy) { static_cast(ptr)->setSizeAdjustPolicy(static_cast(policy)); } void QAbstractScrollArea_SetVerticalScrollBar(void* ptr, void* scrollBar) { static_cast(ptr)->setVerticalScrollBar(static_cast(scrollBar)); } void QAbstractScrollArea_SetVerticalScrollBarPolicy(void* ptr, long long vqt) { static_cast(ptr)->setVerticalScrollBarPolicy(static_cast(vqt)); } void QAbstractScrollArea_SetViewport(void* ptr, void* widget) { static_cast(ptr)->setViewport(static_cast(widget)); } void QAbstractScrollArea_SetViewportMargins(void* ptr, int left, int top, int right, int bottom) { static_cast(ptr)->setViewportMargins(left, top, right, bottom); } void QAbstractScrollArea_SetViewportMargins2(void* ptr, void* margins) { static_cast(ptr)->setViewportMargins(*static_cast(margins)); } void QAbstractScrollArea_SetupViewport(void* ptr, void* viewport) { static_cast(ptr)->setupViewport(static_cast(viewport)); } void QAbstractScrollArea_SetupViewportDefault(void* ptr, void* viewport) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setupViewport(static_cast(viewport)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setupViewport(static_cast(viewport)); } else { static_cast(ptr)->QAbstractScrollArea::setupViewport(static_cast(viewport)); } } long long QAbstractScrollArea_SizeAdjustPolicy(void* ptr) { return static_cast(ptr)->sizeAdjustPolicy(); } void* QAbstractScrollArea_VerticalScrollBar(void* ptr) { return static_cast(ptr)->verticalScrollBar(); } long long QAbstractScrollArea_VerticalScrollBarPolicy(void* ptr) { return static_cast(ptr)->verticalScrollBarPolicy(); } void* QAbstractScrollArea_Viewport(void* ptr) { return static_cast(ptr)->viewport(); } char QAbstractScrollArea_ViewportEvent(void* ptr, void* event) { return static_cast(ptr)->viewportEvent(static_cast(event)); } char QAbstractScrollArea_ViewportEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::viewportEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::viewportEvent(static_cast(event)); } else { return static_cast(ptr)->QAbstractScrollArea::viewportEvent(static_cast(event)); } } void* QAbstractScrollArea_ViewportMargins(void* ptr) { return ({ QMargins tmpValue = static_cast(ptr)->viewportMargins(); new QMargins(tmpValue.left(), tmpValue.top(), tmpValue.right(), tmpValue.bottom()); }); } void* QAbstractScrollArea_ViewportSizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QAbstractScrollArea_ViewportSizeHintDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QPlainTextEdit::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTextBrowser::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTextEdit::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMdiArea::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QGraphicsView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QScrollArea::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTreeWidget::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTreeView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTableWidget::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTableView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QUndoView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QListWidget::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QListView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QHeaderView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QColumnView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractItemView::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->QAbstractScrollArea::viewportSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } } void QAbstractScrollArea_DestroyQAbstractScrollArea(void* ptr) { static_cast(ptr)->~QAbstractScrollArea(); } void QAbstractScrollArea_DestroyQAbstractScrollAreaDefault(void* ptr) { Q_UNUSED(ptr); } void* QAbstractScrollArea___scrollBarWidgets_atList(void* ptr, int i) { return ({QWidget * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAbstractScrollArea___scrollBarWidgets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QAbstractScrollArea___scrollBarWidgets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQAbstractSlider: public QAbstractSlider { public: MyQAbstractSlider(QWidget *parent = Q_NULLPTR) : QAbstractSlider(parent) {QAbstractSlider_QAbstractSlider_QRegisterMetaType();}; void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); }; void Signal_RangeChanged(int min, int max) { callbackQAbstractSlider_RangeChanged(this, min, max); }; void setOrientation(Qt::Orientation vqt) { callbackQAbstractSlider_SetOrientation(this, vqt); }; void setRange(int min, int max) { callbackQAbstractSlider_SetRange(this, min, max); }; void setValue(int vin) { callbackQAbstractSlider_SetValue(this, vin); }; void sliderChange(QAbstractSlider::SliderChange change) { callbackQAbstractSlider_SliderChange(this, change); }; void Signal_SliderMoved(int value) { callbackQAbstractSlider_SliderMoved(this, value); }; void Signal_SliderPressed() { callbackQAbstractSlider_SliderPressed(this); }; void Signal_SliderReleased() { callbackQAbstractSlider_SliderReleased(this); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void Signal_ValueChanged(int value) { callbackQAbstractSlider_ValueChanged(this, value); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; ~MyQAbstractSlider() { callbackQAbstractSlider_DestroyQAbstractSlider(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QAbstractSlider*) Q_DECLARE_METATYPE(MyQAbstractSlider*) int QAbstractSlider_QAbstractSlider_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QAbstractSlider_NewQAbstractSlider(void* parent) { return new MyQAbstractSlider(static_cast(parent)); } void QAbstractSlider_ConnectActionTriggered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractSlider::actionTriggered), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_ActionTriggered), static_cast(t)); } void QAbstractSlider_DisconnectActionTriggered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractSlider::actionTriggered), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_ActionTriggered)); } void QAbstractSlider_ActionTriggered(void* ptr, int action) { static_cast(ptr)->actionTriggered(action); } char QAbstractSlider_HasTracking(void* ptr) { return static_cast(ptr)->hasTracking(); } char QAbstractSlider_InvertedAppearance(void* ptr) { return static_cast(ptr)->invertedAppearance(); } char QAbstractSlider_InvertedControls(void* ptr) { return static_cast(ptr)->invertedControls(); } char QAbstractSlider_IsSliderDown(void* ptr) { return static_cast(ptr)->isSliderDown(); } int QAbstractSlider_Maximum(void* ptr) { return static_cast(ptr)->maximum(); } int QAbstractSlider_Minimum(void* ptr) { return static_cast(ptr)->minimum(); } long long QAbstractSlider_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } int QAbstractSlider_PageStep(void* ptr) { return static_cast(ptr)->pageStep(); } void QAbstractSlider_ConnectRangeChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractSlider::rangeChanged), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_RangeChanged), static_cast(t)); } void QAbstractSlider_DisconnectRangeChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractSlider::rangeChanged), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_RangeChanged)); } void QAbstractSlider_RangeChanged(void* ptr, int min, int max) { static_cast(ptr)->rangeChanged(min, max); } long long QAbstractSlider_RepeatAction(void* ptr) { return static_cast(ptr)->repeatAction(); } void QAbstractSlider_SetInvertedAppearance(void* ptr, char vbo) { static_cast(ptr)->setInvertedAppearance(vbo != 0); } void QAbstractSlider_SetInvertedControls(void* ptr, char vbo) { static_cast(ptr)->setInvertedControls(vbo != 0); } void QAbstractSlider_SetMaximum(void* ptr, int vin) { static_cast(ptr)->setMaximum(vin); } void QAbstractSlider_SetMinimum(void* ptr, int vin) { static_cast(ptr)->setMinimum(vin); } void QAbstractSlider_SetOrientation(void* ptr, long long vqt) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "setOrientation", Q_ARG(Qt::Orientation, static_cast(vqt))); } void QAbstractSlider_SetOrientationDefault(void* ptr, long long vqt) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setOrientation(static_cast(vqt)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setOrientation(static_cast(vqt)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setOrientation(static_cast(vqt)); } else { static_cast(ptr)->QAbstractSlider::setOrientation(static_cast(vqt)); } } void QAbstractSlider_SetPageStep(void* ptr, int vin) { static_cast(ptr)->setPageStep(vin); } void QAbstractSlider_SetRange(void* ptr, int min, int max) { QMetaObject::invokeMethod(static_cast(ptr), "setRange", Q_ARG(int, min), Q_ARG(int, max)); } void QAbstractSlider_SetRangeDefault(void* ptr, int min, int max) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setRange(min, max); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setRange(min, max); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setRange(min, max); } else { static_cast(ptr)->QAbstractSlider::setRange(min, max); } } void QAbstractSlider_SetRepeatAction(void* ptr, long long action, int thresholdTime, int repeatTime) { static_cast(ptr)->setRepeatAction(static_cast(action), thresholdTime, repeatTime); } void QAbstractSlider_SetSingleStep(void* ptr, int vin) { static_cast(ptr)->setSingleStep(vin); } void QAbstractSlider_SetSliderDown(void* ptr, char vbo) { static_cast(ptr)->setSliderDown(vbo != 0); } void QAbstractSlider_SetSliderPosition(void* ptr, int vin) { static_cast(ptr)->setSliderPosition(vin); } void QAbstractSlider_SetTracking(void* ptr, char enable) { static_cast(ptr)->setTracking(enable != 0); } void QAbstractSlider_SetValue(void* ptr, int vin) { QMetaObject::invokeMethod(static_cast(ptr), "setValue", Q_ARG(int, vin)); } void QAbstractSlider_SetValueDefault(void* ptr, int vin) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setValue(vin); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setValue(vin); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setValue(vin); } else { static_cast(ptr)->QAbstractSlider::setValue(vin); } } int QAbstractSlider_SingleStep(void* ptr) { return static_cast(ptr)->singleStep(); } void QAbstractSlider_SliderChange(void* ptr, long long change) { static_cast(ptr)->sliderChange(static_cast(change)); } void QAbstractSlider_SliderChangeDefault(void* ptr, long long change) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::sliderChange(static_cast(change)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::sliderChange(static_cast(change)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::sliderChange(static_cast(change)); } else { static_cast(ptr)->QAbstractSlider::sliderChange(static_cast(change)); } } void QAbstractSlider_ConnectSliderMoved(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractSlider::sliderMoved), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_SliderMoved), static_cast(t)); } void QAbstractSlider_DisconnectSliderMoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractSlider::sliderMoved), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_SliderMoved)); } void QAbstractSlider_SliderMoved(void* ptr, int value) { static_cast(ptr)->sliderMoved(value); } int QAbstractSlider_SliderPosition(void* ptr) { return static_cast(ptr)->sliderPosition(); } void QAbstractSlider_ConnectSliderPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractSlider::sliderPressed), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_SliderPressed), static_cast(t)); } void QAbstractSlider_DisconnectSliderPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractSlider::sliderPressed), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_SliderPressed)); } void QAbstractSlider_SliderPressed(void* ptr) { static_cast(ptr)->sliderPressed(); } void QAbstractSlider_ConnectSliderReleased(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractSlider::sliderReleased), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_SliderReleased), static_cast(t)); } void QAbstractSlider_DisconnectSliderReleased(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractSlider::sliderReleased), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_SliderReleased)); } void QAbstractSlider_SliderReleased(void* ptr) { static_cast(ptr)->sliderReleased(); } void QAbstractSlider_TriggerAction(void* ptr, long long action) { static_cast(ptr)->triggerAction(static_cast(action)); } int QAbstractSlider_Value(void* ptr) { return static_cast(ptr)->value(); } void QAbstractSlider_ConnectValueChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractSlider::valueChanged), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_ValueChanged), static_cast(t)); } void QAbstractSlider_DisconnectValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractSlider::valueChanged), static_cast(ptr), static_cast(&MyQAbstractSlider::Signal_ValueChanged)); } void QAbstractSlider_ValueChanged(void* ptr, int value) { static_cast(ptr)->valueChanged(value); } void QAbstractSlider_DestroyQAbstractSlider(void* ptr) { static_cast(ptr)->~QAbstractSlider(); } void QAbstractSlider_DestroyQAbstractSliderDefault(void* ptr) { Q_UNUSED(ptr); } class MyQAbstractSpinBox: public QAbstractSpinBox { public: MyQAbstractSpinBox(QWidget *parent = Q_NULLPTR) : QAbstractSpinBox(parent) {QAbstractSpinBox_QAbstractSpinBox_QRegisterMetaType();}; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void clear() { callbackQAbstractSpinBox_Clear(this); }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void fixup(QString & input) const { QByteArray* t140f86 = new QByteArray(input.toUtf8()); QtWidgets_PackedString inputPacked = { const_cast(t140f86->prepend("WHITESPACE").constData()+10), t140f86->size()-10, t140f86 };callbackQAbstractSpinBox_Fixup(const_cast(static_cast(this)), inputPacked); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void selectAll() { callbackQAbstractSpinBox_SelectAll(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); }; void stepDown() { callbackQAbstractSpinBox_StepDown(this); }; QAbstractSpinBox::StepEnabled stepEnabled() const { return static_cast(callbackQAbstractSpinBox_StepEnabled(const_cast(static_cast(this)))); }; void stepUp() { callbackQAbstractSpinBox_StepUp(this); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; QValidator::State validate(QString & input, int & pos) const { QByteArray* t140f86 = new QByteArray(input.toUtf8()); QtWidgets_PackedString inputPacked = { const_cast(t140f86->prepend("WHITESPACE").constData()+10), t140f86->size()-10, t140f86 };return static_cast(callbackQAbstractSpinBox_Validate(const_cast(static_cast(this)), inputPacked, pos)); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; ~MyQAbstractSpinBox() { callbackQAbstractSpinBox_DestroyQAbstractSpinBox(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QAbstractSpinBox*) Q_DECLARE_METATYPE(MyQAbstractSpinBox*) int QAbstractSpinBox_QAbstractSpinBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QAbstractSpinBox_NewQAbstractSpinBox(void* parent) { return new MyQAbstractSpinBox(static_cast(parent)); } long long QAbstractSpinBox_Alignment(void* ptr) { return static_cast(ptr)->alignment(); } long long QAbstractSpinBox_ButtonSymbols(void* ptr) { return static_cast(ptr)->buttonSymbols(); } void QAbstractSpinBox_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QAbstractSpinBox_ClearDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::clear(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::clear(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::clear(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::clear(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::clear(); } else { static_cast(ptr)->QAbstractSpinBox::clear(); } } long long QAbstractSpinBox_CorrectionMode(void* ptr) { return static_cast(ptr)->correctionMode(); } void QAbstractSpinBox_ConnectEditingFinished(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAbstractSpinBox::editingFinished), static_cast(ptr), static_cast(&MyQAbstractSpinBox::Signal_EditingFinished), static_cast(t)); } void QAbstractSpinBox_DisconnectEditingFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAbstractSpinBox::editingFinished), static_cast(ptr), static_cast(&MyQAbstractSpinBox::Signal_EditingFinished)); } void QAbstractSpinBox_EditingFinished(void* ptr) { static_cast(ptr)->editingFinished(); } void QAbstractSpinBox_Fixup(void* ptr, struct QtWidgets_PackedString input) { static_cast(ptr)->fixup(*(new QString(QString::fromUtf8(input.data, input.len)))); } void QAbstractSpinBox_FixupDefault(void* ptr, struct QtWidgets_PackedString input) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::fixup(*(new QString(QString::fromUtf8(input.data, input.len)))); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::fixup(*(new QString(QString::fromUtf8(input.data, input.len)))); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::fixup(*(new QString(QString::fromUtf8(input.data, input.len)))); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::fixup(*(new QString(QString::fromUtf8(input.data, input.len)))); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::fixup(*(new QString(QString::fromUtf8(input.data, input.len)))); } else { static_cast(ptr)->QAbstractSpinBox::fixup(*(new QString(QString::fromUtf8(input.data, input.len)))); } } char QAbstractSpinBox_HasAcceptableInput(void* ptr) { return static_cast(ptr)->hasAcceptableInput(); } char QAbstractSpinBox_HasFrame(void* ptr) { return static_cast(ptr)->hasFrame(); } void QAbstractSpinBox_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } void QAbstractSpinBox_InterpretText(void* ptr) { static_cast(ptr)->interpretText(); } char QAbstractSpinBox_IsAccelerated(void* ptr) { return static_cast(ptr)->isAccelerated(); } char QAbstractSpinBox_IsGroupSeparatorShown(void* ptr) { return static_cast(ptr)->isGroupSeparatorShown(); } char QAbstractSpinBox_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } char QAbstractSpinBox_KeyboardTracking(void* ptr) { return static_cast(ptr)->keyboardTracking(); } void* QAbstractSpinBox_LineEdit(void* ptr) { return static_cast(ptr)->lineEdit(); } void QAbstractSpinBox_SelectAll(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "selectAll"); } void QAbstractSpinBox_SelectAllDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::selectAll(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::selectAll(); } else { static_cast(ptr)->QAbstractSpinBox::selectAll(); } } void QAbstractSpinBox_SetAccelerated(void* ptr, char on) { static_cast(ptr)->setAccelerated(on != 0); } void QAbstractSpinBox_SetAlignment(void* ptr, long long flag) { static_cast(ptr)->setAlignment(static_cast(flag)); } void QAbstractSpinBox_SetButtonSymbols(void* ptr, long long bs) { static_cast(ptr)->setButtonSymbols(static_cast(bs)); } void QAbstractSpinBox_SetCorrectionMode(void* ptr, long long cm) { static_cast(ptr)->setCorrectionMode(static_cast(cm)); } void QAbstractSpinBox_SetFrame(void* ptr, char vbo) { static_cast(ptr)->setFrame(vbo != 0); } void QAbstractSpinBox_SetGroupSeparatorShown(void* ptr, char shown) { static_cast(ptr)->setGroupSeparatorShown(shown != 0); } void QAbstractSpinBox_SetKeyboardTracking(void* ptr, char kt) { static_cast(ptr)->setKeyboardTracking(kt != 0); } void QAbstractSpinBox_SetLineEdit(void* ptr, void* lineEdit) { static_cast(ptr)->setLineEdit(static_cast(lineEdit)); } void QAbstractSpinBox_SetReadOnly(void* ptr, char r) { static_cast(ptr)->setReadOnly(r != 0); } void QAbstractSpinBox_SetSpecialValueText(void* ptr, struct QtWidgets_PackedString txt) { static_cast(ptr)->setSpecialValueText(QString::fromUtf8(txt.data, txt.len)); } void QAbstractSpinBox_SetWrapping(void* ptr, char w) { static_cast(ptr)->setWrapping(w != 0); } struct QtWidgets_PackedString QAbstractSpinBox_SpecialValueText(void* ptr) { return ({ QByteArray* t81b86a = new QByteArray(static_cast(ptr)->specialValueText().toUtf8()); QtWidgets_PackedString { const_cast(t81b86a->prepend("WHITESPACE").constData()+10), t81b86a->size()-10, t81b86a }; }); } void QAbstractSpinBox_StepBy(void* ptr, int steps) { static_cast(ptr)->stepBy(steps); } void QAbstractSpinBox_StepByDefault(void* ptr, int steps) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::stepBy(steps); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::stepBy(steps); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::stepBy(steps); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::stepBy(steps); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::stepBy(steps); } else { static_cast(ptr)->QAbstractSpinBox::stepBy(steps); } } void QAbstractSpinBox_StepDown(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stepDown"); } void QAbstractSpinBox_StepDownDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::stepDown(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::stepDown(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::stepDown(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::stepDown(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::stepDown(); } else { static_cast(ptr)->QAbstractSpinBox::stepDown(); } } long long QAbstractSpinBox_StepEnabled(void* ptr) { return static_cast(ptr)->stepEnabled(); } long long QAbstractSpinBox_StepEnabledDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::stepEnabled(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::stepEnabled(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::stepEnabled(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::stepEnabled(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::stepEnabled(); } else { return static_cast(ptr)->QAbstractSpinBox::stepEnabled(); } } void QAbstractSpinBox_StepUp(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "stepUp"); } void QAbstractSpinBox_StepUpDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::stepUp(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::stepUp(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::stepUp(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::stepUp(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::stepUp(); } else { static_cast(ptr)->QAbstractSpinBox::stepUp(); } } struct QtWidgets_PackedString QAbstractSpinBox_Text(void* ptr) { return ({ QByteArray* t58fa9c = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(t58fa9c->prepend("WHITESPACE").constData()+10), t58fa9c->size()-10, t58fa9c }; }); } long long QAbstractSpinBox_Validate(void* ptr, struct QtWidgets_PackedString input, int pos) { return static_cast(ptr)->validate(*(new QString(QString::fromUtf8(input.data, input.len))), pos); } long long QAbstractSpinBox_ValidateDefault(void* ptr, struct QtWidgets_PackedString input, int pos) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::validate(*(new QString(QString::fromUtf8(input.data, input.len))), pos); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::validate(*(new QString(QString::fromUtf8(input.data, input.len))), pos); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::validate(*(new QString(QString::fromUtf8(input.data, input.len))), pos); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::validate(*(new QString(QString::fromUtf8(input.data, input.len))), pos); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::validate(*(new QString(QString::fromUtf8(input.data, input.len))), pos); } else { return static_cast(ptr)->QAbstractSpinBox::validate(*(new QString(QString::fromUtf8(input.data, input.len))), pos); } } char QAbstractSpinBox_Wrapping(void* ptr) { return static_cast(ptr)->wrapping(); } void QAbstractSpinBox_DestroyQAbstractSpinBox(void* ptr) { static_cast(ptr)->~QAbstractSpinBox(); } void QAbstractSpinBox_DestroyQAbstractSpinBoxDefault(void* ptr) { Q_UNUSED(ptr); } class MyQAccessibleWidget: public QAccessibleWidget { public: QStringList actionNames() const { return ({ QtWidgets_PackedString tempVal = callbackQAccessibleWidget_ActionNames(const_cast(static_cast(this))); QStringList ret = QString::fromUtf8(tempVal.data, tempVal.len).split("¡¦!", QString::SkipEmptyParts); free(tempVal.data); ret; }); }; QColor backgroundColor() const { return *static_cast(callbackQAccessibleWidget_BackgroundColor(const_cast(static_cast(this)))); }; QAccessibleInterface * child(int index) const { return static_cast(callbackQAccessibleWidget_Child(const_cast(static_cast(this)), index)); }; int childCount() const { return callbackQAccessibleWidget_ChildCount(const_cast(static_cast(this))); }; void doAction(const QString & actionName) { QByteArray* tcd1a8c = new QByteArray(actionName.toUtf8()); QtWidgets_PackedString actionNamePacked = { const_cast(tcd1a8c->prepend("WHITESPACE").constData()+10), tcd1a8c->size()-10, tcd1a8c };callbackQAccessibleWidget_DoAction(this, actionNamePacked); }; QAccessibleInterface * focusChild() const { return static_cast(callbackQAccessibleWidget_FocusChild(const_cast(static_cast(this)))); }; QColor foregroundColor() const { return *static_cast(callbackQAccessibleWidget_ForegroundColor(const_cast(static_cast(this)))); }; int indexOfChild(const QAccessibleInterface * child) const { return callbackQAccessibleWidget_IndexOfChild(const_cast(static_cast(this)), const_cast(child)); }; void * interface_cast(QAccessible::InterfaceType t) { return callbackQAccessibleWidget_Interface_cast(this, t); }; bool isValid() const { return callbackQAccessibleWidget_IsValid(const_cast(static_cast(this))) != 0; }; QStringList keyBindingsForAction(const QString & actionName) const { QByteArray* tcd1a8c = new QByteArray(actionName.toUtf8()); QtWidgets_PackedString actionNamePacked = { const_cast(tcd1a8c->prepend("WHITESPACE").constData()+10), tcd1a8c->size()-10, tcd1a8c };return ({ QtWidgets_PackedString tempVal = callbackQAccessibleWidget_KeyBindingsForAction(const_cast(static_cast(this)), actionNamePacked); QStringList ret = QString::fromUtf8(tempVal.data, tempVal.len).split("¡¦!", QString::SkipEmptyParts); free(tempVal.data); ret; }); }; QAccessibleInterface * parent() const { return static_cast(callbackQAccessibleWidget_Parent(const_cast(static_cast(this)))); }; QRect rect() const { return *static_cast(callbackQAccessibleWidget_Rect(const_cast(static_cast(this)))); }; QAccessible::Role role() const { return static_cast(callbackQAccessibleWidget_Role(const_cast(static_cast(this)))); }; QString text(QAccessible::Text t) const { return ({ QtWidgets_PackedString tempVal = callbackQAccessibleWidget_Text(const_cast(static_cast(this)), t); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; QWindow * window() const { return static_cast(callbackQAccessibleWidget_Window(const_cast(static_cast(this)))); }; ~MyQAccessibleWidget() { callbackQAccessibleWidget_DestroyQAccessibleWidget(this); }; QAccessibleInterface * childAt(int x, int y) const { return static_cast(callbackQAccessibleWidget_ChildAt(const_cast(static_cast(this)), x, y)); }; QObject * object() const { return static_cast(callbackQAccessibleWidget_Object(const_cast(static_cast(this)))); }; void setText(QAccessible::Text t, const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQAccessibleWidget_SetText(this, t, textPacked); }; QString localizedActionDescription(const QString & actionName) const { QByteArray* tcd1a8c = new QByteArray(actionName.toUtf8()); QtWidgets_PackedString actionNamePacked = { const_cast(tcd1a8c->prepend("WHITESPACE").constData()+10), tcd1a8c->size()-10, tcd1a8c };return ({ QtWidgets_PackedString tempVal = callbackQAccessibleWidget_LocalizedActionDescription(const_cast(static_cast(this)), actionNamePacked); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; QString localizedActionName(const QString & actionName) const { QByteArray* tcd1a8c = new QByteArray(actionName.toUtf8()); QtWidgets_PackedString actionNamePacked = { const_cast(tcd1a8c->prepend("WHITESPACE").constData()+10), tcd1a8c->size()-10, tcd1a8c };return ({ QtWidgets_PackedString tempVal = callbackQAccessibleWidget_LocalizedActionName(const_cast(static_cast(this)), actionNamePacked); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; }; Q_DECLARE_METATYPE(QAccessibleWidget*) Q_DECLARE_METATYPE(MyQAccessibleWidget*) int QAccessibleWidget_QAccessibleWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} struct QtWidgets_PackedString QAccessibleWidget_ActionNames(void* ptr) { return ({ QByteArray* t5da01f = new QByteArray(static_cast(ptr)->actionNames().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t5da01f->prepend("WHITESPACE").constData()+10), t5da01f->size()-10, t5da01f }; }); } struct QtWidgets_PackedString QAccessibleWidget_ActionNamesDefault(void* ptr) { return ({ QByteArray* t1fe7fc = new QByteArray(static_cast(ptr)->QAccessibleWidget::actionNames().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t1fe7fc->prepend("WHITESPACE").constData()+10), t1fe7fc->size()-10, t1fe7fc }; }); } void QAccessibleWidget_AddControllingSignal(void* ptr, struct QtWidgets_PackedString sign) { static_cast(ptr)->addControllingSignal(QString::fromUtf8(sign.data, sign.len)); } void* QAccessibleWidget_BackgroundColor(void* ptr) { return new QColor(static_cast(ptr)->backgroundColor()); } void* QAccessibleWidget_BackgroundColorDefault(void* ptr) { return new QColor(static_cast(ptr)->QAccessibleWidget::backgroundColor()); } void* QAccessibleWidget_Child(void* ptr, int index) { return static_cast(ptr)->child(index); } void* QAccessibleWidget_ChildDefault(void* ptr, int index) { return static_cast(ptr)->QAccessibleWidget::child(index); } int QAccessibleWidget_ChildCount(void* ptr) { return static_cast(ptr)->childCount(); } int QAccessibleWidget_ChildCountDefault(void* ptr) { return static_cast(ptr)->QAccessibleWidget::childCount(); } void QAccessibleWidget_DoAction(void* ptr, struct QtWidgets_PackedString actionName) { static_cast(ptr)->doAction(QString::fromUtf8(actionName.data, actionName.len)); } void QAccessibleWidget_DoActionDefault(void* ptr, struct QtWidgets_PackedString actionName) { static_cast(ptr)->QAccessibleWidget::doAction(QString::fromUtf8(actionName.data, actionName.len)); } void* QAccessibleWidget_FocusChild(void* ptr) { return static_cast(ptr)->focusChild(); } void* QAccessibleWidget_FocusChildDefault(void* ptr) { return static_cast(ptr)->QAccessibleWidget::focusChild(); } void* QAccessibleWidget_ForegroundColor(void* ptr) { return new QColor(static_cast(ptr)->foregroundColor()); } void* QAccessibleWidget_ForegroundColorDefault(void* ptr) { return new QColor(static_cast(ptr)->QAccessibleWidget::foregroundColor()); } int QAccessibleWidget_IndexOfChild(void* ptr, void* child) { if (dynamic_cast(static_cast(child))) { return static_cast(ptr)->indexOfChild(static_cast(child)); } else { return static_cast(ptr)->indexOfChild(static_cast(child)); } } int QAccessibleWidget_IndexOfChildDefault(void* ptr, void* child) { if (dynamic_cast(static_cast(child))) { return static_cast(ptr)->QAccessibleWidget::indexOfChild(static_cast(child)); } else { return static_cast(ptr)->QAccessibleWidget::indexOfChild(static_cast(child)); } } void* QAccessibleWidget_Interface_cast(void* ptr, long long t) { return static_cast(ptr)->interface_cast(static_cast(t)); } void* QAccessibleWidget_Interface_castDefault(void* ptr, long long t) { return static_cast(ptr)->QAccessibleWidget::interface_cast(static_cast(t)); } char QAccessibleWidget_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } char QAccessibleWidget_IsValidDefault(void* ptr) { return static_cast(ptr)->QAccessibleWidget::isValid(); } struct QtWidgets_PackedString QAccessibleWidget_KeyBindingsForAction(void* ptr, struct QtWidgets_PackedString actionName) { return ({ QByteArray* tc977a7 = new QByteArray(static_cast(ptr)->keyBindingsForAction(QString::fromUtf8(actionName.data, actionName.len)).join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(tc977a7->prepend("WHITESPACE").constData()+10), tc977a7->size()-10, tc977a7 }; }); } struct QtWidgets_PackedString QAccessibleWidget_KeyBindingsForActionDefault(void* ptr, struct QtWidgets_PackedString actionName) { return ({ QByteArray* t7d3cdd = new QByteArray(static_cast(ptr)->QAccessibleWidget::keyBindingsForAction(QString::fromUtf8(actionName.data, actionName.len)).join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t7d3cdd->prepend("WHITESPACE").constData()+10), t7d3cdd->size()-10, t7d3cdd }; }); } void* QAccessibleWidget_Parent(void* ptr) { return static_cast(ptr)->parent(); } void* QAccessibleWidget_ParentDefault(void* ptr) { return static_cast(ptr)->QAccessibleWidget::parent(); } void* QAccessibleWidget_ParentObject(void* ptr) { return static_cast(ptr)->parentObject(); } void* QAccessibleWidget_Rect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->rect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QAccessibleWidget_RectDefault(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->QAccessibleWidget::rect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } long long QAccessibleWidget_Role(void* ptr) { return static_cast(ptr)->role(); } long long QAccessibleWidget_RoleDefault(void* ptr) { return static_cast(ptr)->QAccessibleWidget::role(); } struct QtWidgets_PackedString QAccessibleWidget_Text(void* ptr, long long t) { return ({ QByteArray* t7973e3 = new QByteArray(static_cast(ptr)->text(static_cast(t)).toUtf8()); QtWidgets_PackedString { const_cast(t7973e3->prepend("WHITESPACE").constData()+10), t7973e3->size()-10, t7973e3 }; }); } struct QtWidgets_PackedString QAccessibleWidget_TextDefault(void* ptr, long long t) { return ({ QByteArray* tb2ef56 = new QByteArray(static_cast(ptr)->QAccessibleWidget::text(static_cast(t)).toUtf8()); QtWidgets_PackedString { const_cast(tb2ef56->prepend("WHITESPACE").constData()+10), tb2ef56->size()-10, tb2ef56 }; }); } void* QAccessibleWidget_Widget(void* ptr) { return static_cast(ptr)->widget(); } void* QAccessibleWidget_Window(void* ptr) { return static_cast(ptr)->window(); } void* QAccessibleWidget_WindowDefault(void* ptr) { return static_cast(ptr)->QAccessibleWidget::window(); } void QAccessibleWidget_DestroyQAccessibleWidget(void* ptr) { static_cast(ptr)->~QAccessibleWidget(); } void QAccessibleWidget_DestroyQAccessibleWidgetDefault(void* ptr) { Q_UNUSED(ptr); } void* QAccessibleWidget_ChildAt(void* ptr, int x, int y) { return static_cast(ptr)->childAt(x, y); } void* QAccessibleWidget_ChildAtDefault(void* ptr, int x, int y) { return static_cast(ptr)->QAccessibleWidget::childAt(x, y); } void* QAccessibleWidget_Object(void* ptr) { return static_cast(ptr)->object(); } void* QAccessibleWidget_ObjectDefault(void* ptr) { return static_cast(ptr)->QAccessibleWidget::object(); } void QAccessibleWidget_SetText(void* ptr, long long t, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(static_cast(t), QString::fromUtf8(text.data, text.len)); } void QAccessibleWidget_SetTextDefault(void* ptr, long long t, struct QtWidgets_PackedString text) { static_cast(ptr)->QAccessibleWidget::setText(static_cast(t), QString::fromUtf8(text.data, text.len)); } struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionDescription(void* ptr, struct QtWidgets_PackedString actionName) { return ({ QByteArray* t315e78 = new QByteArray(static_cast(ptr)->localizedActionDescription(QString::fromUtf8(actionName.data, actionName.len)).toUtf8()); QtWidgets_PackedString { const_cast(t315e78->prepend("WHITESPACE").constData()+10), t315e78->size()-10, t315e78 }; }); } struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionDescriptionDefault(void* ptr, struct QtWidgets_PackedString actionName) { return ({ QByteArray* t7746c1 = new QByteArray(static_cast(ptr)->QAccessibleWidget::localizedActionDescription(QString::fromUtf8(actionName.data, actionName.len)).toUtf8()); QtWidgets_PackedString { const_cast(t7746c1->prepend("WHITESPACE").constData()+10), t7746c1->size()-10, t7746c1 }; }); } struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionName(void* ptr, struct QtWidgets_PackedString actionName) { return ({ QByteArray* t535321 = new QByteArray(static_cast(ptr)->localizedActionName(QString::fromUtf8(actionName.data, actionName.len)).toUtf8()); QtWidgets_PackedString { const_cast(t535321->prepend("WHITESPACE").constData()+10), t535321->size()-10, t535321 }; }); } struct QtWidgets_PackedString QAccessibleWidget_LocalizedActionNameDefault(void* ptr, struct QtWidgets_PackedString actionName) { return ({ QByteArray* teb80ac = new QByteArray(static_cast(ptr)->QAccessibleWidget::localizedActionName(QString::fromUtf8(actionName.data, actionName.len)).toUtf8()); QtWidgets_PackedString { const_cast(teb80ac->prepend("WHITESPACE").constData()+10), teb80ac->size()-10, teb80ac }; }); } class MyQAction: public QAction { public: MyQAction(QObject *parent = Q_NULLPTR) : QAction(parent) {QAction_QAction_QRegisterMetaType();}; MyQAction(const QString &text, QObject *parent = Q_NULLPTR) : QAction(text, parent) {QAction_QAction_QRegisterMetaType();}; MyQAction(const QIcon &icon, const QString &text, QObject *parent = Q_NULLPTR) : QAction(icon, text, parent) {QAction_QAction_QRegisterMetaType();}; void Signal_Changed() { callbackQAction_Changed(this); }; bool event(QEvent * e) { return callbackQAction_Event(this, e) != 0; }; void hover() { callbackQAction_Hover(this); }; void Signal_Hovered() { callbackQAction_Hovered(this); }; void setChecked(bool vbo) { callbackQAction_SetChecked(this, vbo); }; void setDisabled(bool b) { callbackQAction_SetDisabled(this, b); }; void setEnabled(bool vbo) { callbackQAction_SetEnabled(this, vbo); }; void setVisible(bool vbo) { callbackQAction_SetVisible(this, vbo); }; void toggle() { callbackQAction_Toggle(this); }; void Signal_Toggled(bool checked) { callbackQAction_Toggled(this, checked); }; void trigger() { callbackQAction_Trigger(this); }; void Signal_Triggered(bool checked) { callbackQAction_Triggered(this, checked); }; ~MyQAction() { callbackQAction_DestroyQAction(this); }; void childEvent(QChildEvent * event) { callbackQAction_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQAction_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQAction_CustomEvent(this, event); }; void deleteLater() { callbackQAction_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQAction_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAction_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQAction_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAction_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQAction_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQAction_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QAction*) Q_DECLARE_METATYPE(MyQAction*) int QAction_QAction_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QAction_NewQAction(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(static_cast(parent)); } else { return new MyQAction(static_cast(parent)); } } void* QAction_NewQAction2(struct QtWidgets_PackedString text, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else { return new MyQAction(QString::fromUtf8(text.data, text.len), static_cast(parent)); } } void* QAction_NewQAction3(void* icon, struct QtWidgets_PackedString text, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } else { return new MyQAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } } void* QAction_ActionGroup(void* ptr) { return static_cast(ptr)->actionGroup(); } void QAction_Activate(void* ptr, long long event) { static_cast(ptr)->activate(static_cast(event)); } struct QtWidgets_PackedList QAction_AssociatedGraphicsWidgets(void* ptr) { return ({ QList* tmpValue7c7d2b = new QList(static_cast(ptr)->associatedGraphicsWidgets()); QtWidgets_PackedList { tmpValue7c7d2b, tmpValue7c7d2b->size() }; }); } struct QtWidgets_PackedList QAction_AssociatedWidgets(void* ptr) { return ({ QList* tmpValue85cee4 = new QList(static_cast(ptr)->associatedWidgets()); QtWidgets_PackedList { tmpValue85cee4, tmpValue85cee4->size() }; }); } char QAction_AutoRepeat(void* ptr) { return static_cast(ptr)->autoRepeat(); } void QAction_ConnectChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAction::changed), static_cast(ptr), static_cast(&MyQAction::Signal_Changed), static_cast(t)); } void QAction_DisconnectChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAction::changed), static_cast(ptr), static_cast(&MyQAction::Signal_Changed)); } void QAction_Changed(void* ptr) { static_cast(ptr)->changed(); } void* QAction_Data(void* ptr) { return new QVariant(static_cast(ptr)->data()); } char QAction_EventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWidgetAction::event(static_cast(e)); } else { return static_cast(ptr)->QAction::event(static_cast(e)); } } void* QAction_Font(void* ptr) { return new QFont(static_cast(ptr)->font()); } void QAction_Hover(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "hover"); } void QAction_HoverDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::hover(); } else { static_cast(ptr)->QAction::hover(); } } void QAction_ConnectHovered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAction::hovered), static_cast(ptr), static_cast(&MyQAction::Signal_Hovered), static_cast(t)); } void QAction_DisconnectHovered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAction::hovered), static_cast(ptr), static_cast(&MyQAction::Signal_Hovered)); } void QAction_Hovered(void* ptr) { static_cast(ptr)->hovered(); } void* QAction_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon()); } struct QtWidgets_PackedString QAction_IconText(void* ptr) { return ({ QByteArray* t6729e1 = new QByteArray(static_cast(ptr)->iconText().toUtf8()); QtWidgets_PackedString { const_cast(t6729e1->prepend("WHITESPACE").constData()+10), t6729e1->size()-10, t6729e1 }; }); } char QAction_IsCheckable(void* ptr) { return static_cast(ptr)->isCheckable(); } char QAction_IsChecked(void* ptr) { return static_cast(ptr)->isChecked(); } char QAction_IsEnabled(void* ptr) { return static_cast(ptr)->isEnabled(); } char QAction_IsIconVisibleInMenu(void* ptr) { return static_cast(ptr)->isIconVisibleInMenu(); } char QAction_IsSeparator(void* ptr) { return static_cast(ptr)->isSeparator(); } char QAction_IsShortcutVisibleInContextMenu(void* ptr) { return static_cast(ptr)->isShortcutVisibleInContextMenu(); } char QAction_IsVisible(void* ptr) { return static_cast(ptr)->isVisible(); } void* QAction_Menu(void* ptr) { return static_cast(ptr)->menu(); } long long QAction_MenuRole(void* ptr) { return static_cast(ptr)->menuRole(); } void* QAction_ParentWidget(void* ptr) { return static_cast(ptr)->parentWidget(); } long long QAction_Priority(void* ptr) { return static_cast(ptr)->priority(); } void QAction_SetActionGroup(void* ptr, void* group) { static_cast(ptr)->setActionGroup(static_cast(group)); } void QAction_SetAutoRepeat(void* ptr, char vbo) { static_cast(ptr)->setAutoRepeat(vbo != 0); } void QAction_SetCheckable(void* ptr, char vbo) { static_cast(ptr)->setCheckable(vbo != 0); } void QAction_SetChecked(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setChecked", Q_ARG(bool, vbo != 0)); } void QAction_SetCheckedDefault(void* ptr, char vbo) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::setChecked(vbo != 0); } else { static_cast(ptr)->QAction::setChecked(vbo != 0); } } void QAction_SetData(void* ptr, void* userData) { static_cast(ptr)->setData(*static_cast(userData)); } void QAction_SetDisabled(void* ptr, char b) { QMetaObject::invokeMethod(static_cast(ptr), "setDisabled", Q_ARG(bool, b != 0)); } void QAction_SetDisabledDefault(void* ptr, char b) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::setDisabled(b != 0); } else { static_cast(ptr)->QAction::setDisabled(b != 0); } } void QAction_SetEnabled(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); } void QAction_SetEnabledDefault(void* ptr, char vbo) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::setEnabled(vbo != 0); } else { static_cast(ptr)->QAction::setEnabled(vbo != 0); } } void QAction_SetFont(void* ptr, void* font) { static_cast(ptr)->setFont(*static_cast(font)); } void QAction_SetIcon(void* ptr, void* icon) { static_cast(ptr)->setIcon(*static_cast(icon)); } void QAction_SetIconText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setIconText(QString::fromUtf8(text.data, text.len)); } void QAction_SetIconVisibleInMenu(void* ptr, char visible) { static_cast(ptr)->setIconVisibleInMenu(visible != 0); } void QAction_SetMenu(void* ptr, void* menu) { static_cast(ptr)->setMenu(static_cast(menu)); } void QAction_SetMenuRole(void* ptr, long long menuRole) { static_cast(ptr)->setMenuRole(static_cast(menuRole)); } void QAction_SetPriority(void* ptr, long long priority) { static_cast(ptr)->setPriority(static_cast(priority)); } void QAction_SetSeparator(void* ptr, char b) { static_cast(ptr)->setSeparator(b != 0); } void QAction_SetShortcut(void* ptr, void* shortcut) { static_cast(ptr)->setShortcut(*static_cast(shortcut)); } void QAction_SetShortcutContext(void* ptr, long long context) { static_cast(ptr)->setShortcutContext(static_cast(context)); } void QAction_SetShortcutVisibleInContextMenu(void* ptr, char show) { static_cast(ptr)->setShortcutVisibleInContextMenu(show != 0); } void QAction_SetShortcuts(void* ptr, void* shortcuts) { static_cast(ptr)->setShortcuts(*static_cast*>(shortcuts)); } void QAction_SetShortcuts2(void* ptr, long long key) { static_cast(ptr)->setShortcuts(static_cast(key)); } void QAction_SetStatusTip(void* ptr, struct QtWidgets_PackedString statusTip) { static_cast(ptr)->setStatusTip(QString::fromUtf8(statusTip.data, statusTip.len)); } void QAction_SetText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(QString::fromUtf8(text.data, text.len)); } void QAction_SetToolTip(void* ptr, struct QtWidgets_PackedString tip) { static_cast(ptr)->setToolTip(QString::fromUtf8(tip.data, tip.len)); } void QAction_SetVisible(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, vbo != 0)); } void QAction_SetVisibleDefault(void* ptr, char vbo) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::setVisible(vbo != 0); } else { static_cast(ptr)->QAction::setVisible(vbo != 0); } } void QAction_SetWhatsThis(void* ptr, struct QtWidgets_PackedString what) { static_cast(ptr)->setWhatsThis(QString::fromUtf8(what.data, what.len)); } void* QAction_Shortcut(void* ptr) { return new QKeySequence(static_cast(ptr)->shortcut()); } long long QAction_ShortcutContext(void* ptr) { return static_cast(ptr)->shortcutContext(); } struct QtWidgets_PackedList QAction_Shortcuts(void* ptr) { return ({ QList* tmpValue30197e = new QList(static_cast(ptr)->shortcuts()); QtWidgets_PackedList { tmpValue30197e, tmpValue30197e->size() }; }); } char QAction_ShowStatusText(void* ptr, void* widget) { return static_cast(ptr)->showStatusText(static_cast(widget)); } struct QtWidgets_PackedString QAction_StatusTip(void* ptr) { return ({ QByteArray* t5e64a4 = new QByteArray(static_cast(ptr)->statusTip().toUtf8()); QtWidgets_PackedString { const_cast(t5e64a4->prepend("WHITESPACE").constData()+10), t5e64a4->size()-10, t5e64a4 }; }); } struct QtWidgets_PackedString QAction_Text(void* ptr) { return ({ QByteArray* t0f57fa = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(t0f57fa->prepend("WHITESPACE").constData()+10), t0f57fa->size()-10, t0f57fa }; }); } void QAction_Toggle(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "toggle"); } void QAction_ToggleDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::toggle(); } else { static_cast(ptr)->QAction::toggle(); } } void QAction_ConnectToggled(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAction::toggled), static_cast(ptr), static_cast(&MyQAction::Signal_Toggled), static_cast(t)); } void QAction_DisconnectToggled(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAction::toggled), static_cast(ptr), static_cast(&MyQAction::Signal_Toggled)); } void QAction_Toggled(void* ptr, char checked) { static_cast(ptr)->toggled(checked != 0); } struct QtWidgets_PackedString QAction_ToolTip(void* ptr) { return ({ QByteArray* td308d4 = new QByteArray(static_cast(ptr)->toolTip().toUtf8()); QtWidgets_PackedString { const_cast(td308d4->prepend("WHITESPACE").constData()+10), td308d4->size()-10, td308d4 }; }); } void QAction_Trigger(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "trigger"); } void QAction_TriggerDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::trigger(); } else { static_cast(ptr)->QAction::trigger(); } } void QAction_ConnectTriggered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QAction::triggered), static_cast(ptr), static_cast(&MyQAction::Signal_Triggered), static_cast(t)); } void QAction_DisconnectTriggered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QAction::triggered), static_cast(ptr), static_cast(&MyQAction::Signal_Triggered)); } void QAction_Triggered(void* ptr, char checked) { static_cast(ptr)->triggered(checked != 0); } struct QtWidgets_PackedString QAction_WhatsThis(void* ptr) { return ({ QByteArray* tba6af8 = new QByteArray(static_cast(ptr)->whatsThis().toUtf8()); QtWidgets_PackedString { const_cast(tba6af8->prepend("WHITESPACE").constData()+10), tba6af8->size()-10, tba6af8 }; }); } void QAction_DestroyQAction(void* ptr) { static_cast(ptr)->~QAction(); } void QAction_DestroyQActionDefault(void* ptr) { Q_UNUSED(ptr); } void* QAction___associatedGraphicsWidgets_atList(void* ptr, int i) { return ({QGraphicsWidget * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAction___associatedGraphicsWidgets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QAction___associatedGraphicsWidgets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAction___associatedWidgets_atList(void* ptr, int i) { return ({QWidget * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAction___associatedWidgets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QAction___associatedWidgets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAction___setShortcuts_shortcuts_atList(void* ptr, int i) { return new QKeySequence(({QKeySequence tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QAction___setShortcuts_shortcuts_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QAction___setShortcuts_shortcuts_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAction___shortcuts_atList(void* ptr, int i) { return new QKeySequence(({QKeySequence tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QAction___shortcuts_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QAction___shortcuts_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAction___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAction___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QAction___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAction___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QAction___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QAction___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAction___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAction___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QAction___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QAction___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QAction___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QAction___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QAction_ChildEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::childEvent(static_cast(event)); } else { static_cast(ptr)->QAction::childEvent(static_cast(event)); } } void QAction_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QAction::connectNotify(*static_cast(sign)); } } void QAction_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::customEvent(static_cast(event)); } else { static_cast(ptr)->QAction::customEvent(static_cast(event)); } } void QAction_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::deleteLater(); } else { static_cast(ptr)->QAction::deleteLater(); } } void QAction_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QAction::disconnectNotify(*static_cast(sign)); } } char QAction_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWidgetAction::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWidgetAction::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWidgetAction::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWidgetAction::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QWidgetAction::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAction::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAction::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAction::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAction::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QAction::eventFilter(static_cast(watched), static_cast(event)); } } } void* QAction_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QWidgetAction::metaObject()); } else { return const_cast(static_cast(ptr)->QAction::metaObject()); } } void QAction_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetAction::timerEvent(static_cast(event)); } else { static_cast(ptr)->QAction::timerEvent(static_cast(event)); } } class MyQActionGroup: public QActionGroup { public: MyQActionGroup(QObject *parent) : QActionGroup(parent) {QActionGroup_QActionGroup_QRegisterMetaType();}; void Signal_Hovered(QAction * action) { callbackQActionGroup_Hovered(this, action); }; void setDisabled(bool b) { callbackQActionGroup_SetDisabled(this, b); }; void setEnabled(bool vbo) { callbackQActionGroup_SetEnabled(this, vbo); }; void setExclusive(bool vbo) { callbackQActionGroup_SetExclusive(this, vbo); }; void setVisible(bool vbo) { callbackQActionGroup_SetVisible(this, vbo); }; void Signal_Triggered(QAction * action) { callbackQActionGroup_Triggered(this, action); }; ~MyQActionGroup() { callbackQActionGroup_DestroyQActionGroup(this); }; void childEvent(QChildEvent * event) { callbackQActionGroup_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQActionGroup_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQActionGroup_CustomEvent(this, event); }; void deleteLater() { callbackQActionGroup_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQActionGroup_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQActionGroup_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQActionGroup_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQActionGroup_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQActionGroup_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQActionGroup_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQActionGroup_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QActionGroup*) Q_DECLARE_METATYPE(MyQActionGroup*) int QActionGroup_QActionGroup_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QActionGroup_NewQActionGroup(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQActionGroup(static_cast(parent)); } else { return new MyQActionGroup(static_cast(parent)); } } struct QtWidgets_PackedList QActionGroup_Actions(void* ptr) { return ({ QList* tmpValue766e2b = new QList(static_cast(ptr)->actions()); QtWidgets_PackedList { tmpValue766e2b, tmpValue766e2b->size() }; }); } void* QActionGroup_AddAction(void* ptr, void* action) { return static_cast(ptr)->addAction(static_cast(action)); } void* QActionGroup_AddAction2(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len)); } void* QActionGroup_AddAction3(void* ptr, void* icon, struct QtWidgets_PackedString text) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len)); } void* QActionGroup_CheckedAction(void* ptr) { return static_cast(ptr)->checkedAction(); } void QActionGroup_ConnectHovered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QActionGroup::hovered), static_cast(ptr), static_cast(&MyQActionGroup::Signal_Hovered), static_cast(t)); } void QActionGroup_DisconnectHovered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QActionGroup::hovered), static_cast(ptr), static_cast(&MyQActionGroup::Signal_Hovered)); } void QActionGroup_Hovered(void* ptr, void* action) { static_cast(ptr)->hovered(static_cast(action)); } char QActionGroup_IsEnabled(void* ptr) { return static_cast(ptr)->isEnabled(); } char QActionGroup_IsExclusive(void* ptr) { return static_cast(ptr)->isExclusive(); } char QActionGroup_IsVisible(void* ptr) { return static_cast(ptr)->isVisible(); } void QActionGroup_RemoveAction(void* ptr, void* action) { static_cast(ptr)->removeAction(static_cast(action)); } void QActionGroup_SetDisabled(void* ptr, char b) { QMetaObject::invokeMethod(static_cast(ptr), "setDisabled", Q_ARG(bool, b != 0)); } void QActionGroup_SetDisabledDefault(void* ptr, char b) { static_cast(ptr)->QActionGroup::setDisabled(b != 0); } void QActionGroup_SetEnabled(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); } void QActionGroup_SetEnabledDefault(void* ptr, char vbo) { static_cast(ptr)->QActionGroup::setEnabled(vbo != 0); } void QActionGroup_SetExclusive(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setExclusive", Q_ARG(bool, vbo != 0)); } void QActionGroup_SetExclusiveDefault(void* ptr, char vbo) { static_cast(ptr)->QActionGroup::setExclusive(vbo != 0); } void QActionGroup_SetVisible(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, vbo != 0)); } void QActionGroup_SetVisibleDefault(void* ptr, char vbo) { static_cast(ptr)->QActionGroup::setVisible(vbo != 0); } void QActionGroup_ConnectTriggered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QActionGroup::triggered), static_cast(ptr), static_cast(&MyQActionGroup::Signal_Triggered), static_cast(t)); } void QActionGroup_DisconnectTriggered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QActionGroup::triggered), static_cast(ptr), static_cast(&MyQActionGroup::Signal_Triggered)); } void QActionGroup_Triggered(void* ptr, void* action) { static_cast(ptr)->triggered(static_cast(action)); } void QActionGroup_DestroyQActionGroup(void* ptr) { static_cast(ptr)->~QActionGroup(); } void QActionGroup_DestroyQActionGroupDefault(void* ptr) { Q_UNUSED(ptr); } void* QActionGroup___actions_atList(void* ptr, int i) { return ({QAction * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QActionGroup___actions_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QActionGroup___actions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QActionGroup___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QActionGroup___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QActionGroup___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QActionGroup___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QActionGroup___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QActionGroup___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QActionGroup___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QActionGroup___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QActionGroup___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QActionGroup___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QActionGroup___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QActionGroup___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QActionGroup_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QActionGroup::childEvent(static_cast(event)); } void QActionGroup_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QActionGroup::connectNotify(*static_cast(sign)); } void QActionGroup_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QActionGroup::customEvent(static_cast(event)); } void QActionGroup_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QActionGroup::deleteLater(); } void QActionGroup_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QActionGroup::disconnectNotify(*static_cast(sign)); } char QActionGroup_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QActionGroup::event(static_cast(e)); } char QActionGroup_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QActionGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QActionGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QActionGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QActionGroup::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QActionGroup::eventFilter(static_cast(watched), static_cast(event)); } } void* QActionGroup_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QActionGroup::metaObject()); } void QActionGroup_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QActionGroup::timerEvent(static_cast(event)); } class MyQApplication: public QApplication { public: MyQApplication(int &argc, char **argv) : QApplication(argc, argv) {QApplication_QApplication_QRegisterMetaType();}; void aboutQt() { callbackQApplication_AboutQt(this); }; bool autoSipEnabled() const { return callbackQApplication_AutoSipEnabled(const_cast(static_cast(this))) != 0; }; void closeAllWindows() { callbackQApplication_CloseAllWindows(this); }; bool event(QEvent * e) { return callbackQApplication_Event(this, e) != 0; }; void Signal_FocusChanged(QWidget * old, QWidget * now) { callbackQApplication_FocusChanged(this, old, now); }; void setAutoSipEnabled(const bool enabled) { callbackQApplication_SetAutoSipEnabled(this, enabled); }; void setStyleSheet(const QString & sheet) { QByteArray* t542ebc = new QByteArray(sheet.toUtf8()); QtWidgets_PackedString sheetPacked = { const_cast(t542ebc->prepend("WHITESPACE").constData()+10), t542ebc->size()-10, t542ebc };callbackQApplication_SetStyleSheet(this, sheetPacked); }; ~MyQApplication() { callbackQApplication_DestroyQApplication(this); }; void Signal_ApplicationDisplayNameChanged() { callbackQApplication_ApplicationDisplayNameChanged(this); }; void Signal_ApplicationStateChanged(Qt::ApplicationState state) { callbackQApplication_ApplicationStateChanged(this, state); }; void Signal_CommitDataRequest(QSessionManager & manager) { callbackQApplication_CommitDataRequest(this, static_cast(&manager)); }; void Signal_FocusObjectChanged(QObject * focusObject) { callbackQApplication_FocusObjectChanged(this, focusObject); }; void Signal_FocusWindowChanged(QWindow * focusWindow) { callbackQApplication_FocusWindowChanged(this, focusWindow); }; void Signal_FontChanged(const QFont & font) { callbackQApplication_FontChanged(this, const_cast(&font)); }; void Signal_FontDatabaseChanged() { callbackQApplication_FontDatabaseChanged(this); }; void Signal_LastWindowClosed() { callbackQApplication_LastWindowClosed(this); }; void Signal_LayoutDirectionChanged(Qt::LayoutDirection direction) { callbackQApplication_LayoutDirectionChanged(this, direction); }; void Signal_PaletteChanged(const QPalette & palette) { callbackQApplication_PaletteChanged(this, const_cast(&palette)); }; void Signal_PrimaryScreenChanged(QScreen * screen) { callbackQApplication_PrimaryScreenChanged(this, screen); }; void Signal_SaveStateRequest(QSessionManager & manager) { callbackQApplication_SaveStateRequest(this, static_cast(&manager)); }; void Signal_ScreenAdded(QScreen * screen) { callbackQApplication_ScreenAdded(this, screen); }; void Signal_ScreenRemoved(QScreen * screen) { callbackQApplication_ScreenRemoved(this, screen); }; void Signal_AboutToQuit() { callbackQApplication_AboutToQuit(this); }; void Signal_ApplicationNameChanged() { callbackQApplication_ApplicationNameChanged(this); }; void Signal_ApplicationVersionChanged() { callbackQApplication_ApplicationVersionChanged(this); }; void Signal_OrganizationDomainChanged() { callbackQApplication_OrganizationDomainChanged(this); }; void Signal_OrganizationNameChanged() { callbackQApplication_OrganizationNameChanged(this); }; void quit() { callbackQApplication_Quit(this); }; void childEvent(QChildEvent * event) { callbackQApplication_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQApplication_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQApplication_CustomEvent(this, event); }; void deleteLater() { callbackQApplication_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQApplication_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQApplication_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQApplication_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQApplication_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQApplication_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQApplication_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QApplication*) Q_DECLARE_METATYPE(MyQApplication*) int QApplication_QApplication_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QApplication_NewQApplication(int argc, char* argv) { static int argcs = argc; static char** argvs = static_cast(malloc(argcs * sizeof(char*))); QList aList = QByteArray(argv).split('|'); for (int i = 0; i < argcs; i++) argvs[i] = (new QByteArray(aList.at(i)))->data(); return new MyQApplication(argcs, argvs); } void QApplication_AboutQt(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "aboutQt"); } void QApplication_AboutQtDefault(void* ptr) { static_cast(ptr)->QApplication::aboutQt(); } void* QApplication_QApplication_ActiveModalWidget() { return QApplication::activeModalWidget(); } void* QApplication_QApplication_ActivePopupWidget() { return QApplication::activePopupWidget(); } void* QApplication_QApplication_ActiveWindow() { return QApplication::activeWindow(); } void QApplication_QApplication_Alert(void* widget, int msec) { QApplication::alert(static_cast(widget), msec); } struct QtWidgets_PackedList QApplication_QApplication_AllWidgets() { return ({ QList* tmpValue15db35 = new QList(QApplication::allWidgets()); QtWidgets_PackedList { tmpValue15db35, tmpValue15db35->size() }; }); } char QApplication_AutoSipEnabled(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "autoSipEnabled", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QApplication_AutoSipEnabledDefault(void* ptr) { return static_cast(ptr)->QApplication::autoSipEnabled(); } void QApplication_QApplication_Beep() { QApplication::beep(); } void QApplication_CloseAllWindows(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "closeAllWindows"); } void QApplication_CloseAllWindowsDefault(void* ptr) { static_cast(ptr)->QApplication::closeAllWindows(); } int QApplication_QApplication_CursorFlashTime() { return QApplication::cursorFlashTime(); } void* QApplication_QApplication_Desktop() { return QApplication::desktop(); } int QApplication_QApplication_DoubleClickInterval() { return QApplication::doubleClickInterval(); } char QApplication_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QApplication::event(static_cast(e)); } int QApplication_QApplication_Exec() { return QApplication::exec(); } void QApplication_ConnectFocusChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QApplication::focusChanged), static_cast(ptr), static_cast(&MyQApplication::Signal_FocusChanged), static_cast(t)); } void QApplication_DisconnectFocusChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QApplication::focusChanged), static_cast(ptr), static_cast(&MyQApplication::Signal_FocusChanged)); } void QApplication_FocusChanged(void* ptr, void* old, void* now) { static_cast(ptr)->focusChanged(static_cast(old), static_cast(now)); } void* QApplication_QApplication_FocusWidget() { return QApplication::focusWidget(); } void* QApplication_QApplication_Font() { return new QFont(QApplication::font()); } void* QApplication_QApplication_Font2(void* widget) { return new QFont(QApplication::font(static_cast(widget))); } void* QApplication_QApplication_Font3(char* className) { return new QFont(QApplication::font(const_cast(className))); } void* QApplication_QApplication_FontMetrics() { return new QFontMetrics(QApplication::fontMetrics()); } void* QApplication_QApplication_GlobalStrut() { return ({ QSize tmpValue = QApplication::globalStrut(); new QSize(tmpValue.width(), tmpValue.height()); }); } char QApplication_QApplication_IsEffectEnabled(long long effect) { return QApplication::isEffectEnabled(static_cast(effect)); } int QApplication_QApplication_KeyboardInputInterval() { return QApplication::keyboardInputInterval(); } long long QApplication_QApplication_NavigationMode() { #ifdef QT_KEYPAD_NAVIGATION return QApplication::navigationMode(); #else return 0; #endif } void* QApplication_QApplication_Palette(void* widget) { return new QPalette(QApplication::palette(static_cast(widget))); } void* QApplication_QApplication_Palette2(char* className) { return new QPalette(QApplication::palette(const_cast(className))); } void QApplication_QApplication_SetActiveWindow(void* active) { QApplication::setActiveWindow(static_cast(active)); } void QApplication_SetAutoSipEnabled(void* ptr, char enabled) { QMetaObject::invokeMethod(static_cast(ptr), "setAutoSipEnabled", Q_ARG(const bool, enabled != 0)); } void QApplication_SetAutoSipEnabledDefault(void* ptr, char enabled) { static_cast(ptr)->QApplication::setAutoSipEnabled(enabled != 0); } void QApplication_QApplication_SetCursorFlashTime(int vin) { QApplication::setCursorFlashTime(vin); } void QApplication_QApplication_SetDoubleClickInterval(int vin) { QApplication::setDoubleClickInterval(vin); } void QApplication_QApplication_SetEffectEnabled(long long effect, char enable) { QApplication::setEffectEnabled(static_cast(effect), enable != 0); } void QApplication_QApplication_SetFont(void* font, char* className) { QApplication::setFont(*static_cast(font), const_cast(className)); } void QApplication_QApplication_SetGlobalStrut(void* vqs) { QApplication::setGlobalStrut(*static_cast(vqs)); } void QApplication_QApplication_SetKeyboardInputInterval(int vin) { QApplication::setKeyboardInputInterval(vin); } void QApplication_QApplication_SetNavigationMode(long long mode) { #ifdef QT_KEYPAD_NAVIGATION QApplication::setNavigationMode(static_cast(mode)); #endif } void QApplication_QApplication_SetPalette(void* palette, char* className) { QApplication::setPalette(*static_cast(palette), const_cast(className)); } void QApplication_QApplication_SetStartDragDistance(int l) { QApplication::setStartDragDistance(l); } void QApplication_QApplication_SetStartDragTime(int ms) { QApplication::setStartDragTime(ms); } void QApplication_QApplication_SetStyle(void* style) { QApplication::setStyle(static_cast(style)); } void* QApplication_QApplication_SetStyle2(struct QtWidgets_PackedString style) { return QApplication::setStyle(QString::fromUtf8(style.data, style.len)); } void QApplication_SetStyleSheet(void* ptr, struct QtWidgets_PackedString sheet) { QMetaObject::invokeMethod(static_cast(ptr), "setStyleSheet", Q_ARG(const QString, QString::fromUtf8(sheet.data, sheet.len))); } void QApplication_SetStyleSheetDefault(void* ptr, struct QtWidgets_PackedString sheet) { static_cast(ptr)->QApplication::setStyleSheet(QString::fromUtf8(sheet.data, sheet.len)); } void QApplication_QApplication_SetWheelScrollLines(int vin) { QApplication::setWheelScrollLines(vin); } void QApplication_QApplication_SetWindowIcon(void* icon) { QApplication::setWindowIcon(*static_cast(icon)); } int QApplication_QApplication_StartDragDistance() { return QApplication::startDragDistance(); } int QApplication_QApplication_StartDragTime() { return QApplication::startDragTime(); } void* QApplication_QApplication_Style() { return QApplication::style(); } struct QtWidgets_PackedString QApplication_StyleSheet(void* ptr) { return ({ QByteArray* ta53b66 = new QByteArray(static_cast(ptr)->styleSheet().toUtf8()); QtWidgets_PackedString { const_cast(ta53b66->prepend("WHITESPACE").constData()+10), ta53b66->size()-10, ta53b66 }; }); } void* QApplication_QApplication_TopLevelAt(void* point) { return QApplication::topLevelAt(*static_cast(point)); } void* QApplication_QApplication_TopLevelAt2(int x, int y) { return QApplication::topLevelAt(x, y); } struct QtWidgets_PackedList QApplication_QApplication_TopLevelWidgets() { return ({ QList* tmpValue8ff1e1 = new QList(QApplication::topLevelWidgets()); QtWidgets_PackedList { tmpValue8ff1e1, tmpValue8ff1e1->size() }; }); } int QApplication_QApplication_WheelScrollLines() { return QApplication::wheelScrollLines(); } void* QApplication_QApplication_WidgetAt(void* point) { return QApplication::widgetAt(*static_cast(point)); } void* QApplication_QApplication_WidgetAt2(int x, int y) { return QApplication::widgetAt(x, y); } void* QApplication_QApplication_WindowIcon() { return new QIcon(QApplication::windowIcon()); } void QApplication_DestroyQApplication(void* ptr) { static_cast(ptr)->~QApplication(); } void QApplication_DestroyQApplicationDefault(void* ptr) { Q_UNUSED(ptr); } void* QApplication___allWidgets_atList(void* ptr, int i) { return ({QWidget * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QApplication___allWidgets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QApplication___allWidgets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QApplication___topLevelWidgets_atList(void* ptr, int i) { return ({QWidget * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QApplication___topLevelWidgets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QApplication___topLevelWidgets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QApplication___screens_atList(void* ptr, int i) { return ({QScreen * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QApplication___screens_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QApplication___screens_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QApplication___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QApplication___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QApplication___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QApplication___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QApplication___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QApplication___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QApplication___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QApplication___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QApplication___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QApplication___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QApplication___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QApplication___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QApplication_QuitDefault(void* ptr) { static_cast(ptr)->QApplication::quit(); } void QApplication_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QApplication::childEvent(static_cast(event)); } void QApplication_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QApplication::connectNotify(*static_cast(sign)); } void QApplication_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QApplication::customEvent(static_cast(event)); } void QApplication_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QApplication::deleteLater(); } void QApplication_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QApplication::disconnectNotify(*static_cast(sign)); } char QApplication_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QApplication::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QApplication::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QApplication::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QApplication::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QApplication::eventFilter(static_cast(watched), static_cast(event)); } } void* QApplication_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QApplication::metaObject()); } void QApplication_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QApplication::timerEvent(static_cast(event)); } class MyQBoxLayout: public QBoxLayout { public: MyQBoxLayout(QBoxLayout::Direction dir, QWidget *parent = Q_NULLPTR) : QBoxLayout(dir, parent) {QBoxLayout_QBoxLayout_QRegisterMetaType();}; void addItem(QLayoutItem * item) { callbackQBoxLayout_AddItem(this, item); }; int count() const { return callbackQBoxLayout_Count(const_cast(static_cast(this))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQLayout_ExpandingDirections(const_cast(static_cast(this)))); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), w); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; QLayoutItem * itemAt(int index) const { return static_cast(callbackQBoxLayout_ItemAt(const_cast(static_cast(this)), index)); }; QSize maximumSize() const { return *static_cast(callbackQLayout_MaximumSize(const_cast(static_cast(this)))); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSize minimumSize() const { return *static_cast(callbackQLayout_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & r) { callbackQLayout_SetGeometry(this, const_cast(&r)); }; QSize sizeHint() const { return *static_cast(callbackQBoxLayout_SizeHint(const_cast(static_cast(this)))); }; QLayoutItem * takeAt(int index) { return static_cast(callbackQBoxLayout_TakeAt(this, index)); }; ~MyQBoxLayout() { callbackQBoxLayout_DestroyQBoxLayout(this); }; void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); }; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQLayout_Geometry(const_cast(static_cast(this)))); }; int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast(static_cast(this)), widget); }; bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast(static_cast(this))) != 0; }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); }; void deleteLater() { callbackQLayout_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQLayout_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQLayout_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; }; Q_DECLARE_METATYPE(QBoxLayout*) Q_DECLARE_METATYPE(MyQBoxLayout*) int QBoxLayout_QBoxLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QBoxLayout_NewQBoxLayout(long long dir, void* parent) { return new MyQBoxLayout(static_cast(dir), static_cast(parent)); } void QBoxLayout_AddItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item)); } else { static_cast(ptr)->addItem(static_cast(item)); } } void QBoxLayout_AddItemDefault(void* ptr, void* item) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->QVBoxLayout::addItem(static_cast(item)); } else { static_cast(ptr)->QVBoxLayout::addItem(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->QHBoxLayout::addItem(static_cast(item)); } else { static_cast(ptr)->QHBoxLayout::addItem(static_cast(item)); } } else { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->QBoxLayout::addItem(static_cast(item)); } else { static_cast(ptr)->QBoxLayout::addItem(static_cast(item)); } } } void QBoxLayout_AddLayout(void* ptr, void* layout, int stretch) { static_cast(ptr)->addLayout(static_cast(layout), stretch); } void QBoxLayout_AddSpacerItem(void* ptr, void* spacerItem) { static_cast(ptr)->addSpacerItem(static_cast(spacerItem)); } void QBoxLayout_AddSpacing(void* ptr, int size) { static_cast(ptr)->addSpacing(size); } void QBoxLayout_AddStretch(void* ptr, int stretch) { static_cast(ptr)->addStretch(stretch); } void QBoxLayout_AddStrut(void* ptr, int size) { static_cast(ptr)->addStrut(size); } void QBoxLayout_AddWidget(void* ptr, void* widget, int stretch, long long alignment) { static_cast(ptr)->addWidget(static_cast(widget), stretch, static_cast(alignment)); } int QBoxLayout_Count(void* ptr) { return static_cast(ptr)->count(); } int QBoxLayout_CountDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::count(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::count(); } else { return static_cast(ptr)->QBoxLayout::count(); } } long long QBoxLayout_Direction(void* ptr) { return static_cast(ptr)->direction(); } void QBoxLayout_InsertItem(void* ptr, int index, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->insertItem(index, static_cast(item)); } else { static_cast(ptr)->insertItem(index, static_cast(item)); } } void QBoxLayout_InsertLayout(void* ptr, int index, void* layout, int stretch) { static_cast(ptr)->insertLayout(index, static_cast(layout), stretch); } void QBoxLayout_InsertSpacerItem(void* ptr, int index, void* spacerItem) { static_cast(ptr)->insertSpacerItem(index, static_cast(spacerItem)); } void QBoxLayout_InsertSpacing(void* ptr, int index, int size) { static_cast(ptr)->insertSpacing(index, size); } void QBoxLayout_InsertStretch(void* ptr, int index, int stretch) { static_cast(ptr)->insertStretch(index, stretch); } void QBoxLayout_InsertWidget(void* ptr, int index, void* widget, int stretch, long long alignment) { static_cast(ptr)->insertWidget(index, static_cast(widget), stretch, static_cast(alignment)); } void* QBoxLayout_ItemAt(void* ptr, int index) { return static_cast(ptr)->itemAt(index); } void* QBoxLayout_ItemAtDefault(void* ptr, int index) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::itemAt(index); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::itemAt(index); } else { return static_cast(ptr)->QBoxLayout::itemAt(index); } } void QBoxLayout_SetDirection(void* ptr, long long direction) { static_cast(ptr)->setDirection(static_cast(direction)); } void QBoxLayout_SetStretch(void* ptr, int index, int stretch) { static_cast(ptr)->setStretch(index, stretch); } char QBoxLayout_SetStretchFactor(void* ptr, void* widget, int stretch) { return static_cast(ptr)->setStretchFactor(static_cast(widget), stretch); } char QBoxLayout_SetStretchFactor2(void* ptr, void* layout, int stretch) { return static_cast(ptr)->setStretchFactor(static_cast(layout), stretch); } void* QBoxLayout_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QBoxLayout_SizeHintDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QVBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QHBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->QBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } } int QBoxLayout_Stretch(void* ptr, int index) { return static_cast(ptr)->stretch(index); } void* QBoxLayout_TakeAt(void* ptr, int index) { return static_cast(ptr)->takeAt(index); } void* QBoxLayout_TakeAtDefault(void* ptr, int index) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::takeAt(index); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::takeAt(index); } else { return static_cast(ptr)->QBoxLayout::takeAt(index); } } void QBoxLayout_DestroyQBoxLayout(void* ptr) { static_cast(ptr)->~QBoxLayout(); } void QBoxLayout_DestroyQBoxLayoutDefault(void* ptr) { Q_UNUSED(ptr); } class MyQButtonGroup: public QButtonGroup { public: MyQButtonGroup(QObject *parent = Q_NULLPTR) : QButtonGroup(parent) {QButtonGroup_QButtonGroup_QRegisterMetaType();}; void Signal_ButtonClicked(QAbstractButton * button) { callbackQButtonGroup_ButtonClicked(this, button); }; void Signal_ButtonClicked2(int id) { callbackQButtonGroup_ButtonClicked2(this, id); }; void Signal_ButtonPressed(QAbstractButton * button) { callbackQButtonGroup_ButtonPressed(this, button); }; void Signal_ButtonPressed2(int id) { callbackQButtonGroup_ButtonPressed2(this, id); }; void Signal_ButtonReleased(QAbstractButton * button) { callbackQButtonGroup_ButtonReleased(this, button); }; void Signal_ButtonReleased2(int id) { callbackQButtonGroup_ButtonReleased2(this, id); }; void Signal_ButtonToggled(QAbstractButton * button, bool checked) { callbackQButtonGroup_ButtonToggled(this, button, checked); }; void Signal_ButtonToggled2(int id, bool checked) { callbackQButtonGroup_ButtonToggled2(this, id, checked); }; ~MyQButtonGroup() { callbackQButtonGroup_DestroyQButtonGroup(this); }; void childEvent(QChildEvent * event) { callbackQButtonGroup_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQButtonGroup_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQButtonGroup_CustomEvent(this, event); }; void deleteLater() { callbackQButtonGroup_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQButtonGroup_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQButtonGroup_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQButtonGroup_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQButtonGroup_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQButtonGroup_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQButtonGroup_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQButtonGroup_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QButtonGroup*) Q_DECLARE_METATYPE(MyQButtonGroup*) int QButtonGroup_QButtonGroup_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QButtonGroup_NewQButtonGroup(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQButtonGroup(static_cast(parent)); } else { return new MyQButtonGroup(static_cast(parent)); } } void QButtonGroup_AddButton(void* ptr, void* button, int id) { static_cast(ptr)->addButton(static_cast(button), id); } void* QButtonGroup_Button(void* ptr, int id) { return static_cast(ptr)->button(id); } void QButtonGroup_ConnectButtonClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QButtonGroup::buttonClicked), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonClicked), static_cast(t)); } void QButtonGroup_DisconnectButtonClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QButtonGroup::buttonClicked), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonClicked)); } void QButtonGroup_ButtonClicked(void* ptr, void* button) { static_cast(ptr)->buttonClicked(static_cast(button)); } void QButtonGroup_ConnectButtonClicked2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QButtonGroup::buttonClicked), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonClicked2), static_cast(t)); } void QButtonGroup_DisconnectButtonClicked2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QButtonGroup::buttonClicked), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonClicked2)); } void QButtonGroup_ButtonClicked2(void* ptr, int id) { static_cast(ptr)->buttonClicked(id); } void QButtonGroup_ConnectButtonPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QButtonGroup::buttonPressed), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonPressed), static_cast(t)); } void QButtonGroup_DisconnectButtonPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QButtonGroup::buttonPressed), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonPressed)); } void QButtonGroup_ButtonPressed(void* ptr, void* button) { static_cast(ptr)->buttonPressed(static_cast(button)); } void QButtonGroup_ConnectButtonPressed2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QButtonGroup::buttonPressed), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonPressed2), static_cast(t)); } void QButtonGroup_DisconnectButtonPressed2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QButtonGroup::buttonPressed), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonPressed2)); } void QButtonGroup_ButtonPressed2(void* ptr, int id) { static_cast(ptr)->buttonPressed(id); } void QButtonGroup_ConnectButtonReleased(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QButtonGroup::buttonReleased), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonReleased), static_cast(t)); } void QButtonGroup_DisconnectButtonReleased(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QButtonGroup::buttonReleased), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonReleased)); } void QButtonGroup_ButtonReleased(void* ptr, void* button) { static_cast(ptr)->buttonReleased(static_cast(button)); } void QButtonGroup_ConnectButtonReleased2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QButtonGroup::buttonReleased), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonReleased2), static_cast(t)); } void QButtonGroup_DisconnectButtonReleased2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QButtonGroup::buttonReleased), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonReleased2)); } void QButtonGroup_ButtonReleased2(void* ptr, int id) { static_cast(ptr)->buttonReleased(id); } void QButtonGroup_ConnectButtonToggled(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QButtonGroup::buttonToggled), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonToggled), static_cast(t)); } void QButtonGroup_DisconnectButtonToggled(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QButtonGroup::buttonToggled), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonToggled)); } void QButtonGroup_ButtonToggled(void* ptr, void* button, char checked) { static_cast(ptr)->buttonToggled(static_cast(button), checked != 0); } void QButtonGroup_ConnectButtonToggled2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QButtonGroup::buttonToggled), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonToggled2), static_cast(t)); } void QButtonGroup_DisconnectButtonToggled2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QButtonGroup::buttonToggled), static_cast(ptr), static_cast(&MyQButtonGroup::Signal_ButtonToggled2)); } void QButtonGroup_ButtonToggled2(void* ptr, int id, char checked) { static_cast(ptr)->buttonToggled(id, checked != 0); } struct QtWidgets_PackedList QButtonGroup_Buttons(void* ptr) { return ({ QList* tmpValuea4306e = new QList(static_cast(ptr)->buttons()); QtWidgets_PackedList { tmpValuea4306e, tmpValuea4306e->size() }; }); } void* QButtonGroup_CheckedButton(void* ptr) { return static_cast(ptr)->checkedButton(); } int QButtonGroup_CheckedId(void* ptr) { return static_cast(ptr)->checkedId(); } char QButtonGroup_Exclusive(void* ptr) { return static_cast(ptr)->exclusive(); } int QButtonGroup_Id(void* ptr, void* button) { return static_cast(ptr)->id(static_cast(button)); } void QButtonGroup_RemoveButton(void* ptr, void* button) { static_cast(ptr)->removeButton(static_cast(button)); } void QButtonGroup_SetExclusive(void* ptr, char vbo) { static_cast(ptr)->setExclusive(vbo != 0); } void QButtonGroup_SetId(void* ptr, void* button, int id) { static_cast(ptr)->setId(static_cast(button), id); } void QButtonGroup_DestroyQButtonGroup(void* ptr) { static_cast(ptr)->~QButtonGroup(); } void QButtonGroup_DestroyQButtonGroupDefault(void* ptr) { Q_UNUSED(ptr); } void* QButtonGroup___buttons_atList(void* ptr, int i) { return ({QAbstractButton * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QButtonGroup___buttons_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QButtonGroup___buttons_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QButtonGroup___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QButtonGroup___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QButtonGroup___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QButtonGroup___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QButtonGroup___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QButtonGroup___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QButtonGroup___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QButtonGroup___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QButtonGroup___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QButtonGroup___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QButtonGroup___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QButtonGroup___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QButtonGroup_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QButtonGroup::childEvent(static_cast(event)); } void QButtonGroup_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QButtonGroup::connectNotify(*static_cast(sign)); } void QButtonGroup_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QButtonGroup::customEvent(static_cast(event)); } void QButtonGroup_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QButtonGroup::deleteLater(); } void QButtonGroup_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QButtonGroup::disconnectNotify(*static_cast(sign)); } char QButtonGroup_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QButtonGroup::event(static_cast(e)); } char QButtonGroup_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QButtonGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QButtonGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QButtonGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QButtonGroup::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QButtonGroup::eventFilter(static_cast(watched), static_cast(event)); } } void* QButtonGroup_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QButtonGroup::metaObject()); } void QButtonGroup_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QButtonGroup::timerEvent(static_cast(event)); } class MyQCalendarWidget: public QCalendarWidget { public: MyQCalendarWidget(QWidget *parent = Q_NULLPTR) : QCalendarWidget(parent) {QCalendarWidget_QCalendarWidget_QRegisterMetaType();}; void Signal_Activated(const QDate & date) { callbackQCalendarWidget_Activated(this, const_cast(&date)); }; void Signal_Clicked(const QDate & date) { callbackQCalendarWidget_Clicked(this, const_cast(&date)); }; void Signal_CurrentPageChanged(int year, int month) { callbackQCalendarWidget_CurrentPageChanged(this, year, month); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void paintCell(QPainter * painter, const QRect & rect, const QDate & date) const { callbackQCalendarWidget_PaintCell(const_cast(static_cast(this)), painter, const_cast(&rect), const_cast(&date)); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void Signal_SelectionChanged() { callbackQCalendarWidget_SelectionChanged(this); }; void setCurrentPage(int year, int month) { callbackQCalendarWidget_SetCurrentPage(this, year, month); }; void setDateRange(const QDate & min, const QDate & max) { callbackQCalendarWidget_SetDateRange(this, const_cast(&min), const_cast(&max)); }; void setGridVisible(bool show) { callbackQCalendarWidget_SetGridVisible(this, show); }; void setNavigationBarVisible(bool visible) { callbackQCalendarWidget_SetNavigationBarVisible(this, visible); }; void setSelectedDate(const QDate & date) { callbackQCalendarWidget_SetSelectedDate(this, const_cast(&date)); }; void showNextMonth() { callbackQCalendarWidget_ShowNextMonth(this); }; void showNextYear() { callbackQCalendarWidget_ShowNextYear(this); }; void showPreviousMonth() { callbackQCalendarWidget_ShowPreviousMonth(this); }; void showPreviousYear() { callbackQCalendarWidget_ShowPreviousYear(this); }; void showSelectedDate() { callbackQCalendarWidget_ShowSelectedDate(this); }; void showToday() { callbackQCalendarWidget_ShowToday(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQCalendarWidget() { callbackQCalendarWidget_DestroyQCalendarWidget(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QCalendarWidget*) Q_DECLARE_METATYPE(MyQCalendarWidget*) int QCalendarWidget_QCalendarWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QCalendarWidget_NewQCalendarWidget(void* parent) { return new MyQCalendarWidget(static_cast(parent)); } void QCalendarWidget_ConnectActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCalendarWidget::activated), static_cast(ptr), static_cast(&MyQCalendarWidget::Signal_Activated), static_cast(t)); } void QCalendarWidget_DisconnectActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCalendarWidget::activated), static_cast(ptr), static_cast(&MyQCalendarWidget::Signal_Activated)); } void QCalendarWidget_Activated(void* ptr, void* date) { static_cast(ptr)->activated(*static_cast(date)); } void QCalendarWidget_ConnectClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCalendarWidget::clicked), static_cast(ptr), static_cast(&MyQCalendarWidget::Signal_Clicked), static_cast(t)); } void QCalendarWidget_DisconnectClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCalendarWidget::clicked), static_cast(ptr), static_cast(&MyQCalendarWidget::Signal_Clicked)); } void QCalendarWidget_Clicked(void* ptr, void* date) { static_cast(ptr)->clicked(*static_cast(date)); } void QCalendarWidget_ConnectCurrentPageChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCalendarWidget::currentPageChanged), static_cast(ptr), static_cast(&MyQCalendarWidget::Signal_CurrentPageChanged), static_cast(t)); } void QCalendarWidget_DisconnectCurrentPageChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCalendarWidget::currentPageChanged), static_cast(ptr), static_cast(&MyQCalendarWidget::Signal_CurrentPageChanged)); } void QCalendarWidget_CurrentPageChanged(void* ptr, int year, int month) { static_cast(ptr)->currentPageChanged(year, month); } int QCalendarWidget_DateEditAcceptDelay(void* ptr) { return static_cast(ptr)->dateEditAcceptDelay(); } struct QtWidgets_PackedList QCalendarWidget_DateTextFormat(void* ptr) { return ({ QMap* tmpValue83ea0b = new QMap(static_cast(ptr)->dateTextFormat()); QtWidgets_PackedList { tmpValue83ea0b, tmpValue83ea0b->size() }; }); } void* QCalendarWidget_DateTextFormat2(void* ptr, void* date) { return new QTextCharFormat(static_cast(ptr)->dateTextFormat(*static_cast(date))); } long long QCalendarWidget_FirstDayOfWeek(void* ptr) { return static_cast(ptr)->firstDayOfWeek(); } void* QCalendarWidget_HeaderTextFormat(void* ptr) { return new QTextCharFormat(static_cast(ptr)->headerTextFormat()); } long long QCalendarWidget_HorizontalHeaderFormat(void* ptr) { return static_cast(ptr)->horizontalHeaderFormat(); } char QCalendarWidget_IsDateEditEnabled(void* ptr) { return static_cast(ptr)->isDateEditEnabled(); } char QCalendarWidget_IsGridVisible(void* ptr) { return static_cast(ptr)->isGridVisible(); } char QCalendarWidget_IsNavigationBarVisible(void* ptr) { return static_cast(ptr)->isNavigationBarVisible(); } void* QCalendarWidget_MaximumDate(void* ptr) { return new QDate(static_cast(ptr)->maximumDate()); } void* QCalendarWidget_MinimumDate(void* ptr) { return new QDate(static_cast(ptr)->minimumDate()); } int QCalendarWidget_MonthShown(void* ptr) { return static_cast(ptr)->monthShown(); } void QCalendarWidget_PaintCell(void* ptr, void* painter, void* rect, void* date) { static_cast(ptr)->paintCell(static_cast(painter), *static_cast(rect), *static_cast(date)); } void QCalendarWidget_PaintCellDefault(void* ptr, void* painter, void* rect, void* date) { static_cast(ptr)->QCalendarWidget::paintCell(static_cast(painter), *static_cast(rect), *static_cast(date)); } void* QCalendarWidget_SelectedDate(void* ptr) { return new QDate(static_cast(ptr)->selectedDate()); } void QCalendarWidget_ConnectSelectionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCalendarWidget::selectionChanged), static_cast(ptr), static_cast(&MyQCalendarWidget::Signal_SelectionChanged), static_cast(t)); } void QCalendarWidget_DisconnectSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCalendarWidget::selectionChanged), static_cast(ptr), static_cast(&MyQCalendarWidget::Signal_SelectionChanged)); } void QCalendarWidget_SelectionChanged(void* ptr) { static_cast(ptr)->selectionChanged(); } long long QCalendarWidget_SelectionMode(void* ptr) { return static_cast(ptr)->selectionMode(); } void QCalendarWidget_SetCurrentPage(void* ptr, int year, int month) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentPage", Q_ARG(int, year), Q_ARG(int, month)); } void QCalendarWidget_SetCurrentPageDefault(void* ptr, int year, int month) { static_cast(ptr)->QCalendarWidget::setCurrentPage(year, month); } void QCalendarWidget_SetDateEditAcceptDelay(void* ptr, int delay) { static_cast(ptr)->setDateEditAcceptDelay(delay); } void QCalendarWidget_SetDateEditEnabled(void* ptr, char enable) { static_cast(ptr)->setDateEditEnabled(enable != 0); } void QCalendarWidget_SetDateRange(void* ptr, void* min, void* max) { QMetaObject::invokeMethod(static_cast(ptr), "setDateRange", Q_ARG(const QDate, *static_cast(min)), Q_ARG(const QDate, *static_cast(max))); } void QCalendarWidget_SetDateRangeDefault(void* ptr, void* min, void* max) { static_cast(ptr)->QCalendarWidget::setDateRange(*static_cast(min), *static_cast(max)); } void QCalendarWidget_SetDateTextFormat(void* ptr, void* date, void* format) { static_cast(ptr)->setDateTextFormat(*static_cast(date), *static_cast(format)); } void QCalendarWidget_SetFirstDayOfWeek(void* ptr, long long dayOfWeek) { static_cast(ptr)->setFirstDayOfWeek(static_cast(dayOfWeek)); } void QCalendarWidget_SetGridVisible(void* ptr, char show) { QMetaObject::invokeMethod(static_cast(ptr), "setGridVisible", Q_ARG(bool, show != 0)); } void QCalendarWidget_SetGridVisibleDefault(void* ptr, char show) { static_cast(ptr)->QCalendarWidget::setGridVisible(show != 0); } void QCalendarWidget_SetHeaderTextFormat(void* ptr, void* format) { static_cast(ptr)->setHeaderTextFormat(*static_cast(format)); } void QCalendarWidget_SetHorizontalHeaderFormat(void* ptr, long long format) { static_cast(ptr)->setHorizontalHeaderFormat(static_cast(format)); } void QCalendarWidget_SetMaximumDate(void* ptr, void* date) { static_cast(ptr)->setMaximumDate(*static_cast(date)); } void QCalendarWidget_SetMinimumDate(void* ptr, void* date) { static_cast(ptr)->setMinimumDate(*static_cast(date)); } void QCalendarWidget_SetNavigationBarVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setNavigationBarVisible", Q_ARG(bool, visible != 0)); } void QCalendarWidget_SetNavigationBarVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QCalendarWidget::setNavigationBarVisible(visible != 0); } void QCalendarWidget_SetSelectedDate(void* ptr, void* date) { QMetaObject::invokeMethod(static_cast(ptr), "setSelectedDate", Q_ARG(const QDate, *static_cast(date))); } void QCalendarWidget_SetSelectedDateDefault(void* ptr, void* date) { static_cast(ptr)->QCalendarWidget::setSelectedDate(*static_cast(date)); } void QCalendarWidget_SetSelectionMode(void* ptr, long long mode) { static_cast(ptr)->setSelectionMode(static_cast(mode)); } void QCalendarWidget_SetVerticalHeaderFormat(void* ptr, long long format) { static_cast(ptr)->setVerticalHeaderFormat(static_cast(format)); } void QCalendarWidget_SetWeekdayTextFormat(void* ptr, long long dayOfWeek, void* format) { static_cast(ptr)->setWeekdayTextFormat(static_cast(dayOfWeek), *static_cast(format)); } void QCalendarWidget_ShowNextMonth(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showNextMonth"); } void QCalendarWidget_ShowNextMonthDefault(void* ptr) { static_cast(ptr)->QCalendarWidget::showNextMonth(); } void QCalendarWidget_ShowNextYear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showNextYear"); } void QCalendarWidget_ShowNextYearDefault(void* ptr) { static_cast(ptr)->QCalendarWidget::showNextYear(); } void QCalendarWidget_ShowPreviousMonth(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showPreviousMonth"); } void QCalendarWidget_ShowPreviousMonthDefault(void* ptr) { static_cast(ptr)->QCalendarWidget::showPreviousMonth(); } void QCalendarWidget_ShowPreviousYear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showPreviousYear"); } void QCalendarWidget_ShowPreviousYearDefault(void* ptr) { static_cast(ptr)->QCalendarWidget::showPreviousYear(); } void QCalendarWidget_ShowSelectedDate(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showSelectedDate"); } void QCalendarWidget_ShowSelectedDateDefault(void* ptr) { static_cast(ptr)->QCalendarWidget::showSelectedDate(); } void QCalendarWidget_ShowToday(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showToday"); } void QCalendarWidget_ShowTodayDefault(void* ptr) { static_cast(ptr)->QCalendarWidget::showToday(); } void QCalendarWidget_UpdateCell(void* ptr, void* date) { static_cast(ptr)->updateCell(*static_cast(date)); } void QCalendarWidget_UpdateCells(void* ptr) { static_cast(ptr)->updateCells(); } long long QCalendarWidget_VerticalHeaderFormat(void* ptr) { return static_cast(ptr)->verticalHeaderFormat(); } void* QCalendarWidget_WeekdayTextFormat(void* ptr, long long dayOfWeek) { return new QTextCharFormat(static_cast(ptr)->weekdayTextFormat(static_cast(dayOfWeek))); } int QCalendarWidget_YearShown(void* ptr) { return static_cast(ptr)->yearShown(); } void QCalendarWidget_DestroyQCalendarWidget(void* ptr) { static_cast(ptr)->~QCalendarWidget(); } void QCalendarWidget_DestroyQCalendarWidgetDefault(void* ptr) { Q_UNUSED(ptr); } void* QCalendarWidget___dateTextFormat_atList(void* ptr, void* v, int i) { return new QTextCharFormat(({ QTextCharFormat tmp = static_cast*>(ptr)->value(*static_cast(v)); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; })); } void QCalendarWidget___dateTextFormat_setList(void* ptr, void* key, void* i) { static_cast*>(ptr)->insert(*static_cast(key), *static_cast(i)); } void* QCalendarWidget___dateTextFormat_newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QCalendarWidget___dateTextFormat_keyList(void* ptr) { return ({ QList* tmpValueb38b32 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValueb38b32, tmpValueb38b32->size() }; }); } void* QCalendarWidget_____dateTextFormat_keyList_atList(void* ptr, int i) { return new QDate(({QDate tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QCalendarWidget_____dateTextFormat_keyList_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QCalendarWidget_____dateTextFormat_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQCheckBox: public QCheckBox { public: MyQCheckBox(QWidget *parent = Q_NULLPTR) : QCheckBox(parent) {QCheckBox_QCheckBox_QRegisterMetaType();}; MyQCheckBox(const QString &text, QWidget *parent = Q_NULLPTR) : QCheckBox(text, parent) {QCheckBox_QCheckBox_QRegisterMetaType();}; void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast(static_cast(this)), const_cast(&pos)) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void nextCheckState() { callbackQAbstractButton_NextCheckState(this); }; void paintEvent(QPaintEvent * vqp) { callbackQCheckBox_PaintEvent(this, vqp); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_StateChanged(int state) { callbackQCheckBox_StateChanged(this, state); }; ~MyQCheckBox() { callbackQCheckBox_DestroyQCheckBox(this); }; void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void click() { callbackQAbstractButton_Click(this); }; void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void Signal_Pressed() { callbackQAbstractButton_Pressed(this); }; void Signal_Released() { callbackQAbstractButton_Released(this); }; void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); }; void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast(&size)); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void toggle() { callbackQAbstractButton_Toggle(this); }; void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QCheckBox*) Q_DECLARE_METATYPE(MyQCheckBox*) int QCheckBox_QCheckBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QCheckBox_NewQCheckBox(void* parent) { return new MyQCheckBox(static_cast(parent)); } void* QCheckBox_NewQCheckBox2(struct QtWidgets_PackedString text, void* parent) { return new MyQCheckBox(QString::fromUtf8(text.data, text.len), static_cast(parent)); } long long QCheckBox_CheckState(void* ptr) { return static_cast(ptr)->checkState(); } void QCheckBox_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } char QCheckBox_IsTristate(void* ptr) { return static_cast(ptr)->isTristate(); } void QCheckBox_PaintEvent(void* ptr, void* vqp) { static_cast(ptr)->paintEvent(static_cast(vqp)); } void QCheckBox_PaintEventDefault(void* ptr, void* vqp) { static_cast(ptr)->QCheckBox::paintEvent(static_cast(vqp)); } void QCheckBox_SetCheckState(void* ptr, long long state) { static_cast(ptr)->setCheckState(static_cast(state)); } void QCheckBox_SetTristate(void* ptr, char y) { static_cast(ptr)->setTristate(y != 0); } void QCheckBox_ConnectStateChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCheckBox::stateChanged), static_cast(ptr), static_cast(&MyQCheckBox::Signal_StateChanged), static_cast(t)); } void QCheckBox_DisconnectStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCheckBox::stateChanged), static_cast(ptr), static_cast(&MyQCheckBox::Signal_StateChanged)); } void QCheckBox_StateChanged(void* ptr, int state) { static_cast(ptr)->stateChanged(state); } void QCheckBox_DestroyQCheckBox(void* ptr) { static_cast(ptr)->~QCheckBox(); } void QCheckBox_DestroyQCheckBoxDefault(void* ptr) { Q_UNUSED(ptr); } class MyQColorDialog: public QColorDialog { public: MyQColorDialog(QWidget *parent = Q_NULLPTR) : QColorDialog(parent) {QColorDialog_QColorDialog_QRegisterMetaType();}; MyQColorDialog(const QColor &initial, QWidget *parent = Q_NULLPTR) : QColorDialog(initial, parent) {QColorDialog_QColorDialog_QRegisterMetaType();}; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void Signal_ColorSelected(const QColor & color) { callbackQColorDialog_ColorSelected(this, const_cast(&color)); }; void Signal_CurrentColorChanged(const QColor & color) { callbackQColorDialog_CurrentColorChanged(this, const_cast(&color)); }; void done(int result) { callbackQColorDialog_Done(this, result); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; ~MyQColorDialog() { callbackQColorDialog_DestroyQColorDialog(this); }; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QColorDialog*) Q_DECLARE_METATYPE(MyQColorDialog*) int QColorDialog_QColorDialog_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QColorDialog_NewQColorDialog(void* parent) { return new MyQColorDialog(static_cast(parent)); } void* QColorDialog_NewQColorDialog2(void* initial, void* parent) { return new MyQColorDialog(*static_cast(initial), static_cast(parent)); } void QColorDialog_ConnectColorSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QColorDialog::colorSelected), static_cast(ptr), static_cast(&MyQColorDialog::Signal_ColorSelected), static_cast(t)); } void QColorDialog_DisconnectColorSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QColorDialog::colorSelected), static_cast(ptr), static_cast(&MyQColorDialog::Signal_ColorSelected)); } void QColorDialog_ColorSelected(void* ptr, void* color) { static_cast(ptr)->colorSelected(*static_cast(color)); } void* QColorDialog_CurrentColor(void* ptr) { return new QColor(static_cast(ptr)->currentColor()); } void QColorDialog_ConnectCurrentColorChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QColorDialog::currentColorChanged), static_cast(ptr), static_cast(&MyQColorDialog::Signal_CurrentColorChanged), static_cast(t)); } void QColorDialog_DisconnectCurrentColorChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QColorDialog::currentColorChanged), static_cast(ptr), static_cast(&MyQColorDialog::Signal_CurrentColorChanged)); } void QColorDialog_CurrentColorChanged(void* ptr, void* color) { static_cast(ptr)->currentColorChanged(*static_cast(color)); } void* QColorDialog_QColorDialog_CustomColor(int index) { return new QColor(QColorDialog::customColor(index)); } int QColorDialog_QColorDialog_CustomCount() { return QColorDialog::customCount(); } void QColorDialog_Done(void* ptr, int result) { static_cast(ptr)->done(result); } void QColorDialog_DoneDefault(void* ptr, int result) { static_cast(ptr)->QColorDialog::done(result); } void* QColorDialog_QColorDialog_GetColor(void* initial, void* parent, struct QtWidgets_PackedString title, long long options) { return new QColor(QColorDialog::getColor(*static_cast(initial), static_cast(parent), QString::fromUtf8(title.data, title.len), static_cast(options))); } void QColorDialog_Open(void* ptr, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } } long long QColorDialog_Options(void* ptr) { return static_cast(ptr)->options(); } void* QColorDialog_SelectedColor(void* ptr) { return new QColor(static_cast(ptr)->selectedColor()); } void QColorDialog_SetCurrentColor(void* ptr, void* color) { static_cast(ptr)->setCurrentColor(*static_cast(color)); } void QColorDialog_QColorDialog_SetCustomColor(int index, void* color) { QColorDialog::setCustomColor(index, *static_cast(color)); } void QColorDialog_SetOption(void* ptr, long long option, char on) { static_cast(ptr)->setOption(static_cast(option), on != 0); } void QColorDialog_SetOptions(void* ptr, long long options) { static_cast(ptr)->setOptions(static_cast(options)); } void QColorDialog_QColorDialog_SetStandardColor(int index, void* color) { QColorDialog::setStandardColor(index, *static_cast(color)); } void* QColorDialog_QColorDialog_StandardColor(int index) { return new QColor(QColorDialog::standardColor(index)); } char QColorDialog_TestOption(void* ptr, long long option) { return static_cast(ptr)->testOption(static_cast(option)); } void QColorDialog_DestroyQColorDialog(void* ptr) { static_cast(ptr)->~QColorDialog(); } void QColorDialog_DestroyQColorDialogDefault(void* ptr) { Q_UNUSED(ptr); } Q_DECLARE_METATYPE(QColormap*) void* QColormap_NewQColormap(void* colormap) { return new QColormap(*static_cast(colormap)); } void* QColormap_ColorAt(void* ptr, unsigned int pixel) { return new QColor(static_cast(ptr)->colorAt(pixel)); } struct QtWidgets_PackedList QColormap_Colormap(void* ptr) { return ({ QVector* tmpValue60e802 = new QVector(static_cast(ptr)->colormap()); QtWidgets_PackedList { tmpValue60e802, tmpValue60e802->size() }; }); } int QColormap_Depth(void* ptr) { return static_cast(ptr)->depth(); } void* QColormap_QColormap_Instance(int screen) { return new QColormap(QColormap::instance(screen)); } long long QColormap_Mode(void* ptr) { return static_cast(ptr)->mode(); } unsigned int QColormap_Pixel(void* ptr, void* color) { return static_cast(ptr)->pixel(*static_cast(color)); } int QColormap_Size(void* ptr) { return static_cast(ptr)->size(); } void QColormap_DestroyQColormap(void* ptr) { static_cast(ptr)->~QColormap(); } void* QColormap___colormap_atList(void* ptr, int i) { return new QColor(({QColor tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; })); } void QColormap___colormap_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QColormap___colormap_newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } class MyQColumnView: public QColumnView { public: MyQColumnView(QWidget *parent = Q_NULLPTR) : QColumnView(parent) {QColumnView_QColumnView_QRegisterMetaType();}; QAbstractItemView * createColumn(const QModelIndex & index) { return static_cast(callbackQColumnView_CreateColumn(this, const_cast(&index))); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQColumnView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; int horizontalOffset() const { return callbackQColumnView_HorizontalOffset(const_cast(static_cast(this))); }; QModelIndex indexAt(const QPoint & point) const { return *static_cast(callbackQColumnView_IndexAt(const_cast(static_cast(this)), const_cast(&point))); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQColumnView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQColumnView_MoveCursor(this, cursorAction, modifiers)); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQColumnView_RowsInserted(this, const_cast(&parent), start, end); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQColumnView_ScrollTo(this, const_cast(&index), hint); }; void selectAll() { callbackQColumnView_SelectAll(this); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQColumnView_SetRootIndex(this, const_cast(&index)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQColumnView_SetSelection(this, const_cast(&rect), command); }; void setSelectionModel(QItemSelectionModel * newSelectionModel) { callbackQAbstractItemView_SetSelectionModel(this, newSelectionModel); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_UpdatePreviewWidget(const QModelIndex & index) { callbackQColumnView_UpdatePreviewWidget(this, const_cast(&index)); }; int verticalOffset() const { return callbackQColumnView_VerticalOffset(const_cast(static_cast(this))); }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQColumnView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQColumnView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; ~MyQColumnView() { callbackQColumnView_DestroyQColumnView(this); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQAbstractItemView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void reset() { callbackQAbstractItemView_Reset(this); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQAbstractItemView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; void updateGeometries() { callbackQAbstractItemView_UpdateGeometries(this); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QColumnView*) Q_DECLARE_METATYPE(MyQColumnView*) int QColumnView_QColumnView_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QColumnView_NewQColumnView(void* parent) { return new MyQColumnView(static_cast(parent)); } struct QtWidgets_PackedList QColumnView_ColumnWidths(void* ptr) { return ({ QList* tmpValuef750bc = new QList(static_cast(ptr)->columnWidths()); QtWidgets_PackedList { tmpValuef750bc, tmpValuef750bc->size() }; }); } void* QColumnView_CreateColumn(void* ptr, void* index) { return static_cast(ptr)->createColumn(*static_cast(index)); } void* QColumnView_CreateColumnDefault(void* ptr, void* index) { return static_cast(ptr)->QColumnView::createColumn(*static_cast(index)); } void QColumnView_CurrentChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentChanged(*static_cast(current), *static_cast(previous)); } void QColumnView_CurrentChangedDefault(void* ptr, void* current, void* previous) { static_cast(ptr)->QColumnView::currentChanged(*static_cast(current), *static_cast(previous)); } int QColumnView_HorizontalOffset(void* ptr) { return static_cast(ptr)->horizontalOffset(); } int QColumnView_HorizontalOffsetDefault(void* ptr) { return static_cast(ptr)->QColumnView::horizontalOffset(); } void* QColumnView_IndexAt(void* ptr, void* point) { return new QModelIndex(static_cast(ptr)->indexAt(*static_cast(point))); } void* QColumnView_IndexAtDefault(void* ptr, void* point) { return new QModelIndex(static_cast(ptr)->QColumnView::indexAt(*static_cast(point))); } void QColumnView_InitializeColumn(void* ptr, void* column) { static_cast(ptr)->initializeColumn(static_cast(column)); } char QColumnView_IsIndexHidden(void* ptr, void* index) { return static_cast(ptr)->isIndexHidden(*static_cast(index)); } char QColumnView_IsIndexHiddenDefault(void* ptr, void* index) { return static_cast(ptr)->QColumnView::isIndexHidden(*static_cast(index)); } void* QColumnView_MoveCursor(void* ptr, long long cursorAction, long long modifiers) { return new QModelIndex(static_cast(ptr)->moveCursor(static_cast(cursorAction), static_cast(modifiers))); } void* QColumnView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers) { return new QModelIndex(static_cast(ptr)->QColumnView::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } void* QColumnView_PreviewWidget(void* ptr) { return static_cast(ptr)->previewWidget(); } char QColumnView_ResizeGripsVisible(void* ptr) { return static_cast(ptr)->resizeGripsVisible(); } void QColumnView_RowsInserted(void* ptr, void* parent, int start, int end) { static_cast(ptr)->rowsInserted(*static_cast(parent), start, end); } void QColumnView_RowsInsertedDefault(void* ptr, void* parent, int start, int end) { static_cast(ptr)->QColumnView::rowsInserted(*static_cast(parent), start, end); } void QColumnView_ScrollTo(void* ptr, void* index, long long hint) { static_cast(ptr)->scrollTo(*static_cast(index), static_cast(hint)); } void QColumnView_ScrollToDefault(void* ptr, void* index, long long hint) { static_cast(ptr)->QColumnView::scrollTo(*static_cast(index), static_cast(hint)); } void QColumnView_SelectAll(void* ptr) { static_cast(ptr)->selectAll(); } void QColumnView_SelectAllDefault(void* ptr) { static_cast(ptr)->QColumnView::selectAll(); } void QColumnView_SetColumnWidths(void* ptr, void* list) { static_cast(ptr)->setColumnWidths(*static_cast*>(list)); } void QColumnView_SetPreviewWidget(void* ptr, void* widget) { static_cast(ptr)->setPreviewWidget(static_cast(widget)); } void QColumnView_SetResizeGripsVisible(void* ptr, char visible) { static_cast(ptr)->setResizeGripsVisible(visible != 0); } void QColumnView_SetRootIndex(void* ptr, void* index) { static_cast(ptr)->setRootIndex(*static_cast(index)); } void QColumnView_SetRootIndexDefault(void* ptr, void* index) { static_cast(ptr)->QColumnView::setRootIndex(*static_cast(index)); } void QColumnView_SetSelection(void* ptr, void* rect, long long command) { static_cast(ptr)->setSelection(*static_cast(rect), static_cast(command)); } void QColumnView_SetSelectionDefault(void* ptr, void* rect, long long command) { static_cast(ptr)->QColumnView::setSelection(*static_cast(rect), static_cast(command)); } void QColumnView_ConnectUpdatePreviewWidget(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QColumnView::updatePreviewWidget), static_cast(ptr), static_cast(&MyQColumnView::Signal_UpdatePreviewWidget), static_cast(t)); } void QColumnView_DisconnectUpdatePreviewWidget(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QColumnView::updatePreviewWidget), static_cast(ptr), static_cast(&MyQColumnView::Signal_UpdatePreviewWidget)); } void QColumnView_UpdatePreviewWidget(void* ptr, void* index) { static_cast(ptr)->updatePreviewWidget(*static_cast(index)); } int QColumnView_VerticalOffset(void* ptr) { return static_cast(ptr)->verticalOffset(); } int QColumnView_VerticalOffsetDefault(void* ptr) { return static_cast(ptr)->QColumnView::verticalOffset(); } void* QColumnView_VisualRect(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QColumnView_VisualRectDefault(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->QColumnView::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QColumnView_VisualRegionForSelection(void* ptr, void* selection) { return new QRegion(static_cast(ptr)->visualRegionForSelection(*static_cast(selection))); } void* QColumnView_VisualRegionForSelectionDefault(void* ptr, void* selection) { return new QRegion(static_cast(ptr)->QColumnView::visualRegionForSelection(*static_cast(selection))); } void QColumnView_DestroyQColumnView(void* ptr) { static_cast(ptr)->~QColumnView(); } void QColumnView_DestroyQColumnViewDefault(void* ptr) { Q_UNUSED(ptr); } int QColumnView___columnWidths_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QColumnView___columnWidths_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QColumnView___columnWidths_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QColumnView___setColumnWidths_list_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QColumnView___setColumnWidths_list_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QColumnView___setColumnWidths_list_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQComboBox: public QComboBox { public: MyQComboBox(QWidget *parent = Q_NULLPTR) : QComboBox(parent) {QComboBox_QComboBox_QRegisterMetaType();}; void Signal_Activated(int index) { callbackQComboBox_Activated(this, index); }; void Signal_Activated2(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_Activated2(this, textPacked); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void clear() { callbackQComboBox_Clear(this); }; void clearEditText() { callbackQComboBox_ClearEditText(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void Signal_CurrentIndexChanged(int index) { callbackQComboBox_CurrentIndexChanged(this, index); }; void Signal_CurrentTextChanged(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_CurrentTextChanged(this, textPacked); }; void Signal_EditTextChanged(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_EditTextChanged(this, textPacked); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void hideEvent(QHideEvent * e) { callbackQWidget_HideEvent(this, e); }; void hidePopup() { callbackQComboBox_HidePopup(this); }; void Signal_Highlighted(int index) { callbackQComboBox_Highlighted(this, index); }; void Signal_Highlighted2(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_Highlighted2(this, textPacked); }; void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void setCurrentIndex(int index) { callbackQComboBox_SetCurrentIndex(this, index); }; void setCurrentText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_SetCurrentText(this, textPacked); }; void setEditText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_SetEditText(this, textPacked); }; void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); }; void showPopup() { callbackQComboBox_ShowPopup(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; ~MyQComboBox() { callbackQComboBox_DestroyQComboBox(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QComboBox*) Q_DECLARE_METATYPE(MyQComboBox*) int QComboBox_QComboBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QComboBox_NewQComboBox(void* parent) { return new MyQComboBox(static_cast(parent)); } void QComboBox_ConnectActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QComboBox::activated), static_cast(ptr), static_cast(&MyQComboBox::Signal_Activated), static_cast(t)); } void QComboBox_DisconnectActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QComboBox::activated), static_cast(ptr), static_cast(&MyQComboBox::Signal_Activated)); } void QComboBox_Activated(void* ptr, int index) { static_cast(ptr)->activated(index); } void QComboBox_ConnectActivated2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QComboBox::activated), static_cast(ptr), static_cast(&MyQComboBox::Signal_Activated2), static_cast(t)); } void QComboBox_DisconnectActivated2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QComboBox::activated), static_cast(ptr), static_cast(&MyQComboBox::Signal_Activated2)); } void QComboBox_Activated2(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->activated(QString::fromUtf8(text.data, text.len)); } void QComboBox_AddItem(void* ptr, struct QtWidgets_PackedString text, void* userData) { static_cast(ptr)->addItem(QString::fromUtf8(text.data, text.len), *static_cast(userData)); } void QComboBox_AddItem2(void* ptr, void* icon, struct QtWidgets_PackedString text, void* userData) { static_cast(ptr)->addItem(*static_cast(icon), QString::fromUtf8(text.data, text.len), *static_cast(userData)); } void QComboBox_AddItems(void* ptr, struct QtWidgets_PackedString texts) { static_cast(ptr)->addItems(QString::fromUtf8(texts.data, texts.len).split("¡¦!", QString::SkipEmptyParts)); } void QComboBox_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QComboBox_ClearDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::clear(); } else { static_cast(ptr)->QComboBox::clear(); } } void QComboBox_ClearEditText(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clearEditText"); } void QComboBox_ClearEditTextDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::clearEditText(); } else { static_cast(ptr)->QComboBox::clearEditText(); } } void* QComboBox_Completer(void* ptr) { return static_cast(ptr)->completer(); } int QComboBox_Count(void* ptr) { return static_cast(ptr)->count(); } void* QComboBox_CurrentData(void* ptr, int role) { return new QVariant(static_cast(ptr)->currentData(role)); } int QComboBox_CurrentIndex(void* ptr) { return static_cast(ptr)->currentIndex(); } void QComboBox_ConnectCurrentIndexChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QComboBox::currentIndexChanged), static_cast(ptr), static_cast(&MyQComboBox::Signal_CurrentIndexChanged), static_cast(t)); } void QComboBox_DisconnectCurrentIndexChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QComboBox::currentIndexChanged), static_cast(ptr), static_cast(&MyQComboBox::Signal_CurrentIndexChanged)); } void QComboBox_CurrentIndexChanged(void* ptr, int index) { static_cast(ptr)->currentIndexChanged(index); } struct QtWidgets_PackedString QComboBox_CurrentText(void* ptr) { return ({ QByteArray* t0977ce = new QByteArray(static_cast(ptr)->currentText().toUtf8()); QtWidgets_PackedString { const_cast(t0977ce->prepend("WHITESPACE").constData()+10), t0977ce->size()-10, t0977ce }; }); } void QComboBox_ConnectCurrentTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QComboBox::currentTextChanged), static_cast(ptr), static_cast(&MyQComboBox::Signal_CurrentTextChanged), static_cast(t)); } void QComboBox_DisconnectCurrentTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QComboBox::currentTextChanged), static_cast(ptr), static_cast(&MyQComboBox::Signal_CurrentTextChanged)); } void QComboBox_CurrentTextChanged(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->currentTextChanged(QString::fromUtf8(text.data, text.len)); } char QComboBox_DuplicatesEnabled(void* ptr) { return static_cast(ptr)->duplicatesEnabled(); } void QComboBox_ConnectEditTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QComboBox::editTextChanged), static_cast(ptr), static_cast(&MyQComboBox::Signal_EditTextChanged), static_cast(t)); } void QComboBox_DisconnectEditTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QComboBox::editTextChanged), static_cast(ptr), static_cast(&MyQComboBox::Signal_EditTextChanged)); } void QComboBox_EditTextChanged(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->editTextChanged(QString::fromUtf8(text.data, text.len)); } int QComboBox_FindData(void* ptr, void* data, int role, long long flags) { return static_cast(ptr)->findData(*static_cast(data), role, static_cast(flags)); } int QComboBox_FindText(void* ptr, struct QtWidgets_PackedString text, long long flags) { return static_cast(ptr)->findText(QString::fromUtf8(text.data, text.len), static_cast(flags)); } char QComboBox_HasFrame(void* ptr) { return static_cast(ptr)->hasFrame(); } void QComboBox_HidePopup(void* ptr) { static_cast(ptr)->hidePopup(); } void QComboBox_HidePopupDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::hidePopup(); } else { static_cast(ptr)->QComboBox::hidePopup(); } } void QComboBox_ConnectHighlighted(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QComboBox::highlighted), static_cast(ptr), static_cast(&MyQComboBox::Signal_Highlighted), static_cast(t)); } void QComboBox_DisconnectHighlighted(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QComboBox::highlighted), static_cast(ptr), static_cast(&MyQComboBox::Signal_Highlighted)); } void QComboBox_Highlighted(void* ptr, int index) { static_cast(ptr)->highlighted(index); } void QComboBox_ConnectHighlighted2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QComboBox::highlighted), static_cast(ptr), static_cast(&MyQComboBox::Signal_Highlighted2), static_cast(t)); } void QComboBox_DisconnectHighlighted2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QComboBox::highlighted), static_cast(ptr), static_cast(&MyQComboBox::Signal_Highlighted2)); } void QComboBox_Highlighted2(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->highlighted(QString::fromUtf8(text.data, text.len)); } void* QComboBox_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QComboBox_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } void QComboBox_InsertItem(void* ptr, int index, struct QtWidgets_PackedString text, void* userData) { static_cast(ptr)->insertItem(index, QString::fromUtf8(text.data, text.len), *static_cast(userData)); } void QComboBox_InsertItem2(void* ptr, int index, void* icon, struct QtWidgets_PackedString text, void* userData) { static_cast(ptr)->insertItem(index, *static_cast(icon), QString::fromUtf8(text.data, text.len), *static_cast(userData)); } void QComboBox_InsertItems(void* ptr, int index, struct QtWidgets_PackedString list) { static_cast(ptr)->insertItems(index, QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts)); } long long QComboBox_InsertPolicy(void* ptr) { return static_cast(ptr)->insertPolicy(); } void QComboBox_InsertSeparator(void* ptr, int index) { static_cast(ptr)->insertSeparator(index); } char QComboBox_IsEditable(void* ptr) { return static_cast(ptr)->isEditable(); } void* QComboBox_ItemData(void* ptr, int index, int role) { return new QVariant(static_cast(ptr)->itemData(index, role)); } void* QComboBox_ItemDelegate(void* ptr) { return static_cast(ptr)->itemDelegate(); } void* QComboBox_ItemIcon(void* ptr, int index) { return new QIcon(static_cast(ptr)->itemIcon(index)); } struct QtWidgets_PackedString QComboBox_ItemText(void* ptr, int index) { return ({ QByteArray* tda5d0a = new QByteArray(static_cast(ptr)->itemText(index).toUtf8()); QtWidgets_PackedString { const_cast(tda5d0a->prepend("WHITESPACE").constData()+10), tda5d0a->size()-10, tda5d0a }; }); } void* QComboBox_LineEdit(void* ptr) { return static_cast(ptr)->lineEdit(); } int QComboBox_MaxCount(void* ptr) { return static_cast(ptr)->maxCount(); } int QComboBox_MaxVisibleItems(void* ptr) { return static_cast(ptr)->maxVisibleItems(); } int QComboBox_MinimumContentsLength(void* ptr) { return static_cast(ptr)->minimumContentsLength(); } void* QComboBox_Model(void* ptr) { return static_cast(ptr)->model(); } int QComboBox_ModelColumn(void* ptr) { return static_cast(ptr)->modelColumn(); } void QComboBox_RemoveItem(void* ptr, int index) { static_cast(ptr)->removeItem(index); } void* QComboBox_RootModelIndex(void* ptr) { return new QModelIndex(static_cast(ptr)->rootModelIndex()); } void QComboBox_SetCompleter(void* ptr, void* completer) { static_cast(ptr)->setCompleter(static_cast(completer)); } void QComboBox_SetCurrentIndex(void* ptr, int index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(int, index)); } void QComboBox_SetCurrentIndexDefault(void* ptr, int index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setCurrentIndex(index); } else { static_cast(ptr)->QComboBox::setCurrentIndex(index); } } void QComboBox_SetCurrentText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QComboBox_SetCurrentTextDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setCurrentText(QString::fromUtf8(text.data, text.len)); } else { static_cast(ptr)->QComboBox::setCurrentText(QString::fromUtf8(text.data, text.len)); } } void QComboBox_SetDuplicatesEnabled(void* ptr, char enable) { static_cast(ptr)->setDuplicatesEnabled(enable != 0); } void QComboBox_SetEditText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "setEditText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QComboBox_SetEditTextDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setEditText(QString::fromUtf8(text.data, text.len)); } else { static_cast(ptr)->QComboBox::setEditText(QString::fromUtf8(text.data, text.len)); } } void QComboBox_SetEditable(void* ptr, char editable) { static_cast(ptr)->setEditable(editable != 0); } void QComboBox_SetFrame(void* ptr, char vbo) { static_cast(ptr)->setFrame(vbo != 0); } void QComboBox_SetIconSize(void* ptr, void* size) { static_cast(ptr)->setIconSize(*static_cast(size)); } void QComboBox_SetInsertPolicy(void* ptr, long long policy) { static_cast(ptr)->setInsertPolicy(static_cast(policy)); } void QComboBox_SetItemData(void* ptr, int index, void* value, int role) { static_cast(ptr)->setItemData(index, *static_cast(value), role); } void QComboBox_SetItemDelegate(void* ptr, void* delegate) { static_cast(ptr)->setItemDelegate(static_cast(delegate)); } void QComboBox_SetItemIcon(void* ptr, int index, void* icon) { static_cast(ptr)->setItemIcon(index, *static_cast(icon)); } void QComboBox_SetItemText(void* ptr, int index, struct QtWidgets_PackedString text) { static_cast(ptr)->setItemText(index, QString::fromUtf8(text.data, text.len)); } void QComboBox_SetLineEdit(void* ptr, void* edit) { static_cast(ptr)->setLineEdit(static_cast(edit)); } void QComboBox_SetMaxCount(void* ptr, int max) { static_cast(ptr)->setMaxCount(max); } void QComboBox_SetMaxVisibleItems(void* ptr, int maxItems) { static_cast(ptr)->setMaxVisibleItems(maxItems); } void QComboBox_SetMinimumContentsLength(void* ptr, int characters) { static_cast(ptr)->setMinimumContentsLength(characters); } void QComboBox_SetModel(void* ptr, void* model) { static_cast(ptr)->setModel(static_cast(model)); } void QComboBox_SetModelColumn(void* ptr, int visibleColumn) { static_cast(ptr)->setModelColumn(visibleColumn); } void QComboBox_SetRootModelIndex(void* ptr, void* index) { static_cast(ptr)->setRootModelIndex(*static_cast(index)); } void QComboBox_SetSizeAdjustPolicy(void* ptr, long long policy) { static_cast(ptr)->setSizeAdjustPolicy(static_cast(policy)); } void QComboBox_SetValidator(void* ptr, void* validator) { static_cast(ptr)->setValidator(static_cast(validator)); } void QComboBox_SetView(void* ptr, void* itemView) { static_cast(ptr)->setView(static_cast(itemView)); } void QComboBox_ShowPopup(void* ptr) { static_cast(ptr)->showPopup(); } void QComboBox_ShowPopupDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::showPopup(); } else { static_cast(ptr)->QComboBox::showPopup(); } } long long QComboBox_SizeAdjustPolicy(void* ptr) { return static_cast(ptr)->sizeAdjustPolicy(); } void* QComboBox_Validator(void* ptr) { return const_cast(static_cast(ptr)->validator()); } void* QComboBox_View(void* ptr) { return static_cast(ptr)->view(); } void QComboBox_DestroyQComboBox(void* ptr) { static_cast(ptr)->~QComboBox(); } void QComboBox_DestroyQComboBoxDefault(void* ptr) { Q_UNUSED(ptr); } class MyQCommandLinkButton: public QCommandLinkButton { public: MyQCommandLinkButton(QWidget *parent = Q_NULLPTR) : QCommandLinkButton(parent) {QCommandLinkButton_QCommandLinkButton_QRegisterMetaType();}; MyQCommandLinkButton(const QString &text, QWidget *parent = Q_NULLPTR) : QCommandLinkButton(text, parent) {QCommandLinkButton_QCommandLinkButton_QRegisterMetaType();}; MyQCommandLinkButton(const QString &text, const QString &description, QWidget *parent = Q_NULLPTR) : QCommandLinkButton(text, description, parent) {QCommandLinkButton_QCommandLinkButton_QRegisterMetaType();}; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; int heightForWidth(int width) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), width); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * vqp) { callbackQPushButton_PaintEvent(this, vqp); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQCommandLinkButton() { callbackQCommandLinkButton_DestroyQCommandLinkButton(this); }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void showMenu() { callbackQPushButton_ShowMenu(this); }; void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); }; void click() { callbackQAbstractButton_Click(this); }; void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); }; bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast(static_cast(this)), const_cast(&pos)) != 0; }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void nextCheckState() { callbackQAbstractButton_NextCheckState(this); }; void Signal_Pressed() { callbackQAbstractButton_Pressed(this); }; void Signal_Released() { callbackQAbstractButton_Released(this); }; void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); }; void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast(&size)); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void toggle() { callbackQAbstractButton_Toggle(this); }; void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QCommandLinkButton*) Q_DECLARE_METATYPE(MyQCommandLinkButton*) int QCommandLinkButton_QCommandLinkButton_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QCommandLinkButton_NewQCommandLinkButton(void* parent) { return new MyQCommandLinkButton(static_cast(parent)); } void* QCommandLinkButton_NewQCommandLinkButton2(struct QtWidgets_PackedString text, void* parent) { return new MyQCommandLinkButton(QString::fromUtf8(text.data, text.len), static_cast(parent)); } void* QCommandLinkButton_NewQCommandLinkButton3(struct QtWidgets_PackedString text, struct QtWidgets_PackedString description, void* parent) { return new MyQCommandLinkButton(QString::fromUtf8(text.data, text.len), QString::fromUtf8(description.data, description.len), static_cast(parent)); } struct QtWidgets_PackedString QCommandLinkButton_Description(void* ptr) { return ({ QByteArray* t0a86ba = new QByteArray(static_cast(ptr)->description().toUtf8()); QtWidgets_PackedString { const_cast(t0a86ba->prepend("WHITESPACE").constData()+10), t0a86ba->size()-10, t0a86ba }; }); } void QCommandLinkButton_SetDescription(void* ptr, struct QtWidgets_PackedString description) { static_cast(ptr)->setDescription(QString::fromUtf8(description.data, description.len)); } void QCommandLinkButton_DestroyQCommandLinkButton(void* ptr) { static_cast(ptr)->~QCommandLinkButton(); } void QCommandLinkButton_DestroyQCommandLinkButtonDefault(void* ptr) { Q_UNUSED(ptr); } class MyQCommonStyle: public QCommonStyle { public: MyQCommonStyle() : QCommonStyle() {QCommonStyle_QCommonStyle_QRegisterMetaType();}; void drawComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex * opt, QPainter * p, const QWidget * widget) const { callbackQCommonStyle_DrawComplexControl(const_cast(static_cast(this)), cc, const_cast(opt), p, const_cast(widget)); }; void drawControl(QStyle::ControlElement element, const QStyleOption * opt, QPainter * p, const QWidget * widget) const { callbackQCommonStyle_DrawControl(const_cast(static_cast(this)), element, const_cast(opt), p, const_cast(widget)); }; void drawPrimitive(QStyle::PrimitiveElement pe, const QStyleOption * opt, QPainter * p, const QWidget * widget) const { callbackQCommonStyle_DrawPrimitive(const_cast(static_cast(this)), pe, const_cast(opt), p, const_cast(widget)); }; QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * opt) const { return *static_cast(callbackQCommonStyle_GeneratedIconPixmap(const_cast(static_cast(this)), iconMode, const_cast(&pixmap), const_cast(opt))); }; QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl cc, const QStyleOptionComplex * opt, const QPoint & pt, const QWidget * widget) const { return static_cast(callbackQCommonStyle_HitTestComplexControl(const_cast(static_cast(this)), cc, const_cast(opt), const_cast(&pt), const_cast(widget))); }; int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option, const QWidget * widget) const { return callbackQCommonStyle_LayoutSpacing(const_cast(static_cast(this)), control1, control2, orientation, const_cast(option), const_cast(widget)); }; int pixelMetric(QStyle::PixelMetric m, const QStyleOption * opt, const QWidget * widget) const { return callbackQCommonStyle_PixelMetric(const_cast(static_cast(this)), m, const_cast(opt), const_cast(widget)); }; void polish(QPalette & pal) { callbackQStyle_Polish(this, static_cast(&pal)); }; void polish(QApplication * app) { callbackQStyle_Polish2(this, app); }; void polish(QWidget * widget) { callbackQStyle_Polish3(this, widget); }; QSize sizeFromContents(QStyle::ContentsType ct, const QStyleOption * opt, const QSize & csz, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_SizeFromContents(const_cast(static_cast(this)), ct, const_cast(opt), const_cast(&csz), const_cast(widget))); }; QPixmap standardPixmap(QStyle::StandardPixmap sp, const QStyleOption * option, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_StandardPixmap(const_cast(static_cast(this)), sp, const_cast(option), const_cast(widget))); }; int styleHint(QStyle::StyleHint sh, const QStyleOption * opt, const QWidget * widget, QStyleHintReturn * hret) const { return callbackQCommonStyle_StyleHint(const_cast(static_cast(this)), sh, const_cast(opt), const_cast(widget), hret); }; QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex * opt, QStyle::SubControl sc, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_SubControlRect(const_cast(static_cast(this)), cc, const_cast(opt), sc, const_cast(widget))); }; QRect subElementRect(QStyle::SubElement sr, const QStyleOption * opt, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_SubElementRect(const_cast(static_cast(this)), sr, const_cast(opt), const_cast(widget))); }; void unpolish(QWidget * widget) { callbackQStyle_Unpolish(this, widget); }; void unpolish(QApplication * application) { callbackQStyle_Unpolish2(this, application); }; ~MyQCommonStyle() { callbackQCommonStyle_DestroyQCommonStyle(this); }; void drawItemPixmap(QPainter * painter, const QRect & rectangle, int alignment, const QPixmap & pixmap) const { callbackQStyle_DrawItemPixmap(const_cast(static_cast(this)), painter, const_cast(&rectangle), alignment, const_cast(&pixmap)); }; void drawItemText(QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQStyle_DrawItemText(const_cast(static_cast(this)), painter, const_cast(&rectangle), alignment, const_cast(&palette), enabled, textPacked, textRole); }; QRect itemPixmapRect(const QRect & rectangle, int alignment, const QPixmap & pixmap) const { return *static_cast(callbackQStyle_ItemPixmapRect(const_cast(static_cast(this)), const_cast(&rectangle), alignment, const_cast(&pixmap))); }; QRect itemTextRect(const QFontMetrics & metrics, const QRect & rectangle, int alignment, bool enabled, const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return *static_cast(callbackQStyle_ItemTextRect(const_cast(static_cast(this)), const_cast(&metrics), const_cast(&rectangle), alignment, enabled, textPacked)); }; QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption * option, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_StandardIcon(const_cast(static_cast(this)), standardIcon, const_cast(option), const_cast(widget))); }; QPalette standardPalette() const { return *static_cast(callbackQStyle_StandardPalette(const_cast(static_cast(this)))); }; void childEvent(QChildEvent * event) { callbackQStyle_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQStyle_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQStyle_CustomEvent(this, event); }; void deleteLater() { callbackQStyle_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQStyle_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQStyle_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQStyle_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQStyle_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQStyle_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQStyle_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQStyle_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QCommonStyle*) Q_DECLARE_METATYPE(MyQCommonStyle*) int QCommonStyle_QCommonStyle_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QCommonStyle_NewQCommonStyle() { return new MyQCommonStyle(); } void QCommonStyle_DrawComplexControl(void* ptr, long long cc, void* opt, void* p, void* widget) { static_cast(ptr)->drawComplexControl(static_cast(cc), static_cast(opt), static_cast(p), static_cast(widget)); } void QCommonStyle_DrawComplexControlDefault(void* ptr, long long cc, void* opt, void* p, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::drawComplexControl(static_cast(cc), static_cast(opt), static_cast(p), static_cast(widget)); } else { static_cast(ptr)->QCommonStyle::drawComplexControl(static_cast(cc), static_cast(opt), static_cast(p), static_cast(widget)); } } void QCommonStyle_DrawControl(void* ptr, long long element, void* opt, void* p, void* widget) { static_cast(ptr)->drawControl(static_cast(element), static_cast(opt), static_cast(p), static_cast(widget)); } void QCommonStyle_DrawControlDefault(void* ptr, long long element, void* opt, void* p, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::drawControl(static_cast(element), static_cast(opt), static_cast(p), static_cast(widget)); } else { static_cast(ptr)->QCommonStyle::drawControl(static_cast(element), static_cast(opt), static_cast(p), static_cast(widget)); } } void QCommonStyle_DrawPrimitive(void* ptr, long long pe, void* opt, void* p, void* widget) { static_cast(ptr)->drawPrimitive(static_cast(pe), static_cast(opt), static_cast(p), static_cast(widget)); } void QCommonStyle_DrawPrimitiveDefault(void* ptr, long long pe, void* opt, void* p, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::drawPrimitive(static_cast(pe), static_cast(opt), static_cast(p), static_cast(widget)); } else { static_cast(ptr)->QCommonStyle::drawPrimitive(static_cast(pe), static_cast(opt), static_cast(p), static_cast(widget)); } } void* QCommonStyle_GeneratedIconPixmap(void* ptr, long long iconMode, void* pixmap, void* opt) { return new QPixmap(static_cast(ptr)->generatedIconPixmap(static_cast(iconMode), *static_cast(pixmap), static_cast(opt))); } void* QCommonStyle_GeneratedIconPixmapDefault(void* ptr, long long iconMode, void* pixmap, void* opt) { if (dynamic_cast(static_cast(ptr))) { return new QPixmap(static_cast(ptr)->QProxyStyle::generatedIconPixmap(static_cast(iconMode), *static_cast(pixmap), static_cast(opt))); } else { return new QPixmap(static_cast(ptr)->QCommonStyle::generatedIconPixmap(static_cast(iconMode), *static_cast(pixmap), static_cast(opt))); } } long long QCommonStyle_HitTestComplexControl(void* ptr, long long cc, void* opt, void* pt, void* widget) { return static_cast(ptr)->hitTestComplexControl(static_cast(cc), static_cast(opt), *static_cast(pt), static_cast(widget)); } long long QCommonStyle_HitTestComplexControlDefault(void* ptr, long long cc, void* opt, void* pt, void* widget) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProxyStyle::hitTestComplexControl(static_cast(cc), static_cast(opt), *static_cast(pt), static_cast(widget)); } else { return static_cast(ptr)->QCommonStyle::hitTestComplexControl(static_cast(cc), static_cast(opt), *static_cast(pt), static_cast(widget)); } } int QCommonStyle_LayoutSpacing(void* ptr, long long control1, long long control2, long long orientation, void* option, void* widget) { return static_cast(ptr)->layoutSpacing(static_cast(control1), static_cast(control2), static_cast(orientation), static_cast(option), static_cast(widget)); } int QCommonStyle_LayoutSpacingDefault(void* ptr, long long control1, long long control2, long long orientation, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProxyStyle::layoutSpacing(static_cast(control1), static_cast(control2), static_cast(orientation), static_cast(option), static_cast(widget)); } else { return static_cast(ptr)->QCommonStyle::layoutSpacing(static_cast(control1), static_cast(control2), static_cast(orientation), static_cast(option), static_cast(widget)); } } int QCommonStyle_PixelMetric(void* ptr, long long m, void* opt, void* widget) { return static_cast(ptr)->pixelMetric(static_cast(m), static_cast(opt), static_cast(widget)); } int QCommonStyle_PixelMetricDefault(void* ptr, long long m, void* opt, void* widget) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProxyStyle::pixelMetric(static_cast(m), static_cast(opt), static_cast(widget)); } else { return static_cast(ptr)->QCommonStyle::pixelMetric(static_cast(m), static_cast(opt), static_cast(widget)); } } void* QCommonStyle_SizeFromContents(void* ptr, long long ct, void* opt, void* csz, void* widget) { return ({ QSize tmpValue = static_cast(ptr)->sizeFromContents(static_cast(ct), static_cast(opt), *static_cast(csz), static_cast(widget)); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QCommonStyle_SizeFromContentsDefault(void* ptr, long long ct, void* opt, void* csz, void* widget) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QProxyStyle::sizeFromContents(static_cast(ct), static_cast(opt), *static_cast(csz), static_cast(widget)); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->QCommonStyle::sizeFromContents(static_cast(ct), static_cast(opt), *static_cast(csz), static_cast(widget)); new QSize(tmpValue.width(), tmpValue.height()); }); } } void* QCommonStyle_StandardPixmap(void* ptr, long long sp, void* option, void* widget) { return new QPixmap(static_cast(ptr)->standardPixmap(static_cast(sp), static_cast(option), static_cast(widget))); } void* QCommonStyle_StandardPixmapDefault(void* ptr, long long sp, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { return new QPixmap(static_cast(ptr)->QProxyStyle::standardPixmap(static_cast(sp), static_cast(option), static_cast(widget))); } else { return new QPixmap(static_cast(ptr)->QCommonStyle::standardPixmap(static_cast(sp), static_cast(option), static_cast(widget))); } } int QCommonStyle_StyleHint(void* ptr, long long sh, void* opt, void* widget, void* hret) { return static_cast(ptr)->styleHint(static_cast(sh), static_cast(opt), static_cast(widget), static_cast(hret)); } int QCommonStyle_StyleHintDefault(void* ptr, long long sh, void* opt, void* widget, void* hret) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProxyStyle::styleHint(static_cast(sh), static_cast(opt), static_cast(widget), static_cast(hret)); } else { return static_cast(ptr)->QCommonStyle::styleHint(static_cast(sh), static_cast(opt), static_cast(widget), static_cast(hret)); } } void* QCommonStyle_SubControlRect(void* ptr, long long cc, void* opt, long long sc, void* widget) { return ({ QRect tmpValue = static_cast(ptr)->subControlRect(static_cast(cc), static_cast(opt), static_cast(sc), static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QCommonStyle_SubControlRectDefault(void* ptr, long long cc, void* opt, long long sc, void* widget) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QProxyStyle::subControlRect(static_cast(cc), static_cast(opt), static_cast(sc), static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->QCommonStyle::subControlRect(static_cast(cc), static_cast(opt), static_cast(sc), static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QCommonStyle_SubElementRect(void* ptr, long long sr, void* opt, void* widget) { return ({ QRect tmpValue = static_cast(ptr)->subElementRect(static_cast(sr), static_cast(opt), static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QCommonStyle_SubElementRectDefault(void* ptr, long long sr, void* opt, void* widget) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QProxyStyle::subElementRect(static_cast(sr), static_cast(opt), static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->QCommonStyle::subElementRect(static_cast(sr), static_cast(opt), static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void QCommonStyle_DestroyQCommonStyle(void* ptr) { static_cast(ptr)->~QCommonStyle(); } void QCommonStyle_DestroyQCommonStyleDefault(void* ptr) { Q_UNUSED(ptr); } void* QCommonStyle_StandardIcon(void* ptr, long long standardIcon, void* option, void* widget) { return new QIcon(static_cast(ptr)->standardIcon(static_cast(standardIcon), static_cast(option), static_cast(widget))); } void* QCommonStyle_StandardIconDefault(void* ptr, long long standardIcon, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { return new QIcon(static_cast(ptr)->QProxyStyle::standardIcon(static_cast(standardIcon), static_cast(option), static_cast(widget))); } else { return new QIcon(static_cast(ptr)->QCommonStyle::standardIcon(static_cast(standardIcon), static_cast(option), static_cast(widget))); } } class MyQCompleter: public QCompleter { public: MyQCompleter(QObject *parent = Q_NULLPTR) : QCompleter(parent) {QCompleter_QCompleter_QRegisterMetaType();}; MyQCompleter(QAbstractItemModel *model, QObject *parent = Q_NULLPTR) : QCompleter(model, parent) {QCompleter_QCompleter_QRegisterMetaType();}; MyQCompleter(const QStringList &list, QObject *parent = Q_NULLPTR) : QCompleter(list, parent) {QCompleter_QCompleter_QRegisterMetaType();}; void Signal_Activated(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQCompleter_Activated(this, textPacked); }; void Signal_Activated2(const QModelIndex & index) { callbackQCompleter_Activated2(this, const_cast(&index)); }; void complete(const QRect & rect) { callbackQCompleter_Complete(this, const_cast(&rect)); }; bool event(QEvent * ev) { return callbackQCompleter_Event(this, ev) != 0; }; bool eventFilter(QObject * o, QEvent * e) { return callbackQCompleter_EventFilter(this, o, e) != 0; }; void Signal_Highlighted(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQCompleter_Highlighted(this, textPacked); }; void Signal_Highlighted2(const QModelIndex & index) { callbackQCompleter_Highlighted2(this, const_cast(&index)); }; QString pathFromIndex(const QModelIndex & index) const { return ({ QtWidgets_PackedString tempVal = callbackQCompleter_PathFromIndex(const_cast(static_cast(this)), const_cast(&index)); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; void setCompletionPrefix(const QString & prefix) { QByteArray* tb4ebfe = new QByteArray(prefix.toUtf8()); QtWidgets_PackedString prefixPacked = { const_cast(tb4ebfe->prepend("WHITESPACE").constData()+10), tb4ebfe->size()-10, tb4ebfe };callbackQCompleter_SetCompletionPrefix(this, prefixPacked); }; void setWrapAround(bool wrap) { callbackQCompleter_SetWrapAround(this, wrap); }; QStringList splitPath(const QString & path) const { QByteArray* t3150ec = new QByteArray(path.toUtf8()); QtWidgets_PackedString pathPacked = { const_cast(t3150ec->prepend("WHITESPACE").constData()+10), t3150ec->size()-10, t3150ec };return ({ QtWidgets_PackedString tempVal = callbackQCompleter_SplitPath(const_cast(static_cast(this)), pathPacked); QStringList ret = QString::fromUtf8(tempVal.data, tempVal.len).split("¡¦!", QString::SkipEmptyParts); free(tempVal.data); ret; }); }; ~MyQCompleter() { callbackQCompleter_DestroyQCompleter(this); }; void childEvent(QChildEvent * event) { callbackQCompleter_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQCompleter_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQCompleter_CustomEvent(this, event); }; void deleteLater() { callbackQCompleter_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQCompleter_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQCompleter_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQCompleter_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQCompleter_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQCompleter_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QCompleter*) Q_DECLARE_METATYPE(MyQCompleter*) int QCompleter_QCompleter_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QCompleter_NewQCompleter(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(parent)); } else { return new MyQCompleter(static_cast(parent)); } } void* QCompleter_NewQCompleter2(void* model, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(static_cast(model), static_cast(parent)); } else { return new MyQCompleter(static_cast(model), static_cast(parent)); } } void* QCompleter_NewQCompleter3(struct QtWidgets_PackedString list, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } else { return new MyQCompleter(QString::fromUtf8(list.data, list.len).split("¡¦!", QString::SkipEmptyParts), static_cast(parent)); } } void QCompleter_ConnectActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCompleter::activated), static_cast(ptr), static_cast(&MyQCompleter::Signal_Activated), static_cast(t)); } void QCompleter_DisconnectActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCompleter::activated), static_cast(ptr), static_cast(&MyQCompleter::Signal_Activated)); } void QCompleter_Activated(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->activated(QString::fromUtf8(text.data, text.len)); } void QCompleter_ConnectActivated2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCompleter::activated), static_cast(ptr), static_cast(&MyQCompleter::Signal_Activated2), static_cast(t)); } void QCompleter_DisconnectActivated2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCompleter::activated), static_cast(ptr), static_cast(&MyQCompleter::Signal_Activated2)); } void QCompleter_Activated2(void* ptr, void* index) { static_cast(ptr)->activated(*static_cast(index)); } long long QCompleter_CaseSensitivity(void* ptr) { return static_cast(ptr)->caseSensitivity(); } void QCompleter_Complete(void* ptr, void* rect) { QMetaObject::invokeMethod(static_cast(ptr), "complete", Q_ARG(const QRect, *static_cast(rect))); } void QCompleter_CompleteDefault(void* ptr, void* rect) { static_cast(ptr)->QCompleter::complete(*static_cast(rect)); } int QCompleter_CompletionColumn(void* ptr) { return static_cast(ptr)->completionColumn(); } int QCompleter_CompletionCount(void* ptr) { return static_cast(ptr)->completionCount(); } long long QCompleter_CompletionMode(void* ptr) { return static_cast(ptr)->completionMode(); } void* QCompleter_CompletionModel(void* ptr) { return static_cast(ptr)->completionModel(); } struct QtWidgets_PackedString QCompleter_CompletionPrefix(void* ptr) { return ({ QByteArray* t26112f = new QByteArray(static_cast(ptr)->completionPrefix().toUtf8()); QtWidgets_PackedString { const_cast(t26112f->prepend("WHITESPACE").constData()+10), t26112f->size()-10, t26112f }; }); } int QCompleter_CompletionRole(void* ptr) { return static_cast(ptr)->completionRole(); } struct QtWidgets_PackedString QCompleter_CurrentCompletion(void* ptr) { return ({ QByteArray* t7ce42a = new QByteArray(static_cast(ptr)->currentCompletion().toUtf8()); QtWidgets_PackedString { const_cast(t7ce42a->prepend("WHITESPACE").constData()+10), t7ce42a->size()-10, t7ce42a }; }); } void* QCompleter_CurrentIndex(void* ptr) { return new QModelIndex(static_cast(ptr)->currentIndex()); } int QCompleter_CurrentRow(void* ptr) { return static_cast(ptr)->currentRow(); } char QCompleter_EventDefault(void* ptr, void* ev) { return static_cast(ptr)->QCompleter::event(static_cast(ev)); } char QCompleter_EventFilterDefault(void* ptr, void* o, void* e) { if (dynamic_cast(static_cast(o))) { return static_cast(ptr)->QCompleter::eventFilter(static_cast(o), static_cast(e)); } else if (dynamic_cast(static_cast(o))) { return static_cast(ptr)->QCompleter::eventFilter(static_cast(o), static_cast(e)); } else if (dynamic_cast(static_cast(o))) { return static_cast(ptr)->QCompleter::eventFilter(static_cast(o), static_cast(e)); } else if (dynamic_cast(static_cast(o))) { return static_cast(ptr)->QCompleter::eventFilter(static_cast(o), static_cast(e)); } else { return static_cast(ptr)->QCompleter::eventFilter(static_cast(o), static_cast(e)); } } long long QCompleter_FilterMode(void* ptr) { return static_cast(ptr)->filterMode(); } void QCompleter_ConnectHighlighted(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCompleter::highlighted), static_cast(ptr), static_cast(&MyQCompleter::Signal_Highlighted), static_cast(t)); } void QCompleter_DisconnectHighlighted(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCompleter::highlighted), static_cast(ptr), static_cast(&MyQCompleter::Signal_Highlighted)); } void QCompleter_Highlighted(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->highlighted(QString::fromUtf8(text.data, text.len)); } void QCompleter_ConnectHighlighted2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QCompleter::highlighted), static_cast(ptr), static_cast(&MyQCompleter::Signal_Highlighted2), static_cast(t)); } void QCompleter_DisconnectHighlighted2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QCompleter::highlighted), static_cast(ptr), static_cast(&MyQCompleter::Signal_Highlighted2)); } void QCompleter_Highlighted2(void* ptr, void* index) { static_cast(ptr)->highlighted(*static_cast(index)); } int QCompleter_MaxVisibleItems(void* ptr) { return static_cast(ptr)->maxVisibleItems(); } void* QCompleter_Model(void* ptr) { return static_cast(ptr)->model(); } long long QCompleter_ModelSorting(void* ptr) { return static_cast(ptr)->modelSorting(); } struct QtWidgets_PackedString QCompleter_PathFromIndex(void* ptr, void* index) { return ({ QByteArray* t37a887 = new QByteArray(static_cast(ptr)->pathFromIndex(*static_cast(index)).toUtf8()); QtWidgets_PackedString { const_cast(t37a887->prepend("WHITESPACE").constData()+10), t37a887->size()-10, t37a887 }; }); } struct QtWidgets_PackedString QCompleter_PathFromIndexDefault(void* ptr, void* index) { return ({ QByteArray* td0fb01 = new QByteArray(static_cast(ptr)->QCompleter::pathFromIndex(*static_cast(index)).toUtf8()); QtWidgets_PackedString { const_cast(td0fb01->prepend("WHITESPACE").constData()+10), td0fb01->size()-10, td0fb01 }; }); } void* QCompleter_Popup(void* ptr) { return static_cast(ptr)->popup(); } void QCompleter_SetCaseSensitivity(void* ptr, long long caseSensitivity) { static_cast(ptr)->setCaseSensitivity(static_cast(caseSensitivity)); } void QCompleter_SetCompletionColumn(void* ptr, int column) { static_cast(ptr)->setCompletionColumn(column); } void QCompleter_SetCompletionMode(void* ptr, long long mode) { static_cast(ptr)->setCompletionMode(static_cast(mode)); } void QCompleter_SetCompletionPrefix(void* ptr, struct QtWidgets_PackedString prefix) { QMetaObject::invokeMethod(static_cast(ptr), "setCompletionPrefix", Q_ARG(const QString, QString::fromUtf8(prefix.data, prefix.len))); } void QCompleter_SetCompletionPrefixDefault(void* ptr, struct QtWidgets_PackedString prefix) { static_cast(ptr)->QCompleter::setCompletionPrefix(QString::fromUtf8(prefix.data, prefix.len)); } void QCompleter_SetCompletionRole(void* ptr, int role) { static_cast(ptr)->setCompletionRole(role); } char QCompleter_SetCurrentRow(void* ptr, int row) { return static_cast(ptr)->setCurrentRow(row); } void QCompleter_SetFilterMode(void* ptr, long long filterMode) { static_cast(ptr)->setFilterMode(static_cast(filterMode)); } void QCompleter_SetMaxVisibleItems(void* ptr, int maxItems) { static_cast(ptr)->setMaxVisibleItems(maxItems); } void QCompleter_SetModel(void* ptr, void* model) { static_cast(ptr)->setModel(static_cast(model)); } void QCompleter_SetModelSorting(void* ptr, long long sorting) { static_cast(ptr)->setModelSorting(static_cast(sorting)); } void QCompleter_SetPopup(void* ptr, void* popup) { static_cast(ptr)->setPopup(static_cast(popup)); } void QCompleter_SetWidget(void* ptr, void* widget) { static_cast(ptr)->setWidget(static_cast(widget)); } void QCompleter_SetWrapAround(void* ptr, char wrap) { QMetaObject::invokeMethod(static_cast(ptr), "setWrapAround", Q_ARG(bool, wrap != 0)); } void QCompleter_SetWrapAroundDefault(void* ptr, char wrap) { static_cast(ptr)->QCompleter::setWrapAround(wrap != 0); } struct QtWidgets_PackedString QCompleter_SplitPath(void* ptr, struct QtWidgets_PackedString path) { return ({ QByteArray* t40101c = new QByteArray(static_cast(ptr)->splitPath(QString::fromUtf8(path.data, path.len)).join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t40101c->prepend("WHITESPACE").constData()+10), t40101c->size()-10, t40101c }; }); } struct QtWidgets_PackedString QCompleter_SplitPathDefault(void* ptr, struct QtWidgets_PackedString path) { return ({ QByteArray* tdf319d = new QByteArray(static_cast(ptr)->QCompleter::splitPath(QString::fromUtf8(path.data, path.len)).join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(tdf319d->prepend("WHITESPACE").constData()+10), tdf319d->size()-10, tdf319d }; }); } void* QCompleter_Widget(void* ptr) { return static_cast(ptr)->widget(); } char QCompleter_WrapAround(void* ptr) { return static_cast(ptr)->wrapAround(); } void QCompleter_DestroyQCompleter(void* ptr) { static_cast(ptr)->~QCompleter(); } void QCompleter_DestroyQCompleterDefault(void* ptr) { Q_UNUSED(ptr); } void* QCompleter___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QCompleter___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QCompleter___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QCompleter___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QCompleter___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QCompleter___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QCompleter___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QCompleter___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QCompleter___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QCompleter___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QCompleter___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QCompleter___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QCompleter_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QCompleter::childEvent(static_cast(event)); } void QCompleter_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QCompleter::connectNotify(*static_cast(sign)); } void QCompleter_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QCompleter::customEvent(static_cast(event)); } void QCompleter_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QCompleter::deleteLater(); } void QCompleter_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QCompleter::disconnectNotify(*static_cast(sign)); } void* QCompleter_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QCompleter::metaObject()); } void QCompleter_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QCompleter::timerEvent(static_cast(event)); } class MyQDataWidgetMapper: public QDataWidgetMapper { public: MyQDataWidgetMapper(QObject *parent = Q_NULLPTR) : QDataWidgetMapper(parent) {QDataWidgetMapper_QDataWidgetMapper_QRegisterMetaType();}; void Signal_CurrentIndexChanged(int index) { callbackQDataWidgetMapper_CurrentIndexChanged(this, index); }; void revert() { callbackQDataWidgetMapper_Revert(this); }; void setCurrentIndex(int index) { callbackQDataWidgetMapper_SetCurrentIndex(this, index); }; void setCurrentModelIndex(const QModelIndex & index) { callbackQDataWidgetMapper_SetCurrentModelIndex(this, const_cast(&index)); }; bool submit() { return callbackQDataWidgetMapper_Submit(this) != 0; }; void toFirst() { callbackQDataWidgetMapper_ToFirst(this); }; void toLast() { callbackQDataWidgetMapper_ToLast(this); }; void toNext() { callbackQDataWidgetMapper_ToNext(this); }; void toPrevious() { callbackQDataWidgetMapper_ToPrevious(this); }; ~MyQDataWidgetMapper() { callbackQDataWidgetMapper_DestroyQDataWidgetMapper(this); }; void childEvent(QChildEvent * event) { callbackQDataWidgetMapper_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDataWidgetMapper_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDataWidgetMapper_CustomEvent(this, event); }; void deleteLater() { callbackQDataWidgetMapper_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQDataWidgetMapper_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDataWidgetMapper_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQDataWidgetMapper_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDataWidgetMapper_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDataWidgetMapper_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQDataWidgetMapper_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQDataWidgetMapper_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QDataWidgetMapper*) Q_DECLARE_METATYPE(MyQDataWidgetMapper*) int QDataWidgetMapper_QDataWidgetMapper_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QDataWidgetMapper_NewQDataWidgetMapper(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDataWidgetMapper(static_cast(parent)); } else { return new MyQDataWidgetMapper(static_cast(parent)); } } void QDataWidgetMapper_AddMapping(void* ptr, void* widget, int section) { static_cast(ptr)->addMapping(static_cast(widget), section); } void QDataWidgetMapper_AddMapping2(void* ptr, void* widget, int section, void* propertyName) { static_cast(ptr)->addMapping(static_cast(widget), section, *static_cast(propertyName)); } void QDataWidgetMapper_ClearMapping(void* ptr) { static_cast(ptr)->clearMapping(); } int QDataWidgetMapper_CurrentIndex(void* ptr) { return static_cast(ptr)->currentIndex(); } void QDataWidgetMapper_ConnectCurrentIndexChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDataWidgetMapper::currentIndexChanged), static_cast(ptr), static_cast(&MyQDataWidgetMapper::Signal_CurrentIndexChanged), static_cast(t)); } void QDataWidgetMapper_DisconnectCurrentIndexChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDataWidgetMapper::currentIndexChanged), static_cast(ptr), static_cast(&MyQDataWidgetMapper::Signal_CurrentIndexChanged)); } void QDataWidgetMapper_CurrentIndexChanged(void* ptr, int index) { static_cast(ptr)->currentIndexChanged(index); } void* QDataWidgetMapper_ItemDelegate(void* ptr) { return static_cast(ptr)->itemDelegate(); } void* QDataWidgetMapper_MappedPropertyName(void* ptr, void* widget) { return new QByteArray(static_cast(ptr)->mappedPropertyName(static_cast(widget))); } int QDataWidgetMapper_MappedSection(void* ptr, void* widget) { return static_cast(ptr)->mappedSection(static_cast(widget)); } void* QDataWidgetMapper_MappedWidgetAt(void* ptr, int section) { return static_cast(ptr)->mappedWidgetAt(section); } void* QDataWidgetMapper_Model(void* ptr) { return static_cast(ptr)->model(); } long long QDataWidgetMapper_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void QDataWidgetMapper_RemoveMapping(void* ptr, void* widget) { static_cast(ptr)->removeMapping(static_cast(widget)); } void QDataWidgetMapper_Revert(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "revert"); } void QDataWidgetMapper_RevertDefault(void* ptr) { static_cast(ptr)->QDataWidgetMapper::revert(); } void* QDataWidgetMapper_RootIndex(void* ptr) { return new QModelIndex(static_cast(ptr)->rootIndex()); } void QDataWidgetMapper_SetCurrentIndex(void* ptr, int index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(int, index)); } void QDataWidgetMapper_SetCurrentIndexDefault(void* ptr, int index) { static_cast(ptr)->QDataWidgetMapper::setCurrentIndex(index); } void QDataWidgetMapper_SetCurrentModelIndex(void* ptr, void* index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentModelIndex", Q_ARG(const QModelIndex, *static_cast(index))); } void QDataWidgetMapper_SetCurrentModelIndexDefault(void* ptr, void* index) { static_cast(ptr)->QDataWidgetMapper::setCurrentModelIndex(*static_cast(index)); } void QDataWidgetMapper_SetItemDelegate(void* ptr, void* delegate) { static_cast(ptr)->setItemDelegate(static_cast(delegate)); } void QDataWidgetMapper_SetModel(void* ptr, void* model) { static_cast(ptr)->setModel(static_cast(model)); } void QDataWidgetMapper_SetOrientation(void* ptr, long long aOrientation) { static_cast(ptr)->setOrientation(static_cast(aOrientation)); } void QDataWidgetMapper_SetRootIndex(void* ptr, void* index) { static_cast(ptr)->setRootIndex(*static_cast(index)); } void QDataWidgetMapper_SetSubmitPolicy(void* ptr, long long policy) { static_cast(ptr)->setSubmitPolicy(static_cast(policy)); } char QDataWidgetMapper_Submit(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "submit", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QDataWidgetMapper_SubmitDefault(void* ptr) { return static_cast(ptr)->QDataWidgetMapper::submit(); } long long QDataWidgetMapper_SubmitPolicy(void* ptr) { return static_cast(ptr)->submitPolicy(); } void QDataWidgetMapper_ToFirst(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "toFirst"); } void QDataWidgetMapper_ToFirstDefault(void* ptr) { static_cast(ptr)->QDataWidgetMapper::toFirst(); } void QDataWidgetMapper_ToLast(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "toLast"); } void QDataWidgetMapper_ToLastDefault(void* ptr) { static_cast(ptr)->QDataWidgetMapper::toLast(); } void QDataWidgetMapper_ToNext(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "toNext"); } void QDataWidgetMapper_ToNextDefault(void* ptr) { static_cast(ptr)->QDataWidgetMapper::toNext(); } void QDataWidgetMapper_ToPrevious(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "toPrevious"); } void QDataWidgetMapper_ToPreviousDefault(void* ptr) { static_cast(ptr)->QDataWidgetMapper::toPrevious(); } void QDataWidgetMapper_DestroyQDataWidgetMapper(void* ptr) { static_cast(ptr)->~QDataWidgetMapper(); } void QDataWidgetMapper_DestroyQDataWidgetMapperDefault(void* ptr) { Q_UNUSED(ptr); } void* QDataWidgetMapper___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDataWidgetMapper___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QDataWidgetMapper___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDataWidgetMapper___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDataWidgetMapper___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDataWidgetMapper___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDataWidgetMapper___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDataWidgetMapper___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QDataWidgetMapper___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDataWidgetMapper___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDataWidgetMapper___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QDataWidgetMapper___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QDataWidgetMapper_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDataWidgetMapper::childEvent(static_cast(event)); } void QDataWidgetMapper_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDataWidgetMapper::connectNotify(*static_cast(sign)); } void QDataWidgetMapper_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDataWidgetMapper::customEvent(static_cast(event)); } void QDataWidgetMapper_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDataWidgetMapper::deleteLater(); } void QDataWidgetMapper_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDataWidgetMapper::disconnectNotify(*static_cast(sign)); } char QDataWidgetMapper_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QDataWidgetMapper::event(static_cast(e)); } char QDataWidgetMapper_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDataWidgetMapper::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDataWidgetMapper::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDataWidgetMapper::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDataWidgetMapper::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDataWidgetMapper::eventFilter(static_cast(watched), static_cast(event)); } } void* QDataWidgetMapper_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDataWidgetMapper::metaObject()); } void QDataWidgetMapper_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDataWidgetMapper::timerEvent(static_cast(event)); } class MyQDateEdit: public QDateEdit { public: MyQDateEdit(QWidget *parent = Q_NULLPTR) : QDateEdit(parent) {QDateEdit_QDateEdit_QRegisterMetaType();}; MyQDateEdit(const QDate &date, QWidget *parent = Q_NULLPTR) : QDateEdit(date, parent) {QDateEdit_QDateEdit_QRegisterMetaType();}; ~MyQDateEdit() { callbackQDateEdit_DestroyQDateEdit(this); }; void clear() { callbackQDateTimeEdit_Clear(this); }; void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast(&date)); }; void Signal_DateTimeChanged(const QDateTime & datetime) { callbackQDateTimeEdit_DateTimeChanged(this, const_cast(&datetime)); }; QDateTime dateTimeFromText(const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return *static_cast(callbackQDateTimeEdit_DateTimeFromText(const_cast(static_cast(this)), textPacked)); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void fixup(QString & input) const { QByteArray* t140f86 = new QByteArray(input.toUtf8()); QtWidgets_PackedString inputPacked = { const_cast(t140f86->prepend("WHITESPACE").constData()+10), t140f86->size()-10, t140f86 };callbackQAbstractSpinBox_Fixup(const_cast(static_cast(this)), inputPacked); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void setDate(const QDate & date) { callbackQDateTimeEdit_SetDate(this, const_cast(&date)); }; void setDateTime(const QDateTime & dateTime) { callbackQDateTimeEdit_SetDateTime(this, const_cast(&dateTime)); }; void setTime(const QTime & ti) { callbackQDateTimeEdit_SetTime(this, const_cast(&ti)); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); }; QAbstractSpinBox::StepEnabled stepEnabled() const { return static_cast(callbackQAbstractSpinBox_StepEnabled(const_cast(static_cast(this)))); }; QString textFromDateTime(const QDateTime & dateTime) const { return ({ QtWidgets_PackedString tempVal = callbackQDateTimeEdit_TextFromDateTime(const_cast(static_cast(this)), const_cast(&dateTime)); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; void Signal_TimeChanged(const QTime & ti) { callbackQDateTimeEdit_TimeChanged(this, const_cast(&ti)); }; QValidator::State validate(QString & text, int & pos) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return static_cast(callbackQAbstractSpinBox_Validate(const_cast(static_cast(this)), textPacked, pos)); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void selectAll() { callbackQAbstractSpinBox_SelectAll(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void stepDown() { callbackQAbstractSpinBox_StepDown(this); }; void stepUp() { callbackQAbstractSpinBox_StepUp(this); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QDateEdit*) Q_DECLARE_METATYPE(MyQDateEdit*) int QDateEdit_QDateEdit_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QDateEdit_NewQDateEdit(void* parent) { return new MyQDateEdit(static_cast(parent)); } void* QDateEdit_NewQDateEdit2(void* date, void* parent) { return new MyQDateEdit(*static_cast(date), static_cast(parent)); } void QDateEdit_DestroyQDateEdit(void* ptr) { static_cast(ptr)->~QDateEdit(); } void QDateEdit_DestroyQDateEditDefault(void* ptr) { Q_UNUSED(ptr); } class MyQDateTimeEdit: public QDateTimeEdit { public: MyQDateTimeEdit(QWidget *parent = Q_NULLPTR) : QDateTimeEdit(parent) {QDateTimeEdit_QDateTimeEdit_QRegisterMetaType();}; MyQDateTimeEdit(const QDateTime &datetime, QWidget *parent = Q_NULLPTR) : QDateTimeEdit(datetime, parent) {QDateTimeEdit_QDateTimeEdit_QRegisterMetaType();}; MyQDateTimeEdit(const QDate &date, QWidget *parent = Q_NULLPTR) : QDateTimeEdit(date, parent) {QDateTimeEdit_QDateTimeEdit_QRegisterMetaType();}; MyQDateTimeEdit(const QTime &ti, QWidget *parent = Q_NULLPTR) : QDateTimeEdit(ti, parent) {QDateTimeEdit_QDateTimeEdit_QRegisterMetaType();}; void clear() { callbackQDateTimeEdit_Clear(this); }; void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast(&date)); }; void Signal_DateTimeChanged(const QDateTime & datetime) { callbackQDateTimeEdit_DateTimeChanged(this, const_cast(&datetime)); }; QDateTime dateTimeFromText(const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return *static_cast(callbackQDateTimeEdit_DateTimeFromText(const_cast(static_cast(this)), textPacked)); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void fixup(QString & input) const { QByteArray* t140f86 = new QByteArray(input.toUtf8()); QtWidgets_PackedString inputPacked = { const_cast(t140f86->prepend("WHITESPACE").constData()+10), t140f86->size()-10, t140f86 };callbackQAbstractSpinBox_Fixup(const_cast(static_cast(this)), inputPacked); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void setDate(const QDate & date) { callbackQDateTimeEdit_SetDate(this, const_cast(&date)); }; void setDateTime(const QDateTime & dateTime) { callbackQDateTimeEdit_SetDateTime(this, const_cast(&dateTime)); }; void setTime(const QTime & ti) { callbackQDateTimeEdit_SetTime(this, const_cast(&ti)); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); }; QAbstractSpinBox::StepEnabled stepEnabled() const { return static_cast(callbackQAbstractSpinBox_StepEnabled(const_cast(static_cast(this)))); }; QString textFromDateTime(const QDateTime & dateTime) const { return ({ QtWidgets_PackedString tempVal = callbackQDateTimeEdit_TextFromDateTime(const_cast(static_cast(this)), const_cast(&dateTime)); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; void Signal_TimeChanged(const QTime & ti) { callbackQDateTimeEdit_TimeChanged(this, const_cast(&ti)); }; QValidator::State validate(QString & text, int & pos) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return static_cast(callbackQAbstractSpinBox_Validate(const_cast(static_cast(this)), textPacked, pos)); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; ~MyQDateTimeEdit() { callbackQDateTimeEdit_DestroyQDateTimeEdit(this); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void selectAll() { callbackQAbstractSpinBox_SelectAll(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void stepDown() { callbackQAbstractSpinBox_StepDown(this); }; void stepUp() { callbackQAbstractSpinBox_StepUp(this); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QDateTimeEdit*) Q_DECLARE_METATYPE(MyQDateTimeEdit*) int QDateTimeEdit_QDateTimeEdit_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QDateTimeEdit_NewQDateTimeEdit(void* parent) { return new MyQDateTimeEdit(static_cast(parent)); } void* QDateTimeEdit_NewQDateTimeEdit2(void* datetime, void* parent) { return new MyQDateTimeEdit(*static_cast(datetime), static_cast(parent)); } void* QDateTimeEdit_NewQDateTimeEdit3(void* date, void* parent) { return new MyQDateTimeEdit(*static_cast(date), static_cast(parent)); } void* QDateTimeEdit_NewQDateTimeEdit4(void* ti, void* parent) { return new MyQDateTimeEdit(*static_cast(ti), static_cast(parent)); } char QDateTimeEdit_CalendarPopup(void* ptr) { return static_cast(ptr)->calendarPopup(); } void* QDateTimeEdit_CalendarWidget(void* ptr) { return static_cast(ptr)->calendarWidget(); } void QDateTimeEdit_Clear(void* ptr) { static_cast(ptr)->clear(); } void QDateTimeEdit_ClearDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::clear(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::clear(); } else { static_cast(ptr)->QDateTimeEdit::clear(); } } void QDateTimeEdit_ClearMaximumDate(void* ptr) { static_cast(ptr)->clearMaximumDate(); } void QDateTimeEdit_ClearMaximumDateTime(void* ptr) { static_cast(ptr)->clearMaximumDateTime(); } void QDateTimeEdit_ClearMaximumTime(void* ptr) { static_cast(ptr)->clearMaximumTime(); } void QDateTimeEdit_ClearMinimumDate(void* ptr) { static_cast(ptr)->clearMinimumDate(); } void QDateTimeEdit_ClearMinimumDateTime(void* ptr) { static_cast(ptr)->clearMinimumDateTime(); } void QDateTimeEdit_ClearMinimumTime(void* ptr) { static_cast(ptr)->clearMinimumTime(); } long long QDateTimeEdit_CurrentSection(void* ptr) { return static_cast(ptr)->currentSection(); } int QDateTimeEdit_CurrentSectionIndex(void* ptr) { return static_cast(ptr)->currentSectionIndex(); } void* QDateTimeEdit_Date(void* ptr) { return new QDate(static_cast(ptr)->date()); } void QDateTimeEdit_ConnectDateChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDateTimeEdit::dateChanged), static_cast(ptr), static_cast(&MyQDateTimeEdit::Signal_DateChanged), static_cast(t)); } void QDateTimeEdit_DisconnectDateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDateTimeEdit::dateChanged), static_cast(ptr), static_cast(&MyQDateTimeEdit::Signal_DateChanged)); } void QDateTimeEdit_DateChanged(void* ptr, void* date) { static_cast(ptr)->dateChanged(*static_cast(date)); } void* QDateTimeEdit_DateTime(void* ptr) { return new QDateTime(static_cast(ptr)->dateTime()); } void QDateTimeEdit_ConnectDateTimeChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDateTimeEdit::dateTimeChanged), static_cast(ptr), static_cast(&MyQDateTimeEdit::Signal_DateTimeChanged), static_cast(t)); } void QDateTimeEdit_DisconnectDateTimeChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDateTimeEdit::dateTimeChanged), static_cast(ptr), static_cast(&MyQDateTimeEdit::Signal_DateTimeChanged)); } void QDateTimeEdit_DateTimeChanged(void* ptr, void* datetime) { static_cast(ptr)->dateTimeChanged(*static_cast(datetime)); } void* QDateTimeEdit_DateTimeFromText(void* ptr, struct QtWidgets_PackedString text) { return new QDateTime(static_cast(ptr)->dateTimeFromText(QString::fromUtf8(text.data, text.len))); } void* QDateTimeEdit_DateTimeFromTextDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { return new QDateTime(static_cast(ptr)->QDateEdit::dateTimeFromText(QString::fromUtf8(text.data, text.len))); } else if (dynamic_cast(static_cast(ptr))) { return new QDateTime(static_cast(ptr)->QTimeEdit::dateTimeFromText(QString::fromUtf8(text.data, text.len))); } else { return new QDateTime(static_cast(ptr)->QDateTimeEdit::dateTimeFromText(QString::fromUtf8(text.data, text.len))); } } struct QtWidgets_PackedString QDateTimeEdit_DisplayFormat(void* ptr) { return ({ QByteArray* t18a499 = new QByteArray(static_cast(ptr)->displayFormat().toUtf8()); QtWidgets_PackedString { const_cast(t18a499->prepend("WHITESPACE").constData()+10), t18a499->size()-10, t18a499 }; }); } long long QDateTimeEdit_DisplayedSections(void* ptr) { return static_cast(ptr)->displayedSections(); } void* QDateTimeEdit_MaximumDate(void* ptr) { return new QDate(static_cast(ptr)->maximumDate()); } void* QDateTimeEdit_MaximumDateTime(void* ptr) { return new QDateTime(static_cast(ptr)->maximumDateTime()); } void* QDateTimeEdit_MaximumTime(void* ptr) { return new QTime(static_cast(ptr)->maximumTime()); } void* QDateTimeEdit_MinimumDate(void* ptr) { return new QDate(static_cast(ptr)->minimumDate()); } void* QDateTimeEdit_MinimumDateTime(void* ptr) { return new QDateTime(static_cast(ptr)->minimumDateTime()); } void* QDateTimeEdit_MinimumTime(void* ptr) { return new QTime(static_cast(ptr)->minimumTime()); } long long QDateTimeEdit_SectionAt(void* ptr, int index) { return static_cast(ptr)->sectionAt(index); } int QDateTimeEdit_SectionCount(void* ptr) { return static_cast(ptr)->sectionCount(); } struct QtWidgets_PackedString QDateTimeEdit_SectionText(void* ptr, long long section) { return ({ QByteArray* tdf4510 = new QByteArray(static_cast(ptr)->sectionText(static_cast(section)).toUtf8()); QtWidgets_PackedString { const_cast(tdf4510->prepend("WHITESPACE").constData()+10), tdf4510->size()-10, tdf4510 }; }); } void QDateTimeEdit_SetCalendarPopup(void* ptr, char enable) { static_cast(ptr)->setCalendarPopup(enable != 0); } void QDateTimeEdit_SetCalendarWidget(void* ptr, void* calendarWidget) { static_cast(ptr)->setCalendarWidget(static_cast(calendarWidget)); } void QDateTimeEdit_SetCurrentSection(void* ptr, long long section) { static_cast(ptr)->setCurrentSection(static_cast(section)); } void QDateTimeEdit_SetCurrentSectionIndex(void* ptr, int index) { static_cast(ptr)->setCurrentSectionIndex(index); } void QDateTimeEdit_SetDate(void* ptr, void* date) { QMetaObject::invokeMethod(static_cast(ptr), "setDate", Q_ARG(const QDate, *static_cast(date))); } void QDateTimeEdit_SetDateDefault(void* ptr, void* date) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setDate(*static_cast(date)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setDate(*static_cast(date)); } else { static_cast(ptr)->QDateTimeEdit::setDate(*static_cast(date)); } } void QDateTimeEdit_SetDateRange(void* ptr, void* min, void* max) { static_cast(ptr)->setDateRange(*static_cast(min), *static_cast(max)); } void QDateTimeEdit_SetDateTime(void* ptr, void* dateTime) { QMetaObject::invokeMethod(static_cast(ptr), "setDateTime", Q_ARG(const QDateTime, *static_cast(dateTime))); } void QDateTimeEdit_SetDateTimeDefault(void* ptr, void* dateTime) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setDateTime(*static_cast(dateTime)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setDateTime(*static_cast(dateTime)); } else { static_cast(ptr)->QDateTimeEdit::setDateTime(*static_cast(dateTime)); } } void QDateTimeEdit_SetDateTimeRange(void* ptr, void* min, void* max) { static_cast(ptr)->setDateTimeRange(*static_cast(min), *static_cast(max)); } void QDateTimeEdit_SetDisplayFormat(void* ptr, struct QtWidgets_PackedString format) { static_cast(ptr)->setDisplayFormat(QString::fromUtf8(format.data, format.len)); } void QDateTimeEdit_SetMaximumDate(void* ptr, void* max) { static_cast(ptr)->setMaximumDate(*static_cast(max)); } void QDateTimeEdit_SetMaximumDateTime(void* ptr, void* dt) { static_cast(ptr)->setMaximumDateTime(*static_cast(dt)); } void QDateTimeEdit_SetMaximumTime(void* ptr, void* max) { static_cast(ptr)->setMaximumTime(*static_cast(max)); } void QDateTimeEdit_SetMinimumDate(void* ptr, void* min) { static_cast(ptr)->setMinimumDate(*static_cast(min)); } void QDateTimeEdit_SetMinimumDateTime(void* ptr, void* dt) { static_cast(ptr)->setMinimumDateTime(*static_cast(dt)); } void QDateTimeEdit_SetMinimumTime(void* ptr, void* min) { static_cast(ptr)->setMinimumTime(*static_cast(min)); } void QDateTimeEdit_SetSelectedSection(void* ptr, long long section) { static_cast(ptr)->setSelectedSection(static_cast(section)); } void QDateTimeEdit_SetTime(void* ptr, void* ti) { QMetaObject::invokeMethod(static_cast(ptr), "setTime", Q_ARG(const QTime, *static_cast(ti))); } void QDateTimeEdit_SetTimeDefault(void* ptr, void* ti) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setTime(*static_cast(ti)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setTime(*static_cast(ti)); } else { static_cast(ptr)->QDateTimeEdit::setTime(*static_cast(ti)); } } void QDateTimeEdit_SetTimeRange(void* ptr, void* min, void* max) { static_cast(ptr)->setTimeRange(*static_cast(min), *static_cast(max)); } void QDateTimeEdit_SetTimeSpec(void* ptr, long long spec) { static_cast(ptr)->setTimeSpec(static_cast(spec)); } struct QtWidgets_PackedString QDateTimeEdit_TextFromDateTime(void* ptr, void* dateTime) { return ({ QByteArray* t00949f = new QByteArray(static_cast(ptr)->textFromDateTime(*static_cast(dateTime)).toUtf8()); QtWidgets_PackedString { const_cast(t00949f->prepend("WHITESPACE").constData()+10), t00949f->size()-10, t00949f }; }); } struct QtWidgets_PackedString QDateTimeEdit_TextFromDateTimeDefault(void* ptr, void* dateTime) { if (dynamic_cast(static_cast(ptr))) { return ({ QByteArray* t15f412 = new QByteArray(static_cast(ptr)->QDateEdit::textFromDateTime(*static_cast(dateTime)).toUtf8()); QtWidgets_PackedString { const_cast(t15f412->prepend("WHITESPACE").constData()+10), t15f412->size()-10, t15f412 }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QByteArray* t15f412 = new QByteArray(static_cast(ptr)->QTimeEdit::textFromDateTime(*static_cast(dateTime)).toUtf8()); QtWidgets_PackedString { const_cast(t15f412->prepend("WHITESPACE").constData()+10), t15f412->size()-10, t15f412 }; }); } else { return ({ QByteArray* t15f412 = new QByteArray(static_cast(ptr)->QDateTimeEdit::textFromDateTime(*static_cast(dateTime)).toUtf8()); QtWidgets_PackedString { const_cast(t15f412->prepend("WHITESPACE").constData()+10), t15f412->size()-10, t15f412 }; }); } } void* QDateTimeEdit_Time(void* ptr) { return new QTime(static_cast(ptr)->time()); } void QDateTimeEdit_ConnectTimeChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDateTimeEdit::timeChanged), static_cast(ptr), static_cast(&MyQDateTimeEdit::Signal_TimeChanged), static_cast(t)); } void QDateTimeEdit_DisconnectTimeChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDateTimeEdit::timeChanged), static_cast(ptr), static_cast(&MyQDateTimeEdit::Signal_TimeChanged)); } void QDateTimeEdit_TimeChanged(void* ptr, void* ti) { static_cast(ptr)->timeChanged(*static_cast(ti)); } long long QDateTimeEdit_TimeSpec(void* ptr) { return static_cast(ptr)->timeSpec(); } void QDateTimeEdit_DestroyQDateTimeEdit(void* ptr) { static_cast(ptr)->~QDateTimeEdit(); } void QDateTimeEdit_DestroyQDateTimeEditDefault(void* ptr) { Q_UNUSED(ptr); } class MyQDesktopWidget: public QDesktopWidget { public: MyQDesktopWidget() : QDesktopWidget() {QDesktopWidget_QDesktopWidget_QRegisterMetaType();}; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_PrimaryScreenChanged() { callbackQDesktopWidget_PrimaryScreenChanged(this); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void Signal_Resized(int screen) { callbackQDesktopWidget_Resized(this, screen); }; void Signal_ScreenCountChanged(int newCount) { callbackQDesktopWidget_ScreenCountChanged(this, newCount); }; void Signal_WorkAreaResized(int screen) { callbackQDesktopWidget_WorkAreaResized(this, screen); }; ~MyQDesktopWidget() { callbackQDesktopWidget_DestroyQDesktopWidget(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QDesktopWidget*) Q_DECLARE_METATYPE(MyQDesktopWidget*) int QDesktopWidget_QDesktopWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QDesktopWidget_NewQDesktopWidget() { return new MyQDesktopWidget(); } void* QDesktopWidget_AvailableGeometry(void* ptr, int screen) { return ({ QRect tmpValue = static_cast(ptr)->availableGeometry(screen); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QDesktopWidget_AvailableGeometry2(void* ptr, void* widget) { return ({ QRect tmpValue = static_cast(ptr)->availableGeometry(static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } char QDesktopWidget_IsVirtualDesktop(void* ptr) { return static_cast(ptr)->isVirtualDesktop(); } int QDesktopWidget_NumScreens(void* ptr) { return static_cast(ptr)->numScreens(); } int QDesktopWidget_PrimaryScreen(void* ptr) { return static_cast(ptr)->primaryScreen(); } void QDesktopWidget_ConnectPrimaryScreenChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDesktopWidget::primaryScreenChanged), static_cast(ptr), static_cast(&MyQDesktopWidget::Signal_PrimaryScreenChanged), static_cast(t)); } void QDesktopWidget_DisconnectPrimaryScreenChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesktopWidget::primaryScreenChanged), static_cast(ptr), static_cast(&MyQDesktopWidget::Signal_PrimaryScreenChanged)); } void QDesktopWidget_PrimaryScreenChanged(void* ptr) { static_cast(ptr)->primaryScreenChanged(); } void QDesktopWidget_ConnectResized(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDesktopWidget::resized), static_cast(ptr), static_cast(&MyQDesktopWidget::Signal_Resized), static_cast(t)); } void QDesktopWidget_DisconnectResized(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesktopWidget::resized), static_cast(ptr), static_cast(&MyQDesktopWidget::Signal_Resized)); } void QDesktopWidget_Resized(void* ptr, int screen) { static_cast(ptr)->resized(screen); } void* QDesktopWidget_Screen(void* ptr, int screen) { return static_cast(ptr)->screen(screen); } int QDesktopWidget_ScreenCount(void* ptr) { return static_cast(ptr)->screenCount(); } void QDesktopWidget_ConnectScreenCountChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDesktopWidget::screenCountChanged), static_cast(ptr), static_cast(&MyQDesktopWidget::Signal_ScreenCountChanged), static_cast(t)); } void QDesktopWidget_DisconnectScreenCountChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesktopWidget::screenCountChanged), static_cast(ptr), static_cast(&MyQDesktopWidget::Signal_ScreenCountChanged)); } void QDesktopWidget_ScreenCountChanged(void* ptr, int newCount) { static_cast(ptr)->screenCountChanged(newCount); } void* QDesktopWidget_ScreenGeometry(void* ptr, int screen) { return ({ QRect tmpValue = static_cast(ptr)->screenGeometry(screen); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QDesktopWidget_ScreenGeometry2(void* ptr, void* widget) { return ({ QRect tmpValue = static_cast(ptr)->screenGeometry(static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QDesktopWidget_ScreenNumber(void* ptr, void* widget) { return static_cast(ptr)->screenNumber(static_cast(widget)); } int QDesktopWidget_ScreenNumber2(void* ptr, void* point) { return static_cast(ptr)->screenNumber(*static_cast(point)); } void QDesktopWidget_ConnectWorkAreaResized(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDesktopWidget::workAreaResized), static_cast(ptr), static_cast(&MyQDesktopWidget::Signal_WorkAreaResized), static_cast(t)); } void QDesktopWidget_DisconnectWorkAreaResized(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDesktopWidget::workAreaResized), static_cast(ptr), static_cast(&MyQDesktopWidget::Signal_WorkAreaResized)); } void QDesktopWidget_WorkAreaResized(void* ptr, int screen) { static_cast(ptr)->workAreaResized(screen); } void QDesktopWidget_DestroyQDesktopWidget(void* ptr) { static_cast(ptr)->~QDesktopWidget(); } void QDesktopWidget_DestroyQDesktopWidgetDefault(void* ptr) { Q_UNUSED(ptr); } class MyQDial: public QDial { public: MyQDial(QWidget *parent = Q_NULLPTR) : QDial(parent) {QDial_QDial_QRegisterMetaType();}; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * pe) { callbackQWidget_PaintEvent(this, pe); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void setNotchesVisible(bool visible) { callbackQDial_SetNotchesVisible(this, visible); }; void setWrapping(bool on) { callbackQDial_SetWrapping(this, on); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void sliderChange(QAbstractSlider::SliderChange change) { callbackQAbstractSlider_SliderChange(this, change); }; ~MyQDial() { callbackQDial_DestroyQDial(this); }; void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); }; void Signal_RangeChanged(int min, int max) { callbackQAbstractSlider_RangeChanged(this, min, max); }; void setOrientation(Qt::Orientation vqt) { callbackQAbstractSlider_SetOrientation(this, vqt); }; void setRange(int min, int max) { callbackQAbstractSlider_SetRange(this, min, max); }; void setValue(int vin) { callbackQAbstractSlider_SetValue(this, vin); }; void Signal_SliderMoved(int value) { callbackQAbstractSlider_SliderMoved(this, value); }; void Signal_SliderPressed() { callbackQAbstractSlider_SliderPressed(this); }; void Signal_SliderReleased() { callbackQAbstractSlider_SliderReleased(this); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void Signal_ValueChanged(int value) { callbackQAbstractSlider_ValueChanged(this, value); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QDial*) Q_DECLARE_METATYPE(MyQDial*) int QDial_QDial_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QDial_NewQDial(void* parent) { return new MyQDial(static_cast(parent)); } void QDial_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } int QDial_NotchSize(void* ptr) { return static_cast(ptr)->notchSize(); } double QDial_NotchTarget(void* ptr) { return static_cast(ptr)->notchTarget(); } char QDial_NotchesVisible(void* ptr) { return static_cast(ptr)->notchesVisible(); } void QDial_SetNotchTarget(void* ptr, double target) { static_cast(ptr)->setNotchTarget(target); } void QDial_SetNotchesVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setNotchesVisible", Q_ARG(bool, visible != 0)); } void QDial_SetNotchesVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QDial::setNotchesVisible(visible != 0); } void QDial_SetWrapping(void* ptr, char on) { QMetaObject::invokeMethod(static_cast(ptr), "setWrapping", Q_ARG(bool, on != 0)); } void QDial_SetWrappingDefault(void* ptr, char on) { static_cast(ptr)->QDial::setWrapping(on != 0); } char QDial_Wrapping(void* ptr) { return static_cast(ptr)->wrapping(); } void QDial_DestroyQDial(void* ptr) { static_cast(ptr)->~QDial(); } void QDial_DestroyQDialDefault(void* ptr) { Q_UNUSED(ptr); } class MyQDialog: public QDialog { public: MyQDialog(QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QDialog(parent, ff) {QDialog_QDialog_QRegisterMetaType();}; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void done(int r) { callbackQDialog_Done(this, r); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void open() { callbackQDialog_Open(this); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQDialog() { callbackQDialog_DestroyQDialog(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QDialog*) Q_DECLARE_METATYPE(MyQDialog*) int QDialog_QDialog_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QDialog_NewQDialog(void* parent, long long ff) { return new MyQDialog(static_cast(parent), static_cast(ff)); } void QDialog_Accept(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "accept"); } void QDialog_AcceptDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::accept(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::accept(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::accept(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::accept(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::accept(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::accept(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::accept(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::accept(); } else { static_cast(ptr)->QDialog::accept(); } } void QDialog_ConnectAccepted(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDialog::accepted), static_cast(ptr), static_cast(&MyQDialog::Signal_Accepted), static_cast(t)); } void QDialog_DisconnectAccepted(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDialog::accepted), static_cast(ptr), static_cast(&MyQDialog::Signal_Accepted)); } void QDialog_Accepted(void* ptr) { static_cast(ptr)->accepted(); } void QDialog_Done(void* ptr, int r) { QMetaObject::invokeMethod(static_cast(ptr), "done", Q_ARG(int, r)); } void QDialog_DoneDefault(void* ptr, int r) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::done(r); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::done(r); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::done(r); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::done(r); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::done(r); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::done(r); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::done(r); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::done(r); } else { static_cast(ptr)->QDialog::done(r); } } int QDialog_Exec(void* ptr) { int returnArg; QMetaObject::invokeMethod(static_cast(ptr), "exec", Q_RETURN_ARG(int, returnArg)); return returnArg; } int QDialog_ExecDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::exec(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::exec(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::exec(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::exec(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::exec(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::exec(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::exec(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::exec(); } else { return static_cast(ptr)->QDialog::exec(); } } void QDialog_ConnectFinished(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDialog::finished), static_cast(ptr), static_cast(&MyQDialog::Signal_Finished), static_cast(t)); } void QDialog_DisconnectFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDialog::finished), static_cast(ptr), static_cast(&MyQDialog::Signal_Finished)); } void QDialog_Finished(void* ptr, int result) { static_cast(ptr)->finished(result); } char QDialog_IsSizeGripEnabled(void* ptr) { return static_cast(ptr)->isSizeGripEnabled(); } void QDialog_Open(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "open"); } void QDialog_OpenDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::open(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::open(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::open(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::open(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::open(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::open(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::open(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::open(); } else { static_cast(ptr)->QDialog::open(); } } void QDialog_Reject(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "reject"); } void QDialog_RejectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::reject(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::reject(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::reject(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::reject(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::reject(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::reject(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::reject(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::reject(); } else { static_cast(ptr)->QDialog::reject(); } } void QDialog_ConnectRejected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDialog::rejected), static_cast(ptr), static_cast(&MyQDialog::Signal_Rejected), static_cast(t)); } void QDialog_DisconnectRejected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDialog::rejected), static_cast(ptr), static_cast(&MyQDialog::Signal_Rejected)); } void QDialog_Rejected(void* ptr) { static_cast(ptr)->rejected(); } int QDialog_Result(void* ptr) { return static_cast(ptr)->result(); } void QDialog_SetModal(void* ptr, char modal) { static_cast(ptr)->setModal(modal != 0); } void QDialog_SetResult(void* ptr, int i) { static_cast(ptr)->setResult(i); } void QDialog_SetSizeGripEnabled(void* ptr, char vbo) { static_cast(ptr)->setSizeGripEnabled(vbo != 0); } void QDialog_SetVisible(void* ptr, char visible) { static_cast(ptr)->setVisible(visible != 0); } void QDialog_SetVisibleDefault(void* ptr, char visible) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setVisible(visible != 0); } else { static_cast(ptr)->QDialog::setVisible(visible != 0); } } void QDialog_DestroyQDialog(void* ptr) { static_cast(ptr)->~QDialog(); } void QDialog_DestroyQDialogDefault(void* ptr) { Q_UNUSED(ptr); } class MyQDialogButtonBox: public QDialogButtonBox { public: MyQDialogButtonBox(QWidget *parent = Q_NULLPTR) : QDialogButtonBox(parent) {QDialogButtonBox_QDialogButtonBox_QRegisterMetaType();}; MyQDialogButtonBox(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QDialogButtonBox(orientation, parent) {QDialogButtonBox_QDialogButtonBox_QRegisterMetaType();}; MyQDialogButtonBox(QDialogButtonBox::StandardButtons buttons, QWidget *parent = Q_NULLPTR) : QDialogButtonBox(buttons, parent) {QDialogButtonBox_QDialogButtonBox_QRegisterMetaType();}; MyQDialogButtonBox(QDialogButtonBox::StandardButtons buttons, Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QDialogButtonBox(buttons, orientation, parent) {QDialogButtonBox_QDialogButtonBox_QRegisterMetaType();}; void Signal_Accepted() { callbackQDialogButtonBox_Accepted(this); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void Signal_Clicked(QAbstractButton * button) { callbackQDialogButtonBox_Clicked(this, button); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void Signal_HelpRequested() { callbackQDialogButtonBox_HelpRequested(this); }; void Signal_Rejected() { callbackQDialogButtonBox_Rejected(this); }; ~MyQDialogButtonBox() { callbackQDialogButtonBox_DestroyQDialogButtonBox(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QDialogButtonBox*) Q_DECLARE_METATYPE(MyQDialogButtonBox*) int QDialogButtonBox_QDialogButtonBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} int QDialogButtonBox_AndroidLayout_Type() { return QDialogButtonBox::AndroidLayout; } void* QDialogButtonBox_NewQDialogButtonBox(void* parent) { return new MyQDialogButtonBox(static_cast(parent)); } void* QDialogButtonBox_NewQDialogButtonBox2(long long orientation, void* parent) { return new MyQDialogButtonBox(static_cast(orientation), static_cast(parent)); } void* QDialogButtonBox_NewQDialogButtonBox3(long long buttons, void* parent) { return new MyQDialogButtonBox(static_cast(buttons), static_cast(parent)); } void* QDialogButtonBox_NewQDialogButtonBox4(long long buttons, long long orientation, void* parent) { return new MyQDialogButtonBox(static_cast(buttons), static_cast(orientation), static_cast(parent)); } void QDialogButtonBox_ConnectAccepted(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDialogButtonBox::accepted), static_cast(ptr), static_cast(&MyQDialogButtonBox::Signal_Accepted), static_cast(t)); } void QDialogButtonBox_DisconnectAccepted(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDialogButtonBox::accepted), static_cast(ptr), static_cast(&MyQDialogButtonBox::Signal_Accepted)); } void QDialogButtonBox_Accepted(void* ptr) { static_cast(ptr)->accepted(); } void QDialogButtonBox_AddButton(void* ptr, void* button, long long role) { static_cast(ptr)->addButton(static_cast(button), static_cast(role)); } void* QDialogButtonBox_AddButton2(void* ptr, struct QtWidgets_PackedString text, long long role) { return static_cast(ptr)->addButton(QString::fromUtf8(text.data, text.len), static_cast(role)); } void* QDialogButtonBox_AddButton3(void* ptr, long long button) { return static_cast(ptr)->addButton(static_cast(button)); } void* QDialogButtonBox_Button(void* ptr, long long which) { return static_cast(ptr)->button(static_cast(which)); } long long QDialogButtonBox_ButtonRole(void* ptr, void* button) { return static_cast(ptr)->buttonRole(static_cast(button)); } struct QtWidgets_PackedList QDialogButtonBox_Buttons(void* ptr) { return ({ QList* tmpValuea9cc79 = new QList(static_cast(ptr)->buttons()); QtWidgets_PackedList { tmpValuea9cc79, tmpValuea9cc79->size() }; }); } char QDialogButtonBox_CenterButtons(void* ptr) { return static_cast(ptr)->centerButtons(); } void QDialogButtonBox_Clear(void* ptr) { static_cast(ptr)->clear(); } void QDialogButtonBox_ConnectClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDialogButtonBox::clicked), static_cast(ptr), static_cast(&MyQDialogButtonBox::Signal_Clicked), static_cast(t)); } void QDialogButtonBox_DisconnectClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDialogButtonBox::clicked), static_cast(ptr), static_cast(&MyQDialogButtonBox::Signal_Clicked)); } void QDialogButtonBox_Clicked(void* ptr, void* button) { static_cast(ptr)->clicked(static_cast(button)); } void QDialogButtonBox_ConnectHelpRequested(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDialogButtonBox::helpRequested), static_cast(ptr), static_cast(&MyQDialogButtonBox::Signal_HelpRequested), static_cast(t)); } void QDialogButtonBox_DisconnectHelpRequested(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDialogButtonBox::helpRequested), static_cast(ptr), static_cast(&MyQDialogButtonBox::Signal_HelpRequested)); } void QDialogButtonBox_HelpRequested(void* ptr) { static_cast(ptr)->helpRequested(); } long long QDialogButtonBox_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void QDialogButtonBox_ConnectRejected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDialogButtonBox::rejected), static_cast(ptr), static_cast(&MyQDialogButtonBox::Signal_Rejected), static_cast(t)); } void QDialogButtonBox_DisconnectRejected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDialogButtonBox::rejected), static_cast(ptr), static_cast(&MyQDialogButtonBox::Signal_Rejected)); } void QDialogButtonBox_Rejected(void* ptr) { static_cast(ptr)->rejected(); } void QDialogButtonBox_RemoveButton(void* ptr, void* button) { static_cast(ptr)->removeButton(static_cast(button)); } void QDialogButtonBox_SetCenterButtons(void* ptr, char center) { static_cast(ptr)->setCenterButtons(center != 0); } void QDialogButtonBox_SetOrientation(void* ptr, long long orientation) { static_cast(ptr)->setOrientation(static_cast(orientation)); } void QDialogButtonBox_SetStandardButtons(void* ptr, long long buttons) { static_cast(ptr)->setStandardButtons(static_cast(buttons)); } long long QDialogButtonBox_StandardButton(void* ptr, void* button) { return static_cast(ptr)->standardButton(static_cast(button)); } long long QDialogButtonBox_StandardButtons(void* ptr) { return static_cast(ptr)->standardButtons(); } void QDialogButtonBox_DestroyQDialogButtonBox(void* ptr) { static_cast(ptr)->~QDialogButtonBox(); } void QDialogButtonBox_DestroyQDialogButtonBoxDefault(void* ptr) { Q_UNUSED(ptr); } void* QDialogButtonBox___buttons_atList(void* ptr, int i) { return ({QAbstractButton * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDialogButtonBox___buttons_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QDialogButtonBox___buttons_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQDirModel: public QDirModel { public: MyQDirModel(const QStringList &nameFilters, QDir::Filters filters, QDir::SortFlags sort, QObject *parent = Q_NULLPTR) : QDirModel(nameFilters, filters, sort, parent) {QDirModel_QDirModel_QRegisterMetaType();}; MyQDirModel(QObject *parent = Q_NULLPTR) : QDirModel(parent) {QDirModel_QDirModel_QRegisterMetaType();}; int columnCount(const QModelIndex & parent) const { return callbackQDirModel_ColumnCount(const_cast(static_cast(this)), const_cast(&parent)); }; QVariant data(const QModelIndex & index, int role) const { return *static_cast(callbackQDirModel_Data(const_cast(static_cast(this)), const_cast(&index), role)); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQDirModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQDirModel_Flags(const_cast(static_cast(this)), const_cast(&index))); }; bool hasChildren(const QModelIndex & parent) const { return callbackQDirModel_HasChildren(const_cast(static_cast(this)), const_cast(&parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQDirModel_HeaderData(const_cast(static_cast(this)), section, orientation, role)); }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQDirModel_Index(const_cast(static_cast(this)), row, column, const_cast(&parent))); }; QMimeData * mimeData(const QModelIndexList & indexes) const { return static_cast(callbackQDirModel_MimeData(const_cast(static_cast(this)), ({ QList* tmpValuee0adf2 = new QList(indexes); QtWidgets_PackedList { tmpValuee0adf2, tmpValuee0adf2->size() }; }))); }; QStringList mimeTypes() const { return ({ QtWidgets_PackedString tempVal = callbackQDirModel_MimeTypes(const_cast(static_cast(this))); QStringList ret = QString::fromUtf8(tempVal.data, tempVal.len).split("¡¦!", QString::SkipEmptyParts); free(tempVal.data); ret; }); }; QModelIndex parent(const QModelIndex & child) const { return *static_cast(callbackQDirModel_Parent(const_cast(static_cast(this)), const_cast(&child))); }; void refresh(const QModelIndex & parent) { callbackQDirModel_Refresh(this, const_cast(&parent)); }; int rowCount(const QModelIndex & parent) const { return callbackQDirModel_RowCount(const_cast(static_cast(this)), const_cast(&parent)); }; bool setData(const QModelIndex & index, const QVariant & value, int role) { return callbackQDirModel_SetData(this, const_cast(&index), const_cast(&value), role) != 0; }; void sort(int column, Qt::SortOrder order) { callbackQDirModel_Sort(this, column, order); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQDirModel_SupportedDropActions(const_cast(static_cast(this)))); }; ~MyQDirModel() { callbackQDirModel_DestroyQDirModel(this); }; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQDirModel_Buddy(const_cast(static_cast(this)), const_cast(&index))); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQDirModel_CanDropMimeData(const_cast(static_cast(this)), const_cast(data), action, row, column, const_cast(&parent)) != 0; }; bool canFetchMore(const QModelIndex & parent) const { return callbackQDirModel_CanFetchMore(const_cast(static_cast(this)), const_cast(&parent)) != 0; }; void Signal_ColumnsAboutToBeInserted(const QModelIndex & parent, int first, int last) { callbackQDirModel_ColumnsAboutToBeInserted(this, const_cast(&parent), first, last); }; void Signal_ColumnsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationColumn) { callbackQDirModel_ColumnsAboutToBeMoved(this, const_cast(&sourceParent), sourceStart, sourceEnd, const_cast(&destinationParent), destinationColumn); }; void Signal_ColumnsAboutToBeRemoved(const QModelIndex & parent, int first, int last) { callbackQDirModel_ColumnsAboutToBeRemoved(this, const_cast(&parent), first, last); }; void Signal_ColumnsInserted(const QModelIndex & parent, int first, int last) { callbackQDirModel_ColumnsInserted(this, const_cast(&parent), first, last); }; void Signal_ColumnsMoved(const QModelIndex & parent, int start, int end, const QModelIndex & destination, int column) { callbackQDirModel_ColumnsMoved(this, const_cast(&parent), start, end, const_cast(&destination), column); }; void Signal_ColumnsRemoved(const QModelIndex & parent, int first, int last) { callbackQDirModel_ColumnsRemoved(this, const_cast(&parent), first, last); }; void Signal_DataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQDirModel_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void fetchMore(const QModelIndex & parent) { callbackQDirModel_FetchMore(this, const_cast(&parent)); }; void Signal_HeaderDataChanged(Qt::Orientation orientation, int first, int last) { callbackQDirModel_HeaderDataChanged(this, orientation, first, last); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQDirModel_InsertColumns(this, column, count, const_cast(&parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQDirModel_InsertRows(this, row, count, const_cast(&parent)) != 0; }; QMap itemData(const QModelIndex & index) const { return ({ QMap* tmpP = static_cast*>(callbackQDirModel_ItemData(const_cast(static_cast(this)), const_cast(&index))); QMap tmpV = *tmpP; tmpP->~QMap(); free(tmpP); tmpV; }); }; void Signal_LayoutAboutToBeChanged(const QList & parents, QAbstractItemModel::LayoutChangeHint hint) { callbackQDirModel_LayoutAboutToBeChanged(this, ({ QList* tmpValuea664f1 = new QList(parents); QtWidgets_PackedList { tmpValuea664f1, tmpValuea664f1->size() }; }), hint); }; void Signal_LayoutChanged(const QList & parents, QAbstractItemModel::LayoutChangeHint hint) { callbackQDirModel_LayoutChanged(this, ({ QList* tmpValuea664f1 = new QList(parents); QtWidgets_PackedList { tmpValuea664f1, tmpValuea664f1->size() }; }), hint); }; QList match(const QModelIndex & start, int role, const QVariant & value, int hits, Qt::MatchFlags flags) const { return ({ QList* tmpP = static_cast*>(callbackQDirModel_Match(const_cast(static_cast(this)), const_cast(&start), role, const_cast(&value), hits, flags)); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void Signal_ModelAboutToBeReset() { callbackQDirModel_ModelAboutToBeReset(this); }; void Signal_ModelReset() { callbackQDirModel_ModelReset(this); }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQDirModel_MoveColumns(this, const_cast(&sourceParent), sourceColumn, count, const_cast(&destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQDirModel_MoveRows(this, const_cast(&sourceParent), sourceRow, count, const_cast(&destinationParent), destinationChild) != 0; }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQDirModel_RemoveColumns(this, column, count, const_cast(&parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQDirModel_RemoveRows(this, row, count, const_cast(&parent)) != 0; }; void resetInternalData() { callbackQDirModel_ResetInternalData(this); }; void revert() { callbackQDirModel_Revert(this); }; QHash roleNames() const { return ({ QHash* tmpP = static_cast*>(callbackQDirModel_RoleNames(const_cast(static_cast(this)))); QHash tmpV = *tmpP; tmpP->~QHash(); free(tmpP); tmpV; }); }; void Signal_RowsAboutToBeInserted(const QModelIndex & parent, int start, int end) { callbackQDirModel_RowsAboutToBeInserted(this, const_cast(&parent), start, end); }; void Signal_RowsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationRow) { callbackQDirModel_RowsAboutToBeMoved(this, const_cast(&sourceParent), sourceStart, sourceEnd, const_cast(&destinationParent), destinationRow); }; void Signal_RowsAboutToBeRemoved(const QModelIndex & parent, int first, int last) { callbackQDirModel_RowsAboutToBeRemoved(this, const_cast(&parent), first, last); }; void Signal_RowsInserted(const QModelIndex & parent, int first, int last) { callbackQDirModel_RowsInserted(this, const_cast(&parent), first, last); }; void Signal_RowsMoved(const QModelIndex & parent, int start, int end, const QModelIndex & destination, int row) { callbackQDirModel_RowsMoved(this, const_cast(&parent), start, end, const_cast(&destination), row); }; void Signal_RowsRemoved(const QModelIndex & parent, int first, int last) { callbackQDirModel_RowsRemoved(this, const_cast(&parent), first, last); }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQDirModel_SetHeaderData(this, section, orientation, const_cast(&value), role) != 0; }; bool setItemData(const QModelIndex & index, const QMap & roles) { return callbackQDirModel_SetItemData(this, const_cast(&index), ({ QMap* tmpValue037c88 = new QMap(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })) != 0; }; QModelIndex sibling(int row, int column, const QModelIndex & index) const { return *static_cast(callbackQDirModel_Sibling(const_cast(static_cast(this)), row, column, const_cast(&index))); }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQDirModel_Span(const_cast(static_cast(this)), const_cast(&index))); }; bool submit() { return callbackQDirModel_Submit(this) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQDirModel_SupportedDragActions(const_cast(static_cast(this)))); }; void childEvent(QChildEvent * event) { callbackQDirModel_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQDirModel_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQDirModel_CustomEvent(this, event); }; void deleteLater() { callbackQDirModel_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQDirModel_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQDirModel_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQDirModel_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQDirModel_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQDirModel_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQDirModel_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQDirModel_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QDirModel*) Q_DECLARE_METATYPE(MyQDirModel*) int QDirModel_QDirModel_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} int QDirModel_FilePathRole_Type() { return QDirModel::FilePathRole; } void* QDirModel_NewQDirModel(struct QtWidgets_PackedString nameFilters, long long filters, long long sort, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } else { return new MyQDirModel(QString::fromUtf8(nameFilters.data, nameFilters.len).split("¡¦!", QString::SkipEmptyParts), static_cast(filters), static_cast(sort), static_cast(parent)); } } void* QDirModel_NewQDirModel2(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQDirModel(static_cast(parent)); } else { return new MyQDirModel(static_cast(parent)); } } int QDirModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } int QDirModel_ColumnCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QDirModel::columnCount(*static_cast(parent)); } void* QDirModel_Data(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(index), role)); } void* QDirModel_DataDefault(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->QDirModel::data(*static_cast(index), role)); } char QDirModel_DropMimeDataDefault(void* ptr, void* data, long long action, int row, int column, void* parent) { return static_cast(ptr)->QDirModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } void* QDirModel_FileIcon(void* ptr, void* index) { return new QIcon(static_cast(ptr)->fileIcon(*static_cast(index))); } void* QDirModel_FileInfo(void* ptr, void* index) { return new QFileInfo(static_cast(ptr)->fileInfo(*static_cast(index))); } struct QtWidgets_PackedString QDirModel_FileName(void* ptr, void* index) { return ({ QByteArray* tefae33 = new QByteArray(static_cast(ptr)->fileName(*static_cast(index)).toUtf8()); QtWidgets_PackedString { const_cast(tefae33->prepend("WHITESPACE").constData()+10), tefae33->size()-10, tefae33 }; }); } struct QtWidgets_PackedString QDirModel_FilePath(void* ptr, void* index) { return ({ QByteArray* t327f53 = new QByteArray(static_cast(ptr)->filePath(*static_cast(index)).toUtf8()); QtWidgets_PackedString { const_cast(t327f53->prepend("WHITESPACE").constData()+10), t327f53->size()-10, t327f53 }; }); } long long QDirModel_Filter(void* ptr) { return static_cast(ptr)->filter(); } long long QDirModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QDirModel::flags(*static_cast(index)); } char QDirModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QDirModel::hasChildren(*static_cast(parent)); } void* QDirModel_HeaderDataDefault(void* ptr, int section, long long orientation, int role) { return new QVariant(static_cast(ptr)->QDirModel::headerData(section, static_cast(orientation), role)); } void* QDirModel_IconProvider(void* ptr) { return static_cast(ptr)->iconProvider(); } void* QDirModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } void* QDirModel_IndexDefault(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->QDirModel::index(row, column, *static_cast(parent))); } void* QDirModel_Index2(void* ptr, struct QtWidgets_PackedString path, int column) { return new QModelIndex(static_cast(ptr)->index(QString::fromUtf8(path.data, path.len), column)); } char QDirModel_IsDir(void* ptr, void* index) { return static_cast(ptr)->isDir(*static_cast(index)); } char QDirModel_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } char QDirModel_LazyChildCount(void* ptr) { return static_cast(ptr)->lazyChildCount(); } void* QDirModel_MimeDataDefault(void* ptr, void* indexes) { return static_cast(ptr)->QDirModel::mimeData(({ QList* tmpP = static_cast*>(indexes); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; })); } struct QtWidgets_PackedString QDirModel_MimeTypesDefault(void* ptr) { return ({ QByteArray* td08e24 = new QByteArray(static_cast(ptr)->QDirModel::mimeTypes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(td08e24->prepend("WHITESPACE").constData()+10), td08e24->size()-10, td08e24 }; }); } void* QDirModel_Mkdir(void* ptr, void* parent, struct QtWidgets_PackedString name) { return new QModelIndex(static_cast(ptr)->mkdir(*static_cast(parent), QString::fromUtf8(name.data, name.len))); } struct QtWidgets_PackedString QDirModel_NameFilters(void* ptr) { return ({ QByteArray* taf268e = new QByteArray(static_cast(ptr)->nameFilters().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(taf268e->prepend("WHITESPACE").constData()+10), taf268e->size()-10, taf268e }; }); } void* QDirModel_Parent(void* ptr, void* child) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(child))); } void* QDirModel_ParentDefault(void* ptr, void* child) { return new QModelIndex(static_cast(ptr)->QDirModel::parent(*static_cast(child))); } void QDirModel_Refresh(void* ptr, void* parent) { QMetaObject::invokeMethod(static_cast(ptr), "refresh", Q_ARG(const QModelIndex, *static_cast(parent))); } void QDirModel_RefreshDefault(void* ptr, void* parent) { static_cast(ptr)->QDirModel::refresh(*static_cast(parent)); } char QDirModel_Remove(void* ptr, void* index) { return static_cast(ptr)->remove(*static_cast(index)); } char QDirModel_ResolveSymlinks(void* ptr) { return static_cast(ptr)->resolveSymlinks(); } char QDirModel_Rmdir(void* ptr, void* index) { return static_cast(ptr)->rmdir(*static_cast(index)); } int QDirModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } int QDirModel_RowCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QDirModel::rowCount(*static_cast(parent)); } char QDirModel_SetDataDefault(void* ptr, void* index, void* value, int role) { return static_cast(ptr)->QDirModel::setData(*static_cast(index), *static_cast(value), role); } void QDirModel_SetFilter(void* ptr, long long filters) { static_cast(ptr)->setFilter(static_cast(filters)); } void QDirModel_SetIconProvider(void* ptr, void* provider) { static_cast(ptr)->setIconProvider(static_cast(provider)); } void QDirModel_SetLazyChildCount(void* ptr, char enable) { static_cast(ptr)->setLazyChildCount(enable != 0); } void QDirModel_SetNameFilters(void* ptr, struct QtWidgets_PackedString filters) { static_cast(ptr)->setNameFilters(QString::fromUtf8(filters.data, filters.len).split("¡¦!", QString::SkipEmptyParts)); } void QDirModel_SetReadOnly(void* ptr, char enable) { static_cast(ptr)->setReadOnly(enable != 0); } void QDirModel_SetResolveSymlinks(void* ptr, char enable) { static_cast(ptr)->setResolveSymlinks(enable != 0); } void QDirModel_SetSorting(void* ptr, long long sort) { static_cast(ptr)->setSorting(static_cast(sort)); } void QDirModel_SortDefault(void* ptr, int column, long long order) { static_cast(ptr)->QDirModel::sort(column, static_cast(order)); } long long QDirModel_Sorting(void* ptr) { return static_cast(ptr)->sorting(); } long long QDirModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QDirModel::supportedDropActions(); } void QDirModel_DestroyQDirModel(void* ptr) { static_cast(ptr)->~QDirModel(); } void QDirModel_DestroyQDirModelDefault(void* ptr) { Q_UNUSED(ptr); } void* QDirModel___mimeData_indexes_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDirModel___mimeData_indexes_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDirModel___mimeData_indexes_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___changePersistentIndexList_from_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDirModel___changePersistentIndexList_from_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDirModel___changePersistentIndexList_from_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___changePersistentIndexList_to_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDirModel___changePersistentIndexList_to_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDirModel___changePersistentIndexList_to_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QDirModel___dataChanged_roles_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); } void QDirModel___dataChanged_roles_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QDirModel___dataChanged_roles_newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QDirModel___itemData_atList(void* ptr, int v, int i) { return new QVariant(({ QVariant tmp = static_cast*>(ptr)->value(v); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; })); } void QDirModel___itemData_setList(void* ptr, int key, void* i) { static_cast*>(ptr)->insert(key, *static_cast(i)); } void* QDirModel___itemData_newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QDirModel___itemData_keyList(void* ptr) { return ({ QList* tmpValue249128 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValue249128, tmpValue249128->size() }; }); } void* QDirModel___layoutAboutToBeChanged_parents_atList(void* ptr, int i) { return new QPersistentModelIndex(({QPersistentModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDirModel___layoutAboutToBeChanged_parents_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDirModel___layoutAboutToBeChanged_parents_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___layoutChanged_parents_atList(void* ptr, int i) { return new QPersistentModelIndex(({QPersistentModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDirModel___layoutChanged_parents_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDirModel___layoutChanged_parents_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___match_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDirModel___match_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDirModel___match_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___persistentIndexList_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDirModel___persistentIndexList_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDirModel___persistentIndexList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___roleNames_atList(void* ptr, int v, int i) { return new QByteArray(({ QByteArray tmp = static_cast*>(ptr)->value(v); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QHash(); free(ptr); }; tmp; })); } void QDirModel___roleNames_setList(void* ptr, int key, void* i) { static_cast*>(ptr)->insert(key, *static_cast(i)); } void* QDirModel___roleNames_newList(void* ptr) { Q_UNUSED(ptr); return new QHash(); } struct QtWidgets_PackedList QDirModel___roleNames_keyList(void* ptr) { return ({ QList* tmpValue7fc3bb = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValue7fc3bb, tmpValue7fc3bb->size() }; }); } void* QDirModel___setItemData_roles_atList(void* ptr, int v, int i) { return new QVariant(({ QVariant tmp = static_cast*>(ptr)->value(v); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; })); } void QDirModel___setItemData_roles_setList(void* ptr, int key, void* i) { static_cast*>(ptr)->insert(key, *static_cast(i)); } void* QDirModel___setItemData_roles_newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QDirModel___setItemData_roles_keyList(void* ptr) { return ({ QList* tmpValue249128 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValue249128, tmpValue249128->size() }; }); } int QDirModel_____doSetRoleNames_roleNames_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDirModel_____doSetRoleNames_roleNames_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QDirModel_____doSetRoleNames_roleNames_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QDirModel_____itemData_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDirModel_____itemData_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QDirModel_____itemData_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QDirModel_____roleNames_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDirModel_____roleNames_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QDirModel_____roleNames_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QDirModel_____setItemData_roles_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDirModel_____setItemData_roles_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QDirModel_____setItemData_roles_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QDirModel_____setRoleNames_roleNames_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDirModel_____setRoleNames_roleNames_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QDirModel_____setRoleNames_roleNames_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDirModel___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QDirModel___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QDirModel___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QDirModel___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDirModel___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QDirModel___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QDirModel___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QDirModel___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QDirModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QDirModel::buddy(*static_cast(index))); } char QDirModel_CanDropMimeDataDefault(void* ptr, void* data, long long action, int row, int column, void* parent) { return static_cast(ptr)->QDirModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } char QDirModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QDirModel::canFetchMore(*static_cast(parent)); } void QDirModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QDirModel::fetchMore(*static_cast(parent)); } char QDirModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QDirModel::insertColumns(column, count, *static_cast(parent)); } char QDirModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QDirModel::insertRows(row, count, *static_cast(parent)); } struct QtWidgets_PackedList QDirModel_ItemDataDefault(void* ptr, void* index) { return ({ QMap* tmpValue0139f1 = new QMap(static_cast(ptr)->QDirModel::itemData(*static_cast(index))); QtWidgets_PackedList { tmpValue0139f1, tmpValue0139f1->size() }; }); } struct QtWidgets_PackedList QDirModel_MatchDefault(void* ptr, void* start, int role, void* value, int hits, long long flags) { return ({ QList* tmpValue725331 = new QList(static_cast(ptr)->QDirModel::match(*static_cast(start), role, *static_cast(value), hits, static_cast(flags))); QtWidgets_PackedList { tmpValue725331, tmpValue725331->size() }; }); } char QDirModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QDirModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } char QDirModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QDirModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } char QDirModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QDirModel::removeColumns(column, count, *static_cast(parent)); } char QDirModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QDirModel::removeRows(row, count, *static_cast(parent)); } void QDirModel_ResetInternalDataDefault(void* ptr) { static_cast(ptr)->QDirModel::resetInternalData(); } void QDirModel_RevertDefault(void* ptr) { static_cast(ptr)->QDirModel::revert(); } struct QtWidgets_PackedList QDirModel_RoleNamesDefault(void* ptr) { return ({ QHash* tmpValue4528f2 = new QHash(static_cast(ptr)->QDirModel::roleNames()); QtWidgets_PackedList { tmpValue4528f2, tmpValue4528f2->size() }; }); } char QDirModel_SetHeaderDataDefault(void* ptr, int section, long long orientation, void* value, int role) { return static_cast(ptr)->QDirModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } char QDirModel_SetItemDataDefault(void* ptr, void* index, void* roles) { return static_cast(ptr)->QDirModel::setItemData(*static_cast(index), *static_cast*>(roles)); } void* QDirModel_SiblingDefault(void* ptr, int row, int column, void* index) { return new QModelIndex(static_cast(ptr)->QDirModel::sibling(row, column, *static_cast(index))); } void* QDirModel_SpanDefault(void* ptr, void* index) { return ({ QSize tmpValue = static_cast(ptr)->QDirModel::span(*static_cast(index)); new QSize(tmpValue.width(), tmpValue.height()); }); } char QDirModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QDirModel::submit(); } long long QDirModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QDirModel::supportedDragActions(); } void QDirModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QDirModel::childEvent(static_cast(event)); } void QDirModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDirModel::connectNotify(*static_cast(sign)); } void QDirModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QDirModel::customEvent(static_cast(event)); } void QDirModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QDirModel::deleteLater(); } void QDirModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QDirModel::disconnectNotify(*static_cast(sign)); } char QDirModel_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QDirModel::event(static_cast(e)); } char QDirModel_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDirModel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDirModel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDirModel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDirModel::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDirModel::eventFilter(static_cast(watched), static_cast(event)); } } void* QDirModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QDirModel::metaObject()); } void QDirModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QDirModel::timerEvent(static_cast(event)); } class MyQDockWidget: public QDockWidget { public: MyQDockWidget(const QString &title, QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QDockWidget(title, parent, flags) {QDockWidget_QDockWidget_QRegisterMetaType();}; MyQDockWidget(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QDockWidget(parent, flags) {QDockWidget_QDockWidget_QRegisterMetaType();}; void Signal_AllowedAreasChanged(Qt::DockWidgetAreas allowedAreas) { callbackQDockWidget_AllowedAreasChanged(this, allowedAreas); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_DockLocationChanged(Qt::DockWidgetArea area) { callbackQDockWidget_DockLocationChanged(this, area); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void Signal_FeaturesChanged(QDockWidget::DockWidgetFeatures features) { callbackQDockWidget_FeaturesChanged(this, features); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void Signal_TopLevelChanged(bool topLevel) { callbackQDockWidget_TopLevelChanged(this, topLevel); }; void Signal_VisibilityChanged(bool visible) { callbackQDockWidget_VisibilityChanged(this, visible); }; ~MyQDockWidget() { callbackQDockWidget_DestroyQDockWidget(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QDockWidget*) Q_DECLARE_METATYPE(MyQDockWidget*) int QDockWidget_QDockWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QDockWidget_NewQDockWidget(struct QtWidgets_PackedString title, void* parent, long long flags) { return new MyQDockWidget(QString::fromUtf8(title.data, title.len), static_cast(parent), static_cast(flags)); } void* QDockWidget_NewQDockWidget2(void* parent, long long flags) { return new MyQDockWidget(static_cast(parent), static_cast(flags)); } long long QDockWidget_AllowedAreas(void* ptr) { return static_cast(ptr)->allowedAreas(); } void QDockWidget_ConnectAllowedAreasChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QDockWidget::allowedAreasChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_AllowedAreasChanged), static_cast(t)); } void QDockWidget_DisconnectAllowedAreasChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDockWidget::allowedAreasChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_AllowedAreasChanged)); } void QDockWidget_AllowedAreasChanged(void* ptr, long long allowedAreas) { static_cast(ptr)->allowedAreasChanged(static_cast(allowedAreas)); } void QDockWidget_ConnectDockLocationChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QDockWidget::dockLocationChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_DockLocationChanged), static_cast(t)); } void QDockWidget_DisconnectDockLocationChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDockWidget::dockLocationChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_DockLocationChanged)); } void QDockWidget_DockLocationChanged(void* ptr, long long area) { static_cast(ptr)->dockLocationChanged(static_cast(area)); } long long QDockWidget_Features(void* ptr) { return static_cast(ptr)->features(); } void QDockWidget_ConnectFeaturesChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDockWidget::featuresChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_FeaturesChanged), static_cast(t)); } void QDockWidget_DisconnectFeaturesChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDockWidget::featuresChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_FeaturesChanged)); } void QDockWidget_FeaturesChanged(void* ptr, long long features) { static_cast(ptr)->featuresChanged(static_cast(features)); } void QDockWidget_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } char QDockWidget_IsAreaAllowed(void* ptr, long long area) { return static_cast(ptr)->isAreaAllowed(static_cast(area)); } char QDockWidget_IsFloating(void* ptr) { return static_cast(ptr)->isFloating(); } void QDockWidget_SetAllowedAreas(void* ptr, long long areas) { static_cast(ptr)->setAllowedAreas(static_cast(areas)); } void QDockWidget_SetFeatures(void* ptr, long long features) { static_cast(ptr)->setFeatures(static_cast(features)); } void QDockWidget_SetFloating(void* ptr, char floating) { static_cast(ptr)->setFloating(floating != 0); } void QDockWidget_SetTitleBarWidget(void* ptr, void* widget) { static_cast(ptr)->setTitleBarWidget(static_cast(widget)); } void QDockWidget_SetWidget(void* ptr, void* widget) { static_cast(ptr)->setWidget(static_cast(widget)); } void* QDockWidget_TitleBarWidget(void* ptr) { return static_cast(ptr)->titleBarWidget(); } void* QDockWidget_ToggleViewAction(void* ptr) { return static_cast(ptr)->toggleViewAction(); } void QDockWidget_ConnectTopLevelChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDockWidget::topLevelChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_TopLevelChanged), static_cast(t)); } void QDockWidget_DisconnectTopLevelChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDockWidget::topLevelChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_TopLevelChanged)); } void QDockWidget_TopLevelChanged(void* ptr, char topLevel) { static_cast(ptr)->topLevelChanged(topLevel != 0); } void QDockWidget_ConnectVisibilityChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDockWidget::visibilityChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_VisibilityChanged), static_cast(t)); } void QDockWidget_DisconnectVisibilityChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDockWidget::visibilityChanged), static_cast(ptr), static_cast(&MyQDockWidget::Signal_VisibilityChanged)); } void QDockWidget_VisibilityChanged(void* ptr, char visible) { static_cast(ptr)->visibilityChanged(visible != 0); } void* QDockWidget_Widget(void* ptr) { return static_cast(ptr)->widget(); } void QDockWidget_DestroyQDockWidget(void* ptr) { static_cast(ptr)->~QDockWidget(); } void QDockWidget_DestroyQDockWidgetDefault(void* ptr) { Q_UNUSED(ptr); } class MyQDoubleSpinBox: public QDoubleSpinBox { public: MyQDoubleSpinBox(QWidget *parent = Q_NULLPTR) : QDoubleSpinBox(parent) {QDoubleSpinBox_QDoubleSpinBox_QRegisterMetaType();}; void fixup(QString & input) const { QByteArray* t140f86 = new QByteArray(input.toUtf8()); QtWidgets_PackedString inputPacked = { const_cast(t140f86->prepend("WHITESPACE").constData()+10), t140f86->size()-10, t140f86 };callbackQAbstractSpinBox_Fixup(const_cast(static_cast(this)), inputPacked); }; void setValue(double val) { callbackQDoubleSpinBox_SetValue(this, val); }; QString textFromValue(double value) const { return ({ QtWidgets_PackedString tempVal = callbackQDoubleSpinBox_TextFromValue(const_cast(static_cast(this)), value); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; QValidator::State validate(QString & text, int & pos) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return static_cast(callbackQAbstractSpinBox_Validate(const_cast(static_cast(this)), textPacked, pos)); }; void Signal_ValueChanged(double d) { callbackQDoubleSpinBox_ValueChanged(this, d); }; void Signal_ValueChanged2(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQDoubleSpinBox_ValueChanged2(this, textPacked); }; double valueFromText(const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return callbackQDoubleSpinBox_ValueFromText(const_cast(static_cast(this)), textPacked); }; ~MyQDoubleSpinBox() { callbackQDoubleSpinBox_DestroyQDoubleSpinBox(this); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void clear() { callbackQAbstractSpinBox_Clear(this); }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void selectAll() { callbackQAbstractSpinBox_SelectAll(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); }; void stepDown() { callbackQAbstractSpinBox_StepDown(this); }; QAbstractSpinBox::StepEnabled stepEnabled() const { return static_cast(callbackQAbstractSpinBox_StepEnabled(const_cast(static_cast(this)))); }; void stepUp() { callbackQAbstractSpinBox_StepUp(this); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QDoubleSpinBox*) Q_DECLARE_METATYPE(MyQDoubleSpinBox*) int QDoubleSpinBox_QDoubleSpinBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QDoubleSpinBox_NewQDoubleSpinBox(void* parent) { return new MyQDoubleSpinBox(static_cast(parent)); } struct QtWidgets_PackedString QDoubleSpinBox_CleanText(void* ptr) { return ({ QByteArray* t77d32e = new QByteArray(static_cast(ptr)->cleanText().toUtf8()); QtWidgets_PackedString { const_cast(t77d32e->prepend("WHITESPACE").constData()+10), t77d32e->size()-10, t77d32e }; }); } int QDoubleSpinBox_Decimals(void* ptr) { return static_cast(ptr)->decimals(); } double QDoubleSpinBox_Maximum(void* ptr) { return static_cast(ptr)->maximum(); } double QDoubleSpinBox_Minimum(void* ptr) { return static_cast(ptr)->minimum(); } struct QtWidgets_PackedString QDoubleSpinBox_Prefix(void* ptr) { return ({ QByteArray* t5a79ac = new QByteArray(static_cast(ptr)->prefix().toUtf8()); QtWidgets_PackedString { const_cast(t5a79ac->prepend("WHITESPACE").constData()+10), t5a79ac->size()-10, t5a79ac }; }); } void QDoubleSpinBox_SetDecimals(void* ptr, int prec) { static_cast(ptr)->setDecimals(prec); } void QDoubleSpinBox_SetMaximum(void* ptr, double max) { static_cast(ptr)->setMaximum(max); } void QDoubleSpinBox_SetMinimum(void* ptr, double min) { static_cast(ptr)->setMinimum(min); } void QDoubleSpinBox_SetPrefix(void* ptr, struct QtWidgets_PackedString prefix) { static_cast(ptr)->setPrefix(QString::fromUtf8(prefix.data, prefix.len)); } void QDoubleSpinBox_SetRange(void* ptr, double minimum, double maximum) { static_cast(ptr)->setRange(minimum, maximum); } void QDoubleSpinBox_SetSingleStep(void* ptr, double val) { static_cast(ptr)->setSingleStep(val); } void QDoubleSpinBox_SetStepType(void* ptr, long long stepType) { static_cast(ptr)->setStepType(static_cast(stepType)); } void QDoubleSpinBox_SetSuffix(void* ptr, struct QtWidgets_PackedString suffix) { static_cast(ptr)->setSuffix(QString::fromUtf8(suffix.data, suffix.len)); } void QDoubleSpinBox_SetValue(void* ptr, double val) { QMetaObject::invokeMethod(static_cast(ptr), "setValue", Q_ARG(double, val)); } void QDoubleSpinBox_SetValueDefault(void* ptr, double val) { static_cast(ptr)->QDoubleSpinBox::setValue(val); } double QDoubleSpinBox_SingleStep(void* ptr) { return static_cast(ptr)->singleStep(); } long long QDoubleSpinBox_StepType(void* ptr) { return static_cast(ptr)->stepType(); } struct QtWidgets_PackedString QDoubleSpinBox_Suffix(void* ptr) { return ({ QByteArray* t4d98e3 = new QByteArray(static_cast(ptr)->suffix().toUtf8()); QtWidgets_PackedString { const_cast(t4d98e3->prepend("WHITESPACE").constData()+10), t4d98e3->size()-10, t4d98e3 }; }); } struct QtWidgets_PackedString QDoubleSpinBox_TextFromValue(void* ptr, double value) { return ({ QByteArray* t86f376 = new QByteArray(static_cast(ptr)->textFromValue(value).toUtf8()); QtWidgets_PackedString { const_cast(t86f376->prepend("WHITESPACE").constData()+10), t86f376->size()-10, t86f376 }; }); } struct QtWidgets_PackedString QDoubleSpinBox_TextFromValueDefault(void* ptr, double value) { return ({ QByteArray* t7bc6a7 = new QByteArray(static_cast(ptr)->QDoubleSpinBox::textFromValue(value).toUtf8()); QtWidgets_PackedString { const_cast(t7bc6a7->prepend("WHITESPACE").constData()+10), t7bc6a7->size()-10, t7bc6a7 }; }); } double QDoubleSpinBox_Value(void* ptr) { return static_cast(ptr)->value(); } void QDoubleSpinBox_ConnectValueChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDoubleSpinBox::valueChanged), static_cast(ptr), static_cast(&MyQDoubleSpinBox::Signal_ValueChanged), static_cast(t)); } void QDoubleSpinBox_DisconnectValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDoubleSpinBox::valueChanged), static_cast(ptr), static_cast(&MyQDoubleSpinBox::Signal_ValueChanged)); } void QDoubleSpinBox_ValueChanged(void* ptr, double d) { static_cast(ptr)->valueChanged(d); } void QDoubleSpinBox_ConnectValueChanged2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QDoubleSpinBox::valueChanged), static_cast(ptr), static_cast(&MyQDoubleSpinBox::Signal_ValueChanged2), static_cast(t)); } void QDoubleSpinBox_DisconnectValueChanged2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QDoubleSpinBox::valueChanged), static_cast(ptr), static_cast(&MyQDoubleSpinBox::Signal_ValueChanged2)); } void QDoubleSpinBox_ValueChanged2(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->valueChanged(QString::fromUtf8(text.data, text.len)); } double QDoubleSpinBox_ValueFromText(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->valueFromText(QString::fromUtf8(text.data, text.len)); } double QDoubleSpinBox_ValueFromTextDefault(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->QDoubleSpinBox::valueFromText(QString::fromUtf8(text.data, text.len)); } void QDoubleSpinBox_DestroyQDoubleSpinBox(void* ptr) { static_cast(ptr)->~QDoubleSpinBox(); } void QDoubleSpinBox_DestroyQDoubleSpinBoxDefault(void* ptr) { Q_UNUSED(ptr); } class MyQErrorMessage: public QErrorMessage { public: MyQErrorMessage(QWidget *parent = Q_NULLPTR) : QErrorMessage(parent) {QErrorMessage_QErrorMessage_QRegisterMetaType();}; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void done(int a) { callbackQErrorMessage_Done(this, a); }; void showMessage(const QString & message) { QByteArray* t6f9b9a = new QByteArray(message.toUtf8()); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a->prepend("WHITESPACE").constData()+10), t6f9b9a->size()-10, t6f9b9a };callbackQErrorMessage_ShowMessage(this, messagePacked); }; void showMessage(const QString & message, const QString & ty) { QByteArray* t6f9b9a = new QByteArray(message.toUtf8()); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a->prepend("WHITESPACE").constData()+10), t6f9b9a->size()-10, t6f9b9a };QByteArray* td0a3e7 = new QByteArray(ty.toUtf8()); QtWidgets_PackedString tyPacked = { const_cast(td0a3e7->prepend("WHITESPACE").constData()+10), td0a3e7->size()-10, td0a3e7 };callbackQErrorMessage_ShowMessage2(this, messagePacked, tyPacked); }; ~MyQErrorMessage() { callbackQErrorMessage_DestroyQErrorMessage(this); }; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void open() { callbackQDialog_Open(this); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QErrorMessage*) Q_DECLARE_METATYPE(MyQErrorMessage*) int QErrorMessage_QErrorMessage_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QErrorMessage_NewQErrorMessage(void* parent) { return new MyQErrorMessage(static_cast(parent)); } void QErrorMessage_Done(void* ptr, int a) { static_cast(ptr)->done(a); } void QErrorMessage_DoneDefault(void* ptr, int a) { static_cast(ptr)->QErrorMessage::done(a); } void* QErrorMessage_QErrorMessage_QtHandler() { return QErrorMessage::qtHandler(); } void QErrorMessage_ShowMessage(void* ptr, struct QtWidgets_PackedString message) { QMetaObject::invokeMethod(static_cast(ptr), "showMessage", Q_ARG(const QString, QString::fromUtf8(message.data, message.len))); } void QErrorMessage_ShowMessageDefault(void* ptr, struct QtWidgets_PackedString message) { static_cast(ptr)->QErrorMessage::showMessage(QString::fromUtf8(message.data, message.len)); } void QErrorMessage_ShowMessage2(void* ptr, struct QtWidgets_PackedString message, struct QtWidgets_PackedString ty) { QMetaObject::invokeMethod(static_cast(ptr), "showMessage", Q_ARG(const QString, QString::fromUtf8(message.data, message.len)), Q_ARG(const QString, QString::fromUtf8(ty.data, ty.len))); } void QErrorMessage_ShowMessage2Default(void* ptr, struct QtWidgets_PackedString message, struct QtWidgets_PackedString ty) { static_cast(ptr)->QErrorMessage::showMessage(QString::fromUtf8(message.data, message.len), QString::fromUtf8(ty.data, ty.len)); } void QErrorMessage_DestroyQErrorMessage(void* ptr) { static_cast(ptr)->~QErrorMessage(); } void QErrorMessage_DestroyQErrorMessageDefault(void* ptr) { Q_UNUSED(ptr); } class MyQFileDialog: public QFileDialog { public: MyQFileDialog(QWidget *parent, Qt::WindowFlags flags) : QFileDialog(parent, flags) {QFileDialog_QFileDialog_QRegisterMetaType();}; MyQFileDialog(QWidget *parent = Q_NULLPTR, const QString &caption = QString(), const QString &directory = QString(), const QString &filter = QString()) : QFileDialog(parent, caption, directory, filter) {QFileDialog_QFileDialog_QRegisterMetaType();}; void accept() { callbackQFileDialog_Accept(this); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void Signal_CurrentChanged(const QString & path) { QByteArray* t3150ec = new QByteArray(path.toUtf8()); QtWidgets_PackedString pathPacked = { const_cast(t3150ec->prepend("WHITESPACE").constData()+10), t3150ec->size()-10, t3150ec };callbackQFileDialog_CurrentChanged(this, pathPacked); }; void Signal_CurrentUrlChanged(const QUrl & url) { callbackQFileDialog_CurrentUrlChanged(this, const_cast(&url)); }; void Signal_DirectoryEntered(const QString & directory) { QByteArray* t8d392f = new QByteArray(directory.toUtf8()); QtWidgets_PackedString directoryPacked = { const_cast(t8d392f->prepend("WHITESPACE").constData()+10), t8d392f->size()-10, t8d392f };callbackQFileDialog_DirectoryEntered(this, directoryPacked); }; void Signal_DirectoryUrlEntered(const QUrl & directory) { callbackQFileDialog_DirectoryUrlEntered(this, const_cast(&directory)); }; void done(int result) { callbackQFileDialog_Done(this, result); }; void Signal_FileSelected(const QString & file) { QByteArray* t971c41 = new QByteArray(file.toUtf8()); QtWidgets_PackedString filePacked = { const_cast(t971c41->prepend("WHITESPACE").constData()+10), t971c41->size()-10, t971c41 };callbackQFileDialog_FileSelected(this, filePacked); }; void Signal_FilesSelected(const QStringList & selected) { QByteArray* t835f3b = new QByteArray(selected.join("¡¦!").toUtf8()); QtWidgets_PackedString selectedPacked = { const_cast(t835f3b->prepend("WHITESPACE").constData()+10), t835f3b->size()-10, t835f3b };callbackQFileDialog_FilesSelected(this, selectedPacked); }; void Signal_FilterSelected(const QString & filter) { QByteArray* t4bb4ca = new QByteArray(filter.toUtf8()); QtWidgets_PackedString filterPacked = { const_cast(t4bb4ca->prepend("WHITESPACE").constData()+10), t4bb4ca->size()-10, t4bb4ca };callbackQFileDialog_FilterSelected(this, filterPacked); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; void Signal_UrlSelected(const QUrl & url) { callbackQFileDialog_UrlSelected(this, const_cast(&url)); }; void Signal_UrlsSelected(const QList & urls) { callbackQFileDialog_UrlsSelected(this, ({ QList* tmpValuec9856c = new QList(urls); QtWidgets_PackedList { tmpValuec9856c, tmpValuec9856c->size() }; })); }; ~MyQFileDialog() { callbackQFileDialog_DestroyQFileDialog(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QFileDialog*) Q_DECLARE_METATYPE(MyQFileDialog*) int QFileDialog_QFileDialog_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QFileDialog_NewQFileDialog(void* parent, long long flags) { return new MyQFileDialog(static_cast(parent), static_cast(flags)); } void* QFileDialog_NewQFileDialog2(void* parent, struct QtWidgets_PackedString caption, struct QtWidgets_PackedString directory, struct QtWidgets_PackedString filter) { return new MyQFileDialog(static_cast(parent), QString::fromUtf8(caption.data, caption.len), QString::fromUtf8(directory.data, directory.len), QString::fromUtf8(filter.data, filter.len)); } void QFileDialog_Accept(void* ptr) { static_cast(ptr)->accept(); } void QFileDialog_AcceptDefault(void* ptr) { static_cast(ptr)->QFileDialog::accept(); } long long QFileDialog_AcceptMode(void* ptr) { return static_cast(ptr)->acceptMode(); } char QFileDialog_ConfirmOverwrite(void* ptr) { return static_cast(ptr)->confirmOverwrite(); } void QFileDialog_ConnectCurrentChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileDialog::currentChanged), static_cast(ptr), static_cast(&MyQFileDialog::Signal_CurrentChanged), static_cast(t)); } void QFileDialog_DisconnectCurrentChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileDialog::currentChanged), static_cast(ptr), static_cast(&MyQFileDialog::Signal_CurrentChanged)); } void QFileDialog_CurrentChanged(void* ptr, struct QtWidgets_PackedString path) { static_cast(ptr)->currentChanged(QString::fromUtf8(path.data, path.len)); } void QFileDialog_ConnectCurrentUrlChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileDialog::currentUrlChanged), static_cast(ptr), static_cast(&MyQFileDialog::Signal_CurrentUrlChanged), static_cast(t)); } void QFileDialog_DisconnectCurrentUrlChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileDialog::currentUrlChanged), static_cast(ptr), static_cast(&MyQFileDialog::Signal_CurrentUrlChanged)); } void QFileDialog_CurrentUrlChanged(void* ptr, void* url) { static_cast(ptr)->currentUrlChanged(*static_cast(url)); } struct QtWidgets_PackedString QFileDialog_DefaultSuffix(void* ptr) { return ({ QByteArray* t9b6b68 = new QByteArray(static_cast(ptr)->defaultSuffix().toUtf8()); QtWidgets_PackedString { const_cast(t9b6b68->prepend("WHITESPACE").constData()+10), t9b6b68->size()-10, t9b6b68 }; }); } void* QFileDialog_Directory(void* ptr) { return new QDir(static_cast(ptr)->directory()); } void QFileDialog_ConnectDirectoryEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileDialog::directoryEntered), static_cast(ptr), static_cast(&MyQFileDialog::Signal_DirectoryEntered), static_cast(t)); } void QFileDialog_DisconnectDirectoryEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileDialog::directoryEntered), static_cast(ptr), static_cast(&MyQFileDialog::Signal_DirectoryEntered)); } void QFileDialog_DirectoryEntered(void* ptr, struct QtWidgets_PackedString directory) { static_cast(ptr)->directoryEntered(QString::fromUtf8(directory.data, directory.len)); } void* QFileDialog_DirectoryUrl(void* ptr) { return new QUrl(static_cast(ptr)->directoryUrl()); } void QFileDialog_ConnectDirectoryUrlEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileDialog::directoryUrlEntered), static_cast(ptr), static_cast(&MyQFileDialog::Signal_DirectoryUrlEntered), static_cast(t)); } void QFileDialog_DisconnectDirectoryUrlEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileDialog::directoryUrlEntered), static_cast(ptr), static_cast(&MyQFileDialog::Signal_DirectoryUrlEntered)); } void QFileDialog_DirectoryUrlEntered(void* ptr, void* directory) { static_cast(ptr)->directoryUrlEntered(*static_cast(directory)); } void QFileDialog_Done(void* ptr, int result) { static_cast(ptr)->done(result); } void QFileDialog_DoneDefault(void* ptr, int result) { static_cast(ptr)->QFileDialog::done(result); } long long QFileDialog_FileMode(void* ptr) { return static_cast(ptr)->fileMode(); } void QFileDialog_ConnectFileSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileDialog::fileSelected), static_cast(ptr), static_cast(&MyQFileDialog::Signal_FileSelected), static_cast(t)); } void QFileDialog_DisconnectFileSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileDialog::fileSelected), static_cast(ptr), static_cast(&MyQFileDialog::Signal_FileSelected)); } void QFileDialog_FileSelected(void* ptr, struct QtWidgets_PackedString file) { static_cast(ptr)->fileSelected(QString::fromUtf8(file.data, file.len)); } void QFileDialog_ConnectFilesSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileDialog::filesSelected), static_cast(ptr), static_cast(&MyQFileDialog::Signal_FilesSelected), static_cast(t)); } void QFileDialog_DisconnectFilesSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileDialog::filesSelected), static_cast(ptr), static_cast(&MyQFileDialog::Signal_FilesSelected)); } void QFileDialog_FilesSelected(void* ptr, struct QtWidgets_PackedString selected) { static_cast(ptr)->filesSelected(QString::fromUtf8(selected.data, selected.len).split("¡¦!", QString::SkipEmptyParts)); } long long QFileDialog_Filter(void* ptr) { return static_cast(ptr)->filter(); } void QFileDialog_ConnectFilterSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileDialog::filterSelected), static_cast(ptr), static_cast(&MyQFileDialog::Signal_FilterSelected), static_cast(t)); } void QFileDialog_DisconnectFilterSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileDialog::filterSelected), static_cast(ptr), static_cast(&MyQFileDialog::Signal_FilterSelected)); } void QFileDialog_FilterSelected(void* ptr, struct QtWidgets_PackedString filter) { static_cast(ptr)->filterSelected(QString::fromUtf8(filter.data, filter.len)); } struct QtWidgets_PackedString QFileDialog_QFileDialog_GetExistingDirectory(void* parent, struct QtWidgets_PackedString caption, struct QtWidgets_PackedString dir, long long options) { return ({ QByteArray* t875e51 = new QByteArray(QFileDialog::getExistingDirectory(static_cast(parent), QString::fromUtf8(caption.data, caption.len), QString::fromUtf8(dir.data, dir.len), static_cast(options)).toUtf8()); QtWidgets_PackedString { const_cast(t875e51->prepend("WHITESPACE").constData()+10), t875e51->size()-10, t875e51 }; }); } void* QFileDialog_QFileDialog_GetExistingDirectoryUrl(void* parent, struct QtWidgets_PackedString caption, void* dir, long long options, struct QtWidgets_PackedString supportedSchemes) { return new QUrl(QFileDialog::getExistingDirectoryUrl(static_cast(parent), QString::fromUtf8(caption.data, caption.len), *static_cast(dir), static_cast(options), QString::fromUtf8(supportedSchemes.data, supportedSchemes.len).split("¡¦!", QString::SkipEmptyParts))); } struct QtWidgets_PackedString QFileDialog_QFileDialog_GetOpenFileName(void* parent, struct QtWidgets_PackedString caption, struct QtWidgets_PackedString dir, struct QtWidgets_PackedString filter, struct QtWidgets_PackedString selectedFilter, long long options) { return ({ QByteArray* t2c631a = new QByteArray(QFileDialog::getOpenFileName(static_cast(parent), QString::fromUtf8(caption.data, caption.len), QString::fromUtf8(dir.data, dir.len), QString::fromUtf8(filter.data, filter.len), new QString(QString::fromUtf8(selectedFilter.data, selectedFilter.len)), static_cast(options)).toUtf8()); QtWidgets_PackedString { const_cast(t2c631a->prepend("WHITESPACE").constData()+10), t2c631a->size()-10, t2c631a }; }); } struct QtWidgets_PackedString QFileDialog_QFileDialog_GetOpenFileNames(void* parent, struct QtWidgets_PackedString caption, struct QtWidgets_PackedString dir, struct QtWidgets_PackedString filter, struct QtWidgets_PackedString selectedFilter, long long options) { return ({ QByteArray* t77ac08 = new QByteArray(QFileDialog::getOpenFileNames(static_cast(parent), QString::fromUtf8(caption.data, caption.len), QString::fromUtf8(dir.data, dir.len), QString::fromUtf8(filter.data, filter.len), new QString(QString::fromUtf8(selectedFilter.data, selectedFilter.len)), static_cast(options)).join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t77ac08->prepend("WHITESPACE").constData()+10), t77ac08->size()-10, t77ac08 }; }); } void* QFileDialog_QFileDialog_GetOpenFileUrl(void* parent, struct QtWidgets_PackedString caption, void* dir, struct QtWidgets_PackedString filter, struct QtWidgets_PackedString selectedFilter, long long options, struct QtWidgets_PackedString supportedSchemes) { return new QUrl(QFileDialog::getOpenFileUrl(static_cast(parent), QString::fromUtf8(caption.data, caption.len), *static_cast(dir), QString::fromUtf8(filter.data, filter.len), new QString(QString::fromUtf8(selectedFilter.data, selectedFilter.len)), static_cast(options), QString::fromUtf8(supportedSchemes.data, supportedSchemes.len).split("¡¦!", QString::SkipEmptyParts))); } struct QtWidgets_PackedList QFileDialog_QFileDialog_GetOpenFileUrls(void* parent, struct QtWidgets_PackedString caption, void* dir, struct QtWidgets_PackedString filter, struct QtWidgets_PackedString selectedFilter, long long options, struct QtWidgets_PackedString supportedSchemes) { return ({ QList* tmpValue688015 = new QList(QFileDialog::getOpenFileUrls(static_cast(parent), QString::fromUtf8(caption.data, caption.len), *static_cast(dir), QString::fromUtf8(filter.data, filter.len), new QString(QString::fromUtf8(selectedFilter.data, selectedFilter.len)), static_cast(options), QString::fromUtf8(supportedSchemes.data, supportedSchemes.len).split("¡¦!", QString::SkipEmptyParts))); QtWidgets_PackedList { tmpValue688015, tmpValue688015->size() }; }); } struct QtWidgets_PackedString QFileDialog_QFileDialog_GetSaveFileName(void* parent, struct QtWidgets_PackedString caption, struct QtWidgets_PackedString dir, struct QtWidgets_PackedString filter, struct QtWidgets_PackedString selectedFilter, long long options) { return ({ QByteArray* t495363 = new QByteArray(QFileDialog::getSaveFileName(static_cast(parent), QString::fromUtf8(caption.data, caption.len), QString::fromUtf8(dir.data, dir.len), QString::fromUtf8(filter.data, filter.len), new QString(QString::fromUtf8(selectedFilter.data, selectedFilter.len)), static_cast(options)).toUtf8()); QtWidgets_PackedString { const_cast(t495363->prepend("WHITESPACE").constData()+10), t495363->size()-10, t495363 }; }); } void* QFileDialog_QFileDialog_GetSaveFileUrl(void* parent, struct QtWidgets_PackedString caption, void* dir, struct QtWidgets_PackedString filter, struct QtWidgets_PackedString selectedFilter, long long options, struct QtWidgets_PackedString supportedSchemes) { return new QUrl(QFileDialog::getSaveFileUrl(static_cast(parent), QString::fromUtf8(caption.data, caption.len), *static_cast(dir), QString::fromUtf8(filter.data, filter.len), new QString(QString::fromUtf8(selectedFilter.data, selectedFilter.len)), static_cast(options), QString::fromUtf8(supportedSchemes.data, supportedSchemes.len).split("¡¦!", QString::SkipEmptyParts))); } struct QtWidgets_PackedString QFileDialog_History(void* ptr) { return ({ QByteArray* t242067 = new QByteArray(static_cast(ptr)->history().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t242067->prepend("WHITESPACE").constData()+10), t242067->size()-10, t242067 }; }); } void* QFileDialog_IconProvider(void* ptr) { return static_cast(ptr)->iconProvider(); } char QFileDialog_IsNameFilterDetailsVisible(void* ptr) { return static_cast(ptr)->isNameFilterDetailsVisible(); } char QFileDialog_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } void* QFileDialog_ItemDelegate(void* ptr) { return static_cast(ptr)->itemDelegate(); } struct QtWidgets_PackedString QFileDialog_LabelText(void* ptr, long long label) { return ({ QByteArray* td750f3 = new QByteArray(static_cast(ptr)->labelText(static_cast(label)).toUtf8()); QtWidgets_PackedString { const_cast(td750f3->prepend("WHITESPACE").constData()+10), td750f3->size()-10, td750f3 }; }); } struct QtWidgets_PackedString QFileDialog_MimeTypeFilters(void* ptr) { return ({ QByteArray* t17a2a7 = new QByteArray(static_cast(ptr)->mimeTypeFilters().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t17a2a7->prepend("WHITESPACE").constData()+10), t17a2a7->size()-10, t17a2a7 }; }); } struct QtWidgets_PackedString QFileDialog_NameFilters(void* ptr) { return ({ QByteArray* t4389e5 = new QByteArray(static_cast(ptr)->nameFilters().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t4389e5->prepend("WHITESPACE").constData()+10), t4389e5->size()-10, t4389e5 }; }); } void QFileDialog_Open(void* ptr, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } } long long QFileDialog_Options(void* ptr) { return static_cast(ptr)->options(); } void* QFileDialog_ProxyModel(void* ptr) { return static_cast(ptr)->proxyModel(); } char QFileDialog_ResolveSymlinks(void* ptr) { return static_cast(ptr)->resolveSymlinks(); } char QFileDialog_RestoreState(void* ptr, void* state) { return static_cast(ptr)->restoreState(*static_cast(state)); } void* QFileDialog_SaveState(void* ptr) { return new QByteArray(static_cast(ptr)->saveState()); } void QFileDialog_SelectFile(void* ptr, struct QtWidgets_PackedString filename) { static_cast(ptr)->selectFile(QString::fromUtf8(filename.data, filename.len)); } void QFileDialog_SelectMimeTypeFilter(void* ptr, struct QtWidgets_PackedString filter) { static_cast(ptr)->selectMimeTypeFilter(QString::fromUtf8(filter.data, filter.len)); } void QFileDialog_SelectNameFilter(void* ptr, struct QtWidgets_PackedString filter) { static_cast(ptr)->selectNameFilter(QString::fromUtf8(filter.data, filter.len)); } void QFileDialog_SelectUrl(void* ptr, void* url) { static_cast(ptr)->selectUrl(*static_cast(url)); } struct QtWidgets_PackedString QFileDialog_SelectedFiles(void* ptr) { return ({ QByteArray* tc6127b = new QByteArray(static_cast(ptr)->selectedFiles().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(tc6127b->prepend("WHITESPACE").constData()+10), tc6127b->size()-10, tc6127b }; }); } struct QtWidgets_PackedString QFileDialog_SelectedMimeTypeFilter(void* ptr) { return ({ QByteArray* t1558ba = new QByteArray(static_cast(ptr)->selectedMimeTypeFilter().toUtf8()); QtWidgets_PackedString { const_cast(t1558ba->prepend("WHITESPACE").constData()+10), t1558ba->size()-10, t1558ba }; }); } struct QtWidgets_PackedString QFileDialog_SelectedNameFilter(void* ptr) { return ({ QByteArray* tca1caa = new QByteArray(static_cast(ptr)->selectedNameFilter().toUtf8()); QtWidgets_PackedString { const_cast(tca1caa->prepend("WHITESPACE").constData()+10), tca1caa->size()-10, tca1caa }; }); } struct QtWidgets_PackedList QFileDialog_SelectedUrls(void* ptr) { return ({ QList* tmpValue9c396d = new QList(static_cast(ptr)->selectedUrls()); QtWidgets_PackedList { tmpValue9c396d, tmpValue9c396d->size() }; }); } void QFileDialog_SetAcceptMode(void* ptr, long long mode) { static_cast(ptr)->setAcceptMode(static_cast(mode)); } void QFileDialog_SetConfirmOverwrite(void* ptr, char enabled) { static_cast(ptr)->setConfirmOverwrite(enabled != 0); } void QFileDialog_SetDefaultSuffix(void* ptr, struct QtWidgets_PackedString suffix) { static_cast(ptr)->setDefaultSuffix(QString::fromUtf8(suffix.data, suffix.len)); } void QFileDialog_SetDirectory(void* ptr, struct QtWidgets_PackedString directory) { static_cast(ptr)->setDirectory(QString::fromUtf8(directory.data, directory.len)); } void QFileDialog_SetDirectory2(void* ptr, void* directory) { static_cast(ptr)->setDirectory(*static_cast(directory)); } void QFileDialog_SetDirectoryUrl(void* ptr, void* directory) { static_cast(ptr)->setDirectoryUrl(*static_cast(directory)); } void QFileDialog_SetFileMode(void* ptr, long long mode) { static_cast(ptr)->setFileMode(static_cast(mode)); } void QFileDialog_SetFilter(void* ptr, long long filters) { static_cast(ptr)->setFilter(static_cast(filters)); } void QFileDialog_SetHistory(void* ptr, struct QtWidgets_PackedString paths) { static_cast(ptr)->setHistory(QString::fromUtf8(paths.data, paths.len).split("¡¦!", QString::SkipEmptyParts)); } void QFileDialog_SetIconProvider(void* ptr, void* provider) { static_cast(ptr)->setIconProvider(static_cast(provider)); } void QFileDialog_SetItemDelegate(void* ptr, void* delegate) { static_cast(ptr)->setItemDelegate(static_cast(delegate)); } void QFileDialog_SetLabelText(void* ptr, long long label, struct QtWidgets_PackedString text) { static_cast(ptr)->setLabelText(static_cast(label), QString::fromUtf8(text.data, text.len)); } void QFileDialog_SetMimeTypeFilters(void* ptr, struct QtWidgets_PackedString filters) { static_cast(ptr)->setMimeTypeFilters(QString::fromUtf8(filters.data, filters.len).split("¡¦!", QString::SkipEmptyParts)); } void QFileDialog_SetNameFilter(void* ptr, struct QtWidgets_PackedString filter) { static_cast(ptr)->setNameFilter(QString::fromUtf8(filter.data, filter.len)); } void QFileDialog_SetNameFilterDetailsVisible(void* ptr, char enabled) { static_cast(ptr)->setNameFilterDetailsVisible(enabled != 0); } void QFileDialog_SetNameFilters(void* ptr, struct QtWidgets_PackedString filters) { static_cast(ptr)->setNameFilters(QString::fromUtf8(filters.data, filters.len).split("¡¦!", QString::SkipEmptyParts)); } void QFileDialog_SetOption(void* ptr, long long option, char on) { static_cast(ptr)->setOption(static_cast(option), on != 0); } void QFileDialog_SetOptions(void* ptr, long long options) { static_cast(ptr)->setOptions(static_cast(options)); } void QFileDialog_SetProxyModel(void* ptr, void* proxyModel) { static_cast(ptr)->setProxyModel(static_cast(proxyModel)); } void QFileDialog_SetReadOnly(void* ptr, char enabled) { static_cast(ptr)->setReadOnly(enabled != 0); } void QFileDialog_SetResolveSymlinks(void* ptr, char enabled) { static_cast(ptr)->setResolveSymlinks(enabled != 0); } void QFileDialog_SetSidebarUrls(void* ptr, void* urls) { static_cast(ptr)->setSidebarUrls(*static_cast*>(urls)); } void QFileDialog_SetSupportedSchemes(void* ptr, struct QtWidgets_PackedString schemes) { static_cast(ptr)->setSupportedSchemes(QString::fromUtf8(schemes.data, schemes.len).split("¡¦!", QString::SkipEmptyParts)); } void QFileDialog_SetViewMode(void* ptr, long long mode) { static_cast(ptr)->setViewMode(static_cast(mode)); } struct QtWidgets_PackedList QFileDialog_SidebarUrls(void* ptr) { return ({ QList* tmpValue8706b9 = new QList(static_cast(ptr)->sidebarUrls()); QtWidgets_PackedList { tmpValue8706b9, tmpValue8706b9->size() }; }); } struct QtWidgets_PackedString QFileDialog_SupportedSchemes(void* ptr) { return ({ QByteArray* tfcd263 = new QByteArray(static_cast(ptr)->supportedSchemes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(tfcd263->prepend("WHITESPACE").constData()+10), tfcd263->size()-10, tfcd263 }; }); } char QFileDialog_TestOption(void* ptr, long long option) { return static_cast(ptr)->testOption(static_cast(option)); } void QFileDialog_ConnectUrlSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileDialog::urlSelected), static_cast(ptr), static_cast(&MyQFileDialog::Signal_UrlSelected), static_cast(t)); } void QFileDialog_DisconnectUrlSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileDialog::urlSelected), static_cast(ptr), static_cast(&MyQFileDialog::Signal_UrlSelected)); } void QFileDialog_UrlSelected(void* ptr, void* url) { static_cast(ptr)->urlSelected(*static_cast(url)); } void QFileDialog_ConnectUrlsSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast &)>(&QFileDialog::urlsSelected), static_cast(ptr), static_cast &)>(&MyQFileDialog::Signal_UrlsSelected), static_cast(t)); } void QFileDialog_DisconnectUrlsSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast &)>(&QFileDialog::urlsSelected), static_cast(ptr), static_cast &)>(&MyQFileDialog::Signal_UrlsSelected)); } void QFileDialog_UrlsSelected(void* ptr, void* urls) { static_cast(ptr)->urlsSelected(*static_cast*>(urls)); } long long QFileDialog_ViewMode(void* ptr) { return static_cast(ptr)->viewMode(); } void QFileDialog_DestroyQFileDialog(void* ptr) { static_cast(ptr)->~QFileDialog(); } void QFileDialog_DestroyQFileDialogDefault(void* ptr) { Q_UNUSED(ptr); } void* QFileDialog___getOpenFileUrls_atList(void* ptr, int i) { return new QUrl(({QUrl tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileDialog___getOpenFileUrls_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileDialog___getOpenFileUrls_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileDialog___selectedUrls_atList(void* ptr, int i) { return new QUrl(({QUrl tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileDialog___selectedUrls_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileDialog___selectedUrls_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileDialog___setSidebarUrls_urls_atList(void* ptr, int i) { return new QUrl(({QUrl tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileDialog___setSidebarUrls_urls_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileDialog___setSidebarUrls_urls_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileDialog___sidebarUrls_atList(void* ptr, int i) { return new QUrl(({QUrl tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileDialog___sidebarUrls_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileDialog___sidebarUrls_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileDialog___urlsSelected_urls_atList(void* ptr, int i) { return new QUrl(({QUrl tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileDialog___urlsSelected_urls_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileDialog___urlsSelected_urls_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQFileIconProvider: public QFileIconProvider { public: MyQFileIconProvider() : QFileIconProvider() {QFileIconProvider_QFileIconProvider_QRegisterMetaType();}; QIcon icon(QFileIconProvider::IconType ty) const { return *static_cast(callbackQFileIconProvider_Icon(const_cast(static_cast(this)), ty)); }; QIcon icon(const QFileInfo & info) const { return *static_cast(callbackQFileIconProvider_Icon2(const_cast(static_cast(this)), const_cast(&info))); }; QString type(const QFileInfo & info) const { return ({ QtWidgets_PackedString tempVal = callbackQFileIconProvider_Type(const_cast(static_cast(this)), const_cast(&info)); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; ~MyQFileIconProvider() { callbackQFileIconProvider_DestroyQFileIconProvider(this); }; }; Q_DECLARE_METATYPE(QFileIconProvider*) Q_DECLARE_METATYPE(MyQFileIconProvider*) int QFileIconProvider_QFileIconProvider_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QFileIconProvider_NewQFileIconProvider() { return new MyQFileIconProvider(); } void* QFileIconProvider_Icon(void* ptr, long long ty) { return new QIcon(static_cast(ptr)->icon(static_cast(ty))); } void* QFileIconProvider_IconDefault(void* ptr, long long ty) { return new QIcon(static_cast(ptr)->QFileIconProvider::icon(static_cast(ty))); } void* QFileIconProvider_Icon2(void* ptr, void* info) { return new QIcon(static_cast(ptr)->icon(*static_cast(info))); } void* QFileIconProvider_Icon2Default(void* ptr, void* info) { return new QIcon(static_cast(ptr)->QFileIconProvider::icon(*static_cast(info))); } long long QFileIconProvider_Options(void* ptr) { return static_cast(ptr)->options(); } void QFileIconProvider_SetOptions(void* ptr, long long options) { static_cast(ptr)->setOptions(static_cast(options)); } struct QtWidgets_PackedString QFileIconProvider_Type(void* ptr, void* info) { return ({ QByteArray* t69d0f8 = new QByteArray(static_cast(ptr)->type(*static_cast(info)).toUtf8()); QtWidgets_PackedString { const_cast(t69d0f8->prepend("WHITESPACE").constData()+10), t69d0f8->size()-10, t69d0f8 }; }); } struct QtWidgets_PackedString QFileIconProvider_TypeDefault(void* ptr, void* info) { return ({ QByteArray* tb3bd2f = new QByteArray(static_cast(ptr)->QFileIconProvider::type(*static_cast(info)).toUtf8()); QtWidgets_PackedString { const_cast(tb3bd2f->prepend("WHITESPACE").constData()+10), tb3bd2f->size()-10, tb3bd2f }; }); } void QFileIconProvider_DestroyQFileIconProvider(void* ptr) { static_cast(ptr)->~QFileIconProvider(); } void QFileIconProvider_DestroyQFileIconProviderDefault(void* ptr) { Q_UNUSED(ptr); } class MyQFileSystemModel: public QFileSystemModel { public: MyQFileSystemModel(QObject *parent = Q_NULLPTR) : QFileSystemModel(parent) {QFileSystemModel_QFileSystemModel_QRegisterMetaType();}; bool canFetchMore(const QModelIndex & parent) const { return callbackQFileSystemModel_CanFetchMore(const_cast(static_cast(this)), const_cast(&parent)) != 0; }; int columnCount(const QModelIndex & parent) const { return callbackQFileSystemModel_ColumnCount(const_cast(static_cast(this)), const_cast(&parent)); }; QVariant data(const QModelIndex & index, int role) const { return *static_cast(callbackQFileSystemModel_Data(const_cast(static_cast(this)), const_cast(&index), role)); }; void Signal_DirectoryLoaded(const QString & path) { QByteArray* t3150ec = new QByteArray(path.toUtf8()); QtWidgets_PackedString pathPacked = { const_cast(t3150ec->prepend("WHITESPACE").constData()+10), t3150ec->size()-10, t3150ec };callbackQFileSystemModel_DirectoryLoaded(this, pathPacked); }; bool dropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) { return callbackQFileSystemModel_DropMimeData(this, const_cast(data), action, row, column, const_cast(&parent)) != 0; }; bool event(QEvent * event) { return callbackQFileSystemModel_Event(this, event) != 0; }; void fetchMore(const QModelIndex & parent) { callbackQFileSystemModel_FetchMore(this, const_cast(&parent)); }; void Signal_FileRenamed(const QString & path, const QString & oldName, const QString & newName) { QByteArray* t3150ec = new QByteArray(path.toUtf8()); QtWidgets_PackedString pathPacked = { const_cast(t3150ec->prepend("WHITESPACE").constData()+10), t3150ec->size()-10, t3150ec };QByteArray* td041bb = new QByteArray(oldName.toUtf8()); QtWidgets_PackedString oldNamePacked = { const_cast(td041bb->prepend("WHITESPACE").constData()+10), td041bb->size()-10, td041bb };QByteArray* t1530cb = new QByteArray(newName.toUtf8()); QtWidgets_PackedString newNamePacked = { const_cast(t1530cb->prepend("WHITESPACE").constData()+10), t1530cb->size()-10, t1530cb };callbackQFileSystemModel_FileRenamed(this, pathPacked, oldNamePacked, newNamePacked); }; Qt::ItemFlags flags(const QModelIndex & index) const { return static_cast(callbackQFileSystemModel_Flags(const_cast(static_cast(this)), const_cast(&index))); }; bool hasChildren(const QModelIndex & parent) const { return callbackQFileSystemModel_HasChildren(const_cast(static_cast(this)), const_cast(&parent)) != 0; }; QVariant headerData(int section, Qt::Orientation orientation, int role) const { return *static_cast(callbackQFileSystemModel_HeaderData(const_cast(static_cast(this)), section, orientation, role)); }; QModelIndex index(int row, int column, const QModelIndex & parent) const { return *static_cast(callbackQFileSystemModel_Index(const_cast(static_cast(this)), row, column, const_cast(&parent))); }; QMimeData * mimeData(const QModelIndexList & indexes) const { return static_cast(callbackQFileSystemModel_MimeData(const_cast(static_cast(this)), ({ QList* tmpValuee0adf2 = new QList(indexes); QtWidgets_PackedList { tmpValuee0adf2, tmpValuee0adf2->size() }; }))); }; QStringList mimeTypes() const { return ({ QtWidgets_PackedString tempVal = callbackQFileSystemModel_MimeTypes(const_cast(static_cast(this))); QStringList ret = QString::fromUtf8(tempVal.data, tempVal.len).split("¡¦!", QString::SkipEmptyParts); free(tempVal.data); ret; }); }; QModelIndex parent(const QModelIndex & index) const { return *static_cast(callbackQFileSystemModel_Parent(const_cast(static_cast(this)), const_cast(&index))); }; void Signal_RootPathChanged(const QString & newPath) { QByteArray* t1ced92 = new QByteArray(newPath.toUtf8()); QtWidgets_PackedString newPathPacked = { const_cast(t1ced92->prepend("WHITESPACE").constData()+10), t1ced92->size()-10, t1ced92 };callbackQFileSystemModel_RootPathChanged(this, newPathPacked); }; int rowCount(const QModelIndex & parent) const { return callbackQFileSystemModel_RowCount(const_cast(static_cast(this)), const_cast(&parent)); }; bool setData(const QModelIndex & idx, const QVariant & value, int role) { return callbackQFileSystemModel_SetData(this, const_cast(&idx), const_cast(&value), role) != 0; }; QModelIndex sibling(int row, int column, const QModelIndex & idx) const { return *static_cast(callbackQFileSystemModel_Sibling(const_cast(static_cast(this)), row, column, const_cast(&idx))); }; void sort(int column, Qt::SortOrder order) { callbackQFileSystemModel_Sort(this, column, order); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQFileSystemModel_SupportedDropActions(const_cast(static_cast(this)))); }; void timerEvent(QTimerEvent * event) { callbackQFileSystemModel_TimerEvent(this, event); }; ~MyQFileSystemModel() { callbackQFileSystemModel_DestroyQFileSystemModel(this); }; QModelIndex buddy(const QModelIndex & index) const { return *static_cast(callbackQFileSystemModel_Buddy(const_cast(static_cast(this)), const_cast(&index))); }; bool canDropMimeData(const QMimeData * data, Qt::DropAction action, int row, int column, const QModelIndex & parent) const { return callbackQFileSystemModel_CanDropMimeData(const_cast(static_cast(this)), const_cast(data), action, row, column, const_cast(&parent)) != 0; }; void Signal_ColumnsAboutToBeInserted(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_ColumnsAboutToBeInserted(this, const_cast(&parent), first, last); }; void Signal_ColumnsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationColumn) { callbackQFileSystemModel_ColumnsAboutToBeMoved(this, const_cast(&sourceParent), sourceStart, sourceEnd, const_cast(&destinationParent), destinationColumn); }; void Signal_ColumnsAboutToBeRemoved(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_ColumnsAboutToBeRemoved(this, const_cast(&parent), first, last); }; void Signal_ColumnsInserted(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_ColumnsInserted(this, const_cast(&parent), first, last); }; void Signal_ColumnsMoved(const QModelIndex & parent, int start, int end, const QModelIndex & destination, int column) { callbackQFileSystemModel_ColumnsMoved(this, const_cast(&parent), start, end, const_cast(&destination), column); }; void Signal_ColumnsRemoved(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_ColumnsRemoved(this, const_cast(&parent), first, last); }; void Signal_DataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQFileSystemModel_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void Signal_HeaderDataChanged(Qt::Orientation orientation, int first, int last) { callbackQFileSystemModel_HeaderDataChanged(this, orientation, first, last); }; bool insertColumns(int column, int count, const QModelIndex & parent) { return callbackQFileSystemModel_InsertColumns(this, column, count, const_cast(&parent)) != 0; }; bool insertRows(int row, int count, const QModelIndex & parent) { return callbackQFileSystemModel_InsertRows(this, row, count, const_cast(&parent)) != 0; }; QMap itemData(const QModelIndex & index) const { return ({ QMap* tmpP = static_cast*>(callbackQFileSystemModel_ItemData(const_cast(static_cast(this)), const_cast(&index))); QMap tmpV = *tmpP; tmpP->~QMap(); free(tmpP); tmpV; }); }; void Signal_LayoutAboutToBeChanged(const QList & parents, QAbstractItemModel::LayoutChangeHint hint) { callbackQFileSystemModel_LayoutAboutToBeChanged(this, ({ QList* tmpValuea664f1 = new QList(parents); QtWidgets_PackedList { tmpValuea664f1, tmpValuea664f1->size() }; }), hint); }; void Signal_LayoutChanged(const QList & parents, QAbstractItemModel::LayoutChangeHint hint) { callbackQFileSystemModel_LayoutChanged(this, ({ QList* tmpValuea664f1 = new QList(parents); QtWidgets_PackedList { tmpValuea664f1, tmpValuea664f1->size() }; }), hint); }; QList match(const QModelIndex & start, int role, const QVariant & value, int hits, Qt::MatchFlags flags) const { return ({ QList* tmpP = static_cast*>(callbackQFileSystemModel_Match(const_cast(static_cast(this)), const_cast(&start), role, const_cast(&value), hits, flags)); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void Signal_ModelAboutToBeReset() { callbackQFileSystemModel_ModelAboutToBeReset(this); }; void Signal_ModelReset() { callbackQFileSystemModel_ModelReset(this); }; bool moveColumns(const QModelIndex & sourceParent, int sourceColumn, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQFileSystemModel_MoveColumns(this, const_cast(&sourceParent), sourceColumn, count, const_cast(&destinationParent), destinationChild) != 0; }; bool moveRows(const QModelIndex & sourceParent, int sourceRow, int count, const QModelIndex & destinationParent, int destinationChild) { return callbackQFileSystemModel_MoveRows(this, const_cast(&sourceParent), sourceRow, count, const_cast(&destinationParent), destinationChild) != 0; }; bool removeColumns(int column, int count, const QModelIndex & parent) { return callbackQFileSystemModel_RemoveColumns(this, column, count, const_cast(&parent)) != 0; }; bool removeRows(int row, int count, const QModelIndex & parent) { return callbackQFileSystemModel_RemoveRows(this, row, count, const_cast(&parent)) != 0; }; void resetInternalData() { callbackQFileSystemModel_ResetInternalData(this); }; void revert() { callbackQFileSystemModel_Revert(this); }; QHash roleNames() const { return ({ QHash* tmpP = static_cast*>(callbackQFileSystemModel_RoleNames(const_cast(static_cast(this)))); QHash tmpV = *tmpP; tmpP->~QHash(); free(tmpP); tmpV; }); }; void Signal_RowsAboutToBeInserted(const QModelIndex & parent, int start, int end) { callbackQFileSystemModel_RowsAboutToBeInserted(this, const_cast(&parent), start, end); }; void Signal_RowsAboutToBeMoved(const QModelIndex & sourceParent, int sourceStart, int sourceEnd, const QModelIndex & destinationParent, int destinationRow) { callbackQFileSystemModel_RowsAboutToBeMoved(this, const_cast(&sourceParent), sourceStart, sourceEnd, const_cast(&destinationParent), destinationRow); }; void Signal_RowsAboutToBeRemoved(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_RowsAboutToBeRemoved(this, const_cast(&parent), first, last); }; void Signal_RowsInserted(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_RowsInserted(this, const_cast(&parent), first, last); }; void Signal_RowsMoved(const QModelIndex & parent, int start, int end, const QModelIndex & destination, int row) { callbackQFileSystemModel_RowsMoved(this, const_cast(&parent), start, end, const_cast(&destination), row); }; void Signal_RowsRemoved(const QModelIndex & parent, int first, int last) { callbackQFileSystemModel_RowsRemoved(this, const_cast(&parent), first, last); }; bool setHeaderData(int section, Qt::Orientation orientation, const QVariant & value, int role) { return callbackQFileSystemModel_SetHeaderData(this, section, orientation, const_cast(&value), role) != 0; }; bool setItemData(const QModelIndex & index, const QMap & roles) { return callbackQFileSystemModel_SetItemData(this, const_cast(&index), ({ QMap* tmpValue037c88 = new QMap(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })) != 0; }; QSize span(const QModelIndex & index) const { return *static_cast(callbackQFileSystemModel_Span(const_cast(static_cast(this)), const_cast(&index))); }; bool submit() { return callbackQFileSystemModel_Submit(this) != 0; }; Qt::DropActions supportedDragActions() const { return static_cast(callbackQFileSystemModel_SupportedDragActions(const_cast(static_cast(this)))); }; void childEvent(QChildEvent * event) { callbackQFileSystemModel_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQFileSystemModel_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQFileSystemModel_CustomEvent(this, event); }; void deleteLater() { callbackQFileSystemModel_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQFileSystemModel_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQFileSystemModel_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQFileSystemModel_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQFileSystemModel_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQFileSystemModel_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QFileSystemModel*) Q_DECLARE_METATYPE(MyQFileSystemModel*) int QFileSystemModel_QFileSystemModel_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} int QFileSystemModel_FilePathRole_Type() { return QFileSystemModel::FilePathRole; } int QFileSystemModel_FileNameRole_Type() { return QFileSystemModel::FileNameRole; } int QFileSystemModel_FilePermissions_Type() { return QFileSystemModel::FilePermissions; } void* QFileSystemModel_NewQFileSystemModel(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQFileSystemModel(static_cast(parent)); } else { return new MyQFileSystemModel(static_cast(parent)); } } char QFileSystemModel_CanFetchMoreDefault(void* ptr, void* parent) { return static_cast(ptr)->QFileSystemModel::canFetchMore(*static_cast(parent)); } int QFileSystemModel_ColumnCount(void* ptr, void* parent) { return static_cast(ptr)->columnCount(*static_cast(parent)); } int QFileSystemModel_ColumnCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QFileSystemModel::columnCount(*static_cast(parent)); } void* QFileSystemModel_Data(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->data(*static_cast(index), role)); } void* QFileSystemModel_DataDefault(void* ptr, void* index, int role) { return new QVariant(static_cast(ptr)->QFileSystemModel::data(*static_cast(index), role)); } void QFileSystemModel_ConnectDirectoryLoaded(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileSystemModel::directoryLoaded), static_cast(ptr), static_cast(&MyQFileSystemModel::Signal_DirectoryLoaded), static_cast(t)); } void QFileSystemModel_DisconnectDirectoryLoaded(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileSystemModel::directoryLoaded), static_cast(ptr), static_cast(&MyQFileSystemModel::Signal_DirectoryLoaded)); } void QFileSystemModel_DirectoryLoaded(void* ptr, struct QtWidgets_PackedString path) { static_cast(ptr)->directoryLoaded(QString::fromUtf8(path.data, path.len)); } char QFileSystemModel_DropMimeDataDefault(void* ptr, void* data, long long action, int row, int column, void* parent) { return static_cast(ptr)->QFileSystemModel::dropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } char QFileSystemModel_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QFileSystemModel::event(static_cast(event)); } void QFileSystemModel_FetchMoreDefault(void* ptr, void* parent) { static_cast(ptr)->QFileSystemModel::fetchMore(*static_cast(parent)); } void* QFileSystemModel_FileIcon(void* ptr, void* index) { return new QIcon(static_cast(ptr)->fileIcon(*static_cast(index))); } void* QFileSystemModel_FileInfo(void* ptr, void* index) { return new QFileInfo(static_cast(ptr)->fileInfo(*static_cast(index))); } struct QtWidgets_PackedString QFileSystemModel_FileName(void* ptr, void* index) { return ({ QByteArray* t9528ac = new QByteArray(static_cast(ptr)->fileName(*static_cast(index)).toUtf8()); QtWidgets_PackedString { const_cast(t9528ac->prepend("WHITESPACE").constData()+10), t9528ac->size()-10, t9528ac }; }); } struct QtWidgets_PackedString QFileSystemModel_FilePath(void* ptr, void* index) { return ({ QByteArray* t6d0e31 = new QByteArray(static_cast(ptr)->filePath(*static_cast(index)).toUtf8()); QtWidgets_PackedString { const_cast(t6d0e31->prepend("WHITESPACE").constData()+10), t6d0e31->size()-10, t6d0e31 }; }); } void QFileSystemModel_ConnectFileRenamed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileSystemModel::fileRenamed), static_cast(ptr), static_cast(&MyQFileSystemModel::Signal_FileRenamed), static_cast(t)); } void QFileSystemModel_DisconnectFileRenamed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileSystemModel::fileRenamed), static_cast(ptr), static_cast(&MyQFileSystemModel::Signal_FileRenamed)); } void QFileSystemModel_FileRenamed(void* ptr, struct QtWidgets_PackedString path, struct QtWidgets_PackedString oldName, struct QtWidgets_PackedString newName) { static_cast(ptr)->fileRenamed(QString::fromUtf8(path.data, path.len), QString::fromUtf8(oldName.data, oldName.len), QString::fromUtf8(newName.data, newName.len)); } long long QFileSystemModel_Filter(void* ptr) { return static_cast(ptr)->filter(); } long long QFileSystemModel_FlagsDefault(void* ptr, void* index) { return static_cast(ptr)->QFileSystemModel::flags(*static_cast(index)); } char QFileSystemModel_HasChildrenDefault(void* ptr, void* parent) { return static_cast(ptr)->QFileSystemModel::hasChildren(*static_cast(parent)); } void* QFileSystemModel_HeaderDataDefault(void* ptr, int section, long long orientation, int role) { return new QVariant(static_cast(ptr)->QFileSystemModel::headerData(section, static_cast(orientation), role)); } void* QFileSystemModel_IconProvider(void* ptr) { return static_cast(ptr)->iconProvider(); } void* QFileSystemModel_Index(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->index(row, column, *static_cast(parent))); } void* QFileSystemModel_IndexDefault(void* ptr, int row, int column, void* parent) { return new QModelIndex(static_cast(ptr)->QFileSystemModel::index(row, column, *static_cast(parent))); } void* QFileSystemModel_Index2(void* ptr, struct QtWidgets_PackedString path, int column) { return new QModelIndex(static_cast(ptr)->index(QString::fromUtf8(path.data, path.len), column)); } char QFileSystemModel_IsDir(void* ptr, void* index) { return static_cast(ptr)->isDir(*static_cast(index)); } char QFileSystemModel_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } void* QFileSystemModel_LastModified(void* ptr, void* index) { return new QDateTime(static_cast(ptr)->lastModified(*static_cast(index))); } void* QFileSystemModel_MimeDataDefault(void* ptr, void* indexes) { return static_cast(ptr)->QFileSystemModel::mimeData(({ QList* tmpP = static_cast*>(indexes); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; })); } struct QtWidgets_PackedString QFileSystemModel_MimeTypesDefault(void* ptr) { return ({ QByteArray* t836878 = new QByteArray(static_cast(ptr)->QFileSystemModel::mimeTypes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t836878->prepend("WHITESPACE").constData()+10), t836878->size()-10, t836878 }; }); } void* QFileSystemModel_Mkdir(void* ptr, void* parent, struct QtWidgets_PackedString name) { return new QModelIndex(static_cast(ptr)->mkdir(*static_cast(parent), QString::fromUtf8(name.data, name.len))); } void* QFileSystemModel_MyComputer(void* ptr, int role) { return new QVariant(static_cast(ptr)->myComputer(role)); } char QFileSystemModel_NameFilterDisables(void* ptr) { return static_cast(ptr)->nameFilterDisables(); } struct QtWidgets_PackedString QFileSystemModel_NameFilters(void* ptr) { return ({ QByteArray* te17825 = new QByteArray(static_cast(ptr)->nameFilters().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(te17825->prepend("WHITESPACE").constData()+10), te17825->size()-10, te17825 }; }); } void* QFileSystemModel_Parent(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->parent(*static_cast(index))); } void* QFileSystemModel_ParentDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QFileSystemModel::parent(*static_cast(index))); } char QFileSystemModel_Remove(void* ptr, void* index) { return static_cast(ptr)->remove(*static_cast(index)); } char QFileSystemModel_ResolveSymlinks(void* ptr) { return static_cast(ptr)->resolveSymlinks(); } char QFileSystemModel_Rmdir(void* ptr, void* index) { return static_cast(ptr)->rmdir(*static_cast(index)); } void* QFileSystemModel_RootDirectory(void* ptr) { return new QDir(static_cast(ptr)->rootDirectory()); } struct QtWidgets_PackedString QFileSystemModel_RootPath(void* ptr) { return ({ QByteArray* tdcb5b3 = new QByteArray(static_cast(ptr)->rootPath().toUtf8()); QtWidgets_PackedString { const_cast(tdcb5b3->prepend("WHITESPACE").constData()+10), tdcb5b3->size()-10, tdcb5b3 }; }); } void QFileSystemModel_ConnectRootPathChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFileSystemModel::rootPathChanged), static_cast(ptr), static_cast(&MyQFileSystemModel::Signal_RootPathChanged), static_cast(t)); } void QFileSystemModel_DisconnectRootPathChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFileSystemModel::rootPathChanged), static_cast(ptr), static_cast(&MyQFileSystemModel::Signal_RootPathChanged)); } void QFileSystemModel_RootPathChanged(void* ptr, struct QtWidgets_PackedString newPath) { static_cast(ptr)->rootPathChanged(QString::fromUtf8(newPath.data, newPath.len)); } int QFileSystemModel_RowCount(void* ptr, void* parent) { return static_cast(ptr)->rowCount(*static_cast(parent)); } int QFileSystemModel_RowCountDefault(void* ptr, void* parent) { return static_cast(ptr)->QFileSystemModel::rowCount(*static_cast(parent)); } char QFileSystemModel_SetDataDefault(void* ptr, void* idx, void* value, int role) { return static_cast(ptr)->QFileSystemModel::setData(*static_cast(idx), *static_cast(value), role); } void QFileSystemModel_SetFilter(void* ptr, long long filters) { static_cast(ptr)->setFilter(static_cast(filters)); } void QFileSystemModel_SetIconProvider(void* ptr, void* provider) { static_cast(ptr)->setIconProvider(static_cast(provider)); } void QFileSystemModel_SetNameFilterDisables(void* ptr, char enable) { static_cast(ptr)->setNameFilterDisables(enable != 0); } void QFileSystemModel_SetNameFilters(void* ptr, struct QtWidgets_PackedString filters) { static_cast(ptr)->setNameFilters(QString::fromUtf8(filters.data, filters.len).split("¡¦!", QString::SkipEmptyParts)); } void QFileSystemModel_SetReadOnly(void* ptr, char enable) { static_cast(ptr)->setReadOnly(enable != 0); } void QFileSystemModel_SetResolveSymlinks(void* ptr, char enable) { static_cast(ptr)->setResolveSymlinks(enable != 0); } void* QFileSystemModel_SetRootPath(void* ptr, struct QtWidgets_PackedString newPath) { return new QModelIndex(static_cast(ptr)->setRootPath(QString::fromUtf8(newPath.data, newPath.len))); } void* QFileSystemModel_SiblingDefault(void* ptr, int row, int column, void* idx) { return new QModelIndex(static_cast(ptr)->QFileSystemModel::sibling(row, column, *static_cast(idx))); } long long QFileSystemModel_Size(void* ptr, void* index) { return static_cast(ptr)->size(*static_cast(index)); } void QFileSystemModel_SortDefault(void* ptr, int column, long long order) { static_cast(ptr)->QFileSystemModel::sort(column, static_cast(order)); } long long QFileSystemModel_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QFileSystemModel::supportedDropActions(); } void QFileSystemModel_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSystemModel::timerEvent(static_cast(event)); } struct QtWidgets_PackedString QFileSystemModel_Type(void* ptr, void* index) { return ({ QByteArray* tf8baa8 = new QByteArray(static_cast(ptr)->type(*static_cast(index)).toUtf8()); QtWidgets_PackedString { const_cast(tf8baa8->prepend("WHITESPACE").constData()+10), tf8baa8->size()-10, tf8baa8 }; }); } void QFileSystemModel_DestroyQFileSystemModel(void* ptr) { static_cast(ptr)->~QFileSystemModel(); } void QFileSystemModel_DestroyQFileSystemModelDefault(void* ptr) { Q_UNUSED(ptr); } void* QFileSystemModel___mimeData_indexes_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileSystemModel___mimeData_indexes_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileSystemModel___mimeData_indexes_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___changePersistentIndexList_from_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileSystemModel___changePersistentIndexList_from_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileSystemModel___changePersistentIndexList_from_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___changePersistentIndexList_to_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileSystemModel___changePersistentIndexList_to_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileSystemModel___changePersistentIndexList_to_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QFileSystemModel___dataChanged_roles_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); } void QFileSystemModel___dataChanged_roles_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QFileSystemModel___dataChanged_roles_newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QFileSystemModel___itemData_atList(void* ptr, int v, int i) { return new QVariant(({ QVariant tmp = static_cast*>(ptr)->value(v); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; })); } void QFileSystemModel___itemData_setList(void* ptr, int key, void* i) { static_cast*>(ptr)->insert(key, *static_cast(i)); } void* QFileSystemModel___itemData_newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QFileSystemModel___itemData_keyList(void* ptr) { return ({ QList* tmpValue249128 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValue249128, tmpValue249128->size() }; }); } void* QFileSystemModel___layoutAboutToBeChanged_parents_atList(void* ptr, int i) { return new QPersistentModelIndex(({QPersistentModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileSystemModel___layoutAboutToBeChanged_parents_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileSystemModel___layoutAboutToBeChanged_parents_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___layoutChanged_parents_atList(void* ptr, int i) { return new QPersistentModelIndex(({QPersistentModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileSystemModel___layoutChanged_parents_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileSystemModel___layoutChanged_parents_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___match_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileSystemModel___match_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileSystemModel___match_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___persistentIndexList_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileSystemModel___persistentIndexList_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileSystemModel___persistentIndexList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___roleNames_atList(void* ptr, int v, int i) { return new QByteArray(({ QByteArray tmp = static_cast*>(ptr)->value(v); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QHash(); free(ptr); }; tmp; })); } void QFileSystemModel___roleNames_setList(void* ptr, int key, void* i) { static_cast*>(ptr)->insert(key, *static_cast(i)); } void* QFileSystemModel___roleNames_newList(void* ptr) { Q_UNUSED(ptr); return new QHash(); } struct QtWidgets_PackedList QFileSystemModel___roleNames_keyList(void* ptr) { return ({ QList* tmpValue7fc3bb = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValue7fc3bb, tmpValue7fc3bb->size() }; }); } void* QFileSystemModel___setItemData_roles_atList(void* ptr, int v, int i) { return new QVariant(({ QVariant tmp = static_cast*>(ptr)->value(v); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; })); } void QFileSystemModel___setItemData_roles_setList(void* ptr, int key, void* i) { static_cast*>(ptr)->insert(key, *static_cast(i)); } void* QFileSystemModel___setItemData_roles_newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QFileSystemModel___setItemData_roles_keyList(void* ptr) { return ({ QList* tmpValue249128 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValue249128, tmpValue249128->size() }; }); } int QFileSystemModel_____doSetRoleNames_roleNames_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QFileSystemModel_____doSetRoleNames_roleNames_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QFileSystemModel_____doSetRoleNames_roleNames_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QFileSystemModel_____itemData_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QFileSystemModel_____itemData_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QFileSystemModel_____itemData_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QFileSystemModel_____roleNames_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QFileSystemModel_____roleNames_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QFileSystemModel_____roleNames_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QFileSystemModel_____setItemData_roles_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QFileSystemModel_____setItemData_roles_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QFileSystemModel_____setItemData_roles_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QFileSystemModel_____setRoleNames_roleNames_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QFileSystemModel_____setRoleNames_roleNames_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QFileSystemModel_____setRoleNames_roleNames_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QFileSystemModel___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QFileSystemModel___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QFileSystemModel___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QFileSystemModel___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QFileSystemModel___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QFileSystemModel___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QFileSystemModel___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QFileSystemModel___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QFileSystemModel_BuddyDefault(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->QFileSystemModel::buddy(*static_cast(index))); } char QFileSystemModel_CanDropMimeDataDefault(void* ptr, void* data, long long action, int row, int column, void* parent) { return static_cast(ptr)->QFileSystemModel::canDropMimeData(static_cast(data), static_cast(action), row, column, *static_cast(parent)); } char QFileSystemModel_InsertColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QFileSystemModel::insertColumns(column, count, *static_cast(parent)); } char QFileSystemModel_InsertRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QFileSystemModel::insertRows(row, count, *static_cast(parent)); } struct QtWidgets_PackedList QFileSystemModel_ItemDataDefault(void* ptr, void* index) { return ({ QMap* tmpValued0d48b = new QMap(static_cast(ptr)->QFileSystemModel::itemData(*static_cast(index))); QtWidgets_PackedList { tmpValued0d48b, tmpValued0d48b->size() }; }); } struct QtWidgets_PackedList QFileSystemModel_MatchDefault(void* ptr, void* start, int role, void* value, int hits, long long flags) { return ({ QList* tmpValue7e8d26 = new QList(static_cast(ptr)->QFileSystemModel::match(*static_cast(start), role, *static_cast(value), hits, static_cast(flags))); QtWidgets_PackedList { tmpValue7e8d26, tmpValue7e8d26->size() }; }); } char QFileSystemModel_MoveColumnsDefault(void* ptr, void* sourceParent, int sourceColumn, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QFileSystemModel::moveColumns(*static_cast(sourceParent), sourceColumn, count, *static_cast(destinationParent), destinationChild); } char QFileSystemModel_MoveRowsDefault(void* ptr, void* sourceParent, int sourceRow, int count, void* destinationParent, int destinationChild) { return static_cast(ptr)->QFileSystemModel::moveRows(*static_cast(sourceParent), sourceRow, count, *static_cast(destinationParent), destinationChild); } char QFileSystemModel_RemoveColumnsDefault(void* ptr, int column, int count, void* parent) { return static_cast(ptr)->QFileSystemModel::removeColumns(column, count, *static_cast(parent)); } char QFileSystemModel_RemoveRowsDefault(void* ptr, int row, int count, void* parent) { return static_cast(ptr)->QFileSystemModel::removeRows(row, count, *static_cast(parent)); } void QFileSystemModel_ResetInternalDataDefault(void* ptr) { static_cast(ptr)->QFileSystemModel::resetInternalData(); } void QFileSystemModel_RevertDefault(void* ptr) { static_cast(ptr)->QFileSystemModel::revert(); } struct QtWidgets_PackedList QFileSystemModel_RoleNamesDefault(void* ptr) { return ({ QHash* tmpValue50afa5 = new QHash(static_cast(ptr)->QFileSystemModel::roleNames()); QtWidgets_PackedList { tmpValue50afa5, tmpValue50afa5->size() }; }); } char QFileSystemModel_SetHeaderDataDefault(void* ptr, int section, long long orientation, void* value, int role) { return static_cast(ptr)->QFileSystemModel::setHeaderData(section, static_cast(orientation), *static_cast(value), role); } char QFileSystemModel_SetItemDataDefault(void* ptr, void* index, void* roles) { return static_cast(ptr)->QFileSystemModel::setItemData(*static_cast(index), *static_cast*>(roles)); } void* QFileSystemModel_SpanDefault(void* ptr, void* index) { return ({ QSize tmpValue = static_cast(ptr)->QFileSystemModel::span(*static_cast(index)); new QSize(tmpValue.width(), tmpValue.height()); }); } char QFileSystemModel_SubmitDefault(void* ptr) { return static_cast(ptr)->QFileSystemModel::submit(); } long long QFileSystemModel_SupportedDragActionsDefault(void* ptr) { return static_cast(ptr)->QFileSystemModel::supportedDragActions(); } void QFileSystemModel_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSystemModel::childEvent(static_cast(event)); } void QFileSystemModel_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFileSystemModel::connectNotify(*static_cast(sign)); } void QFileSystemModel_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QFileSystemModel::customEvent(static_cast(event)); } void QFileSystemModel_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QFileSystemModel::deleteLater(); } void QFileSystemModel_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QFileSystemModel::disconnectNotify(*static_cast(sign)); } char QFileSystemModel_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFileSystemModel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFileSystemModel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFileSystemModel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFileSystemModel::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QFileSystemModel::eventFilter(static_cast(watched), static_cast(event)); } } void* QFileSystemModel_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QFileSystemModel::metaObject()); } class MyQFocusFrame: public QFocusFrame { public: MyQFocusFrame(QWidget *parent = Q_NULLPTR) : QFocusFrame(parent) {QFocusFrame_QFocusFrame_QRegisterMetaType();}; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; ~MyQFocusFrame() { callbackQFocusFrame_DestroyQFocusFrame(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QFocusFrame*) Q_DECLARE_METATYPE(MyQFocusFrame*) int QFocusFrame_QFocusFrame_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QFocusFrame_NewQFocusFrame(void* parent) { return new MyQFocusFrame(static_cast(parent)); } void QFocusFrame_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } void QFocusFrame_SetWidget(void* ptr, void* widget) { static_cast(ptr)->setWidget(static_cast(widget)); } void* QFocusFrame_Widget(void* ptr) { return static_cast(ptr)->widget(); } void QFocusFrame_DestroyQFocusFrame(void* ptr) { static_cast(ptr)->~QFocusFrame(); } void QFocusFrame_DestroyQFocusFrameDefault(void* ptr) { Q_UNUSED(ptr); } class MyQFontComboBox: public QFontComboBox { public: MyQFontComboBox(QWidget *parent = Q_NULLPTR) : QFontComboBox(parent) {QFontComboBox_QFontComboBox_QRegisterMetaType();}; void Signal_CurrentFontChanged(const QFont & font) { callbackQFontComboBox_CurrentFontChanged(this, const_cast(&font)); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void setCurrentFont(const QFont & ff) { callbackQFontComboBox_SetCurrentFont(this, const_cast(&ff)); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQFontComboBox() { callbackQFontComboBox_DestroyQFontComboBox(this); }; void Signal_Activated(int index) { callbackQComboBox_Activated(this, index); }; void Signal_Activated2(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_Activated2(this, textPacked); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void clear() { callbackQComboBox_Clear(this); }; void clearEditText() { callbackQComboBox_ClearEditText(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void Signal_CurrentIndexChanged(int index) { callbackQComboBox_CurrentIndexChanged(this, index); }; void Signal_CurrentTextChanged(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_CurrentTextChanged(this, textPacked); }; void Signal_EditTextChanged(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_EditTextChanged(this, textPacked); }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void hideEvent(QHideEvent * e) { callbackQWidget_HideEvent(this, e); }; void hidePopup() { callbackQComboBox_HidePopup(this); }; void Signal_Highlighted(int index) { callbackQComboBox_Highlighted(this, index); }; void Signal_Highlighted2(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_Highlighted2(this, textPacked); }; void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void setCurrentIndex(int index) { callbackQComboBox_SetCurrentIndex(this, index); }; void setCurrentText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_SetCurrentText(this, textPacked); }; void setEditText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQComboBox_SetEditText(this, textPacked); }; void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); }; void showPopup() { callbackQComboBox_ShowPopup(this); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QFontComboBox*) Q_DECLARE_METATYPE(MyQFontComboBox*) int QFontComboBox_QFontComboBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QFontComboBox_NewQFontComboBox(void* parent) { return new MyQFontComboBox(static_cast(parent)); } void* QFontComboBox_CurrentFont(void* ptr) { return new QFont(static_cast(ptr)->currentFont()); } void QFontComboBox_ConnectCurrentFontChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFontComboBox::currentFontChanged), static_cast(ptr), static_cast(&MyQFontComboBox::Signal_CurrentFontChanged), static_cast(t)); } void QFontComboBox_DisconnectCurrentFontChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFontComboBox::currentFontChanged), static_cast(ptr), static_cast(&MyQFontComboBox::Signal_CurrentFontChanged)); } void QFontComboBox_CurrentFontChanged(void* ptr, void* font) { static_cast(ptr)->currentFontChanged(*static_cast(font)); } long long QFontComboBox_FontFilters(void* ptr) { return static_cast(ptr)->fontFilters(); } void QFontComboBox_SetCurrentFont(void* ptr, void* ff) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentFont", Q_ARG(const QFont, *static_cast(ff))); } void QFontComboBox_SetCurrentFontDefault(void* ptr, void* ff) { static_cast(ptr)->QFontComboBox::setCurrentFont(*static_cast(ff)); } void QFontComboBox_SetFontFilters(void* ptr, long long filters) { static_cast(ptr)->setFontFilters(static_cast(filters)); } void QFontComboBox_SetWritingSystem(void* ptr, long long vqf) { static_cast(ptr)->setWritingSystem(static_cast(vqf)); } void QFontComboBox_DestroyQFontComboBox(void* ptr) { static_cast(ptr)->~QFontComboBox(); } void QFontComboBox_DestroyQFontComboBoxDefault(void* ptr) { Q_UNUSED(ptr); } class MyQFontDialog: public QFontDialog { public: MyQFontDialog(QWidget *parent = Q_NULLPTR) : QFontDialog(parent) {QFontDialog_QFontDialog_QRegisterMetaType();}; MyQFontDialog(const QFont &initial, QWidget *parent = Q_NULLPTR) : QFontDialog(initial, parent) {QFontDialog_QFontDialog_QRegisterMetaType();}; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void Signal_CurrentFontChanged(const QFont & font) { callbackQFontDialog_CurrentFontChanged(this, const_cast(&font)); }; void done(int result) { callbackQFontDialog_Done(this, result); }; void Signal_FontSelected(const QFont & font) { callbackQFontDialog_FontSelected(this, const_cast(&font)); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QFontDialog*) Q_DECLARE_METATYPE(MyQFontDialog*) int QFontDialog_QFontDialog_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QFontDialog_NewQFontDialog(void* parent) { return new MyQFontDialog(static_cast(parent)); } void* QFontDialog_NewQFontDialog2(void* initial, void* parent) { return new MyQFontDialog(*static_cast(initial), static_cast(parent)); } void* QFontDialog_CurrentFont(void* ptr) { return new QFont(static_cast(ptr)->currentFont()); } void QFontDialog_ConnectCurrentFontChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFontDialog::currentFontChanged), static_cast(ptr), static_cast(&MyQFontDialog::Signal_CurrentFontChanged), static_cast(t)); } void QFontDialog_DisconnectCurrentFontChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFontDialog::currentFontChanged), static_cast(ptr), static_cast(&MyQFontDialog::Signal_CurrentFontChanged)); } void QFontDialog_CurrentFontChanged(void* ptr, void* font) { static_cast(ptr)->currentFontChanged(*static_cast(font)); } void QFontDialog_Done(void* ptr, int result) { static_cast(ptr)->done(result); } void QFontDialog_DoneDefault(void* ptr, int result) { static_cast(ptr)->QFontDialog::done(result); } void QFontDialog_ConnectFontSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QFontDialog::fontSelected), static_cast(ptr), static_cast(&MyQFontDialog::Signal_FontSelected), static_cast(t)); } void QFontDialog_DisconnectFontSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QFontDialog::fontSelected), static_cast(ptr), static_cast(&MyQFontDialog::Signal_FontSelected)); } void QFontDialog_FontSelected(void* ptr, void* font) { static_cast(ptr)->fontSelected(*static_cast(font)); } void* QFontDialog_QFontDialog_GetFont(char* ok, void* initial, void* parent, struct QtWidgets_PackedString title, long long options) { return new QFont(QFontDialog::getFont(reinterpret_cast(ok), *static_cast(initial), static_cast(parent), QString::fromUtf8(title.data, title.len), static_cast(options))); } void* QFontDialog_QFontDialog_GetFont2(char* ok, void* parent) { return new QFont(QFontDialog::getFont(reinterpret_cast(ok), static_cast(parent))); } void QFontDialog_Open(void* ptr, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } } long long QFontDialog_Options(void* ptr) { return static_cast(ptr)->options(); } void* QFontDialog_SelectedFont(void* ptr) { return new QFont(static_cast(ptr)->selectedFont()); } void QFontDialog_SetCurrentFont(void* ptr, void* font) { static_cast(ptr)->setCurrentFont(*static_cast(font)); } void QFontDialog_SetOption(void* ptr, long long option, char on) { static_cast(ptr)->setOption(static_cast(option), on != 0); } void QFontDialog_SetOptions(void* ptr, long long options) { static_cast(ptr)->setOptions(static_cast(options)); } char QFontDialog_TestOption(void* ptr, long long option) { return static_cast(ptr)->testOption(static_cast(option)); } class MyQFormLayout: public QFormLayout { public: MyQFormLayout(QWidget *parent = Q_NULLPTR) : QFormLayout(parent) {QFormLayout_QFormLayout_QRegisterMetaType();}; void addItem(QLayoutItem * item) { callbackQFormLayout_AddItem(this, item); }; int count() const { return callbackQFormLayout_Count(const_cast(static_cast(this))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQLayout_ExpandingDirections(const_cast(static_cast(this)))); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int width) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), width); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; QSize minimumSize() const { return *static_cast(callbackQLayout_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & rect) { callbackQLayout_SetGeometry(this, const_cast(&rect)); }; QSize sizeHint() const { return *static_cast(callbackQFormLayout_SizeHint(const_cast(static_cast(this)))); }; QLayoutItem * takeAt(int index) { return static_cast(callbackQFormLayout_TakeAt(this, index)); }; ~MyQFormLayout() { callbackQFormLayout_DestroyQFormLayout(this); }; void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); }; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQLayout_Geometry(const_cast(static_cast(this)))); }; int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast(static_cast(this)), widget); }; bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast(static_cast(this))) != 0; }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; QSize maximumSize() const { return *static_cast(callbackQLayout_MaximumSize(const_cast(static_cast(this)))); }; void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); }; void deleteLater() { callbackQLayout_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQLayout_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQLayout_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; }; Q_DECLARE_METATYPE(QFormLayout*) Q_DECLARE_METATYPE(MyQFormLayout*) int QFormLayout_QFormLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QFormLayout_NewQFormLayout(void* parent) { return new MyQFormLayout(static_cast(parent)); } void QFormLayout_AddItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item)); } else { static_cast(ptr)->addItem(static_cast(item)); } } void QFormLayout_AddItemDefault(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->QFormLayout::addItem(static_cast(item)); } else { static_cast(ptr)->QFormLayout::addItem(static_cast(item)); } } void QFormLayout_AddRow(void* ptr, void* label, void* field) { static_cast(ptr)->addRow(static_cast(label), static_cast(field)); } void QFormLayout_AddRow2(void* ptr, void* label, void* field) { static_cast(ptr)->addRow(static_cast(label), static_cast(field)); } void QFormLayout_AddRow3(void* ptr, struct QtWidgets_PackedString labelText, void* field) { static_cast(ptr)->addRow(QString::fromUtf8(labelText.data, labelText.len), static_cast(field)); } void QFormLayout_AddRow4(void* ptr, struct QtWidgets_PackedString labelText, void* field) { static_cast(ptr)->addRow(QString::fromUtf8(labelText.data, labelText.len), static_cast(field)); } void QFormLayout_AddRow5(void* ptr, void* widget) { static_cast(ptr)->addRow(static_cast(widget)); } void QFormLayout_AddRow6(void* ptr, void* layout) { static_cast(ptr)->addRow(static_cast(layout)); } int QFormLayout_Count(void* ptr) { return static_cast(ptr)->count(); } int QFormLayout_CountDefault(void* ptr) { return static_cast(ptr)->QFormLayout::count(); } long long QFormLayout_FieldGrowthPolicy(void* ptr) { return static_cast(ptr)->fieldGrowthPolicy(); } long long QFormLayout_FormAlignment(void* ptr) { return static_cast(ptr)->formAlignment(); } int QFormLayout_HorizontalSpacing(void* ptr) { return static_cast(ptr)->horizontalSpacing(); } void QFormLayout_InsertRow(void* ptr, int row, void* label, void* field) { static_cast(ptr)->insertRow(row, static_cast(label), static_cast(field)); } void QFormLayout_InsertRow2(void* ptr, int row, void* label, void* field) { static_cast(ptr)->insertRow(row, static_cast(label), static_cast(field)); } void QFormLayout_InsertRow3(void* ptr, int row, struct QtWidgets_PackedString labelText, void* field) { static_cast(ptr)->insertRow(row, QString::fromUtf8(labelText.data, labelText.len), static_cast(field)); } void QFormLayout_InsertRow4(void* ptr, int row, struct QtWidgets_PackedString labelText, void* field) { static_cast(ptr)->insertRow(row, QString::fromUtf8(labelText.data, labelText.len), static_cast(field)); } void QFormLayout_InsertRow5(void* ptr, int row, void* widget) { static_cast(ptr)->insertRow(row, static_cast(widget)); } void QFormLayout_InsertRow6(void* ptr, int row, void* layout) { static_cast(ptr)->insertRow(row, static_cast(layout)); } long long QFormLayout_LabelAlignment(void* ptr) { return static_cast(ptr)->labelAlignment(); } void* QFormLayout_LabelForField(void* ptr, void* field) { return static_cast(ptr)->labelForField(static_cast(field)); } void* QFormLayout_LabelForField2(void* ptr, void* field) { return static_cast(ptr)->labelForField(static_cast(field)); } void QFormLayout_RemoveRow(void* ptr, int row) { static_cast(ptr)->removeRow(row); } void QFormLayout_RemoveRow2(void* ptr, void* widget) { static_cast(ptr)->removeRow(static_cast(widget)); } void QFormLayout_RemoveRow3(void* ptr, void* layout) { static_cast(ptr)->removeRow(static_cast(layout)); } int QFormLayout_RowCount(void* ptr) { return static_cast(ptr)->rowCount(); } long long QFormLayout_RowWrapPolicy(void* ptr) { return static_cast(ptr)->rowWrapPolicy(); } void QFormLayout_SetFieldGrowthPolicy(void* ptr, long long policy) { static_cast(ptr)->setFieldGrowthPolicy(static_cast(policy)); } void QFormLayout_SetFormAlignment(void* ptr, long long alignment) { static_cast(ptr)->setFormAlignment(static_cast(alignment)); } void QFormLayout_SetHorizontalSpacing(void* ptr, int spacing) { static_cast(ptr)->setHorizontalSpacing(spacing); } void QFormLayout_SetItem(void* ptr, int row, long long role, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setItem(row, static_cast(role), static_cast(item)); } else { static_cast(ptr)->setItem(row, static_cast(role), static_cast(item)); } } void QFormLayout_SetLabelAlignment(void* ptr, long long alignment) { static_cast(ptr)->setLabelAlignment(static_cast(alignment)); } void QFormLayout_SetLayout(void* ptr, int row, long long role, void* layout) { static_cast(ptr)->setLayout(row, static_cast(role), static_cast(layout)); } void QFormLayout_SetRowWrapPolicy(void* ptr, long long policy) { static_cast(ptr)->setRowWrapPolicy(static_cast(policy)); } void QFormLayout_SetVerticalSpacing(void* ptr, int spacing) { static_cast(ptr)->setVerticalSpacing(spacing); } void QFormLayout_SetWidget(void* ptr, int row, long long role, void* widget) { static_cast(ptr)->setWidget(row, static_cast(role), static_cast(widget)); } void* QFormLayout_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QFormLayout_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QFormLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QFormLayout_TakeAt(void* ptr, int index) { return static_cast(ptr)->takeAt(index); } void* QFormLayout_TakeAtDefault(void* ptr, int index) { return static_cast(ptr)->QFormLayout::takeAt(index); } int QFormLayout_VerticalSpacing(void* ptr) { return static_cast(ptr)->verticalSpacing(); } void QFormLayout_DestroyQFormLayout(void* ptr) { static_cast(ptr)->~QFormLayout(); } void QFormLayout_DestroyQFormLayoutDefault(void* ptr) { Q_UNUSED(ptr); } class MyQFrame: public QFrame { public: MyQFrame(QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QFrame(parent, ff) {QFrame_QFrame_QRegisterMetaType();}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQFrame() { callbackQFrame_DestroyQFrame(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QFrame*) Q_DECLARE_METATYPE(MyQFrame*) int QFrame_QFrame_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QFrame_NewQFrame(void* parent, long long ff) { return new MyQFrame(static_cast(parent), static_cast(ff)); } void* QFrame_FrameRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->frameRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } long long QFrame_FrameShadow(void* ptr) { return static_cast(ptr)->frameShadow(); } long long QFrame_FrameShape(void* ptr) { return static_cast(ptr)->frameShape(); } int QFrame_FrameStyle(void* ptr) { return static_cast(ptr)->frameStyle(); } int QFrame_FrameWidth(void* ptr) { return static_cast(ptr)->frameWidth(); } void QFrame_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } int QFrame_LineWidth(void* ptr) { return static_cast(ptr)->lineWidth(); } int QFrame_MidLineWidth(void* ptr) { return static_cast(ptr)->midLineWidth(); } void QFrame_SetFrameRect(void* ptr, void* vqr) { static_cast(ptr)->setFrameRect(*static_cast(vqr)); } void QFrame_SetFrameShadow(void* ptr, long long vqf) { static_cast(ptr)->setFrameShadow(static_cast(vqf)); } void QFrame_SetFrameShape(void* ptr, long long vqf) { static_cast(ptr)->setFrameShape(static_cast(vqf)); } void QFrame_SetFrameStyle(void* ptr, int style) { static_cast(ptr)->setFrameStyle(style); } void QFrame_SetLineWidth(void* ptr, int vin) { static_cast(ptr)->setLineWidth(vin); } void QFrame_SetMidLineWidth(void* ptr, int vin) { static_cast(ptr)->setMidLineWidth(vin); } void QFrame_DestroyQFrame(void* ptr) { static_cast(ptr)->~QFrame(); } void QFrame_DestroyQFrameDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGesture: public QGesture { public: MyQGesture(QObject *parent = Q_NULLPTR) : QGesture(parent) {QGesture_QGesture_QRegisterMetaType();}; ~MyQGesture() { callbackQGesture_DestroyQGesture(this); }; void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); }; void deleteLater() { callbackQGesture_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGesture_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGesture_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGesture*) Q_DECLARE_METATYPE(MyQGesture*) int QGesture_QGesture_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGesture_NewQGesture(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGesture(static_cast(parent)); } else { return new MyQGesture(static_cast(parent)); } } long long QGesture_GestureCancelPolicy(void* ptr) { return static_cast(ptr)->gestureCancelPolicy(); } long long QGesture_GestureType(void* ptr) { return static_cast(ptr)->gestureType(); } char QGesture_HasHotSpot(void* ptr) { return static_cast(ptr)->hasHotSpot(); } void* QGesture_HotSpot(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->hotSpot(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QGesture_SetGestureCancelPolicy(void* ptr, long long policy) { static_cast(ptr)->setGestureCancelPolicy(static_cast(policy)); } void QGesture_SetHotSpot(void* ptr, void* value) { static_cast(ptr)->setHotSpot(*static_cast(value)); } long long QGesture_State(void* ptr) { return static_cast(ptr)->state(); } void QGesture_UnsetHotSpot(void* ptr) { static_cast(ptr)->unsetHotSpot(); } void QGesture_DestroyQGesture(void* ptr) { static_cast(ptr)->~QGesture(); } void QGesture_DestroyQGestureDefault(void* ptr) { Q_UNUSED(ptr); } void* QGesture___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGesture___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGesture___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGesture___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QGesture___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGesture___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGesture___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGesture___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGesture___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGesture___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGesture___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGesture___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QGesture_ChildEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapGesture::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSwipeGesture::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPinchGesture::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPanGesture::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapAndHoldGesture::childEvent(static_cast(event)); } else { static_cast(ptr)->QGesture::childEvent(static_cast(event)); } } void QGesture_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapGesture::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSwipeGesture::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPinchGesture::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPanGesture::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapAndHoldGesture::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QGesture::connectNotify(*static_cast(sign)); } } void QGesture_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapGesture::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSwipeGesture::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPinchGesture::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPanGesture::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapAndHoldGesture::customEvent(static_cast(event)); } else { static_cast(ptr)->QGesture::customEvent(static_cast(event)); } } void QGesture_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapGesture::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSwipeGesture::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPinchGesture::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPanGesture::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapAndHoldGesture::deleteLater(); } else { static_cast(ptr)->QGesture::deleteLater(); } } void QGesture_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapGesture::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSwipeGesture::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPinchGesture::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPanGesture::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapAndHoldGesture::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QGesture::disconnectNotify(*static_cast(sign)); } } char QGesture_EventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTapGesture::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSwipeGesture::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPinchGesture::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPanGesture::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTapAndHoldGesture::event(static_cast(e)); } else { return static_cast(ptr)->QGesture::event(static_cast(e)); } } char QGesture_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTapGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTapGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTapGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTapGesture::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTapGesture::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSwipeGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSwipeGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSwipeGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSwipeGesture::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QSwipeGesture::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPinchGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPinchGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPinchGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPinchGesture::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QPinchGesture::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPanGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPanGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPanGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPanGesture::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QPanGesture::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTapAndHoldGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTapAndHoldGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTapAndHoldGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTapAndHoldGesture::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTapAndHoldGesture::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGesture::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGesture::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGesture::eventFilter(static_cast(watched), static_cast(event)); } } } void* QGesture_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTapGesture::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QSwipeGesture::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QPinchGesture::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QPanGesture::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTapAndHoldGesture::metaObject()); } else { return const_cast(static_cast(ptr)->QGesture::metaObject()); } } void QGesture_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapGesture::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSwipeGesture::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPinchGesture::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPanGesture::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTapAndHoldGesture::timerEvent(static_cast(event)); } else { static_cast(ptr)->QGesture::timerEvent(static_cast(event)); } } class MyQGestureEvent: public QGestureEvent { public: MyQGestureEvent(const QList &gestures) : QGestureEvent(gestures) {QGestureEvent_QGestureEvent_QRegisterMetaType();}; ~MyQGestureEvent() { callbackQGestureEvent_DestroyQGestureEvent(this); }; }; Q_DECLARE_METATYPE(QGestureEvent*) Q_DECLARE_METATYPE(MyQGestureEvent*) int QGestureEvent_QGestureEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGestureEvent_NewQGestureEvent(void* gestures) { return new MyQGestureEvent(*static_cast*>(gestures)); } void QGestureEvent_Accept(void* ptr, void* gesture) { static_cast(ptr)->accept(static_cast(gesture)); } void QGestureEvent_Accept2(void* ptr, long long gestureType) { static_cast(ptr)->accept(static_cast(gestureType)); } struct QtWidgets_PackedList QGestureEvent_ActiveGestures(void* ptr) { return ({ QList* tmpValuef47832 = new QList(static_cast(ptr)->activeGestures()); QtWidgets_PackedList { tmpValuef47832, tmpValuef47832->size() }; }); } struct QtWidgets_PackedList QGestureEvent_CanceledGestures(void* ptr) { return ({ QList* tmpValue4c99df = new QList(static_cast(ptr)->canceledGestures()); QtWidgets_PackedList { tmpValue4c99df, tmpValue4c99df->size() }; }); } void* QGestureEvent_Gesture(void* ptr, long long ty) { return static_cast(ptr)->gesture(static_cast(ty)); } struct QtWidgets_PackedList QGestureEvent_Gestures(void* ptr) { return ({ QList* tmpValue9ee128 = new QList(static_cast(ptr)->gestures()); QtWidgets_PackedList { tmpValue9ee128, tmpValue9ee128->size() }; }); } void QGestureEvent_Ignore(void* ptr, void* gesture) { static_cast(ptr)->ignore(static_cast(gesture)); } void QGestureEvent_Ignore2(void* ptr, long long gestureType) { static_cast(ptr)->ignore(static_cast(gestureType)); } char QGestureEvent_IsAccepted(void* ptr, void* gesture) { return static_cast(ptr)->isAccepted(static_cast(gesture)); } char QGestureEvent_IsAccepted2(void* ptr, long long gestureType) { return static_cast(ptr)->isAccepted(static_cast(gestureType)); } void* QGestureEvent_MapToGraphicsScene(void* ptr, void* gesturePoint) { return ({ QPointF tmpValue = static_cast(ptr)->mapToGraphicsScene(*static_cast(gesturePoint)); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QGestureEvent_SetAccepted(void* ptr, void* gesture, char value) { static_cast(ptr)->setAccepted(static_cast(gesture), value != 0); } void QGestureEvent_SetAccepted2(void* ptr, long long gestureType, char value) { static_cast(ptr)->setAccepted(static_cast(gestureType), value != 0); } void* QGestureEvent_Widget(void* ptr) { return static_cast(ptr)->widget(); } void QGestureEvent_DestroyQGestureEvent(void* ptr) { static_cast(ptr)->~QGestureEvent(); } void QGestureEvent_DestroyQGestureEventDefault(void* ptr) { Q_UNUSED(ptr); } void* QGestureEvent___QGestureEvent_gestures_atList(void* ptr, int i) { return ({QGesture * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent___QGestureEvent_gestures_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent___QGestureEvent_gestures_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGestureEvent___activeGestures_atList(void* ptr, int i) { return ({QGesture * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent___activeGestures_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent___activeGestures_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGestureEvent___canceledGestures_atList(void* ptr, int i) { return ({QGesture * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent___canceledGestures_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent___canceledGestures_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGestureEvent___gestures_atList(void* ptr, int i) { return ({QGesture * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent___gestures_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent___gestures_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGestureEvent___m_gestures_atList(void* ptr, int i) { return ({QGesture * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent___m_gestures_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent___m_gestures_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGestureEvent___setM_gestures__atList(void* ptr, int i) { return ({QGesture * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent___setM_gestures__setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent___setM_gestures__newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } char QGestureEvent___m_accepted_atList(void* ptr, long long v, int i) { return ({ bool tmp = static_cast*>(ptr)->value(static_cast(v)); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; }); } void QGestureEvent___m_accepted_setList(void* ptr, long long key, char i) { static_cast*>(ptr)->insert(static_cast(key), i != 0); } void* QGestureEvent___m_accepted_newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QGestureEvent___m_accepted_keyList(void* ptr) { return ({ QList* tmpValue749853 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValue749853, tmpValue749853->size() }; }); } char QGestureEvent___setM_accepted__atList(void* ptr, long long v, int i) { return ({ bool tmp = static_cast*>(ptr)->value(static_cast(v)); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; }); } void QGestureEvent___setM_accepted__setList(void* ptr, long long key, char i) { static_cast*>(ptr)->insert(static_cast(key), i != 0); } void* QGestureEvent___setM_accepted__newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QGestureEvent___setM_accepted__keyList(void* ptr) { return ({ QList* tmpValue749853 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValue749853, tmpValue749853->size() }; }); } void* QGestureEvent___m_targetWidgets_atList(void* ptr, long long v, int i) { return ({ QWidget * tmp = static_cast*>(ptr)->value(static_cast(v)); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; }); } void QGestureEvent___m_targetWidgets_setList(void* ptr, long long key, void* i) { static_cast*>(ptr)->insert(static_cast(key), static_cast(i)); } void* QGestureEvent___m_targetWidgets_newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QGestureEvent___m_targetWidgets_keyList(void* ptr) { return ({ QList* tmpValued4ffd2 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValued4ffd2, tmpValued4ffd2->size() }; }); } void* QGestureEvent___setM_targetWidgets__atList(void* ptr, long long v, int i) { return ({ QWidget * tmp = static_cast*>(ptr)->value(static_cast(v)); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QMap(); free(ptr); }; tmp; }); } void QGestureEvent___setM_targetWidgets__setList(void* ptr, long long key, void* i) { static_cast*>(ptr)->insert(static_cast(key), static_cast(i)); } void* QGestureEvent___setM_targetWidgets__newList(void* ptr) { Q_UNUSED(ptr); return new QMap(); } struct QtWidgets_PackedList QGestureEvent___setM_targetWidgets__keyList(void* ptr) { return ({ QList* tmpValued4ffd2 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValued4ffd2, tmpValued4ffd2->size() }; }); } long long QGestureEvent_____m_accepted_keyList_atList(void* ptr, int i) { return ({Qt::GestureType tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent_____m_accepted_keyList_setList(void* ptr, long long i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent_____m_accepted_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } long long QGestureEvent_____setM_accepted__keyList_atList(void* ptr, int i) { return ({Qt::GestureType tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent_____setM_accepted__keyList_setList(void* ptr, long long i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent_____setM_accepted__keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } long long QGestureEvent_____m_targetWidgets_keyList_atList(void* ptr, int i) { return ({Qt::GestureType tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent_____m_targetWidgets_keyList_setList(void* ptr, long long i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent_____m_targetWidgets_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } long long QGestureEvent_____setM_targetWidgets__keyList_atList(void* ptr, int i) { return ({Qt::GestureType tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGestureEvent_____setM_targetWidgets__keyList_setList(void* ptr, long long i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGestureEvent_____setM_targetWidgets__keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQGestureRecognizer: public QGestureRecognizer { public: MyQGestureRecognizer() : QGestureRecognizer() {QGestureRecognizer_QGestureRecognizer_QRegisterMetaType();}; QGesture * create(QObject * target) { return static_cast(callbackQGestureRecognizer_Create(this, target)); }; QGestureRecognizer::Result recognize(QGesture * gesture, QObject * watched, QEvent * event) { return static_cast(callbackQGestureRecognizer_Recognize(this, gesture, watched, event)); }; void reset(QGesture * gesture) { callbackQGestureRecognizer_Reset(this, gesture); }; ~MyQGestureRecognizer() { callbackQGestureRecognizer_DestroyQGestureRecognizer(this); }; }; Q_DECLARE_METATYPE(QGestureRecognizer*) Q_DECLARE_METATYPE(MyQGestureRecognizer*) int QGestureRecognizer_QGestureRecognizer_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGestureRecognizer_NewQGestureRecognizer() { return new MyQGestureRecognizer(); } void* QGestureRecognizer_Create(void* ptr, void* target) { if (dynamic_cast(static_cast(target))) { return static_cast(ptr)->create(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return static_cast(ptr)->create(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return static_cast(ptr)->create(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return static_cast(ptr)->create(static_cast(target)); } else { return static_cast(ptr)->create(static_cast(target)); } } void* QGestureRecognizer_CreateDefault(void* ptr, void* target) { if (dynamic_cast(static_cast(target))) { return static_cast(ptr)->QGestureRecognizer::create(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return static_cast(ptr)->QGestureRecognizer::create(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return static_cast(ptr)->QGestureRecognizer::create(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return static_cast(ptr)->QGestureRecognizer::create(static_cast(target)); } else { return static_cast(ptr)->QGestureRecognizer::create(static_cast(target)); } } long long QGestureRecognizer_Recognize(void* ptr, void* gesture, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->recognize(static_cast(gesture), static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->recognize(static_cast(gesture), static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->recognize(static_cast(gesture), static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->recognize(static_cast(gesture), static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->recognize(static_cast(gesture), static_cast(watched), static_cast(event)); } } long long QGestureRecognizer_QGestureRecognizer_RegisterRecognizer(void* recognizer) { return QGestureRecognizer::registerRecognizer(static_cast(recognizer)); } void QGestureRecognizer_Reset(void* ptr, void* gesture) { static_cast(ptr)->reset(static_cast(gesture)); } void QGestureRecognizer_ResetDefault(void* ptr, void* gesture) { static_cast(ptr)->QGestureRecognizer::reset(static_cast(gesture)); } void QGestureRecognizer_QGestureRecognizer_UnregisterRecognizer(long long ty) { QGestureRecognizer::unregisterRecognizer(static_cast(ty)); } void QGestureRecognizer_DestroyQGestureRecognizer(void* ptr) { static_cast(ptr)->~QGestureRecognizer(); } void QGestureRecognizer_DestroyQGestureRecognizerDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsAnchor: public QGraphicsAnchor { public: ~MyQGraphicsAnchor() { callbackQGraphicsAnchor_DestroyQGraphicsAnchor(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsAnchor_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsAnchor_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsAnchor_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsAnchor_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsAnchor_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsAnchor_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsAnchor_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsAnchor_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsAnchor_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsAnchor_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsAnchor_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsAnchor*) Q_DECLARE_METATYPE(MyQGraphicsAnchor*) int QGraphicsAnchor_QGraphicsAnchor_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void QGraphicsAnchor_SetSizePolicy(void* ptr, long long policy) { static_cast(ptr)->setSizePolicy(static_cast(policy)); } void QGraphicsAnchor_SetSpacing(void* ptr, double spacing) { static_cast(ptr)->setSpacing(spacing); } long long QGraphicsAnchor_SizePolicy(void* ptr) { return static_cast(ptr)->sizePolicy(); } double QGraphicsAnchor_Spacing(void* ptr) { return static_cast(ptr)->spacing(); } void QGraphicsAnchor_UnsetSpacing(void* ptr) { static_cast(ptr)->unsetSpacing(); } void QGraphicsAnchor_DestroyQGraphicsAnchor(void* ptr) { static_cast(ptr)->~QGraphicsAnchor(); } void QGraphicsAnchor_DestroyQGraphicsAnchorDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsAnchor___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsAnchor___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsAnchor___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsAnchor___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QGraphicsAnchor___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGraphicsAnchor___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsAnchor___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsAnchor___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsAnchor___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsAnchor___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsAnchor___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsAnchor___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QGraphicsAnchor_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsAnchor::childEvent(static_cast(event)); } void QGraphicsAnchor_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGraphicsAnchor::connectNotify(*static_cast(sign)); } void QGraphicsAnchor_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsAnchor::customEvent(static_cast(event)); } void QGraphicsAnchor_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QGraphicsAnchor::deleteLater(); } void QGraphicsAnchor_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGraphicsAnchor::disconnectNotify(*static_cast(sign)); } char QGraphicsAnchor_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QGraphicsAnchor::event(static_cast(e)); } char QGraphicsAnchor_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsAnchor::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsAnchor::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsAnchor::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsAnchor::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsAnchor::eventFilter(static_cast(watched), static_cast(event)); } } void* QGraphicsAnchor_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QGraphicsAnchor::metaObject()); } void QGraphicsAnchor_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsAnchor::timerEvent(static_cast(event)); } class MyQGraphicsAnchorLayout: public QGraphicsAnchorLayout { public: MyQGraphicsAnchorLayout(QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsAnchorLayout(parent) {QGraphicsAnchorLayout_QGraphicsAnchorLayout_QRegisterMetaType();}; int count() const { return callbackQGraphicsAnchorLayout_Count(const_cast(static_cast(this))); }; void invalidate() { callbackQGraphicsLayout_Invalidate(this); }; QGraphicsLayoutItem * itemAt(int index) const { return static_cast(callbackQGraphicsAnchorLayout_ItemAt(const_cast(static_cast(this)), index)); }; void removeAt(int index) { callbackQGraphicsAnchorLayout_RemoveAt(this, index); }; void setGeometry(const QRectF & geom) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&geom)); }; QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast(callbackQGraphicsAnchorLayout_SizeHint(const_cast(static_cast(this)), which, const_cast(&constraint))); }; ~MyQGraphicsAnchorLayout() { callbackQGraphicsAnchorLayout_DestroyQGraphicsAnchorLayout(this); }; void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast(static_cast(this)), *left, *top, *right, *bottom); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; void widgetEvent(QEvent * e) { callbackQGraphicsLayout_WidgetEvent(this, e); }; }; Q_DECLARE_METATYPE(QGraphicsAnchorLayout*) Q_DECLARE_METATYPE(MyQGraphicsAnchorLayout*) int QGraphicsAnchorLayout_QGraphicsAnchorLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsAnchorLayout_NewQGraphicsAnchorLayout(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsAnchorLayout(static_cast(parent)); } else { return new MyQGraphicsAnchorLayout(static_cast(parent)); } } void* QGraphicsAnchorLayout_AddAnchor(void* ptr, void* firstItem, long long firstEdge, void* secondItem, long long secondEdge) { if (dynamic_cast(static_cast(firstItem))) { return static_cast(ptr)->addAnchor(static_cast(firstItem), static_cast(firstEdge), static_cast(secondItem), static_cast(secondEdge)); } else { return static_cast(ptr)->addAnchor(static_cast(firstItem), static_cast(firstEdge), static_cast(secondItem), static_cast(secondEdge)); } } void QGraphicsAnchorLayout_AddAnchors(void* ptr, void* firstItem, void* secondItem, long long orientations) { if (dynamic_cast(static_cast(firstItem))) { static_cast(ptr)->addAnchors(static_cast(firstItem), static_cast(secondItem), static_cast(orientations)); } else { static_cast(ptr)->addAnchors(static_cast(firstItem), static_cast(secondItem), static_cast(orientations)); } } void QGraphicsAnchorLayout_AddCornerAnchors(void* ptr, void* firstItem, long long firstCorner, void* secondItem, long long secondCorner) { if (dynamic_cast(static_cast(firstItem))) { static_cast(ptr)->addCornerAnchors(static_cast(firstItem), static_cast(firstCorner), static_cast(secondItem), static_cast(secondCorner)); } else { static_cast(ptr)->addCornerAnchors(static_cast(firstItem), static_cast(firstCorner), static_cast(secondItem), static_cast(secondCorner)); } } void* QGraphicsAnchorLayout_Anchor(void* ptr, void* firstItem, long long firstEdge, void* secondItem, long long secondEdge) { if (dynamic_cast(static_cast(firstItem))) { return static_cast(ptr)->anchor(static_cast(firstItem), static_cast(firstEdge), static_cast(secondItem), static_cast(secondEdge)); } else { return static_cast(ptr)->anchor(static_cast(firstItem), static_cast(firstEdge), static_cast(secondItem), static_cast(secondEdge)); } } int QGraphicsAnchorLayout_Count(void* ptr) { return static_cast(ptr)->count(); } int QGraphicsAnchorLayout_CountDefault(void* ptr) { return static_cast(ptr)->QGraphicsAnchorLayout::count(); } double QGraphicsAnchorLayout_HorizontalSpacing(void* ptr) { return static_cast(ptr)->horizontalSpacing(); } void* QGraphicsAnchorLayout_ItemAt(void* ptr, int index) { return static_cast(ptr)->itemAt(index); } void* QGraphicsAnchorLayout_ItemAtDefault(void* ptr, int index) { return static_cast(ptr)->QGraphicsAnchorLayout::itemAt(index); } void QGraphicsAnchorLayout_RemoveAt(void* ptr, int index) { static_cast(ptr)->removeAt(index); } void QGraphicsAnchorLayout_RemoveAtDefault(void* ptr, int index) { static_cast(ptr)->QGraphicsAnchorLayout::removeAt(index); } void QGraphicsAnchorLayout_SetHorizontalSpacing(void* ptr, double spacing) { static_cast(ptr)->setHorizontalSpacing(spacing); } void QGraphicsAnchorLayout_SetSpacing(void* ptr, double spacing) { static_cast(ptr)->setSpacing(spacing); } void QGraphicsAnchorLayout_SetVerticalSpacing(void* ptr, double spacing) { static_cast(ptr)->setVerticalSpacing(spacing); } void* QGraphicsAnchorLayout_SizeHint(void* ptr, long long which, void* constraint) { return ({ QSizeF tmpValue = static_cast(ptr)->sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void* QGraphicsAnchorLayout_SizeHintDefault(void* ptr, long long which, void* constraint) { return ({ QSizeF tmpValue = static_cast(ptr)->QGraphicsAnchorLayout::sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } double QGraphicsAnchorLayout_VerticalSpacing(void* ptr) { return static_cast(ptr)->verticalSpacing(); } void QGraphicsAnchorLayout_DestroyQGraphicsAnchorLayout(void* ptr) { static_cast(ptr)->~QGraphicsAnchorLayout(); } void QGraphicsAnchorLayout_DestroyQGraphicsAnchorLayoutDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsBlurEffect: public QGraphicsBlurEffect { public: MyQGraphicsBlurEffect(QObject *parent = Q_NULLPTR) : QGraphicsBlurEffect(parent) {QGraphicsBlurEffect_QGraphicsBlurEffect_QRegisterMetaType();}; void Signal_BlurHintsChanged(QGraphicsBlurEffect::BlurHints hints) { callbackQGraphicsBlurEffect_BlurHintsChanged(this, hints); }; void Signal_BlurRadiusChanged(qreal radius) { callbackQGraphicsBlurEffect_BlurRadiusChanged(this, radius); }; QRectF boundingRectFor(const QRectF & rect) const { return *static_cast(callbackQGraphicsEffect_BoundingRectFor(const_cast(static_cast(this)), const_cast(&rect))); }; void draw(QPainter * painter) { callbackQGraphicsBlurEffect_Draw(this, painter); }; void setBlurHints(QGraphicsBlurEffect::BlurHints hints) { callbackQGraphicsBlurEffect_SetBlurHints(this, hints); }; void setBlurRadius(qreal blurRadius) { callbackQGraphicsBlurEffect_SetBlurRadius(this, blurRadius); }; ~MyQGraphicsBlurEffect() { callbackQGraphicsBlurEffect_DestroyQGraphicsBlurEffect(this); }; void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); }; void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); }; void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); }; void update() { callbackQGraphicsEffect_Update(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsEffect_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsBlurEffect*) Q_DECLARE_METATYPE(MyQGraphicsBlurEffect*) int QGraphicsBlurEffect_QGraphicsBlurEffect_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsBlurEffect_NewQGraphicsBlurEffect(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsBlurEffect(static_cast(parent)); } else { return new MyQGraphicsBlurEffect(static_cast(parent)); } } long long QGraphicsBlurEffect_BlurHints(void* ptr) { return static_cast(ptr)->blurHints(); } void QGraphicsBlurEffect_ConnectBlurHintsChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsBlurEffect::blurHintsChanged), static_cast(ptr), static_cast(&MyQGraphicsBlurEffect::Signal_BlurHintsChanged), static_cast(t)); } void QGraphicsBlurEffect_DisconnectBlurHintsChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsBlurEffect::blurHintsChanged), static_cast(ptr), static_cast(&MyQGraphicsBlurEffect::Signal_BlurHintsChanged)); } void QGraphicsBlurEffect_BlurHintsChanged(void* ptr, long long hints) { static_cast(ptr)->blurHintsChanged(static_cast(hints)); } double QGraphicsBlurEffect_BlurRadius(void* ptr) { return static_cast(ptr)->blurRadius(); } void QGraphicsBlurEffect_ConnectBlurRadiusChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsBlurEffect::blurRadiusChanged), static_cast(ptr), static_cast(&MyQGraphicsBlurEffect::Signal_BlurRadiusChanged), static_cast(t)); } void QGraphicsBlurEffect_DisconnectBlurRadiusChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsBlurEffect::blurRadiusChanged), static_cast(ptr), static_cast(&MyQGraphicsBlurEffect::Signal_BlurRadiusChanged)); } void QGraphicsBlurEffect_BlurRadiusChanged(void* ptr, double radius) { static_cast(ptr)->blurRadiusChanged(radius); } void QGraphicsBlurEffect_Draw(void* ptr, void* painter) { static_cast(ptr)->draw(static_cast(painter)); } void QGraphicsBlurEffect_DrawDefault(void* ptr, void* painter) { static_cast(ptr)->QGraphicsBlurEffect::draw(static_cast(painter)); } void QGraphicsBlurEffect_SetBlurHints(void* ptr, long long hints) { QMetaObject::invokeMethod(static_cast(ptr), "setBlurHints", Q_ARG(QGraphicsBlurEffect::BlurHints, static_cast(hints))); } void QGraphicsBlurEffect_SetBlurHintsDefault(void* ptr, long long hints) { static_cast(ptr)->QGraphicsBlurEffect::setBlurHints(static_cast(hints)); } void QGraphicsBlurEffect_SetBlurRadius(void* ptr, double blurRadius) { QMetaObject::invokeMethod(static_cast(ptr), "setBlurRadius", Q_ARG(qreal, blurRadius)); } void QGraphicsBlurEffect_SetBlurRadiusDefault(void* ptr, double blurRadius) { static_cast(ptr)->QGraphicsBlurEffect::setBlurRadius(blurRadius); } void QGraphicsBlurEffect_DestroyQGraphicsBlurEffect(void* ptr) { static_cast(ptr)->~QGraphicsBlurEffect(); } void QGraphicsBlurEffect_DestroyQGraphicsBlurEffectDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsColorizeEffect: public QGraphicsColorizeEffect { public: MyQGraphicsColorizeEffect(QObject *parent = Q_NULLPTR) : QGraphicsColorizeEffect(parent) {QGraphicsColorizeEffect_QGraphicsColorizeEffect_QRegisterMetaType();}; void Signal_ColorChanged(const QColor & color) { callbackQGraphicsColorizeEffect_ColorChanged(this, const_cast(&color)); }; void draw(QPainter * painter) { callbackQGraphicsColorizeEffect_Draw(this, painter); }; void setColor(const QColor & c) { callbackQGraphicsColorizeEffect_SetColor(this, const_cast(&c)); }; void setStrength(qreal strength) { callbackQGraphicsColorizeEffect_SetStrength(this, strength); }; void Signal_StrengthChanged(qreal strength) { callbackQGraphicsColorizeEffect_StrengthChanged(this, strength); }; ~MyQGraphicsColorizeEffect() { callbackQGraphicsColorizeEffect_DestroyQGraphicsColorizeEffect(this); }; QRectF boundingRectFor(const QRectF & rect) const { return *static_cast(callbackQGraphicsEffect_BoundingRectFor(const_cast(static_cast(this)), const_cast(&rect))); }; void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); }; void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); }; void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); }; void update() { callbackQGraphicsEffect_Update(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsEffect_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsColorizeEffect*) Q_DECLARE_METATYPE(MyQGraphicsColorizeEffect*) int QGraphicsColorizeEffect_QGraphicsColorizeEffect_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsColorizeEffect_NewQGraphicsColorizeEffect(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsColorizeEffect(static_cast(parent)); } else { return new MyQGraphicsColorizeEffect(static_cast(parent)); } } void* QGraphicsColorizeEffect_Color(void* ptr) { return new QColor(static_cast(ptr)->color()); } void QGraphicsColorizeEffect_ConnectColorChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsColorizeEffect::colorChanged), static_cast(ptr), static_cast(&MyQGraphicsColorizeEffect::Signal_ColorChanged), static_cast(t)); } void QGraphicsColorizeEffect_DisconnectColorChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsColorizeEffect::colorChanged), static_cast(ptr), static_cast(&MyQGraphicsColorizeEffect::Signal_ColorChanged)); } void QGraphicsColorizeEffect_ColorChanged(void* ptr, void* color) { static_cast(ptr)->colorChanged(*static_cast(color)); } void QGraphicsColorizeEffect_Draw(void* ptr, void* painter) { static_cast(ptr)->draw(static_cast(painter)); } void QGraphicsColorizeEffect_DrawDefault(void* ptr, void* painter) { static_cast(ptr)->QGraphicsColorizeEffect::draw(static_cast(painter)); } void QGraphicsColorizeEffect_SetColor(void* ptr, void* c) { QMetaObject::invokeMethod(static_cast(ptr), "setColor", Q_ARG(const QColor, *static_cast(c))); } void QGraphicsColorizeEffect_SetColorDefault(void* ptr, void* c) { static_cast(ptr)->QGraphicsColorizeEffect::setColor(*static_cast(c)); } void QGraphicsColorizeEffect_SetStrength(void* ptr, double strength) { QMetaObject::invokeMethod(static_cast(ptr), "setStrength", Q_ARG(qreal, strength)); } void QGraphicsColorizeEffect_SetStrengthDefault(void* ptr, double strength) { static_cast(ptr)->QGraphicsColorizeEffect::setStrength(strength); } double QGraphicsColorizeEffect_Strength(void* ptr) { return static_cast(ptr)->strength(); } void QGraphicsColorizeEffect_ConnectStrengthChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsColorizeEffect::strengthChanged), static_cast(ptr), static_cast(&MyQGraphicsColorizeEffect::Signal_StrengthChanged), static_cast(t)); } void QGraphicsColorizeEffect_DisconnectStrengthChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsColorizeEffect::strengthChanged), static_cast(ptr), static_cast(&MyQGraphicsColorizeEffect::Signal_StrengthChanged)); } void QGraphicsColorizeEffect_StrengthChanged(void* ptr, double strength) { static_cast(ptr)->strengthChanged(strength); } void QGraphicsColorizeEffect_DestroyQGraphicsColorizeEffect(void* ptr) { static_cast(ptr)->~QGraphicsColorizeEffect(); } void QGraphicsColorizeEffect_DestroyQGraphicsColorizeEffectDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsDropShadowEffect: public QGraphicsDropShadowEffect { public: MyQGraphicsDropShadowEffect(QObject *parent = Q_NULLPTR) : QGraphicsDropShadowEffect(parent) {QGraphicsDropShadowEffect_QGraphicsDropShadowEffect_QRegisterMetaType();}; void Signal_BlurRadiusChanged(qreal blurRadius) { callbackQGraphicsDropShadowEffect_BlurRadiusChanged(this, blurRadius); }; QRectF boundingRectFor(const QRectF & rect) const { return *static_cast(callbackQGraphicsEffect_BoundingRectFor(const_cast(static_cast(this)), const_cast(&rect))); }; void Signal_ColorChanged(const QColor & color) { callbackQGraphicsDropShadowEffect_ColorChanged(this, const_cast(&color)); }; void draw(QPainter * painter) { callbackQGraphicsDropShadowEffect_Draw(this, painter); }; void Signal_OffsetChanged(const QPointF & offset) { callbackQGraphicsDropShadowEffect_OffsetChanged(this, const_cast(&offset)); }; void setBlurRadius(qreal blurRadius) { callbackQGraphicsDropShadowEffect_SetBlurRadius(this, blurRadius); }; void setColor(const QColor & color) { callbackQGraphicsDropShadowEffect_SetColor(this, const_cast(&color)); }; void setOffset(const QPointF & ofs) { callbackQGraphicsDropShadowEffect_SetOffset(this, const_cast(&ofs)); }; void setOffset(qreal dx, qreal dy) { callbackQGraphicsDropShadowEffect_SetOffset2(this, dx, dy); }; void setOffset(qreal d) { callbackQGraphicsDropShadowEffect_SetOffset3(this, d); }; void setXOffset(qreal dx) { callbackQGraphicsDropShadowEffect_SetXOffset(this, dx); }; void setYOffset(qreal dy) { callbackQGraphicsDropShadowEffect_SetYOffset(this, dy); }; ~MyQGraphicsDropShadowEffect() { callbackQGraphicsDropShadowEffect_DestroyQGraphicsDropShadowEffect(this); }; void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); }; void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); }; void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); }; void update() { callbackQGraphicsEffect_Update(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsEffect_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsDropShadowEffect*) Q_DECLARE_METATYPE(MyQGraphicsDropShadowEffect*) int QGraphicsDropShadowEffect_QGraphicsDropShadowEffect_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsDropShadowEffect_NewQGraphicsDropShadowEffect(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } else { return new MyQGraphicsDropShadowEffect(static_cast(parent)); } } double QGraphicsDropShadowEffect_BlurRadius(void* ptr) { return static_cast(ptr)->blurRadius(); } void QGraphicsDropShadowEffect_ConnectBlurRadiusChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsDropShadowEffect::blurRadiusChanged), static_cast(ptr), static_cast(&MyQGraphicsDropShadowEffect::Signal_BlurRadiusChanged), static_cast(t)); } void QGraphicsDropShadowEffect_DisconnectBlurRadiusChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsDropShadowEffect::blurRadiusChanged), static_cast(ptr), static_cast(&MyQGraphicsDropShadowEffect::Signal_BlurRadiusChanged)); } void QGraphicsDropShadowEffect_BlurRadiusChanged(void* ptr, double blurRadius) { static_cast(ptr)->blurRadiusChanged(blurRadius); } void* QGraphicsDropShadowEffect_Color(void* ptr) { return new QColor(static_cast(ptr)->color()); } void QGraphicsDropShadowEffect_ConnectColorChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsDropShadowEffect::colorChanged), static_cast(ptr), static_cast(&MyQGraphicsDropShadowEffect::Signal_ColorChanged), static_cast(t)); } void QGraphicsDropShadowEffect_DisconnectColorChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsDropShadowEffect::colorChanged), static_cast(ptr), static_cast(&MyQGraphicsDropShadowEffect::Signal_ColorChanged)); } void QGraphicsDropShadowEffect_ColorChanged(void* ptr, void* color) { static_cast(ptr)->colorChanged(*static_cast(color)); } void QGraphicsDropShadowEffect_Draw(void* ptr, void* painter) { static_cast(ptr)->draw(static_cast(painter)); } void QGraphicsDropShadowEffect_DrawDefault(void* ptr, void* painter) { static_cast(ptr)->QGraphicsDropShadowEffect::draw(static_cast(painter)); } void* QGraphicsDropShadowEffect_Offset(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->offset(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QGraphicsDropShadowEffect_ConnectOffsetChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsDropShadowEffect::offsetChanged), static_cast(ptr), static_cast(&MyQGraphicsDropShadowEffect::Signal_OffsetChanged), static_cast(t)); } void QGraphicsDropShadowEffect_DisconnectOffsetChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsDropShadowEffect::offsetChanged), static_cast(ptr), static_cast(&MyQGraphicsDropShadowEffect::Signal_OffsetChanged)); } void QGraphicsDropShadowEffect_OffsetChanged(void* ptr, void* offset) { static_cast(ptr)->offsetChanged(*static_cast(offset)); } void QGraphicsDropShadowEffect_SetBlurRadius(void* ptr, double blurRadius) { QMetaObject::invokeMethod(static_cast(ptr), "setBlurRadius", Q_ARG(qreal, blurRadius)); } void QGraphicsDropShadowEffect_SetBlurRadiusDefault(void* ptr, double blurRadius) { static_cast(ptr)->QGraphicsDropShadowEffect::setBlurRadius(blurRadius); } void QGraphicsDropShadowEffect_SetColor(void* ptr, void* color) { QMetaObject::invokeMethod(static_cast(ptr), "setColor", Q_ARG(const QColor, *static_cast(color))); } void QGraphicsDropShadowEffect_SetColorDefault(void* ptr, void* color) { static_cast(ptr)->QGraphicsDropShadowEffect::setColor(*static_cast(color)); } void QGraphicsDropShadowEffect_SetOffset(void* ptr, void* ofs) { QMetaObject::invokeMethod(static_cast(ptr), "setOffset", Q_ARG(const QPointF, *static_cast(ofs))); } void QGraphicsDropShadowEffect_SetOffsetDefault(void* ptr, void* ofs) { static_cast(ptr)->QGraphicsDropShadowEffect::setOffset(*static_cast(ofs)); } void QGraphicsDropShadowEffect_SetOffset2(void* ptr, double dx, double dy) { QMetaObject::invokeMethod(static_cast(ptr), "setOffset", Q_ARG(qreal, dx), Q_ARG(qreal, dy)); } void QGraphicsDropShadowEffect_SetOffset2Default(void* ptr, double dx, double dy) { static_cast(ptr)->QGraphicsDropShadowEffect::setOffset(dx, dy); } void QGraphicsDropShadowEffect_SetOffset3(void* ptr, double d) { QMetaObject::invokeMethod(static_cast(ptr), "setOffset", Q_ARG(qreal, d)); } void QGraphicsDropShadowEffect_SetOffset3Default(void* ptr, double d) { static_cast(ptr)->QGraphicsDropShadowEffect::setOffset(d); } void QGraphicsDropShadowEffect_SetXOffset(void* ptr, double dx) { QMetaObject::invokeMethod(static_cast(ptr), "setXOffset", Q_ARG(qreal, dx)); } void QGraphicsDropShadowEffect_SetXOffsetDefault(void* ptr, double dx) { static_cast(ptr)->QGraphicsDropShadowEffect::setXOffset(dx); } void QGraphicsDropShadowEffect_SetYOffset(void* ptr, double dy) { QMetaObject::invokeMethod(static_cast(ptr), "setYOffset", Q_ARG(qreal, dy)); } void QGraphicsDropShadowEffect_SetYOffsetDefault(void* ptr, double dy) { static_cast(ptr)->QGraphicsDropShadowEffect::setYOffset(dy); } double QGraphicsDropShadowEffect_XOffset(void* ptr) { return static_cast(ptr)->xOffset(); } double QGraphicsDropShadowEffect_YOffset(void* ptr) { return static_cast(ptr)->yOffset(); } void QGraphicsDropShadowEffect_DestroyQGraphicsDropShadowEffect(void* ptr) { static_cast(ptr)->~QGraphicsDropShadowEffect(); } void QGraphicsDropShadowEffect_DestroyQGraphicsDropShadowEffectDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsEffect: public QGraphicsEffect { public: MyQGraphicsEffect(QObject *parent = Q_NULLPTR) : QGraphicsEffect(parent) {QGraphicsEffect_QGraphicsEffect_QRegisterMetaType();}; QRectF boundingRectFor(const QRectF & rect) const { return *static_cast(callbackQGraphicsEffect_BoundingRectFor(const_cast(static_cast(this)), const_cast(&rect))); }; void draw(QPainter * painter) { callbackQGraphicsEffect_Draw(this, painter); }; void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); }; void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); }; void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); }; void update() { callbackQGraphicsEffect_Update(this); }; ~MyQGraphicsEffect() { callbackQGraphicsEffect_DestroyQGraphicsEffect(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsEffect_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsEffect*) Q_DECLARE_METATYPE(MyQGraphicsEffect*) int QGraphicsEffect_QGraphicsEffect_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsEffect_NewQGraphicsEffect(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEffect(static_cast(parent)); } else { return new MyQGraphicsEffect(static_cast(parent)); } } void* QGraphicsEffect_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsEffect_BoundingRectFor(void* ptr, void* rect) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRectFor(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsEffect_BoundingRectForDefault(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsOpacityEffect::boundingRectFor(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsDropShadowEffect::boundingRectFor(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsBlurEffect::boundingRectFor(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsColorizeEffect::boundingRectFor(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsEffect::boundingRectFor(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void QGraphicsEffect_Draw(void* ptr, void* painter) { static_cast(ptr)->draw(static_cast(painter)); } void QGraphicsEffect_DrawSource(void* ptr, void* painter) { static_cast(ptr)->drawSource(static_cast(painter)); } void QGraphicsEffect_ConnectEnabledChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsEffect::enabledChanged), static_cast(ptr), static_cast(&MyQGraphicsEffect::Signal_EnabledChanged), static_cast(t)); } void QGraphicsEffect_DisconnectEnabledChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsEffect::enabledChanged), static_cast(ptr), static_cast(&MyQGraphicsEffect::Signal_EnabledChanged)); } void QGraphicsEffect_EnabledChanged(void* ptr, char enabled) { static_cast(ptr)->enabledChanged(enabled != 0); } char QGraphicsEffect_IsEnabled(void* ptr) { return static_cast(ptr)->isEnabled(); } void QGraphicsEffect_SetEnabled(void* ptr, char enable) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, enable != 0)); } void QGraphicsEffect_SetEnabledDefault(void* ptr, char enable) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::setEnabled(enable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::setEnabled(enable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::setEnabled(enable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::setEnabled(enable != 0); } else { static_cast(ptr)->QGraphicsEffect::setEnabled(enable != 0); } } void* QGraphicsEffect_SourceBoundingRect(void* ptr, long long system) { return ({ QRectF tmpValue = static_cast(ptr)->sourceBoundingRect(static_cast(system)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsEffect_SourceChanged(void* ptr, long long flags) { static_cast(ptr)->sourceChanged(static_cast(flags)); } void QGraphicsEffect_SourceChangedDefault(void* ptr, long long flags) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::sourceChanged(static_cast(flags)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::sourceChanged(static_cast(flags)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::sourceChanged(static_cast(flags)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::sourceChanged(static_cast(flags)); } else { static_cast(ptr)->QGraphicsEffect::sourceChanged(static_cast(flags)); } } char QGraphicsEffect_SourceIsPixmap(void* ptr) { return static_cast(ptr)->sourceIsPixmap(); } void* QGraphicsEffect_SourcePixmap(void* ptr, long long system, void* offset, long long mode) { return new QPixmap(static_cast(ptr)->sourcePixmap(static_cast(system), static_cast(offset), static_cast(mode))); } void QGraphicsEffect_Update(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "update"); } void QGraphicsEffect_UpdateDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::update(); } else { static_cast(ptr)->QGraphicsEffect::update(); } } void QGraphicsEffect_UpdateBoundingRect(void* ptr) { static_cast(ptr)->updateBoundingRect(); } void QGraphicsEffect_DestroyQGraphicsEffect(void* ptr) { static_cast(ptr)->~QGraphicsEffect(); } void QGraphicsEffect_DestroyQGraphicsEffectDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsEffect___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsEffect___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsEffect___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsEffect___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QGraphicsEffect___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGraphicsEffect___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsEffect___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsEffect___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsEffect___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsEffect___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsEffect___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsEffect___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QGraphicsEffect_ChildEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::childEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsEffect::childEvent(static_cast(event)); } } void QGraphicsEffect_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QGraphicsEffect::connectNotify(*static_cast(sign)); } } void QGraphicsEffect_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::customEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsEffect::customEvent(static_cast(event)); } } void QGraphicsEffect_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::deleteLater(); } else { static_cast(ptr)->QGraphicsEffect::deleteLater(); } } void QGraphicsEffect_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QGraphicsEffect::disconnectNotify(*static_cast(sign)); } } char QGraphicsEffect_EventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsOpacityEffect::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsDropShadowEffect::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsBlurEffect::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsColorizeEffect::event(static_cast(e)); } else { return static_cast(ptr)->QGraphicsEffect::event(static_cast(e)); } } char QGraphicsEffect_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsOpacityEffect::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsDropShadowEffect::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsBlurEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsBlurEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsBlurEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsBlurEffect::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsBlurEffect::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsColorizeEffect::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsEffect::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsEffect::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsEffect::eventFilter(static_cast(watched), static_cast(event)); } } } void* QGraphicsEffect_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsOpacityEffect::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsDropShadowEffect::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsBlurEffect::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsColorizeEffect::metaObject()); } else { return const_cast(static_cast(ptr)->QGraphicsEffect::metaObject()); } } void QGraphicsEffect_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsOpacityEffect::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsDropShadowEffect::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsBlurEffect::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsColorizeEffect::timerEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsEffect::timerEvent(static_cast(event)); } } class MyQGraphicsEllipseItem: public QGraphicsEllipseItem { public: MyQGraphicsEllipseItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsEllipseItem(parent) {QGraphicsEllipseItem_QGraphicsEllipseItem_QRegisterMetaType();}; MyQGraphicsEllipseItem(const QRectF &rect, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsEllipseItem(rect, parent) {QGraphicsEllipseItem_QGraphicsEllipseItem_QRegisterMetaType();}; MyQGraphicsEllipseItem(qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsEllipseItem(x, y, width, height, parent) {QGraphicsEllipseItem_QGraphicsEllipseItem_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsEllipseItem_BoundingRect(const_cast(static_cast(this)))); }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsEllipseItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsEllipseItem() { callbackQGraphicsEllipseItem_DestroyQGraphicsEllipseItem(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsEllipseItem*) Q_DECLARE_METATYPE(MyQGraphicsEllipseItem*) int QGraphicsEllipseItem_QGraphicsEllipseItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsEllipseItem_NewQGraphicsEllipseItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEllipseItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEllipseItem(static_cast(parent)); } else { return new MyQGraphicsEllipseItem(static_cast(parent)); } } void* QGraphicsEllipseItem_NewQGraphicsEllipseItem2(void* rect, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEllipseItem(*static_cast(rect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEllipseItem(*static_cast(rect), static_cast(parent)); } else { return new MyQGraphicsEllipseItem(*static_cast(rect), static_cast(parent)); } } void* QGraphicsEllipseItem_NewQGraphicsEllipseItem3(double x, double y, double width, double height, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEllipseItem(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsEllipseItem(x, y, width, height, static_cast(parent)); } else { return new MyQGraphicsEllipseItem(x, y, width, height, static_cast(parent)); } } void* QGraphicsEllipseItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsEllipseItem_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsEllipseItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsEllipseItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsEllipseItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsEllipseItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void* QGraphicsEllipseItem_Rect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->rect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsEllipseItem_SetRect(void* ptr, void* rect) { static_cast(ptr)->setRect(*static_cast(rect)); } void QGraphicsEllipseItem_SetRect2(void* ptr, double x, double y, double width, double height) { static_cast(ptr)->setRect(x, y, width, height); } void QGraphicsEllipseItem_SetSpanAngle(void* ptr, int angle) { static_cast(ptr)->setSpanAngle(angle); } void QGraphicsEllipseItem_SetStartAngle(void* ptr, int angle) { static_cast(ptr)->setStartAngle(angle); } int QGraphicsEllipseItem_SpanAngle(void* ptr) { return static_cast(ptr)->spanAngle(); } int QGraphicsEllipseItem_StartAngle(void* ptr) { return static_cast(ptr)->startAngle(); } void QGraphicsEllipseItem_DestroyQGraphicsEllipseItem(void* ptr) { static_cast(ptr)->~QGraphicsEllipseItem(); } void QGraphicsEllipseItem_DestroyQGraphicsEllipseItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsGridLayout: public QGraphicsGridLayout { public: MyQGraphicsGridLayout(QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsGridLayout(parent) {QGraphicsGridLayout_QGraphicsGridLayout_QRegisterMetaType();}; int count() const { return callbackQGraphicsGridLayout_Count(const_cast(static_cast(this))); }; void invalidate() { callbackQGraphicsLayout_Invalidate(this); }; void removeAt(int index) { callbackQGraphicsGridLayout_RemoveAt(this, index); }; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast(callbackQGraphicsGridLayout_SizeHint(const_cast(static_cast(this)), which, const_cast(&constraint))); }; ~MyQGraphicsGridLayout() { callbackQGraphicsGridLayout_DestroyQGraphicsGridLayout(this); }; void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast(static_cast(this)), *left, *top, *right, *bottom); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; void widgetEvent(QEvent * e) { callbackQGraphicsLayout_WidgetEvent(this, e); }; }; Q_DECLARE_METATYPE(QGraphicsGridLayout*) Q_DECLARE_METATYPE(MyQGraphicsGridLayout*) int QGraphicsGridLayout_QGraphicsGridLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsGridLayout_NewQGraphicsGridLayout(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsGridLayout(static_cast(parent)); } else { return new MyQGraphicsGridLayout(static_cast(parent)); } } void QGraphicsGridLayout_AddItem(void* ptr, void* item, int row, int column, int rowSpan, int columnSpan, long long alignment) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item), row, column, rowSpan, columnSpan, static_cast(alignment)); } else { static_cast(ptr)->addItem(static_cast(item), row, column, rowSpan, columnSpan, static_cast(alignment)); } } void QGraphicsGridLayout_AddItem2(void* ptr, void* item, int row, int column, long long alignment) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item), row, column, static_cast(alignment)); } else { static_cast(ptr)->addItem(static_cast(item), row, column, static_cast(alignment)); } } long long QGraphicsGridLayout_Alignment(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->alignment(static_cast(item)); } else { return static_cast(ptr)->alignment(static_cast(item)); } } long long QGraphicsGridLayout_ColumnAlignment(void* ptr, int column) { return static_cast(ptr)->columnAlignment(column); } int QGraphicsGridLayout_ColumnCount(void* ptr) { return static_cast(ptr)->columnCount(); } double QGraphicsGridLayout_ColumnMaximumWidth(void* ptr, int column) { return static_cast(ptr)->columnMaximumWidth(column); } double QGraphicsGridLayout_ColumnMinimumWidth(void* ptr, int column) { return static_cast(ptr)->columnMinimumWidth(column); } double QGraphicsGridLayout_ColumnPreferredWidth(void* ptr, int column) { return static_cast(ptr)->columnPreferredWidth(column); } double QGraphicsGridLayout_ColumnSpacing(void* ptr, int column) { return static_cast(ptr)->columnSpacing(column); } int QGraphicsGridLayout_ColumnStretchFactor(void* ptr, int column) { return static_cast(ptr)->columnStretchFactor(column); } int QGraphicsGridLayout_Count(void* ptr) { return static_cast(ptr)->count(); } int QGraphicsGridLayout_CountDefault(void* ptr) { return static_cast(ptr)->QGraphicsGridLayout::count(); } double QGraphicsGridLayout_HorizontalSpacing(void* ptr) { return static_cast(ptr)->horizontalSpacing(); } void QGraphicsGridLayout_RemoveAt(void* ptr, int index) { static_cast(ptr)->removeAt(index); } void QGraphicsGridLayout_RemoveAtDefault(void* ptr, int index) { static_cast(ptr)->QGraphicsGridLayout::removeAt(index); } void QGraphicsGridLayout_RemoveItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->removeItem(static_cast(item)); } else { static_cast(ptr)->removeItem(static_cast(item)); } } long long QGraphicsGridLayout_RowAlignment(void* ptr, int row) { return static_cast(ptr)->rowAlignment(row); } int QGraphicsGridLayout_RowCount(void* ptr) { return static_cast(ptr)->rowCount(); } double QGraphicsGridLayout_RowMaximumHeight(void* ptr, int row) { return static_cast(ptr)->rowMaximumHeight(row); } double QGraphicsGridLayout_RowMinimumHeight(void* ptr, int row) { return static_cast(ptr)->rowMinimumHeight(row); } double QGraphicsGridLayout_RowPreferredHeight(void* ptr, int row) { return static_cast(ptr)->rowPreferredHeight(row); } double QGraphicsGridLayout_RowSpacing(void* ptr, int row) { return static_cast(ptr)->rowSpacing(row); } int QGraphicsGridLayout_RowStretchFactor(void* ptr, int row) { return static_cast(ptr)->rowStretchFactor(row); } void QGraphicsGridLayout_SetAlignment(void* ptr, void* item, long long alignment) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setAlignment(static_cast(item), static_cast(alignment)); } else { static_cast(ptr)->setAlignment(static_cast(item), static_cast(alignment)); } } void QGraphicsGridLayout_SetColumnAlignment(void* ptr, int column, long long alignment) { static_cast(ptr)->setColumnAlignment(column, static_cast(alignment)); } void QGraphicsGridLayout_SetColumnFixedWidth(void* ptr, int column, double width) { static_cast(ptr)->setColumnFixedWidth(column, width); } void QGraphicsGridLayout_SetColumnMaximumWidth(void* ptr, int column, double width) { static_cast(ptr)->setColumnMaximumWidth(column, width); } void QGraphicsGridLayout_SetColumnMinimumWidth(void* ptr, int column, double width) { static_cast(ptr)->setColumnMinimumWidth(column, width); } void QGraphicsGridLayout_SetColumnPreferredWidth(void* ptr, int column, double width) { static_cast(ptr)->setColumnPreferredWidth(column, width); } void QGraphicsGridLayout_SetColumnSpacing(void* ptr, int column, double spacing) { static_cast(ptr)->setColumnSpacing(column, spacing); } void QGraphicsGridLayout_SetColumnStretchFactor(void* ptr, int column, int stretch) { static_cast(ptr)->setColumnStretchFactor(column, stretch); } void QGraphicsGridLayout_SetHorizontalSpacing(void* ptr, double spacing) { static_cast(ptr)->setHorizontalSpacing(spacing); } void QGraphicsGridLayout_SetRowAlignment(void* ptr, int row, long long alignment) { static_cast(ptr)->setRowAlignment(row, static_cast(alignment)); } void QGraphicsGridLayout_SetRowFixedHeight(void* ptr, int row, double height) { static_cast(ptr)->setRowFixedHeight(row, height); } void QGraphicsGridLayout_SetRowMaximumHeight(void* ptr, int row, double height) { static_cast(ptr)->setRowMaximumHeight(row, height); } void QGraphicsGridLayout_SetRowMinimumHeight(void* ptr, int row, double height) { static_cast(ptr)->setRowMinimumHeight(row, height); } void QGraphicsGridLayout_SetRowPreferredHeight(void* ptr, int row, double height) { static_cast(ptr)->setRowPreferredHeight(row, height); } void QGraphicsGridLayout_SetRowSpacing(void* ptr, int row, double spacing) { static_cast(ptr)->setRowSpacing(row, spacing); } void QGraphicsGridLayout_SetRowStretchFactor(void* ptr, int row, int stretch) { static_cast(ptr)->setRowStretchFactor(row, stretch); } void QGraphicsGridLayout_SetSpacing(void* ptr, double spacing) { static_cast(ptr)->setSpacing(spacing); } void QGraphicsGridLayout_SetVerticalSpacing(void* ptr, double spacing) { static_cast(ptr)->setVerticalSpacing(spacing); } void* QGraphicsGridLayout_SizeHint(void* ptr, long long which, void* constraint) { return ({ QSizeF tmpValue = static_cast(ptr)->sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void* QGraphicsGridLayout_SizeHintDefault(void* ptr, long long which, void* constraint) { return ({ QSizeF tmpValue = static_cast(ptr)->QGraphicsGridLayout::sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } double QGraphicsGridLayout_VerticalSpacing(void* ptr) { return static_cast(ptr)->verticalSpacing(); } void QGraphicsGridLayout_DestroyQGraphicsGridLayout(void* ptr) { static_cast(ptr)->~QGraphicsGridLayout(); } void QGraphicsGridLayout_DestroyQGraphicsGridLayoutDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsItem: public QGraphicsItem { public: MyQGraphicsItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsItem(parent) {QGraphicsItem_QGraphicsItem_QRegisterMetaType();}; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; QRectF boundingRect() const { return *static_cast(callbackQGraphicsItem_BoundingRect(const_cast(static_cast(this)))); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsItem_Paint(this, painter, const_cast(option), widget); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; ~MyQGraphicsItem() { callbackQGraphicsItem_DestroyQGraphicsItem(this); }; }; Q_DECLARE_METATYPE(MyQGraphicsItem*) int QGraphicsItem_QGraphicsItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsItem_NewQGraphicsItem(void* parent) { return new MyQGraphicsItem(static_cast(parent)); } char QGraphicsItem_AcceptDrops(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->acceptDrops(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->acceptDrops(); } else { return static_cast(ptr)->acceptDrops(); } } char QGraphicsItem_AcceptHoverEvents(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->acceptHoverEvents(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->acceptHoverEvents(); } else { return static_cast(ptr)->acceptHoverEvents(); } } char QGraphicsItem_AcceptTouchEvents(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->acceptTouchEvents(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->acceptTouchEvents(); } else { return static_cast(ptr)->acceptTouchEvents(); } } long long QGraphicsItem_AcceptedMouseButtons(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->acceptedMouseButtons(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->acceptedMouseButtons(); } else { return static_cast(ptr)->acceptedMouseButtons(); } } void QGraphicsItem_Advance(void* ptr, int phase) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->advance(phase); } else { static_cast(ptr)->advance(phase); } } void QGraphicsItem_AdvanceDefault(void* ptr, int phase) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::advance(phase); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::advance(phase); } else { static_cast(ptr)->QGraphicsItem::advance(phase); } } void* QGraphicsItem_BoundingRect(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_BoundingRegion(void* ptr, void* itemToDeviceTransform) { if (dynamic_cast(static_cast(ptr))) { return new QRegion(static_cast(ptr)->boundingRegion(*static_cast(itemToDeviceTransform))); } else if (dynamic_cast(static_cast(ptr))) { return new QRegion(static_cast(ptr)->boundingRegion(*static_cast(itemToDeviceTransform))); } else { return new QRegion(static_cast(ptr)->boundingRegion(*static_cast(itemToDeviceTransform))); } } double QGraphicsItem_BoundingRegionGranularity(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->boundingRegionGranularity(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->boundingRegionGranularity(); } else { return static_cast(ptr)->boundingRegionGranularity(); } } long long QGraphicsItem_CacheMode(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->cacheMode(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->cacheMode(); } else { return static_cast(ptr)->cacheMode(); } } struct QtWidgets_PackedList QGraphicsItem_ChildItems(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValue479dfb = new QList(static_cast(ptr)->childItems()); QtWidgets_PackedList { tmpValue479dfb, tmpValue479dfb->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValue479dfb = new QList(static_cast(ptr)->childItems()); QtWidgets_PackedList { tmpValue479dfb, tmpValue479dfb->size() }; }); } else { return ({ QList* tmpValue479dfb = new QList(static_cast(ptr)->childItems()); QtWidgets_PackedList { tmpValue479dfb, tmpValue479dfb->size() }; }); } } void* QGraphicsItem_ChildrenBoundingRect(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->childrenBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->childrenBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->childrenBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void QGraphicsItem_ClearFocus(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->clearFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->clearFocus(); } else { static_cast(ptr)->clearFocus(); } } void* QGraphicsItem_ClipPath(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->clipPath()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->clipPath()); } else { return new QPainterPath(static_cast(ptr)->clipPath()); } } char QGraphicsItem_CollidesWithItem(void* ptr, void* other, long long mode) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } } else { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->collidesWithItem(static_cast(other), static_cast(mode)); } } } char QGraphicsItem_CollidesWithItemDefault(void* ptr, void* other, long long mode) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsItemGroup::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsItemGroup::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsItemGroup::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsPixmapItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsPixmapItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsPixmapItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsLineItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsLineItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsLineItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsSimpleTextItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsSimpleTextItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsSimpleTextItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsPolygonItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsPolygonItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsPolygonItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsEllipseItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsEllipseItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsEllipseItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsRectItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsRectItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsRectItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsPathItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsPathItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsPathItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QAbstractGraphicsShapeItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsProxyWidget::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsProxyWidget::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsProxyWidget::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsWidget::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsWidget::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsWidget::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsTextItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsTextItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsTextItem::collidesWithItem(static_cast(other), static_cast(mode)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsObject::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsObject::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsObject::collidesWithItem(static_cast(other), static_cast(mode)); } } else { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsItem::collidesWithItem(static_cast(other), static_cast(mode)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->QGraphicsItem::collidesWithItem(static_cast(other), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsItem::collidesWithItem(static_cast(other), static_cast(mode)); } } } char QGraphicsItem_CollidesWithPath(void* ptr, void* path, long long mode) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->collidesWithPath(*static_cast(path), static_cast(mode)); } else { return static_cast(ptr)->collidesWithPath(*static_cast(path), static_cast(mode)); } } char QGraphicsItem_CollidesWithPathDefault(void* ptr, void* path, long long mode) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsItemGroup::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPixmapItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsLineItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsSimpleTextItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPolygonItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsEllipseItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsRectItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPathItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsWidget::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsTextItem::collidesWithPath(*static_cast(path), static_cast(mode)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsObject::collidesWithPath(*static_cast(path), static_cast(mode)); } else { return static_cast(ptr)->QGraphicsItem::collidesWithPath(*static_cast(path), static_cast(mode)); } } struct QtWidgets_PackedList QGraphicsItem_CollidingItems(void* ptr, long long mode) { if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValue8b585f = new QList(static_cast(ptr)->collidingItems(static_cast(mode))); QtWidgets_PackedList { tmpValue8b585f, tmpValue8b585f->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValue8b585f = new QList(static_cast(ptr)->collidingItems(static_cast(mode))); QtWidgets_PackedList { tmpValue8b585f, tmpValue8b585f->size() }; }); } else { return ({ QList* tmpValue8b585f = new QList(static_cast(ptr)->collidingItems(static_cast(mode))); QtWidgets_PackedList { tmpValue8b585f, tmpValue8b585f->size() }; }); } } void* QGraphicsItem_CommonAncestorItem(void* ptr, void* other) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } else { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } else { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } } else { if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } else if (dynamic_cast(static_cast(other))) { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } else { return static_cast(ptr)->commonAncestorItem(static_cast(other)); } } } char QGraphicsItem_Contains(void* ptr, void* point) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->contains(*static_cast(point)); } else { return static_cast(ptr)->contains(*static_cast(point)); } } char QGraphicsItem_ContainsDefault(void* ptr, void* point) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsItemGroup::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPixmapItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsLineItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsSimpleTextItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPolygonItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsEllipseItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsRectItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPathItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsWidget::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsTextItem::contains(*static_cast(point)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsObject::contains(*static_cast(point)); } else { return static_cast(ptr)->QGraphicsItem::contains(*static_cast(point)); } } void QGraphicsItem_ContextMenuEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->contextMenuEvent(static_cast(event)); } else { static_cast(ptr)->contextMenuEvent(static_cast(event)); } } void QGraphicsItem_ContextMenuEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::contextMenuEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::contextMenuEvent(static_cast(event)); } } void* QGraphicsItem_Cursor(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QCursor(static_cast(ptr)->cursor()); } else if (dynamic_cast(static_cast(ptr))) { return new QCursor(static_cast(ptr)->cursor()); } else { return new QCursor(static_cast(ptr)->cursor()); } } void* QGraphicsItem_Data(void* ptr, int key) { if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->data(key)); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->data(key)); } else { return new QVariant(static_cast(ptr)->data(key)); } } void* QGraphicsItem_DeviceTransform(void* ptr, void* viewportTransform) { if (dynamic_cast(static_cast(ptr))) { return new QTransform(static_cast(ptr)->deviceTransform(*static_cast(viewportTransform))); } else if (dynamic_cast(static_cast(ptr))) { return new QTransform(static_cast(ptr)->deviceTransform(*static_cast(viewportTransform))); } else { return new QTransform(static_cast(ptr)->deviceTransform(*static_cast(viewportTransform))); } } void QGraphicsItem_DragEnterEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } else { static_cast(ptr)->dragEnterEvent(static_cast(event)); } } void QGraphicsItem_DragEnterEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::dragEnterEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::dragEnterEvent(static_cast(event)); } } void QGraphicsItem_DragLeaveEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } else { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } } void QGraphicsItem_DragLeaveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::dragLeaveEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::dragLeaveEvent(static_cast(event)); } } void QGraphicsItem_DragMoveEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } else { static_cast(ptr)->dragMoveEvent(static_cast(event)); } } void QGraphicsItem_DragMoveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::dragMoveEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::dragMoveEvent(static_cast(event)); } } void QGraphicsItem_DropEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->dropEvent(static_cast(event)); } else { static_cast(ptr)->dropEvent(static_cast(event)); } } void QGraphicsItem_DropEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::dropEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::dropEvent(static_cast(event)); } } double QGraphicsItem_EffectiveOpacity(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->effectiveOpacity(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->effectiveOpacity(); } else { return static_cast(ptr)->effectiveOpacity(); } } void QGraphicsItem_EnsureVisible(void* ptr, void* rect, int xmargin, int ymargin) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ensureVisible(*static_cast(rect), xmargin, ymargin); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ensureVisible(*static_cast(rect), xmargin, ymargin); } else { static_cast(ptr)->ensureVisible(*static_cast(rect), xmargin, ymargin); } } void QGraphicsItem_EnsureVisible2(void* ptr, double x, double y, double w, double h, int xmargin, int ymargin) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ensureVisible(x, y, w, h, xmargin, ymargin); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ensureVisible(x, y, w, h, xmargin, ymargin); } else { static_cast(ptr)->ensureVisible(x, y, w, h, xmargin, ymargin); } } char QGraphicsItem_FiltersChildEvents(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->filtersChildEvents(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->filtersChildEvents(); } else { return static_cast(ptr)->filtersChildEvents(); } } long long QGraphicsItem_Flags(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->flags(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->flags(); } else { return static_cast(ptr)->flags(); } } void QGraphicsItem_FocusInEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->focusInEvent(static_cast(event)); } else { static_cast(ptr)->focusInEvent(static_cast(event)); } } void QGraphicsItem_FocusInEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::focusInEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::focusInEvent(static_cast(event)); } } void* QGraphicsItem_FocusItem(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->focusItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->focusItem(); } else { return static_cast(ptr)->focusItem(); } } void QGraphicsItem_FocusOutEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->focusOutEvent(static_cast(event)); } else { static_cast(ptr)->focusOutEvent(static_cast(event)); } } void QGraphicsItem_FocusOutEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::focusOutEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::focusOutEvent(static_cast(event)); } } void* QGraphicsItem_FocusProxy(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->focusProxy(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->focusProxy(); } else { return static_cast(ptr)->focusProxy(); } } void QGraphicsItem_GrabKeyboard(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->grabKeyboard(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->grabKeyboard(); } else { static_cast(ptr)->grabKeyboard(); } } void QGraphicsItem_GrabMouse(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->grabMouse(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->grabMouse(); } else { static_cast(ptr)->grabMouse(); } } void* QGraphicsItem_GraphicsEffect(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->graphicsEffect(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->graphicsEffect(); } else { return static_cast(ptr)->graphicsEffect(); } } void* QGraphicsItem_Group(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->group(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->group(); } else { return static_cast(ptr)->group(); } } char QGraphicsItem_HasCursor(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->hasCursor(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->hasCursor(); } else { return static_cast(ptr)->hasCursor(); } } char QGraphicsItem_HasFocus(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->hasFocus(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->hasFocus(); } else { return static_cast(ptr)->hasFocus(); } } void QGraphicsItem_Hide(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->hide(); } else { static_cast(ptr)->hide(); } } void QGraphicsItem_HoverEnterEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->hoverEnterEvent(static_cast(event)); } else { static_cast(ptr)->hoverEnterEvent(static_cast(event)); } } void QGraphicsItem_HoverEnterEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::hoverEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::hoverEnterEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::hoverEnterEvent(static_cast(event)); } } void QGraphicsItem_HoverLeaveEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->hoverLeaveEvent(static_cast(event)); } else { static_cast(ptr)->hoverLeaveEvent(static_cast(event)); } } void QGraphicsItem_HoverLeaveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::hoverLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::hoverLeaveEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::hoverLeaveEvent(static_cast(event)); } } void QGraphicsItem_HoverMoveEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->hoverMoveEvent(static_cast(event)); } else { static_cast(ptr)->hoverMoveEvent(static_cast(event)); } } void QGraphicsItem_HoverMoveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::hoverMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::hoverMoveEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::hoverMoveEvent(static_cast(event)); } } void QGraphicsItem_InputMethodEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } else { static_cast(ptr)->inputMethodEvent(static_cast(event)); } } void QGraphicsItem_InputMethodEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::inputMethodEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::inputMethodEvent(static_cast(event)); } } long long QGraphicsItem_InputMethodHints(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->inputMethodHints(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->inputMethodHints(); } else { return static_cast(ptr)->inputMethodHints(); } } void* QGraphicsItem_InputMethodQuery(void* ptr, long long query) { if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } else { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } } void* QGraphicsItem_InputMethodQueryDefault(void* ptr, long long query) { if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsItemGroup::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsPixmapItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsLineItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsSimpleTextItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsPolygonItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsEllipseItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsRectItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsPathItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QAbstractGraphicsShapeItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsProxyWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsTextItem::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsObject::inputMethodQuery(static_cast(query))); } else { return new QVariant(static_cast(ptr)->QGraphicsItem::inputMethodQuery(static_cast(query))); } } void QGraphicsItem_InstallSceneEventFilter(void* ptr, void* filterItem) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } else if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } else { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } else if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } else { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } } else { if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } else if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } else { static_cast(ptr)->installSceneEventFilter(static_cast(filterItem)); } } } char QGraphicsItem_IsActive(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isActive(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isActive(); } else { return static_cast(ptr)->isActive(); } } char QGraphicsItem_IsAncestorOf(void* ptr, void* child) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(child))) { return static_cast(ptr)->isAncestorOf(static_cast(child)); } else if (dynamic_cast(static_cast(child))) { return static_cast(ptr)->isAncestorOf(static_cast(child)); } else { return static_cast(ptr)->isAncestorOf(static_cast(child)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(child))) { return static_cast(ptr)->isAncestorOf(static_cast(child)); } else if (dynamic_cast(static_cast(child))) { return static_cast(ptr)->isAncestorOf(static_cast(child)); } else { return static_cast(ptr)->isAncestorOf(static_cast(child)); } } else { if (dynamic_cast(static_cast(child))) { return static_cast(ptr)->isAncestorOf(static_cast(child)); } else if (dynamic_cast(static_cast(child))) { return static_cast(ptr)->isAncestorOf(static_cast(child)); } else { return static_cast(ptr)->isAncestorOf(static_cast(child)); } } } char QGraphicsItem_IsClipped(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isClipped(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isClipped(); } else { return static_cast(ptr)->isClipped(); } } char QGraphicsItem_IsEnabled(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isEnabled(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isEnabled(); } else { return static_cast(ptr)->isEnabled(); } } char QGraphicsItem_IsObscured(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isObscured(*static_cast(rect)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isObscured(*static_cast(rect)); } else { return static_cast(ptr)->isObscured(*static_cast(rect)); } } char QGraphicsItem_IsObscured2(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isObscured(x, y, w, h); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isObscured(x, y, w, h); } else { return static_cast(ptr)->isObscured(x, y, w, h); } } char QGraphicsItem_IsObscuredBy(void* ptr, void* item) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->isObscuredBy(static_cast(item)); } } else { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->isObscuredBy(static_cast(item)); } } } char QGraphicsItem_IsObscuredByDefault(void* ptr, void* item) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsItemGroup::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsItemGroup::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsItemGroup::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsPixmapItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsPixmapItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsPixmapItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsLineItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsLineItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsLineItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsSimpleTextItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsSimpleTextItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsSimpleTextItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsPolygonItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsPolygonItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsPolygonItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsEllipseItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsEllipseItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsEllipseItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsRectItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsRectItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsRectItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsPathItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsPathItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsPathItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QAbstractGraphicsShapeItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsProxyWidget::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsProxyWidget::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsProxyWidget::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsWidget::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsWidget::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsWidget::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsTextItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsTextItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsTextItem::isObscuredBy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsObject::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsObject::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsObject::isObscuredBy(static_cast(item)); } } else { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsItem::isObscuredBy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->QGraphicsItem::isObscuredBy(static_cast(item)); } else { return static_cast(ptr)->QGraphicsItem::isObscuredBy(static_cast(item)); } } } char QGraphicsItem_IsPanel(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isPanel(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isPanel(); } else { return static_cast(ptr)->isPanel(); } } char QGraphicsItem_IsSelected(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isSelected(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isSelected(); } else { return static_cast(ptr)->isSelected(); } } char QGraphicsItem_IsUnderMouse(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isUnderMouse(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isUnderMouse(); } else { return static_cast(ptr)->isUnderMouse(); } } char QGraphicsItem_IsVisible(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isVisible(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isVisible(); } else { return static_cast(ptr)->isVisible(); } } char QGraphicsItem_IsVisibleTo(void* ptr, void* parent) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } else { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } else { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } } else { if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } else { return static_cast(ptr)->isVisibleTo(static_cast(parent)); } } } char QGraphicsItem_IsWidget(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isWidget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isWidget(); } else { return static_cast(ptr)->isWidget(); } } char QGraphicsItem_IsWindow(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isWindow(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isWindow(); } else { return static_cast(ptr)->isWindow(); } } void* QGraphicsItem_ItemChange(void* ptr, long long change, void* value) { if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->itemChange(static_cast(change), *static_cast(value))); } else { return new QVariant(static_cast(ptr)->itemChange(static_cast(change), *static_cast(value))); } } void* QGraphicsItem_ItemChangeDefault(void* ptr, long long change, void* value) { if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsItemGroup::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsPixmapItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsLineItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsSimpleTextItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsPolygonItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsEllipseItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsRectItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsPathItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QAbstractGraphicsShapeItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsProxyWidget::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsWidget::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsTextItem::itemChange(static_cast(change), *static_cast(value))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsObject::itemChange(static_cast(change), *static_cast(value))); } else { return new QVariant(static_cast(ptr)->QGraphicsItem::itemChange(static_cast(change), *static_cast(value))); } } void* QGraphicsItem_ItemTransform(void* ptr, void* other, char* ok) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } else if (dynamic_cast(static_cast(other))) { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } else { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(other))) { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } else if (dynamic_cast(static_cast(other))) { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } else { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } } else { if (dynamic_cast(static_cast(other))) { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } else if (dynamic_cast(static_cast(other))) { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } else { return new QTransform(static_cast(ptr)->itemTransform(static_cast(other), reinterpret_cast(ok))); } } } void QGraphicsItem_KeyPressEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->keyPressEvent(static_cast(event)); } else { static_cast(ptr)->keyPressEvent(static_cast(event)); } } void QGraphicsItem_KeyPressEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::keyPressEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::keyPressEvent(static_cast(event)); } } void QGraphicsItem_KeyReleaseEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } else { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } } void QGraphicsItem_KeyReleaseEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::keyReleaseEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::keyReleaseEvent(static_cast(event)); } } void* QGraphicsItem_MapFromItem(void* ptr, void* item, void* point) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } else { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } } void* QGraphicsItem_MapFromItem2(void* ptr, void* item, void* rect) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } } else { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(rect))); } } } void* QGraphicsItem_MapFromItem3(void* ptr, void* item, void* polygon) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } } else { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(polygon))); } } } void* QGraphicsItem_MapFromItem4(void* ptr, void* item, void* path) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } else if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } else if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } } else { if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } else if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapFromItem(static_cast(item), *static_cast(path))); } } } void* QGraphicsItem_MapFromItem5(void* ptr, void* item, double x, double y) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } else { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } } void* QGraphicsItem_MapFromItem6(void* ptr, void* item, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } } else { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapFromItem(static_cast(item), x, y, w, h)); } } } void* QGraphicsItem_MapFromParent(void* ptr, void* point) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromParent(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromParent(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromParent(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_MapFromParent2(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromParent(*static_cast(rect))); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromParent(*static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapFromParent(*static_cast(rect))); } } void* QGraphicsItem_MapFromParent3(void* ptr, void* polygon) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromParent(*static_cast(polygon))); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromParent(*static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapFromParent(*static_cast(polygon))); } } void* QGraphicsItem_MapFromParent4(void* ptr, void* path) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->mapFromParent(*static_cast(path))); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->mapFromParent(*static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapFromParent(*static_cast(path))); } } void* QGraphicsItem_MapFromParent5(void* ptr, double x, double y) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_MapFromParent6(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromParent(x, y, w, h)); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromParent(x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapFromParent(x, y, w, h)); } } void* QGraphicsItem_MapFromScene(void* ptr, void* point) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromScene(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromScene(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromScene(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_MapFromScene2(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromScene(*static_cast(rect))); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromScene(*static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapFromScene(*static_cast(rect))); } } void* QGraphicsItem_MapFromScene3(void* ptr, void* polygon) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromScene(*static_cast(polygon))); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromScene(*static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapFromScene(*static_cast(polygon))); } } void* QGraphicsItem_MapFromScene4(void* ptr, void* path) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->mapFromScene(*static_cast(path))); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->mapFromScene(*static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapFromScene(*static_cast(path))); } } void* QGraphicsItem_MapFromScene5(void* ptr, double x, double y) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapFromScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapFromScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_MapFromScene6(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromScene(x, y, w, h)); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapFromScene(x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapFromScene(x, y, w, h)); } } void* QGraphicsItem_MapRectFromItem(void* ptr, void* item, void* rect) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } else { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } } void* QGraphicsItem_MapRectFromItem2(void* ptr, void* item, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } else { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } } void* QGraphicsItem_MapRectFromParent(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromParent(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromParent(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromParent(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_MapRectFromParent2(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_MapRectFromScene(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromScene(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromScene(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromScene(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_MapRectFromScene2(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectFromScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_MapRectToItem(void* ptr, void* item, void* rect) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } else { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), *static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } } void* QGraphicsItem_MapRectToItem2(void* ptr, void* item, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } else { if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToItem(static_cast(item), x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } } void* QGraphicsItem_MapRectToParent(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToParent(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToParent(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToParent(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_MapRectToParent2(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToParent(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_MapRectToScene(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToScene(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToScene(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToScene(*static_cast(rect)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_MapRectToScene2(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->mapRectToScene(x, y, w, h); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsItem_MapToItem(void* ptr, void* item, void* point) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } else { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), *static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } } void* QGraphicsItem_MapToItem2(void* ptr, void* item, void* rect) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } } else { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(rect))); } } } void* QGraphicsItem_MapToItem3(void* ptr, void* item, void* polygon) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } } else { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(polygon))); } } } void* QGraphicsItem_MapToItem4(void* ptr, void* item, void* path) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } else if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } else if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } } else { if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } else if (dynamic_cast(static_cast(item))) { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapToItem(static_cast(item), *static_cast(path))); } } } void* QGraphicsItem_MapToItem5(void* ptr, void* item, double x, double y) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } else { if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(item))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToItem(static_cast(item), x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } } void* QGraphicsItem_MapToItem6(void* ptr, void* item, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } } else { if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } else if (dynamic_cast(static_cast(item))) { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapToItem(static_cast(item), x, y, w, h)); } } } void* QGraphicsItem_MapToParent(void* ptr, void* point) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToParent(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToParent(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToParent(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_MapToParent2(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToParent(*static_cast(rect))); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToParent(*static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapToParent(*static_cast(rect))); } } void* QGraphicsItem_MapToParent3(void* ptr, void* polygon) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToParent(*static_cast(polygon))); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToParent(*static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapToParent(*static_cast(polygon))); } } void* QGraphicsItem_MapToParent4(void* ptr, void* path) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->mapToParent(*static_cast(path))); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->mapToParent(*static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapToParent(*static_cast(path))); } } void* QGraphicsItem_MapToParent5(void* ptr, double x, double y) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToParent(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_MapToParent6(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToParent(x, y, w, h)); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToParent(x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapToParent(x, y, w, h)); } } void* QGraphicsItem_MapToScene(void* ptr, void* point) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToScene(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToScene(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToScene(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_MapToScene2(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToScene(*static_cast(rect))); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToScene(*static_cast(rect))); } else { return new QPolygonF(static_cast(ptr)->mapToScene(*static_cast(rect))); } } void* QGraphicsItem_MapToScene3(void* ptr, void* polygon) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToScene(*static_cast(polygon))); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToScene(*static_cast(polygon))); } else { return new QPolygonF(static_cast(ptr)->mapToScene(*static_cast(polygon))); } } void* QGraphicsItem_MapToScene4(void* ptr, void* path) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->mapToScene(*static_cast(path))); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->mapToScene(*static_cast(path))); } else { return new QPainterPath(static_cast(ptr)->mapToScene(*static_cast(path))); } } void* QGraphicsItem_MapToScene5(void* ptr, double x, double y) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->mapToScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->mapToScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_MapToScene6(void* ptr, double x, double y, double w, double h) { if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToScene(x, y, w, h)); } else if (dynamic_cast(static_cast(ptr))) { return new QPolygonF(static_cast(ptr)->mapToScene(x, y, w, h)); } else { return new QPolygonF(static_cast(ptr)->mapToScene(x, y, w, h)); } } void QGraphicsItem_MouseDoubleClickEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } else { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } } void QGraphicsItem_MouseDoubleClickEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::mouseDoubleClickEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::mouseDoubleClickEvent(static_cast(event)); } } void QGraphicsItem_MouseMoveEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } else { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } } void QGraphicsItem_MouseMoveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::mouseMoveEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::mouseMoveEvent(static_cast(event)); } } void QGraphicsItem_MousePressEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->mousePressEvent(static_cast(event)); } else { static_cast(ptr)->mousePressEvent(static_cast(event)); } } void QGraphicsItem_MousePressEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::mousePressEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::mousePressEvent(static_cast(event)); } } void QGraphicsItem_MouseReleaseEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } else { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } } void QGraphicsItem_MouseReleaseEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::mouseReleaseEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::mouseReleaseEvent(static_cast(event)); } } void QGraphicsItem_MoveBy(void* ptr, double dx, double dy) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->moveBy(dx, dy); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->moveBy(dx, dy); } else { static_cast(ptr)->moveBy(dx, dy); } } double QGraphicsItem_Opacity(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->opacity(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->opacity(); } else { return static_cast(ptr)->opacity(); } } void* QGraphicsItem_OpaqueArea(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->opaqueArea()); } else { return new QPainterPath(static_cast(ptr)->opaqueArea()); } } void* QGraphicsItem_OpaqueAreaDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsItemGroup::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsPixmapItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsLineItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsSimpleTextItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsPolygonItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsEllipseItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsRectItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsPathItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QAbstractGraphicsShapeItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsProxyWidget::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsWidget::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsTextItem::opaqueArea()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsObject::opaqueArea()); } else { return new QPainterPath(static_cast(ptr)->QGraphicsItem::opaqueArea()); } } void QGraphicsItem_Paint(void* ptr, void* painter, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } else { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } } void* QGraphicsItem_Panel(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->panel(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->panel(); } else { return static_cast(ptr)->panel(); } } long long QGraphicsItem_PanelModality(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->panelModality(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->panelModality(); } else { return static_cast(ptr)->panelModality(); } } void* QGraphicsItem_ParentItem(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->parentItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->parentItem(); } else { return static_cast(ptr)->parentItem(); } } void* QGraphicsItem_ParentObject(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->parentObject(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->parentObject(); } else { return static_cast(ptr)->parentObject(); } } void* QGraphicsItem_ParentWidget(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->parentWidget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->parentWidget(); } else { return static_cast(ptr)->parentWidget(); } } void* QGraphicsItem_Pos(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void QGraphicsItem_PrepareGeometryChange(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->prepareGeometryChange(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->prepareGeometryChange(); } else { static_cast(ptr)->prepareGeometryChange(); } } void QGraphicsItem_RemoveSceneEventFilter(void* ptr, void* filterItem) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } else if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } else { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } else if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } else { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } } else { if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } else if (dynamic_cast(static_cast(filterItem))) { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } else { static_cast(ptr)->removeSceneEventFilter(static_cast(filterItem)); } } } void QGraphicsItem_ResetTransform(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->resetTransform(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->resetTransform(); } else { static_cast(ptr)->resetTransform(); } } double QGraphicsItem_Rotation(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->rotation(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->rotation(); } else { return static_cast(ptr)->rotation(); } } double QGraphicsItem_Scale2(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->scale(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->scale(); } else { return static_cast(ptr)->scale(); } } void* QGraphicsItem_Scene(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->scene(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->scene(); } else { return static_cast(ptr)->scene(); } } void* QGraphicsItem_SceneBoundingRect(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->sceneBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->sceneBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->sceneBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } char QGraphicsItem_SceneEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->sceneEvent(static_cast(event)); } else { return static_cast(ptr)->sceneEvent(static_cast(event)); } } char QGraphicsItem_SceneEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsItemGroup::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPixmapItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsLineItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsSimpleTextItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPolygonItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsEllipseItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsRectItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPathItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsWidget::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsTextItem::sceneEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsObject::sceneEvent(static_cast(event)); } else { return static_cast(ptr)->QGraphicsItem::sceneEvent(static_cast(event)); } } char QGraphicsItem_SceneEventFilter(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->sceneEventFilter(static_cast(watched), static_cast(event)); } } } char QGraphicsItem_SceneEventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsItemGroup::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsItemGroup::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsItemGroup::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsPixmapItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsPixmapItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsPixmapItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsLineItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsLineItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsLineItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsSimpleTextItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsSimpleTextItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsSimpleTextItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsPolygonItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsPolygonItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsPolygonItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsEllipseItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsEllipseItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsEllipseItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsRectItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsRectItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsRectItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsPathItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsPathItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsPathItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QAbstractGraphicsShapeItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsProxyWidget::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsProxyWidget::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsProxyWidget::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsWidget::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsWidget::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsWidget::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTextItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTextItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsTextItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsObject::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsObject::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsObject::sceneEventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsItem::sceneEventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsItem::sceneEventFilter(static_cast(watched), static_cast(event)); } } } void* QGraphicsItem_ScenePos(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void* QGraphicsItem_SceneTransform(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QTransform(static_cast(ptr)->sceneTransform()); } else if (dynamic_cast(static_cast(ptr))) { return new QTransform(static_cast(ptr)->sceneTransform()); } else { return new QTransform(static_cast(ptr)->sceneTransform()); } } void QGraphicsItem_Scroll(void* ptr, double dx, double dy, void* rect) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->scroll(dx, dy, *static_cast(rect)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->scroll(dx, dy, *static_cast(rect)); } else { static_cast(ptr)->scroll(dx, dy, *static_cast(rect)); } } void QGraphicsItem_SetAcceptDrops(void* ptr, char on) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAcceptDrops(on != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAcceptDrops(on != 0); } else { static_cast(ptr)->setAcceptDrops(on != 0); } } void QGraphicsItem_SetAcceptHoverEvents(void* ptr, char enabled) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAcceptHoverEvents(enabled != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAcceptHoverEvents(enabled != 0); } else { static_cast(ptr)->setAcceptHoverEvents(enabled != 0); } } void QGraphicsItem_SetAcceptTouchEvents(void* ptr, char enabled) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAcceptTouchEvents(enabled != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAcceptTouchEvents(enabled != 0); } else { static_cast(ptr)->setAcceptTouchEvents(enabled != 0); } } void QGraphicsItem_SetAcceptedMouseButtons(void* ptr, long long buttons) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAcceptedMouseButtons(static_cast(buttons)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAcceptedMouseButtons(static_cast(buttons)); } else { static_cast(ptr)->setAcceptedMouseButtons(static_cast(buttons)); } } void QGraphicsItem_SetActive(void* ptr, char active) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setActive(active != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setActive(active != 0); } else { static_cast(ptr)->setActive(active != 0); } } void QGraphicsItem_SetBoundingRegionGranularity(void* ptr, double granularity) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setBoundingRegionGranularity(granularity); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setBoundingRegionGranularity(granularity); } else { static_cast(ptr)->setBoundingRegionGranularity(granularity); } } void QGraphicsItem_SetCacheMode(void* ptr, long long mode, void* logicalCacheSize) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setCacheMode(static_cast(mode), *static_cast(logicalCacheSize)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setCacheMode(static_cast(mode), *static_cast(logicalCacheSize)); } else { static_cast(ptr)->setCacheMode(static_cast(mode), *static_cast(logicalCacheSize)); } } void QGraphicsItem_SetCursor(void* ptr, void* cursor) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setCursor(*static_cast(cursor)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setCursor(*static_cast(cursor)); } else { static_cast(ptr)->setCursor(*static_cast(cursor)); } } void QGraphicsItem_SetData(void* ptr, int key, void* value) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setData(key, *static_cast(value)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setData(key, *static_cast(value)); } else { static_cast(ptr)->setData(key, *static_cast(value)); } } void QGraphicsItem_SetEnabled(void* ptr, char enabled) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setEnabled(enabled != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setEnabled(enabled != 0); } else { static_cast(ptr)->setEnabled(enabled != 0); } } void QGraphicsItem_SetFiltersChildEvents(void* ptr, char enabled) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setFiltersChildEvents(enabled != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setFiltersChildEvents(enabled != 0); } else { static_cast(ptr)->setFiltersChildEvents(enabled != 0); } } void QGraphicsItem_SetFlag(void* ptr, long long flag, char enabled) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setFlag(static_cast(flag), enabled != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setFlag(static_cast(flag), enabled != 0); } else { static_cast(ptr)->setFlag(static_cast(flag), enabled != 0); } } void QGraphicsItem_SetFlags(void* ptr, long long flags) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setFlags(static_cast(flags)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setFlags(static_cast(flags)); } else { static_cast(ptr)->setFlags(static_cast(flags)); } } void QGraphicsItem_SetFocus(void* ptr, long long focusReason) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setFocus(static_cast(focusReason)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setFocus(static_cast(focusReason)); } else { static_cast(ptr)->setFocus(static_cast(focusReason)); } } void QGraphicsItem_SetFocusProxy(void* ptr, void* item) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setFocusProxy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setFocusProxy(static_cast(item)); } else { static_cast(ptr)->setFocusProxy(static_cast(item)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setFocusProxy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setFocusProxy(static_cast(item)); } else { static_cast(ptr)->setFocusProxy(static_cast(item)); } } else { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setFocusProxy(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setFocusProxy(static_cast(item)); } else { static_cast(ptr)->setFocusProxy(static_cast(item)); } } } void QGraphicsItem_SetGraphicsEffect(void* ptr, void* effect) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setGraphicsEffect(static_cast(effect)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setGraphicsEffect(static_cast(effect)); } else { static_cast(ptr)->setGraphicsEffect(static_cast(effect)); } } void QGraphicsItem_SetGroup(void* ptr, void* group) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setGroup(static_cast(group)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setGroup(static_cast(group)); } else { static_cast(ptr)->setGroup(static_cast(group)); } } void QGraphicsItem_SetInputMethodHints(void* ptr, long long hints) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setInputMethodHints(static_cast(hints)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setInputMethodHints(static_cast(hints)); } else { static_cast(ptr)->setInputMethodHints(static_cast(hints)); } } void QGraphicsItem_SetOpacity(void* ptr, double opacity) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setOpacity(opacity); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setOpacity(opacity); } else { static_cast(ptr)->setOpacity(opacity); } } void QGraphicsItem_SetPanelModality(void* ptr, long long panelModality) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPanelModality(static_cast(panelModality)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPanelModality(static_cast(panelModality)); } else { static_cast(ptr)->setPanelModality(static_cast(panelModality)); } } void QGraphicsItem_SetParentItem(void* ptr, void* newParent) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(newParent))) { static_cast(ptr)->setParentItem(static_cast(newParent)); } else if (dynamic_cast(static_cast(newParent))) { static_cast(ptr)->setParentItem(static_cast(newParent)); } else { static_cast(ptr)->setParentItem(static_cast(newParent)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(newParent))) { static_cast(ptr)->setParentItem(static_cast(newParent)); } else if (dynamic_cast(static_cast(newParent))) { static_cast(ptr)->setParentItem(static_cast(newParent)); } else { static_cast(ptr)->setParentItem(static_cast(newParent)); } } else { if (dynamic_cast(static_cast(newParent))) { static_cast(ptr)->setParentItem(static_cast(newParent)); } else if (dynamic_cast(static_cast(newParent))) { static_cast(ptr)->setParentItem(static_cast(newParent)); } else { static_cast(ptr)->setParentItem(static_cast(newParent)); } } } void QGraphicsItem_SetPos(void* ptr, void* pos) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPos(*static_cast(pos)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPos(*static_cast(pos)); } else { static_cast(ptr)->setPos(*static_cast(pos)); } } void QGraphicsItem_SetPos2(void* ptr, double x, double y) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPos(x, y); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPos(x, y); } else { static_cast(ptr)->setPos(x, y); } } void QGraphicsItem_SetRotation(void* ptr, double angle) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setRotation(angle); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setRotation(angle); } else { static_cast(ptr)->setRotation(angle); } } void QGraphicsItem_SetScale(void* ptr, double factor) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setScale(factor); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setScale(factor); } else { static_cast(ptr)->setScale(factor); } } void QGraphicsItem_SetSelected(void* ptr, char selected) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setSelected(selected != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setSelected(selected != 0); } else { static_cast(ptr)->setSelected(selected != 0); } } void QGraphicsItem_SetToolTip(void* ptr, struct QtWidgets_PackedString toolTip) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setToolTip(QString::fromUtf8(toolTip.data, toolTip.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setToolTip(QString::fromUtf8(toolTip.data, toolTip.len)); } else { static_cast(ptr)->setToolTip(QString::fromUtf8(toolTip.data, toolTip.len)); } } void QGraphicsItem_SetTransform(void* ptr, void* matrix, char combine) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransform(*static_cast(matrix), combine != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransform(*static_cast(matrix), combine != 0); } else { static_cast(ptr)->setTransform(*static_cast(matrix), combine != 0); } } void QGraphicsItem_SetTransformOriginPoint(void* ptr, void* origin) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransformOriginPoint(*static_cast(origin)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransformOriginPoint(*static_cast(origin)); } else { static_cast(ptr)->setTransformOriginPoint(*static_cast(origin)); } } void QGraphicsItem_SetTransformOriginPoint2(void* ptr, double x, double y) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransformOriginPoint(x, y); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransformOriginPoint(x, y); } else { static_cast(ptr)->setTransformOriginPoint(x, y); } } void QGraphicsItem_SetTransformations(void* ptr, void* transformations) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransformations(*static_cast*>(transformations)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransformations(*static_cast*>(transformations)); } else { static_cast(ptr)->setTransformations(*static_cast*>(transformations)); } } void QGraphicsItem_SetVisible(void* ptr, char visible) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setVisible(visible != 0); } else { static_cast(ptr)->setVisible(visible != 0); } } void QGraphicsItem_SetX(void* ptr, double x) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setX(x); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setX(x); } else { static_cast(ptr)->setX(x); } } void QGraphicsItem_SetY(void* ptr, double y) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setY(y); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setY(y); } else { static_cast(ptr)->setY(y); } } void QGraphicsItem_SetZValue(void* ptr, double z) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setZValue(z); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setZValue(z); } else { static_cast(ptr)->setZValue(z); } } void* QGraphicsItem_Shape(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->shape()); } else { return new QPainterPath(static_cast(ptr)->shape()); } } void* QGraphicsItem_ShapeDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsItemGroup::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsPixmapItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsLineItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsSimpleTextItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsPolygonItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsEllipseItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsRectItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsPathItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QAbstractGraphicsShapeItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsProxyWidget::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsWidget::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsTextItem::shape()); } else if (dynamic_cast(static_cast(ptr))) { return new QPainterPath(static_cast(ptr)->QGraphicsObject::shape()); } else { return new QPainterPath(static_cast(ptr)->QGraphicsItem::shape()); } } void QGraphicsItem_Show(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->show(); } else { static_cast(ptr)->show(); } } void QGraphicsItem_StackBefore(void* ptr, void* sibling) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(sibling))) { static_cast(ptr)->stackBefore(static_cast(sibling)); } else if (dynamic_cast(static_cast(sibling))) { static_cast(ptr)->stackBefore(static_cast(sibling)); } else { static_cast(ptr)->stackBefore(static_cast(sibling)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(sibling))) { static_cast(ptr)->stackBefore(static_cast(sibling)); } else if (dynamic_cast(static_cast(sibling))) { static_cast(ptr)->stackBefore(static_cast(sibling)); } else { static_cast(ptr)->stackBefore(static_cast(sibling)); } } else { if (dynamic_cast(static_cast(sibling))) { static_cast(ptr)->stackBefore(static_cast(sibling)); } else if (dynamic_cast(static_cast(sibling))) { static_cast(ptr)->stackBefore(static_cast(sibling)); } else { static_cast(ptr)->stackBefore(static_cast(sibling)); } } } void* QGraphicsItem_ToGraphicsObject(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->toGraphicsObject(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->toGraphicsObject(); } else { return static_cast(ptr)->toGraphicsObject(); } } void* QGraphicsItem_ToGraphicsObject2(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->toGraphicsObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->toGraphicsObject()); } else { return const_cast(static_cast(ptr)->toGraphicsObject()); } } struct QtWidgets_PackedString QGraphicsItem_ToolTip(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QByteArray* t7daf65 = new QByteArray(static_cast(ptr)->toolTip().toUtf8()); QtWidgets_PackedString { const_cast(t7daf65->prepend("WHITESPACE").constData()+10), t7daf65->size()-10, t7daf65 }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QByteArray* t7daf65 = new QByteArray(static_cast(ptr)->toolTip().toUtf8()); QtWidgets_PackedString { const_cast(t7daf65->prepend("WHITESPACE").constData()+10), t7daf65->size()-10, t7daf65 }; }); } else { return ({ QByteArray* t7daf65 = new QByteArray(static_cast(ptr)->toolTip().toUtf8()); QtWidgets_PackedString { const_cast(t7daf65->prepend("WHITESPACE").constData()+10), t7daf65->size()-10, t7daf65 }; }); } } void* QGraphicsItem_TopLevelItem(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->topLevelItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->topLevelItem(); } else { return static_cast(ptr)->topLevelItem(); } } void* QGraphicsItem_TopLevelWidget(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->topLevelWidget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->topLevelWidget(); } else { return static_cast(ptr)->topLevelWidget(); } } void* QGraphicsItem_Transform(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QTransform(static_cast(ptr)->transform()); } else if (dynamic_cast(static_cast(ptr))) { return new QTransform(static_cast(ptr)->transform()); } else { return new QTransform(static_cast(ptr)->transform()); } } void* QGraphicsItem_TransformOriginPoint(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); }); } } struct QtWidgets_PackedList QGraphicsItem_Transformations(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValueda467b = new QList(static_cast(ptr)->transformations()); QtWidgets_PackedList { tmpValueda467b, tmpValueda467b->size() }; }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QList* tmpValueda467b = new QList(static_cast(ptr)->transformations()); QtWidgets_PackedList { tmpValueda467b, tmpValueda467b->size() }; }); } else { return ({ QList* tmpValueda467b = new QList(static_cast(ptr)->transformations()); QtWidgets_PackedList { tmpValueda467b, tmpValueda467b->size() }; }); } } int QGraphicsItem_Type(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->type(); } else { return static_cast(ptr)->type(); } } int QGraphicsItem_TypeDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsItemGroup::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPixmapItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsLineItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsSimpleTextItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPolygonItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsEllipseItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsRectItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsPathItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractGraphicsShapeItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsWidget::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsTextItem::type(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsObject::type(); } else { return static_cast(ptr)->QGraphicsItem::type(); } } void QGraphicsItem_UngrabKeyboard(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ungrabKeyboard(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ungrabKeyboard(); } else { static_cast(ptr)->ungrabKeyboard(); } } void QGraphicsItem_UngrabMouse(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ungrabMouse(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ungrabMouse(); } else { static_cast(ptr)->ungrabMouse(); } } void QGraphicsItem_UnsetCursor(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->unsetCursor(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->unsetCursor(); } else { static_cast(ptr)->unsetCursor(); } } void QGraphicsItem_Update(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->update(*static_cast(rect)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->update(*static_cast(rect)); } else { static_cast(ptr)->update(*static_cast(rect)); } } void QGraphicsItem_Update2(void* ptr, double x, double y, double width, double height) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->update(x, y, width, height); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->update(x, y, width, height); } else { static_cast(ptr)->update(x, y, width, height); } } void QGraphicsItem_WheelEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->wheelEvent(static_cast(event)); } else { static_cast(ptr)->wheelEvent(static_cast(event)); } } void QGraphicsItem_WheelEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsItemGroup::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPixmapItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLineItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsSimpleTextItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPolygonItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsEllipseItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRectItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsPathItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractGraphicsShapeItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsObject::wheelEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsItem::wheelEvent(static_cast(event)); } } void* QGraphicsItem_Window(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->window(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->window(); } else { return static_cast(ptr)->window(); } } double QGraphicsItem_X(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->x(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->x(); } else { return static_cast(ptr)->x(); } } double QGraphicsItem_Y(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->y(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->y(); } else { return static_cast(ptr)->y(); } } double QGraphicsItem_ZValue(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->zValue(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->zValue(); } else { return static_cast(ptr)->zValue(); } } void QGraphicsItem_DestroyQGraphicsItem(void* ptr) { static_cast(ptr)->~QGraphicsItem(); } void QGraphicsItem_DestroyQGraphicsItemDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsItem___childItems_atList(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } } void QGraphicsItem___childItems_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } } void* QGraphicsItem___childItems_newList(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } void* QGraphicsItem___children_atList(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } } void QGraphicsItem___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } } void* QGraphicsItem___children_newList(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } void* QGraphicsItem___collidingItems_atList(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } } void QGraphicsItem___collidingItems_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } } void* QGraphicsItem___collidingItems_newList(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } void* QGraphicsItem___setTransformations_transformations_atList(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsTransform * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsTransform * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else { return ({QGraphicsTransform * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } } void QGraphicsItem___setTransformations_transformations_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(ptr))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsItem___setTransformations_transformations_newList(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } void* QGraphicsItem___transformations_atList(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsTransform * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else if (dynamic_cast(static_cast(ptr))) { return ({QGraphicsTransform * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else { return ({QGraphicsTransform * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } } void QGraphicsItem___transformations_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(ptr))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsItem___transformations_newList(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } class MyQGraphicsItemAnimation: public QGraphicsItemAnimation { public: MyQGraphicsItemAnimation(QObject *parent = Q_NULLPTR) : QGraphicsItemAnimation(parent) {QGraphicsItemAnimation_QGraphicsItemAnimation_QRegisterMetaType();}; void afterAnimationStep(qreal step) { callbackQGraphicsItemAnimation_AfterAnimationStep(this, step); }; void beforeAnimationStep(qreal step) { callbackQGraphicsItemAnimation_BeforeAnimationStep(this, step); }; void setStep(qreal step) { callbackQGraphicsItemAnimation_SetStep(this, step); }; ~MyQGraphicsItemAnimation() { callbackQGraphicsItemAnimation_DestroyQGraphicsItemAnimation(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsItemAnimation_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsItemAnimation_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsItemAnimation_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsItemAnimation_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsItemAnimation_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsItemAnimation_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsItemAnimation_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsItemAnimation_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsItemAnimation_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsItemAnimation_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsItemAnimation_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsItemAnimation*) Q_DECLARE_METATYPE(MyQGraphicsItemAnimation*) int QGraphicsItemAnimation_QGraphicsItemAnimation_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsItemAnimation_NewQGraphicsItemAnimation(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemAnimation(static_cast(parent)); } else { return new MyQGraphicsItemAnimation(static_cast(parent)); } } void QGraphicsItemAnimation_AfterAnimationStep(void* ptr, double step) { static_cast(ptr)->afterAnimationStep(step); } void QGraphicsItemAnimation_AfterAnimationStepDefault(void* ptr, double step) { static_cast(ptr)->QGraphicsItemAnimation::afterAnimationStep(step); } void QGraphicsItemAnimation_BeforeAnimationStep(void* ptr, double step) { static_cast(ptr)->beforeAnimationStep(step); } void QGraphicsItemAnimation_BeforeAnimationStepDefault(void* ptr, double step) { static_cast(ptr)->QGraphicsItemAnimation::beforeAnimationStep(step); } void QGraphicsItemAnimation_Clear(void* ptr) { static_cast(ptr)->clear(); } double QGraphicsItemAnimation_HorizontalScaleAt(void* ptr, double step) { return static_cast(ptr)->horizontalScaleAt(step); } double QGraphicsItemAnimation_HorizontalShearAt(void* ptr, double step) { return static_cast(ptr)->horizontalShearAt(step); } void* QGraphicsItemAnimation_Item(void* ptr) { return static_cast(ptr)->item(); } void* QGraphicsItemAnimation_MatrixAt(void* ptr, double step) { return new QMatrix(static_cast(ptr)->matrixAt(step)); } void* QGraphicsItemAnimation_PosAt(void* ptr, double step) { return ({ QPointF tmpValue = static_cast(ptr)->posAt(step); new QPointF(tmpValue.x(), tmpValue.y()); }); } double QGraphicsItemAnimation_RotationAt(void* ptr, double step) { return static_cast(ptr)->rotationAt(step); } void QGraphicsItemAnimation_SetItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setItem(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setItem(static_cast(item)); } else { static_cast(ptr)->setItem(static_cast(item)); } } void QGraphicsItemAnimation_SetPosAt(void* ptr, double step, void* point) { static_cast(ptr)->setPosAt(step, *static_cast(point)); } void QGraphicsItemAnimation_SetRotationAt(void* ptr, double step, double angle) { static_cast(ptr)->setRotationAt(step, angle); } void QGraphicsItemAnimation_SetScaleAt(void* ptr, double step, double sx, double sy) { static_cast(ptr)->setScaleAt(step, sx, sy); } void QGraphicsItemAnimation_SetShearAt(void* ptr, double step, double sh, double sv) { static_cast(ptr)->setShearAt(step, sh, sv); } void QGraphicsItemAnimation_SetStep(void* ptr, double step) { QMetaObject::invokeMethod(static_cast(ptr), "setStep", Q_ARG(qreal, step)); } void QGraphicsItemAnimation_SetStepDefault(void* ptr, double step) { static_cast(ptr)->QGraphicsItemAnimation::setStep(step); } void QGraphicsItemAnimation_SetTimeLine(void* ptr, void* timeLine) { static_cast(ptr)->setTimeLine(static_cast(timeLine)); } void QGraphicsItemAnimation_SetTranslationAt(void* ptr, double step, double dx, double dy) { static_cast(ptr)->setTranslationAt(step, dx, dy); } void* QGraphicsItemAnimation_TimeLine(void* ptr) { return static_cast(ptr)->timeLine(); } double QGraphicsItemAnimation_VerticalScaleAt(void* ptr, double step) { return static_cast(ptr)->verticalScaleAt(step); } double QGraphicsItemAnimation_VerticalShearAt(void* ptr, double step) { return static_cast(ptr)->verticalShearAt(step); } double QGraphicsItemAnimation_XTranslationAt(void* ptr, double step) { return static_cast(ptr)->xTranslationAt(step); } double QGraphicsItemAnimation_YTranslationAt(void* ptr, double step) { return static_cast(ptr)->yTranslationAt(step); } void QGraphicsItemAnimation_DestroyQGraphicsItemAnimation(void* ptr) { static_cast(ptr)->~QGraphicsItemAnimation(); } void QGraphicsItemAnimation_DestroyQGraphicsItemAnimationDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsItemAnimation___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsItemAnimation___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsItemAnimation___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsItemAnimation___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QGraphicsItemAnimation___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGraphicsItemAnimation___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsItemAnimation___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsItemAnimation___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsItemAnimation___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsItemAnimation___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsItemAnimation___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsItemAnimation___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QGraphicsItemAnimation_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsItemAnimation::childEvent(static_cast(event)); } void QGraphicsItemAnimation_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGraphicsItemAnimation::connectNotify(*static_cast(sign)); } void QGraphicsItemAnimation_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsItemAnimation::customEvent(static_cast(event)); } void QGraphicsItemAnimation_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QGraphicsItemAnimation::deleteLater(); } void QGraphicsItemAnimation_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGraphicsItemAnimation::disconnectNotify(*static_cast(sign)); } char QGraphicsItemAnimation_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QGraphicsItemAnimation::event(static_cast(e)); } char QGraphicsItemAnimation_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsItemAnimation::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsItemAnimation::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsItemAnimation::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsItemAnimation::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsItemAnimation::eventFilter(static_cast(watched), static_cast(event)); } } void* QGraphicsItemAnimation_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QGraphicsItemAnimation::metaObject()); } void QGraphicsItemAnimation_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsItemAnimation::timerEvent(static_cast(event)); } class MyQGraphicsItemGroup: public QGraphicsItemGroup { public: MyQGraphicsItemGroup(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsItemGroup(parent) {QGraphicsItemGroup_QGraphicsItemGroup_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsItemGroup_BoundingRect(const_cast(static_cast(this)))); }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsItemGroup_Paint(this, painter, const_cast(option), widget); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsItemGroup() { callbackQGraphicsItemGroup_DestroyQGraphicsItemGroup(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsItemGroup*) Q_DECLARE_METATYPE(MyQGraphicsItemGroup*) int QGraphicsItemGroup_QGraphicsItemGroup_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsItemGroup_NewQGraphicsItemGroup(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsItemGroup(static_cast(parent)); } else { return new MyQGraphicsItemGroup(static_cast(parent)); } } void QGraphicsItemGroup_AddToGroup(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addToGroup(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addToGroup(static_cast(item)); } else { static_cast(ptr)->addToGroup(static_cast(item)); } } void* QGraphicsItemGroup_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsItemGroup_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsItemGroup::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsItemGroup_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsItemGroup_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsItemGroup::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsItemGroup_RemoveFromGroup(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->removeFromGroup(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->removeFromGroup(static_cast(item)); } else { static_cast(ptr)->removeFromGroup(static_cast(item)); } } void QGraphicsItemGroup_DestroyQGraphicsItemGroup(void* ptr) { static_cast(ptr)->~QGraphicsItemGroup(); } void QGraphicsItemGroup_DestroyQGraphicsItemGroupDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsLayout: public QGraphicsLayout { public: MyQGraphicsLayout(QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsLayout(parent) {QGraphicsLayout_QGraphicsLayout_QRegisterMetaType();}; int count() const { return callbackQGraphicsLayout_Count(const_cast(static_cast(this))); }; void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast(static_cast(this)), *left, *top, *right, *bottom); }; void invalidate() { callbackQGraphicsLayout_Invalidate(this); }; QGraphicsLayoutItem * itemAt(int i) const { return static_cast(callbackQGraphicsLayout_ItemAt(const_cast(static_cast(this)), i)); }; void removeAt(int index) { callbackQGraphicsLayout_RemoveAt(this, index); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; void widgetEvent(QEvent * e) { callbackQGraphicsLayout_WidgetEvent(this, e); }; ~MyQGraphicsLayout() { callbackQGraphicsLayout_DestroyQGraphicsLayout(this); }; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast(callbackQGraphicsLayout_SizeHint(const_cast(static_cast(this)), which, const_cast(&constraint))); }; }; Q_DECLARE_METATYPE(QGraphicsLayout*) Q_DECLARE_METATYPE(MyQGraphicsLayout*) int QGraphicsLayout_QGraphicsLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsLayout_NewQGraphicsLayout(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLayout(static_cast(parent)); } else { return new MyQGraphicsLayout(static_cast(parent)); } } void QGraphicsLayout_Activate(void* ptr) { static_cast(ptr)->activate(); } void QGraphicsLayout_AddChildLayoutItem(void* ptr, void* layoutItem) { if (dynamic_cast(static_cast(layoutItem))) { static_cast(ptr)->addChildLayoutItem(static_cast(layoutItem)); } else { static_cast(ptr)->addChildLayoutItem(static_cast(layoutItem)); } } int QGraphicsLayout_Count(void* ptr) { return static_cast(ptr)->count(); } void QGraphicsLayout_Invalidate(void* ptr) { static_cast(ptr)->invalidate(); } void QGraphicsLayout_InvalidateDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLinearLayout::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsGridLayout::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsAnchorLayout::invalidate(); } else { static_cast(ptr)->QGraphicsLayout::invalidate(); } } char QGraphicsLayout_IsActivated(void* ptr) { return static_cast(ptr)->isActivated(); } void* QGraphicsLayout_ItemAt(void* ptr, int i) { return static_cast(ptr)->itemAt(i); } void QGraphicsLayout_RemoveAt(void* ptr, int index) { static_cast(ptr)->removeAt(index); } void QGraphicsLayout_SetContentsMargins(void* ptr, double left, double top, double right, double bottom) { static_cast(ptr)->setContentsMargins(left, top, right, bottom); } void QGraphicsLayout_WidgetEvent(void* ptr, void* e) { static_cast(ptr)->widgetEvent(static_cast(e)); } void QGraphicsLayout_WidgetEventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLinearLayout::widgetEvent(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsGridLayout::widgetEvent(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsAnchorLayout::widgetEvent(static_cast(e)); } else { static_cast(ptr)->QGraphicsLayout::widgetEvent(static_cast(e)); } } void QGraphicsLayout_DestroyQGraphicsLayout(void* ptr) { static_cast(ptr)->~QGraphicsLayout(); } void QGraphicsLayout_DestroyQGraphicsLayoutDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsLayout_SizeHint(void* ptr, long long which, void* constraint) { return ({ QSizeF tmpValue = static_cast(ptr)->sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void* QGraphicsLayout_SizeHintDefault(void* ptr, long long which, void* constraint) { if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->QGraphicsLinearLayout::sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->QGraphicsGridLayout::sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->QGraphicsAnchorLayout::sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else { } } class MyQGraphicsLayoutItem: public QGraphicsLayoutItem { public: MyQGraphicsLayoutItem(QGraphicsLayoutItem *parent = Q_NULLPTR, bool isLayout = false) : QGraphicsLayoutItem(parent, isLayout) {QGraphicsLayoutItem_QGraphicsLayoutItem_QRegisterMetaType();}; void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast(static_cast(this)), *left, *top, *right, *bottom); }; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast(callbackQGraphicsLayoutItem_SizeHint(const_cast(static_cast(this)), which, const_cast(&constraint))); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; ~MyQGraphicsLayoutItem() { callbackQGraphicsLayoutItem_DestroyQGraphicsLayoutItem(this); }; }; Q_DECLARE_METATYPE(QGraphicsLayoutItem*) Q_DECLARE_METATYPE(MyQGraphicsLayoutItem*) int QGraphicsLayoutItem_QGraphicsLayoutItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsLayoutItem_NewQGraphicsLayoutItem(void* parent, char isLayout) { return new MyQGraphicsLayoutItem(static_cast(parent), isLayout != 0); } void* QGraphicsLayoutItem_ContentsRect(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->contentsRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->contentsRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsLayoutItem_EffectiveSizeHint(void* ptr, long long which, void* constraint) { if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->effectiveSizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSizeF tmpValue = static_cast(ptr)->effectiveSizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsLayoutItem_Geometry(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->geometry(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->geometry(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void QGraphicsLayoutItem_GetContentsMargins(void* ptr, double left, double top, double right, double bottom) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->getContentsMargins(&left, &top, &right, &bottom); } else { static_cast(ptr)->getContentsMargins(&left, &top, &right, &bottom); } } void QGraphicsLayoutItem_GetContentsMarginsDefault(void* ptr, double left, double top, double right, double bottom) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::getContentsMargins(&left, &top, &right, &bottom); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::getContentsMargins(&left, &top, &right, &bottom); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLinearLayout::getContentsMargins(&left, &top, &right, &bottom); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsGridLayout::getContentsMargins(&left, &top, &right, &bottom); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsAnchorLayout::getContentsMargins(&left, &top, &right, &bottom); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLayout::getContentsMargins(&left, &top, &right, &bottom); } else { static_cast(ptr)->QGraphicsLayoutItem::getContentsMargins(&left, &top, &right, &bottom); } } void* QGraphicsLayoutItem_GraphicsItem(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->graphicsItem(); } else { return static_cast(ptr)->graphicsItem(); } } char QGraphicsLayoutItem_IsLayout(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isLayout(); } else { return static_cast(ptr)->isLayout(); } } double QGraphicsLayoutItem_MaximumHeight(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->maximumHeight(); } else { return static_cast(ptr)->maximumHeight(); } } void* QGraphicsLayoutItem_MaximumSize(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->maximumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSizeF tmpValue = static_cast(ptr)->maximumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } } double QGraphicsLayoutItem_MaximumWidth(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->maximumWidth(); } else { return static_cast(ptr)->maximumWidth(); } } double QGraphicsLayoutItem_MinimumHeight(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->minimumHeight(); } else { return static_cast(ptr)->minimumHeight(); } } void* QGraphicsLayoutItem_MinimumSize(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->minimumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSizeF tmpValue = static_cast(ptr)->minimumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } } double QGraphicsLayoutItem_MinimumWidth(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->minimumWidth(); } else { return static_cast(ptr)->minimumWidth(); } } char QGraphicsLayoutItem_OwnedByLayout(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->ownedByLayout(); } else { return static_cast(ptr)->ownedByLayout(); } } void* QGraphicsLayoutItem_ParentLayoutItem(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->parentLayoutItem(); } else { return static_cast(ptr)->parentLayoutItem(); } } double QGraphicsLayoutItem_PreferredHeight(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->preferredHeight(); } else { return static_cast(ptr)->preferredHeight(); } } void* QGraphicsLayoutItem_PreferredSize(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->preferredSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSizeF tmpValue = static_cast(ptr)->preferredSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } } double QGraphicsLayoutItem_PreferredWidth(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->preferredWidth(); } else { return static_cast(ptr)->preferredWidth(); } } void QGraphicsLayoutItem_SetGeometry(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setGeometry(*static_cast(rect)); } else { static_cast(ptr)->setGeometry(*static_cast(rect)); } } void QGraphicsLayoutItem_SetGeometryDefault(void* ptr, void* rect) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::setGeometry(*static_cast(rect)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::setGeometry(*static_cast(rect)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLinearLayout::setGeometry(*static_cast(rect)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsGridLayout::setGeometry(*static_cast(rect)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsAnchorLayout::setGeometry(*static_cast(rect)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLayout::setGeometry(*static_cast(rect)); } else { static_cast(ptr)->QGraphicsLayoutItem::setGeometry(*static_cast(rect)); } } void QGraphicsLayoutItem_SetGraphicsItem(void* ptr, void* item) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setGraphicsItem(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setGraphicsItem(static_cast(item)); } else { static_cast(ptr)->setGraphicsItem(static_cast(item)); } } else { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setGraphicsItem(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setGraphicsItem(static_cast(item)); } else { static_cast(ptr)->setGraphicsItem(static_cast(item)); } } } void QGraphicsLayoutItem_SetMaximumHeight(void* ptr, double height) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setMaximumHeight(height); } else { static_cast(ptr)->setMaximumHeight(height); } } void QGraphicsLayoutItem_SetMaximumSize(void* ptr, void* size) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setMaximumSize(*static_cast(size)); } else { static_cast(ptr)->setMaximumSize(*static_cast(size)); } } void QGraphicsLayoutItem_SetMaximumSize2(void* ptr, double w, double h) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setMaximumSize(w, h); } else { static_cast(ptr)->setMaximumSize(w, h); } } void QGraphicsLayoutItem_SetMaximumWidth(void* ptr, double width) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setMaximumWidth(width); } else { static_cast(ptr)->setMaximumWidth(width); } } void QGraphicsLayoutItem_SetMinimumHeight(void* ptr, double height) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setMinimumHeight(height); } else { static_cast(ptr)->setMinimumHeight(height); } } void QGraphicsLayoutItem_SetMinimumSize(void* ptr, void* size) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setMinimumSize(*static_cast(size)); } else { static_cast(ptr)->setMinimumSize(*static_cast(size)); } } void QGraphicsLayoutItem_SetMinimumSize2(void* ptr, double w, double h) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setMinimumSize(w, h); } else { static_cast(ptr)->setMinimumSize(w, h); } } void QGraphicsLayoutItem_SetMinimumWidth(void* ptr, double width) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setMinimumWidth(width); } else { static_cast(ptr)->setMinimumWidth(width); } } void QGraphicsLayoutItem_SetOwnedByLayout(void* ptr, char ownership) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setOwnedByLayout(ownership != 0); } else { static_cast(ptr)->setOwnedByLayout(ownership != 0); } } void QGraphicsLayoutItem_SetParentLayoutItem(void* ptr, void* parent) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(parent))) { static_cast(ptr)->setParentLayoutItem(static_cast(parent)); } else { static_cast(ptr)->setParentLayoutItem(static_cast(parent)); } } else { if (dynamic_cast(static_cast(parent))) { static_cast(ptr)->setParentLayoutItem(static_cast(parent)); } else { static_cast(ptr)->setParentLayoutItem(static_cast(parent)); } } } void QGraphicsLayoutItem_SetPreferredHeight(void* ptr, double height) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPreferredHeight(height); } else { static_cast(ptr)->setPreferredHeight(height); } } void QGraphicsLayoutItem_SetPreferredSize(void* ptr, void* size) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPreferredSize(*static_cast(size)); } else { static_cast(ptr)->setPreferredSize(*static_cast(size)); } } void QGraphicsLayoutItem_SetPreferredSize2(void* ptr, double w, double h) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPreferredSize(w, h); } else { static_cast(ptr)->setPreferredSize(w, h); } } void QGraphicsLayoutItem_SetPreferredWidth(void* ptr, double width) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPreferredWidth(width); } else { static_cast(ptr)->setPreferredWidth(width); } } void QGraphicsLayoutItem_SetSizePolicy(void* ptr, void* policy) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setSizePolicy(*static_cast(policy)); } else { static_cast(ptr)->setSizePolicy(*static_cast(policy)); } } void QGraphicsLayoutItem_SetSizePolicy2(void* ptr, long long hPolicy, long long vPolicy, long long controlType) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setSizePolicy(static_cast(hPolicy), static_cast(vPolicy), static_cast(controlType)); } else { static_cast(ptr)->setSizePolicy(static_cast(hPolicy), static_cast(vPolicy), static_cast(controlType)); } } void* QGraphicsLayoutItem_SizeHint(void* ptr, long long which, void* constraint) { if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSizeF tmpValue = static_cast(ptr)->sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsLayoutItem_SizePolicy(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QSizePolicy(static_cast(ptr)->sizePolicy()); } else { return new QSizePolicy(static_cast(ptr)->sizePolicy()); } } void QGraphicsLayoutItem_UpdateGeometry(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->updateGeometry(); } else { static_cast(ptr)->updateGeometry(); } } void QGraphicsLayoutItem_UpdateGeometryDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::updateGeometry(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::updateGeometry(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLinearLayout::updateGeometry(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsGridLayout::updateGeometry(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsAnchorLayout::updateGeometry(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsLayout::updateGeometry(); } else { static_cast(ptr)->QGraphicsLayoutItem::updateGeometry(); } } void QGraphicsLayoutItem_DestroyQGraphicsLayoutItem(void* ptr) { static_cast(ptr)->~QGraphicsLayoutItem(); } void QGraphicsLayoutItem_DestroyQGraphicsLayoutItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsLineItem: public QGraphicsLineItem { public: MyQGraphicsLineItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsLineItem(parent) {QGraphicsLineItem_QGraphicsLineItem_QRegisterMetaType();}; MyQGraphicsLineItem(const QLineF &line, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsLineItem(line, parent) {QGraphicsLineItem_QGraphicsLineItem_QRegisterMetaType();}; MyQGraphicsLineItem(qreal x1, qreal y1, qreal x2, qreal y2, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsLineItem(x1, y1, x2, y2, parent) {QGraphicsLineItem_QGraphicsLineItem_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsLineItem_BoundingRect(const_cast(static_cast(this)))); }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsLineItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsLineItem() { callbackQGraphicsLineItem_DestroyQGraphicsLineItem(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsLineItem*) Q_DECLARE_METATYPE(MyQGraphicsLineItem*) int QGraphicsLineItem_QGraphicsLineItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsLineItem_NewQGraphicsLineItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLineItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLineItem(static_cast(parent)); } else { return new MyQGraphicsLineItem(static_cast(parent)); } } void* QGraphicsLineItem_NewQGraphicsLineItem2(void* line, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLineItem(*static_cast(line), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLineItem(*static_cast(line), static_cast(parent)); } else { return new MyQGraphicsLineItem(*static_cast(line), static_cast(parent)); } } void* QGraphicsLineItem_NewQGraphicsLineItem3(double x1, double y1, double x2, double y2, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLineItem(x1, y1, x2, y2, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLineItem(x1, y1, x2, y2, static_cast(parent)); } else { return new MyQGraphicsLineItem(x1, y1, x2, y2, static_cast(parent)); } } void* QGraphicsLineItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsLineItem_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsLineItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsLineItem_Line(void* ptr) { return ({ QLineF tmpValue = static_cast(ptr)->line(); new QLineF(tmpValue.p1(), tmpValue.p2()); }); } void QGraphicsLineItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsLineItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsLineItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void* QGraphicsLineItem_Pen(void* ptr) { return new QPen(static_cast(ptr)->pen()); } void QGraphicsLineItem_SetLine(void* ptr, void* line) { static_cast(ptr)->setLine(*static_cast(line)); } void QGraphicsLineItem_SetLine2(void* ptr, double x1, double y1, double x2, double y2) { static_cast(ptr)->setLine(x1, y1, x2, y2); } void QGraphicsLineItem_SetPen(void* ptr, void* pen) { static_cast(ptr)->setPen(*static_cast(pen)); } void QGraphicsLineItem_DestroyQGraphicsLineItem(void* ptr) { static_cast(ptr)->~QGraphicsLineItem(); } void QGraphicsLineItem_DestroyQGraphicsLineItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsLinearLayout: public QGraphicsLinearLayout { public: MyQGraphicsLinearLayout(QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsLinearLayout(parent) {QGraphicsLinearLayout_QGraphicsLinearLayout_QRegisterMetaType();}; MyQGraphicsLinearLayout(Qt::Orientation orientation, QGraphicsLayoutItem *parent = Q_NULLPTR) : QGraphicsLinearLayout(orientation, parent) {QGraphicsLinearLayout_QGraphicsLinearLayout_QRegisterMetaType();}; int count() const { return callbackQGraphicsLinearLayout_Count(const_cast(static_cast(this))); }; void invalidate() { callbackQGraphicsLayout_Invalidate(this); }; QGraphicsLayoutItem * itemAt(int index) const { return static_cast(callbackQGraphicsLinearLayout_ItemAt(const_cast(static_cast(this)), index)); }; void removeAt(int index) { callbackQGraphicsLinearLayout_RemoveAt(this, index); }; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast(callbackQGraphicsLinearLayout_SizeHint(const_cast(static_cast(this)), which, const_cast(&constraint))); }; ~MyQGraphicsLinearLayout() { callbackQGraphicsLinearLayout_DestroyQGraphicsLinearLayout(this); }; void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast(static_cast(this)), *left, *top, *right, *bottom); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; void widgetEvent(QEvent * e) { callbackQGraphicsLayout_WidgetEvent(this, e); }; }; Q_DECLARE_METATYPE(QGraphicsLinearLayout*) Q_DECLARE_METATYPE(MyQGraphicsLinearLayout*) int QGraphicsLinearLayout_QGraphicsLinearLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsLinearLayout_NewQGraphicsLinearLayout(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLinearLayout(static_cast(parent)); } else { return new MyQGraphicsLinearLayout(static_cast(parent)); } } void* QGraphicsLinearLayout_NewQGraphicsLinearLayout2(long long orientation, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsLinearLayout(static_cast(orientation), static_cast(parent)); } else { return new MyQGraphicsLinearLayout(static_cast(orientation), static_cast(parent)); } } void QGraphicsLinearLayout_AddItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item)); } else { static_cast(ptr)->addItem(static_cast(item)); } } void QGraphicsLinearLayout_AddStretch(void* ptr, int stretch) { static_cast(ptr)->addStretch(stretch); } long long QGraphicsLinearLayout_Alignment(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->alignment(static_cast(item)); } else { return static_cast(ptr)->alignment(static_cast(item)); } } int QGraphicsLinearLayout_Count(void* ptr) { return static_cast(ptr)->count(); } int QGraphicsLinearLayout_CountDefault(void* ptr) { return static_cast(ptr)->QGraphicsLinearLayout::count(); } void QGraphicsLinearLayout_InsertItem(void* ptr, int index, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->insertItem(index, static_cast(item)); } else { static_cast(ptr)->insertItem(index, static_cast(item)); } } void QGraphicsLinearLayout_InsertStretch(void* ptr, int index, int stretch) { static_cast(ptr)->insertStretch(index, stretch); } void* QGraphicsLinearLayout_ItemAt(void* ptr, int index) { return static_cast(ptr)->itemAt(index); } void* QGraphicsLinearLayout_ItemAtDefault(void* ptr, int index) { return static_cast(ptr)->QGraphicsLinearLayout::itemAt(index); } double QGraphicsLinearLayout_ItemSpacing(void* ptr, int index) { return static_cast(ptr)->itemSpacing(index); } long long QGraphicsLinearLayout_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void QGraphicsLinearLayout_RemoveAt(void* ptr, int index) { static_cast(ptr)->removeAt(index); } void QGraphicsLinearLayout_RemoveAtDefault(void* ptr, int index) { static_cast(ptr)->QGraphicsLinearLayout::removeAt(index); } void QGraphicsLinearLayout_RemoveItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->removeItem(static_cast(item)); } else { static_cast(ptr)->removeItem(static_cast(item)); } } void QGraphicsLinearLayout_SetAlignment(void* ptr, void* item, long long alignment) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setAlignment(static_cast(item), static_cast(alignment)); } else { static_cast(ptr)->setAlignment(static_cast(item), static_cast(alignment)); } } void QGraphicsLinearLayout_SetItemSpacing(void* ptr, int index, double spacing) { static_cast(ptr)->setItemSpacing(index, spacing); } void QGraphicsLinearLayout_SetOrientation(void* ptr, long long orientation) { static_cast(ptr)->setOrientation(static_cast(orientation)); } void QGraphicsLinearLayout_SetSpacing(void* ptr, double spacing) { static_cast(ptr)->setSpacing(spacing); } void QGraphicsLinearLayout_SetStretchFactor(void* ptr, void* item, int stretch) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setStretchFactor(static_cast(item), stretch); } else { static_cast(ptr)->setStretchFactor(static_cast(item), stretch); } } void* QGraphicsLinearLayout_SizeHint(void* ptr, long long which, void* constraint) { return ({ QSizeF tmpValue = static_cast(ptr)->sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void* QGraphicsLinearLayout_SizeHintDefault(void* ptr, long long which, void* constraint) { return ({ QSizeF tmpValue = static_cast(ptr)->QGraphicsLinearLayout::sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } double QGraphicsLinearLayout_Spacing(void* ptr) { return static_cast(ptr)->spacing(); } int QGraphicsLinearLayout_StretchFactor(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->stretchFactor(static_cast(item)); } else { return static_cast(ptr)->stretchFactor(static_cast(item)); } } void QGraphicsLinearLayout_DestroyQGraphicsLinearLayout(void* ptr) { static_cast(ptr)->~QGraphicsLinearLayout(); } void QGraphicsLinearLayout_DestroyQGraphicsLinearLayoutDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsObject: public QGraphicsObject { public: MyQGraphicsObject(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsObject(parent) {QGraphicsObject_QGraphicsObject_QRegisterMetaType();}; void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); }; bool event(QEvent * ev) { return callbackQGraphicsObject_Event(this, ev) != 0; }; void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); }; void Signal_ParentChanged() { callbackQGraphicsObject_ParentChanged(this); }; void Signal_RotationChanged() { callbackQGraphicsObject_RotationChanged(this); }; void Signal_ScaleChanged() { callbackQGraphicsObject_ScaleChanged(this); }; void updateMicroFocus() { callbackQGraphicsObject_UpdateMicroFocus(this); }; void Signal_VisibleChanged() { callbackQGraphicsObject_VisibleChanged(this); }; void Signal_XChanged() { callbackQGraphicsObject_XChanged(this); }; void Signal_YChanged() { callbackQGraphicsObject_YChanged(this); }; void Signal_ZChanged() { callbackQGraphicsObject_ZChanged(this); }; ~MyQGraphicsObject() { callbackQGraphicsObject_DestroyQGraphicsObject(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsObject_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsObject_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsObject_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsObject_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsObject_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsObject_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsObject_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsObject_TimerEvent(this, event); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; QRectF boundingRect() const { return *static_cast(callbackQGraphicsObject_BoundingRect(const_cast(static_cast(this)))); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsObject_Paint(this, painter, const_cast(option), widget); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsObject*) Q_DECLARE_METATYPE(MyQGraphicsObject*) int QGraphicsObject_QGraphicsObject_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsObject_NewQGraphicsObject(void* parent) { return new MyQGraphicsObject(static_cast(parent)); } void QGraphicsObject_ConnectEnabledChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::enabledChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_EnabledChanged), static_cast(t)); } void QGraphicsObject_DisconnectEnabledChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::enabledChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_EnabledChanged)); } void QGraphicsObject_EnabledChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->enabledChanged(); } else { static_cast(ptr)->enabledChanged(); } } char QGraphicsObject_Event(void* ptr, void* ev) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->event(static_cast(ev)); } else { return static_cast(ptr)->event(static_cast(ev)); } } char QGraphicsObject_EventDefault(void* ptr, void* ev) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::event(static_cast(ev)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsWidget::event(static_cast(ev)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsTextItem::event(static_cast(ev)); } else { return static_cast(ptr)->QGraphicsObject::event(static_cast(ev)); } } void QGraphicsObject_GrabGesture(void* ptr, long long gesture, long long flags) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->grabGesture(static_cast(gesture), static_cast(flags)); } else { static_cast(ptr)->grabGesture(static_cast(gesture), static_cast(flags)); } } void QGraphicsObject_ConnectOpacityChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::opacityChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_OpacityChanged), static_cast(t)); } void QGraphicsObject_DisconnectOpacityChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::opacityChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_OpacityChanged)); } void QGraphicsObject_OpacityChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->opacityChanged(); } else { static_cast(ptr)->opacityChanged(); } } void QGraphicsObject_ConnectParentChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::parentChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_ParentChanged), static_cast(t)); } void QGraphicsObject_DisconnectParentChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::parentChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_ParentChanged)); } void QGraphicsObject_ParentChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->parentChanged(); } else { static_cast(ptr)->parentChanged(); } } void QGraphicsObject_ConnectRotationChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::rotationChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_RotationChanged), static_cast(t)); } void QGraphicsObject_DisconnectRotationChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::rotationChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_RotationChanged)); } void QGraphicsObject_RotationChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->rotationChanged(); } else { static_cast(ptr)->rotationChanged(); } } void QGraphicsObject_ConnectScaleChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::scaleChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_ScaleChanged), static_cast(t)); } void QGraphicsObject_DisconnectScaleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::scaleChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_ScaleChanged)); } void QGraphicsObject_ScaleChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->scaleChanged(); } else { static_cast(ptr)->scaleChanged(); } } void QGraphicsObject_UngrabGesture(void* ptr, long long gesture) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->ungrabGesture(static_cast(gesture)); } else { static_cast(ptr)->ungrabGesture(static_cast(gesture)); } } void QGraphicsObject_UpdateMicroFocus(void* ptr) { if (dynamic_cast(static_cast(ptr))) { QMetaObject::invokeMethod(static_cast(ptr), "updateMicroFocus"); } else { QMetaObject::invokeMethod(static_cast(ptr), "updateMicroFocus"); } } void QGraphicsObject_UpdateMicroFocusDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::updateMicroFocus(); } else { static_cast(ptr)->QGraphicsObject::updateMicroFocus(); } } void QGraphicsObject_ConnectVisibleChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::visibleChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_VisibleChanged), static_cast(t)); } void QGraphicsObject_DisconnectVisibleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::visibleChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_VisibleChanged)); } void QGraphicsObject_VisibleChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->visibleChanged(); } else { static_cast(ptr)->visibleChanged(); } } void QGraphicsObject_ConnectXChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::xChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_XChanged), static_cast(t)); } void QGraphicsObject_DisconnectXChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::xChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_XChanged)); } void QGraphicsObject_XChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->xChanged(); } else { static_cast(ptr)->xChanged(); } } void QGraphicsObject_ConnectYChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::yChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_YChanged), static_cast(t)); } void QGraphicsObject_DisconnectYChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::yChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_YChanged)); } void QGraphicsObject_YChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->yChanged(); } else { static_cast(ptr)->yChanged(); } } void QGraphicsObject_ConnectZChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsObject::zChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_ZChanged), static_cast(t)); } void QGraphicsObject_DisconnectZChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsObject::zChanged), static_cast(ptr), static_cast(&MyQGraphicsObject::Signal_ZChanged)); } void QGraphicsObject_ZChanged(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->zChanged(); } else { static_cast(ptr)->zChanged(); } } void QGraphicsObject_DestroyQGraphicsObject(void* ptr) { static_cast(ptr)->~QGraphicsObject(); } void QGraphicsObject_DestroyQGraphicsObjectDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsObject_Parent(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->parent(); } else { return static_cast(ptr)->parent(); } } void QGraphicsObject_SetParent(void* ptr, void* parent) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(parent))) { static_cast(ptr)->setParent(static_cast(parent)); } else { static_cast(ptr)->setParent(static_cast(parent)); } } else { if (dynamic_cast(static_cast(parent))) { static_cast(ptr)->setParent(static_cast(parent)); } else { static_cast(ptr)->setParent(static_cast(parent)); } } } double QGraphicsObject_Opacity(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->opacity(); } else { return static_cast(ptr)->opacity(); } } void QGraphicsObject_SetOpacity(void* ptr, double opacity) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setOpacity(opacity); } else { static_cast(ptr)->setOpacity(opacity); } } char QGraphicsObject_IsEnabled(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isEnabled(); } else { return static_cast(ptr)->isEnabled(); } } void QGraphicsObject_SetEnabled(void* ptr, char enabled) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setEnabled(enabled != 0); } else { static_cast(ptr)->setEnabled(enabled != 0); } } char QGraphicsObject_IsVisible(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isVisible(); } else { return static_cast(ptr)->isVisible(); } } void QGraphicsObject_SetVisible(void* ptr, char visible) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setVisible(visible != 0); } else { static_cast(ptr)->setVisible(visible != 0); } } void* QGraphicsObject_Pos(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void QGraphicsObject_SetPos(void* ptr, void* pos) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setPos(*static_cast(pos)); } else { static_cast(ptr)->setPos(*static_cast(pos)); } } double QGraphicsObject_X(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->x(); } else { return static_cast(ptr)->x(); } } void QGraphicsObject_SetX(void* ptr, double x) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setX(x); } else { static_cast(ptr)->setX(x); } } double QGraphicsObject_Y(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->y(); } else { return static_cast(ptr)->y(); } } void QGraphicsObject_SetY(void* ptr, double y) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setY(y); } else { static_cast(ptr)->setY(y); } } double QGraphicsObject_ZValue(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->zValue(); } else { return static_cast(ptr)->zValue(); } } void QGraphicsObject_SetZValue(void* ptr, double z) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setZValue(z); } else { static_cast(ptr)->setZValue(z); } } double QGraphicsObject_Rotation(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->rotation(); } else { return static_cast(ptr)->rotation(); } } void QGraphicsObject_SetRotation(void* ptr, double rotation) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setRotation(rotation); } else { static_cast(ptr)->setRotation(rotation); } } double QGraphicsObject_Scale(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->scale(); } else { return static_cast(ptr)->scale(); } } void QGraphicsObject_SetScale(void* ptr, double scale) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setScale(scale); } else { static_cast(ptr)->setScale(scale); } } void* QGraphicsObject_TransformOriginPoint(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QPointF tmpValue = static_cast(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); }); } else { return ({ QPointF tmpValue = static_cast(ptr)->transformOriginPoint(); new QPointF(tmpValue.x(), tmpValue.y()); }); } } void QGraphicsObject_SetTransformOriginPoint(void* ptr, void* transformOriginPoint) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setTransformOriginPoint(*static_cast(transformOriginPoint)); } else { static_cast(ptr)->setTransformOriginPoint(*static_cast(transformOriginPoint)); } } void* QGraphicsObject_GraphicsEffect(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->graphicsEffect(); } else { return static_cast(ptr)->graphicsEffect(); } } void QGraphicsObject_SetGraphicsEffect(void* ptr, void* effect) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setGraphicsEffect(static_cast(effect)); } else { static_cast(ptr)->setGraphicsEffect(static_cast(effect)); } } void* QGraphicsObject___children_atList(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } } void QGraphicsObject___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } } void* QGraphicsObject___children_newList(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } void* QGraphicsObject___dynamicPropertyNames_atList(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } else { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } } void QGraphicsObject___dynamicPropertyNames_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { static_cast*>(ptr)->append(*static_cast(i)); } else { static_cast*>(ptr)->append(*static_cast(i)); } } void* QGraphicsObject___dynamicPropertyNames_newList(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } void* QGraphicsObject___findChildren_atList(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } } void QGraphicsObject___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } } void* QGraphicsObject___findChildren_newList(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } void* QGraphicsObject___findChildren_atList3(void* ptr, int i) { if (dynamic_cast(static_cast(ptr))) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } else { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } } void QGraphicsObject___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } else { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } } void* QGraphicsObject___findChildren_newList3(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QList(); } else { return new QList(); } } void QGraphicsObject_ChildEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->childEvent(static_cast(event)); } else { static_cast(ptr)->childEvent(static_cast(event)); } } void QGraphicsObject_ChildEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::childEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsObject::childEvent(static_cast(event)); } } void QGraphicsObject_ConnectNotify(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->connectNotify(*static_cast(sign)); } else { static_cast(ptr)->connectNotify(*static_cast(sign)); } } void QGraphicsObject_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QGraphicsObject::connectNotify(*static_cast(sign)); } } void QGraphicsObject_CustomEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->customEvent(static_cast(event)); } else { static_cast(ptr)->customEvent(static_cast(event)); } } void QGraphicsObject_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::customEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsObject::customEvent(static_cast(event)); } } void QGraphicsObject_DeleteLater(void* ptr) { if (dynamic_cast(static_cast(ptr))) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } else { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } } void QGraphicsObject_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::deleteLater(); } else { static_cast(ptr)->QGraphicsObject::deleteLater(); } } void QGraphicsObject_DisconnectNotify(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } } void QGraphicsObject_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QGraphicsObject::disconnectNotify(*static_cast(sign)); } } char QGraphicsObject_EventFilter(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } } } char QGraphicsObject_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsProxyWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsProxyWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsProxyWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsProxyWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsProxyWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTextItem::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTextItem::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTextItem::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTextItem::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsTextItem::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsObject::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsObject::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsObject::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsObject::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsObject::eventFilter(static_cast(watched), static_cast(event)); } } } void* QGraphicsObject_MetaObject(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->metaObject()); } else { return const_cast(static_cast(ptr)->metaObject()); } } void* QGraphicsObject_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsProxyWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsTextItem::metaObject()); } else { return const_cast(static_cast(ptr)->QGraphicsObject::metaObject()); } } void QGraphicsObject_TimerEvent(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->timerEvent(static_cast(event)); } else { static_cast(ptr)->timerEvent(static_cast(event)); } } void QGraphicsObject_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::timerEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsObject::timerEvent(static_cast(event)); } } void* QGraphicsObject_BoundingRect(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { } } void* QGraphicsObject_BoundingRectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsProxyWidget::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsWidget::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsTextItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { } } void QGraphicsObject_Paint(void* ptr, void* painter, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } else { } } void QGraphicsObject_PaintDefault(void* ptr, void* painter, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsWidget::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsTextItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else { } } class MyQGraphicsOpacityEffect: public QGraphicsOpacityEffect { public: MyQGraphicsOpacityEffect(QObject *parent = Q_NULLPTR) : QGraphicsOpacityEffect(parent) {QGraphicsOpacityEffect_QGraphicsOpacityEffect_QRegisterMetaType();}; void draw(QPainter * painter) { callbackQGraphicsOpacityEffect_Draw(this, painter); }; void Signal_OpacityChanged(qreal opacity) { callbackQGraphicsOpacityEffect_OpacityChanged(this, opacity); }; void Signal_OpacityMaskChanged(const QBrush & mask) { callbackQGraphicsOpacityEffect_OpacityMaskChanged(this, const_cast(&mask)); }; void setOpacity(qreal opacity) { callbackQGraphicsOpacityEffect_SetOpacity(this, opacity); }; void setOpacityMask(const QBrush & mask) { callbackQGraphicsOpacityEffect_SetOpacityMask(this, const_cast(&mask)); }; ~MyQGraphicsOpacityEffect() { callbackQGraphicsOpacityEffect_DestroyQGraphicsOpacityEffect(this); }; QRectF boundingRectFor(const QRectF & rect) const { return *static_cast(callbackQGraphicsEffect_BoundingRectFor(const_cast(static_cast(this)), const_cast(&rect))); }; void Signal_EnabledChanged(bool enabled) { callbackQGraphicsEffect_EnabledChanged(this, enabled); }; void setEnabled(bool enable) { callbackQGraphicsEffect_SetEnabled(this, enable); }; void sourceChanged(QGraphicsEffect::ChangeFlags flags) { callbackQGraphicsEffect_SourceChanged(this, flags); }; void update() { callbackQGraphicsEffect_Update(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsEffect_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsEffect_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsEffect_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsEffect_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsEffect_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsEffect_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsEffect_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsEffect_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsEffect_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsEffect_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsOpacityEffect*) Q_DECLARE_METATYPE(MyQGraphicsOpacityEffect*) int QGraphicsOpacityEffect_QGraphicsOpacityEffect_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsOpacityEffect_NewQGraphicsOpacityEffect(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsOpacityEffect(static_cast(parent)); } else { return new MyQGraphicsOpacityEffect(static_cast(parent)); } } void QGraphicsOpacityEffect_Draw(void* ptr, void* painter) { static_cast(ptr)->draw(static_cast(painter)); } void QGraphicsOpacityEffect_DrawDefault(void* ptr, void* painter) { static_cast(ptr)->QGraphicsOpacityEffect::draw(static_cast(painter)); } double QGraphicsOpacityEffect_Opacity(void* ptr) { return static_cast(ptr)->opacity(); } void QGraphicsOpacityEffect_ConnectOpacityChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsOpacityEffect::opacityChanged), static_cast(ptr), static_cast(&MyQGraphicsOpacityEffect::Signal_OpacityChanged), static_cast(t)); } void QGraphicsOpacityEffect_DisconnectOpacityChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsOpacityEffect::opacityChanged), static_cast(ptr), static_cast(&MyQGraphicsOpacityEffect::Signal_OpacityChanged)); } void QGraphicsOpacityEffect_OpacityChanged(void* ptr, double opacity) { static_cast(ptr)->opacityChanged(opacity); } void* QGraphicsOpacityEffect_OpacityMask(void* ptr) { return new QBrush(static_cast(ptr)->opacityMask()); } void QGraphicsOpacityEffect_ConnectOpacityMaskChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsOpacityEffect::opacityMaskChanged), static_cast(ptr), static_cast(&MyQGraphicsOpacityEffect::Signal_OpacityMaskChanged), static_cast(t)); } void QGraphicsOpacityEffect_DisconnectOpacityMaskChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsOpacityEffect::opacityMaskChanged), static_cast(ptr), static_cast(&MyQGraphicsOpacityEffect::Signal_OpacityMaskChanged)); } void QGraphicsOpacityEffect_OpacityMaskChanged(void* ptr, void* mask) { static_cast(ptr)->opacityMaskChanged(*static_cast(mask)); } void QGraphicsOpacityEffect_SetOpacity(void* ptr, double opacity) { QMetaObject::invokeMethod(static_cast(ptr), "setOpacity", Q_ARG(qreal, opacity)); } void QGraphicsOpacityEffect_SetOpacityDefault(void* ptr, double opacity) { static_cast(ptr)->QGraphicsOpacityEffect::setOpacity(opacity); } void QGraphicsOpacityEffect_SetOpacityMask(void* ptr, void* mask) { QMetaObject::invokeMethod(static_cast(ptr), "setOpacityMask", Q_ARG(const QBrush, *static_cast(mask))); } void QGraphicsOpacityEffect_SetOpacityMaskDefault(void* ptr, void* mask) { static_cast(ptr)->QGraphicsOpacityEffect::setOpacityMask(*static_cast(mask)); } void QGraphicsOpacityEffect_DestroyQGraphicsOpacityEffect(void* ptr) { static_cast(ptr)->~QGraphicsOpacityEffect(); } void QGraphicsOpacityEffect_DestroyQGraphicsOpacityEffectDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsPathItem: public QGraphicsPathItem { public: MyQGraphicsPathItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPathItem(parent) {QGraphicsPathItem_QGraphicsPathItem_QRegisterMetaType();}; MyQGraphicsPathItem(const QPainterPath &path, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPathItem(path, parent) {QGraphicsPathItem_QGraphicsPathItem_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsPathItem_BoundingRect(const_cast(static_cast(this)))); }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPathItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsPathItem() { callbackQGraphicsPathItem_DestroyQGraphicsPathItem(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsPathItem*) Q_DECLARE_METATYPE(MyQGraphicsPathItem*) int QGraphicsPathItem_QGraphicsPathItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsPathItem_NewQGraphicsPathItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPathItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPathItem(static_cast(parent)); } else { return new MyQGraphicsPathItem(static_cast(parent)); } } void* QGraphicsPathItem_NewQGraphicsPathItem2(void* path, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPathItem(*static_cast(path), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPathItem(*static_cast(path), static_cast(parent)); } else { return new MyQGraphicsPathItem(*static_cast(path), static_cast(parent)); } } void* QGraphicsPathItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsPathItem_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsPathItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsPathItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsPathItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsPathItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void* QGraphicsPathItem_Path(void* ptr) { return new QPainterPath(static_cast(ptr)->path()); } void QGraphicsPathItem_SetPath(void* ptr, void* path) { static_cast(ptr)->setPath(*static_cast(path)); } void QGraphicsPathItem_DestroyQGraphicsPathItem(void* ptr) { static_cast(ptr)->~QGraphicsPathItem(); } void QGraphicsPathItem_DestroyQGraphicsPathItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsPixmapItem: public QGraphicsPixmapItem { public: MyQGraphicsPixmapItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPixmapItem(parent) {QGraphicsPixmapItem_QGraphicsPixmapItem_QRegisterMetaType();}; MyQGraphicsPixmapItem(const QPixmap &pixmap, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPixmapItem(pixmap, parent) {QGraphicsPixmapItem_QGraphicsPixmapItem_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsPixmapItem_BoundingRect(const_cast(static_cast(this)))); }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPixmapItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsPixmapItem() { callbackQGraphicsPixmapItem_DestroyQGraphicsPixmapItem(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsPixmapItem*) Q_DECLARE_METATYPE(MyQGraphicsPixmapItem*) int QGraphicsPixmapItem_QGraphicsPixmapItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsPixmapItem_NewQGraphicsPixmapItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPixmapItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPixmapItem(static_cast(parent)); } else { return new MyQGraphicsPixmapItem(static_cast(parent)); } } void* QGraphicsPixmapItem_NewQGraphicsPixmapItem2(void* pixmap, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPixmapItem(*static_cast(pixmap), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPixmapItem(*static_cast(pixmap), static_cast(parent)); } else { return new MyQGraphicsPixmapItem(*static_cast(pixmap), static_cast(parent)); } } void* QGraphicsPixmapItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsPixmapItem_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsPixmapItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsPixmapItem_Offset(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->offset(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QGraphicsPixmapItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsPixmapItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsPixmapItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void* QGraphicsPixmapItem_Pixmap(void* ptr) { return new QPixmap(static_cast(ptr)->pixmap()); } void QGraphicsPixmapItem_SetOffset(void* ptr, void* offset) { static_cast(ptr)->setOffset(*static_cast(offset)); } void QGraphicsPixmapItem_SetOffset2(void* ptr, double x, double y) { static_cast(ptr)->setOffset(x, y); } void QGraphicsPixmapItem_SetPixmap(void* ptr, void* pixmap) { static_cast(ptr)->setPixmap(*static_cast(pixmap)); } void QGraphicsPixmapItem_SetShapeMode(void* ptr, long long mode) { static_cast(ptr)->setShapeMode(static_cast(mode)); } void QGraphicsPixmapItem_SetTransformationMode(void* ptr, long long mode) { static_cast(ptr)->setTransformationMode(static_cast(mode)); } long long QGraphicsPixmapItem_ShapeMode(void* ptr) { return static_cast(ptr)->shapeMode(); } long long QGraphicsPixmapItem_TransformationMode(void* ptr) { return static_cast(ptr)->transformationMode(); } void QGraphicsPixmapItem_DestroyQGraphicsPixmapItem(void* ptr) { static_cast(ptr)->~QGraphicsPixmapItem(); } void QGraphicsPixmapItem_DestroyQGraphicsPixmapItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsPolygonItem: public QGraphicsPolygonItem { public: MyQGraphicsPolygonItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPolygonItem(parent) {QGraphicsPolygonItem_QGraphicsPolygonItem_QRegisterMetaType();}; MyQGraphicsPolygonItem(const QPolygonF &polygon, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsPolygonItem(polygon, parent) {QGraphicsPolygonItem_QGraphicsPolygonItem_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsPolygonItem_BoundingRect(const_cast(static_cast(this)))); }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsPolygonItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsPolygonItem() { callbackQGraphicsPolygonItem_DestroyQGraphicsPolygonItem(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsPolygonItem*) Q_DECLARE_METATYPE(MyQGraphicsPolygonItem*) int QGraphicsPolygonItem_QGraphicsPolygonItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsPolygonItem_NewQGraphicsPolygonItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPolygonItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPolygonItem(static_cast(parent)); } else { return new MyQGraphicsPolygonItem(static_cast(parent)); } } void* QGraphicsPolygonItem_NewQGraphicsPolygonItem2(void* polygon, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPolygonItem(*static_cast(polygon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsPolygonItem(*static_cast(polygon), static_cast(parent)); } else { return new MyQGraphicsPolygonItem(*static_cast(polygon), static_cast(parent)); } } void* QGraphicsPolygonItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsPolygonItem_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsPolygonItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } long long QGraphicsPolygonItem_FillRule(void* ptr) { return static_cast(ptr)->fillRule(); } void QGraphicsPolygonItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsPolygonItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsPolygonItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void* QGraphicsPolygonItem_Polygon(void* ptr) { return new QPolygonF(static_cast(ptr)->polygon()); } void QGraphicsPolygonItem_SetFillRule(void* ptr, long long rule) { static_cast(ptr)->setFillRule(static_cast(rule)); } void QGraphicsPolygonItem_SetPolygon(void* ptr, void* polygon) { static_cast(ptr)->setPolygon(*static_cast(polygon)); } void QGraphicsPolygonItem_DestroyQGraphicsPolygonItem(void* ptr) { static_cast(ptr)->~QGraphicsPolygonItem(); } void QGraphicsPolygonItem_DestroyQGraphicsPolygonItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsProxyWidget: public QGraphicsProxyWidget { public: MyQGraphicsProxyWidget(QGraphicsItem *parent = Q_NULLPTR, Qt::WindowFlags wFlags = Qt::WindowFlags()) : QGraphicsProxyWidget(parent, wFlags) {QGraphicsProxyWidget_QGraphicsProxyWidget_QRegisterMetaType();}; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; bool event(QEvent * event) { return callbackQGraphicsObject_Event(this, event) != 0; }; bool eventFilter(QObject * object, QEvent * event) { return callbackQGraphicsObject_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQGraphicsWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void grabMouseEvent(QEvent * event) { callbackQGraphicsWidget_GrabMouseEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQGraphicsWidget_HideEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; QGraphicsProxyWidget * newProxyWidget(const QWidget * child) { return static_cast(callbackQGraphicsProxyWidget_NewProxyWidget(this, const_cast(child))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWidget_Paint(this, painter, const_cast(option), widget); }; void resizeEvent(QGraphicsSceneResizeEvent * event) { callbackQGraphicsWidget_ResizeEvent(this, event); }; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; void showEvent(QShowEvent * event) { callbackQGraphicsWidget_ShowEvent(this, event); }; QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast(callbackQGraphicsWidget_SizeHint(const_cast(static_cast(this)), which, const_cast(&constraint))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; void ungrabMouseEvent(QEvent * event) { callbackQGraphicsWidget_UngrabMouseEvent(this, event); }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; ~MyQGraphicsProxyWidget() { callbackQGraphicsProxyWidget_DestroyQGraphicsProxyWidget(this); }; QRectF boundingRect() const { return *static_cast(callbackQGraphicsWidget_BoundingRect(const_cast(static_cast(this)))); }; void changeEvent(QEvent * event) { callbackQGraphicsWidget_ChangeEvent(this, event); }; bool close() { return callbackQGraphicsWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQGraphicsWidget_CloseEvent(this, event); }; void Signal_GeometryChanged() { callbackQGraphicsWidget_GeometryChanged(this); }; void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast(static_cast(this)), *left, *top, *right, *bottom); }; void grabKeyboardEvent(QEvent * event) { callbackQGraphicsWidget_GrabKeyboardEvent(this, event); }; void initStyleOption(QStyleOption * option) const { callbackQGraphicsWidget_InitStyleOption(const_cast(static_cast(this)), option); }; void Signal_LayoutChanged() { callbackQGraphicsWidget_LayoutChanged(this); }; void moveEvent(QGraphicsSceneMoveEvent * event) { callbackQGraphicsWidget_MoveEvent(this, event); }; void paintWindowFrame(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWidget_PaintWindowFrame(this, painter, const_cast(option), widget); }; void polishEvent() { callbackQGraphicsWidget_PolishEvent(this); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; void ungrabKeyboardEvent(QEvent * event) { callbackQGraphicsWidget_UngrabKeyboardEvent(this, event); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; bool windowFrameEvent(QEvent * event) { return callbackQGraphicsWidget_WindowFrameEvent(this, event) != 0; }; Qt::WindowFrameSection windowFrameSectionAt(const QPointF & pos) const { return static_cast(callbackQGraphicsWidget_WindowFrameSectionAt(const_cast(static_cast(this)), const_cast(&pos))); }; void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); }; void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); }; void Signal_ParentChanged() { callbackQGraphicsObject_ParentChanged(this); }; void Signal_RotationChanged() { callbackQGraphicsObject_RotationChanged(this); }; void Signal_ScaleChanged() { callbackQGraphicsObject_ScaleChanged(this); }; void updateMicroFocus() { callbackQGraphicsObject_UpdateMicroFocus(this); }; void Signal_VisibleChanged() { callbackQGraphicsObject_VisibleChanged(this); }; void Signal_XChanged() { callbackQGraphicsObject_XChanged(this); }; void Signal_YChanged() { callbackQGraphicsObject_YChanged(this); }; void Signal_ZChanged() { callbackQGraphicsObject_ZChanged(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsObject_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsObject_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsObject_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsObject_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsObject_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsObject_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsObject_TimerEvent(this, event); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; }; Q_DECLARE_METATYPE(QGraphicsProxyWidget*) Q_DECLARE_METATYPE(MyQGraphicsProxyWidget*) int QGraphicsProxyWidget_QGraphicsProxyWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsProxyWidget_NewQGraphicsProxyWidget(void* parent, long long wFlags) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsProxyWidget(static_cast(parent), static_cast(wFlags)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsProxyWidget(static_cast(parent), static_cast(wFlags)); } else { return new MyQGraphicsProxyWidget(static_cast(parent), static_cast(wFlags)); } } void* QGraphicsProxyWidget_CreateProxyForChildWidget(void* ptr, void* child) { return static_cast(ptr)->createProxyForChildWidget(static_cast(child)); } void* QGraphicsProxyWidget_NewProxyWidget(void* ptr, void* child) { QGraphicsProxyWidget* returnArg; QMetaObject::invokeMethod(static_cast(ptr), "newProxyWidget", Q_RETURN_ARG(QGraphicsProxyWidget*, returnArg), Q_ARG(const QWidget*, static_cast(child))); return returnArg; } void* QGraphicsProxyWidget_NewProxyWidgetDefault(void* ptr, void* child) { return static_cast(ptr)->QGraphicsProxyWidget::newProxyWidget(static_cast(child)); } void QGraphicsProxyWidget_SetWidget(void* ptr, void* widget) { static_cast(ptr)->setWidget(static_cast(widget)); } void* QGraphicsProxyWidget_SubWidgetRect(void* ptr, void* widget) { return ({ QRectF tmpValue = static_cast(ptr)->subWidgetRect(static_cast(widget)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsProxyWidget_Widget(void* ptr) { return static_cast(ptr)->widget(); } void QGraphicsProxyWidget_DestroyQGraphicsProxyWidget(void* ptr) { static_cast(ptr)->~QGraphicsProxyWidget(); } void QGraphicsProxyWidget_DestroyQGraphicsProxyWidgetDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsRectItem: public QGraphicsRectItem { public: MyQGraphicsRectItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsRectItem(parent) {QGraphicsRectItem_QGraphicsRectItem_QRegisterMetaType();}; MyQGraphicsRectItem(const QRectF &rect, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsRectItem(rect, parent) {QGraphicsRectItem_QGraphicsRectItem_QRegisterMetaType();}; MyQGraphicsRectItem(qreal x, qreal y, qreal width, qreal height, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsRectItem(x, y, width, height, parent) {QGraphicsRectItem_QGraphicsRectItem_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsRectItem_BoundingRect(const_cast(static_cast(this)))); }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsRectItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsRectItem() { callbackQGraphicsRectItem_DestroyQGraphicsRectItem(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsRectItem*) Q_DECLARE_METATYPE(MyQGraphicsRectItem*) int QGraphicsRectItem_QGraphicsRectItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsRectItem_NewQGraphicsRectItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRectItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRectItem(static_cast(parent)); } else { return new MyQGraphicsRectItem(static_cast(parent)); } } void* QGraphicsRectItem_NewQGraphicsRectItem2(void* rect, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRectItem(*static_cast(rect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRectItem(*static_cast(rect), static_cast(parent)); } else { return new MyQGraphicsRectItem(*static_cast(rect), static_cast(parent)); } } void* QGraphicsRectItem_NewQGraphicsRectItem3(double x, double y, double width, double height, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRectItem(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRectItem(x, y, width, height, static_cast(parent)); } else { return new MyQGraphicsRectItem(x, y, width, height, static_cast(parent)); } } void* QGraphicsRectItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsRectItem_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsRectItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsRectItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsRectItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsRectItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void* QGraphicsRectItem_Rect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->rect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsRectItem_SetRect(void* ptr, void* rectangle) { static_cast(ptr)->setRect(*static_cast(rectangle)); } void QGraphicsRectItem_SetRect2(void* ptr, double x, double y, double width, double height) { static_cast(ptr)->setRect(x, y, width, height); } void QGraphicsRectItem_DestroyQGraphicsRectItem(void* ptr) { static_cast(ptr)->~QGraphicsRectItem(); } void QGraphicsRectItem_DestroyQGraphicsRectItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsRotation: public QGraphicsRotation { public: MyQGraphicsRotation(QObject *parent = Q_NULLPTR) : QGraphicsRotation(parent) {QGraphicsRotation_QGraphicsRotation_QRegisterMetaType();}; void Signal_AngleChanged() { callbackQGraphicsRotation_AngleChanged(this); }; void applyTo(QMatrix4x4 * matrix) const { callbackQGraphicsRotation_ApplyTo(const_cast(static_cast(this)), matrix); }; void Signal_AxisChanged() { callbackQGraphicsRotation_AxisChanged(this); }; void Signal_OriginChanged() { callbackQGraphicsRotation_OriginChanged(this); }; ~MyQGraphicsRotation() { callbackQGraphicsRotation_DestroyQGraphicsRotation(this); }; void update() { callbackQGraphicsTransform_Update(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsTransform_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsTransform_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsTransform_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsTransform_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsTransform_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsTransform_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsTransform_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsTransform_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsTransform_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsRotation*) Q_DECLARE_METATYPE(MyQGraphicsRotation*) int QGraphicsRotation_QGraphicsRotation_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsRotation_NewQGraphicsRotation(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsRotation(static_cast(parent)); } else { return new MyQGraphicsRotation(static_cast(parent)); } } double QGraphicsRotation_Angle(void* ptr) { return static_cast(ptr)->angle(); } void QGraphicsRotation_ConnectAngleChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsRotation::angleChanged), static_cast(ptr), static_cast(&MyQGraphicsRotation::Signal_AngleChanged), static_cast(t)); } void QGraphicsRotation_DisconnectAngleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsRotation::angleChanged), static_cast(ptr), static_cast(&MyQGraphicsRotation::Signal_AngleChanged)); } void QGraphicsRotation_AngleChanged(void* ptr) { static_cast(ptr)->angleChanged(); } void QGraphicsRotation_ApplyTo(void* ptr, void* matrix) { static_cast(ptr)->applyTo(static_cast(matrix)); } void QGraphicsRotation_ApplyToDefault(void* ptr, void* matrix) { static_cast(ptr)->QGraphicsRotation::applyTo(static_cast(matrix)); } void* QGraphicsRotation_Axis(void* ptr) { return new QVector3D(static_cast(ptr)->axis()); } void QGraphicsRotation_ConnectAxisChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsRotation::axisChanged), static_cast(ptr), static_cast(&MyQGraphicsRotation::Signal_AxisChanged), static_cast(t)); } void QGraphicsRotation_DisconnectAxisChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsRotation::axisChanged), static_cast(ptr), static_cast(&MyQGraphicsRotation::Signal_AxisChanged)); } void QGraphicsRotation_AxisChanged(void* ptr) { static_cast(ptr)->axisChanged(); } void* QGraphicsRotation_Origin(void* ptr) { return new QVector3D(static_cast(ptr)->origin()); } void QGraphicsRotation_ConnectOriginChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsRotation::originChanged), static_cast(ptr), static_cast(&MyQGraphicsRotation::Signal_OriginChanged), static_cast(t)); } void QGraphicsRotation_DisconnectOriginChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsRotation::originChanged), static_cast(ptr), static_cast(&MyQGraphicsRotation::Signal_OriginChanged)); } void QGraphicsRotation_OriginChanged(void* ptr) { static_cast(ptr)->originChanged(); } void QGraphicsRotation_SetAngle(void* ptr, double vqr) { static_cast(ptr)->setAngle(vqr); } void QGraphicsRotation_SetAxis(void* ptr, void* axis) { static_cast(ptr)->setAxis(*static_cast(axis)); } void QGraphicsRotation_SetAxis2(void* ptr, long long axis) { static_cast(ptr)->setAxis(static_cast(axis)); } void QGraphicsRotation_SetOrigin(void* ptr, void* point) { static_cast(ptr)->setOrigin(*static_cast(point)); } void QGraphicsRotation_DestroyQGraphicsRotation(void* ptr) { static_cast(ptr)->~QGraphicsRotation(); } void QGraphicsRotation_DestroyQGraphicsRotationDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsScale: public QGraphicsScale { public: MyQGraphicsScale(QObject *parent = Q_NULLPTR) : QGraphicsScale(parent) {QGraphicsScale_QGraphicsScale_QRegisterMetaType();}; void applyTo(QMatrix4x4 * matrix) const { callbackQGraphicsScale_ApplyTo(const_cast(static_cast(this)), matrix); }; void Signal_OriginChanged() { callbackQGraphicsScale_OriginChanged(this); }; void Signal_ScaleChanged() { callbackQGraphicsScale_ScaleChanged(this); }; void Signal_XScaleChanged() { callbackQGraphicsScale_XScaleChanged(this); }; void Signal_YScaleChanged() { callbackQGraphicsScale_YScaleChanged(this); }; void Signal_ZScaleChanged() { callbackQGraphicsScale_ZScaleChanged(this); }; ~MyQGraphicsScale() { callbackQGraphicsScale_DestroyQGraphicsScale(this); }; void update() { callbackQGraphicsTransform_Update(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsTransform_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsTransform_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsTransform_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsTransform_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsTransform_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsTransform_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsTransform_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsTransform_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsTransform_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsScale*) Q_DECLARE_METATYPE(MyQGraphicsScale*) int QGraphicsScale_QGraphicsScale_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsScale_NewQGraphicsScale(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScale(static_cast(parent)); } else { return new MyQGraphicsScale(static_cast(parent)); } } void QGraphicsScale_ApplyTo(void* ptr, void* matrix) { static_cast(ptr)->applyTo(static_cast(matrix)); } void QGraphicsScale_ApplyToDefault(void* ptr, void* matrix) { static_cast(ptr)->QGraphicsScale::applyTo(static_cast(matrix)); } void* QGraphicsScale_Origin(void* ptr) { return new QVector3D(static_cast(ptr)->origin()); } void QGraphicsScale_ConnectOriginChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsScale::originChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_OriginChanged), static_cast(t)); } void QGraphicsScale_DisconnectOriginChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsScale::originChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_OriginChanged)); } void QGraphicsScale_OriginChanged(void* ptr) { static_cast(ptr)->originChanged(); } void QGraphicsScale_ConnectScaleChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsScale::scaleChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_ScaleChanged), static_cast(t)); } void QGraphicsScale_DisconnectScaleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsScale::scaleChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_ScaleChanged)); } void QGraphicsScale_ScaleChanged(void* ptr) { static_cast(ptr)->scaleChanged(); } void QGraphicsScale_SetOrigin(void* ptr, void* point) { static_cast(ptr)->setOrigin(*static_cast(point)); } void QGraphicsScale_SetXScale(void* ptr, double vqr) { static_cast(ptr)->setXScale(vqr); } void QGraphicsScale_SetYScale(void* ptr, double vqr) { static_cast(ptr)->setYScale(vqr); } void QGraphicsScale_SetZScale(void* ptr, double vqr) { static_cast(ptr)->setZScale(vqr); } double QGraphicsScale_XScale(void* ptr) { return static_cast(ptr)->xScale(); } void QGraphicsScale_ConnectXScaleChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsScale::xScaleChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_XScaleChanged), static_cast(t)); } void QGraphicsScale_DisconnectXScaleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsScale::xScaleChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_XScaleChanged)); } void QGraphicsScale_XScaleChanged(void* ptr) { static_cast(ptr)->xScaleChanged(); } double QGraphicsScale_YScale(void* ptr) { return static_cast(ptr)->yScale(); } void QGraphicsScale_ConnectYScaleChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsScale::yScaleChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_YScaleChanged), static_cast(t)); } void QGraphicsScale_DisconnectYScaleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsScale::yScaleChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_YScaleChanged)); } void QGraphicsScale_YScaleChanged(void* ptr) { static_cast(ptr)->yScaleChanged(); } double QGraphicsScale_ZScale(void* ptr) { return static_cast(ptr)->zScale(); } void QGraphicsScale_ConnectZScaleChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsScale::zScaleChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_ZScaleChanged), static_cast(t)); } void QGraphicsScale_DisconnectZScaleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsScale::zScaleChanged), static_cast(ptr), static_cast(&MyQGraphicsScale::Signal_ZScaleChanged)); } void QGraphicsScale_ZScaleChanged(void* ptr) { static_cast(ptr)->zScaleChanged(); } void QGraphicsScale_DestroyQGraphicsScale(void* ptr) { static_cast(ptr)->~QGraphicsScale(); } void QGraphicsScale_DestroyQGraphicsScaleDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsScene: public QGraphicsScene { public: MyQGraphicsScene(QObject *parent = Q_NULLPTR) : QGraphicsScene(parent) {QGraphicsScene_QGraphicsScene_QRegisterMetaType();}; MyQGraphicsScene(const QRectF &sceneRect, QObject *parent = Q_NULLPTR) : QGraphicsScene(sceneRect, parent) {QGraphicsScene_QGraphicsScene_QRegisterMetaType();}; MyQGraphicsScene(qreal x, qreal y, qreal width, qreal height, QObject *parent = Q_NULLPTR) : QGraphicsScene(x, y, width, height, parent) {QGraphicsScene_QGraphicsScene_QRegisterMetaType();}; void advance() { callbackQGraphicsScene_Advance(this); }; void Signal_Changed(const QList & region) { callbackQGraphicsScene_Changed(this, ({ QList* tmpValuea94a58 = new QList(region); QtWidgets_PackedList { tmpValuea94a58, tmpValuea94a58->size() }; })); }; void clear() { callbackQGraphicsScene_Clear(this); }; void clearSelection() { callbackQGraphicsScene_ClearSelection(this); }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * contextMenuEvent) { callbackQGraphicsScene_ContextMenuEvent(this, contextMenuEvent); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsScene_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsScene_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsScene_DragMoveEvent(this, event); }; void drawBackground(QPainter * painter, const QRectF & rect) { callbackQGraphicsScene_DrawBackground(this, painter, const_cast(&rect)); }; void drawForeground(QPainter * painter, const QRectF & rect) { callbackQGraphicsScene_DrawForeground(this, painter, const_cast(&rect)); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsScene_DropEvent(this, event); }; bool event(QEvent * event) { return callbackQGraphicsScene_Event(this, event) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsScene_EventFilter(this, watched, event) != 0; }; void focusInEvent(QFocusEvent * focusEvent) { callbackQGraphicsScene_FocusInEvent(this, focusEvent); }; void Signal_FocusItemChanged(QGraphicsItem * newFocusItem, QGraphicsItem * oldFocusItem, Qt::FocusReason reason) { callbackQGraphicsScene_FocusItemChanged(this, newFocusItem, oldFocusItem, reason); }; bool focusNextPrevChild(bool next) { return callbackQGraphicsScene_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * focusEvent) { callbackQGraphicsScene_FocusOutEvent(this, focusEvent); }; void helpEvent(QGraphicsSceneHelpEvent * helpEvent) { callbackQGraphicsScene_HelpEvent(this, helpEvent); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsScene_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsScene_InputMethodQuery(const_cast(static_cast(this)), query)); }; void invalidate(const QRectF & rect, QGraphicsScene::SceneLayers layers) { callbackQGraphicsScene_Invalidate(this, const_cast(&rect), layers); }; void keyPressEvent(QKeyEvent * keyEvent) { callbackQGraphicsScene_KeyPressEvent(this, keyEvent); }; void keyReleaseEvent(QKeyEvent * keyEvent) { callbackQGraphicsScene_KeyReleaseEvent(this, keyEvent); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * mouseEvent) { callbackQGraphicsScene_MouseDoubleClickEvent(this, mouseEvent); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * mouseEvent) { callbackQGraphicsScene_MouseMoveEvent(this, mouseEvent); }; void mousePressEvent(QGraphicsSceneMouseEvent * mouseEvent) { callbackQGraphicsScene_MousePressEvent(this, mouseEvent); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * mouseEvent) { callbackQGraphicsScene_MouseReleaseEvent(this, mouseEvent); }; void Signal_SceneRectChanged(const QRectF & rect) { callbackQGraphicsScene_SceneRectChanged(this, const_cast(&rect)); }; void Signal_SelectionChanged() { callbackQGraphicsScene_SelectionChanged(this); }; void update(const QRectF & rect) { callbackQGraphicsScene_Update(this, const_cast(&rect)); }; void wheelEvent(QGraphicsSceneWheelEvent * wheelEvent) { callbackQGraphicsScene_WheelEvent(this, wheelEvent); }; ~MyQGraphicsScene() { callbackQGraphicsScene_DestroyQGraphicsScene(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsScene_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsScene_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsScene_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsScene_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsScene_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsScene_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsScene_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsScene_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsScene_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsScene*) Q_DECLARE_METATYPE(MyQGraphicsScene*) int QGraphicsScene_QGraphicsScene_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsScene_NewQGraphicsScene(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(static_cast(parent)); } else { return new MyQGraphicsScene(static_cast(parent)); } } void* QGraphicsScene_NewQGraphicsScene2(void* sceneRect, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } else { return new MyQGraphicsScene(*static_cast(sceneRect), static_cast(parent)); } } void* QGraphicsScene_NewQGraphicsScene3(double x, double y, double width, double height, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } else { return new MyQGraphicsScene(x, y, width, height, static_cast(parent)); } } void* QGraphicsScene_ActivePanel(void* ptr) { return static_cast(ptr)->activePanel(); } void* QGraphicsScene_ActiveWindow(void* ptr) { return static_cast(ptr)->activeWindow(); } void* QGraphicsScene_AddEllipse(void* ptr, void* rect, void* pen, void* brush) { return static_cast(ptr)->addEllipse(*static_cast(rect), *static_cast(pen), *static_cast(brush)); } void* QGraphicsScene_AddEllipse2(void* ptr, double x, double y, double w, double h, void* pen, void* brush) { return static_cast(ptr)->addEllipse(x, y, w, h, *static_cast(pen), *static_cast(brush)); } void QGraphicsScene_AddItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item)); } else { static_cast(ptr)->addItem(static_cast(item)); } } void* QGraphicsScene_AddLine(void* ptr, void* line, void* pen) { return static_cast(ptr)->addLine(*static_cast(line), *static_cast(pen)); } void* QGraphicsScene_AddLine2(void* ptr, double x1, double y1, double x2, double y2, void* pen) { return static_cast(ptr)->addLine(x1, y1, x2, y2, *static_cast(pen)); } void* QGraphicsScene_AddPath(void* ptr, void* path, void* pen, void* brush) { return static_cast(ptr)->addPath(*static_cast(path), *static_cast(pen), *static_cast(brush)); } void* QGraphicsScene_AddPixmap(void* ptr, void* pixmap) { return static_cast(ptr)->addPixmap(*static_cast(pixmap)); } void* QGraphicsScene_AddPolygon(void* ptr, void* polygon, void* pen, void* brush) { return static_cast(ptr)->addPolygon(*static_cast(polygon), *static_cast(pen), *static_cast(brush)); } void* QGraphicsScene_AddRect(void* ptr, void* rect, void* pen, void* brush) { return static_cast(ptr)->addRect(*static_cast(rect), *static_cast(pen), *static_cast(brush)); } void* QGraphicsScene_AddRect2(void* ptr, double x, double y, double w, double h, void* pen, void* brush) { return static_cast(ptr)->addRect(x, y, w, h, *static_cast(pen), *static_cast(brush)); } void* QGraphicsScene_AddSimpleText(void* ptr, struct QtWidgets_PackedString text, void* font) { return static_cast(ptr)->addSimpleText(QString::fromUtf8(text.data, text.len), *static_cast(font)); } void* QGraphicsScene_AddText(void* ptr, struct QtWidgets_PackedString text, void* font) { return static_cast(ptr)->addText(QString::fromUtf8(text.data, text.len), *static_cast(font)); } void* QGraphicsScene_AddWidget(void* ptr, void* widget, long long wFlags) { return static_cast(ptr)->addWidget(static_cast(widget), static_cast(wFlags)); } void QGraphicsScene_Advance(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "advance"); } void QGraphicsScene_AdvanceDefault(void* ptr) { static_cast(ptr)->QGraphicsScene::advance(); } void* QGraphicsScene_BackgroundBrush(void* ptr) { return new QBrush(static_cast(ptr)->backgroundBrush()); } int QGraphicsScene_BspTreeDepth(void* ptr) { return static_cast(ptr)->bspTreeDepth(); } void QGraphicsScene_ConnectChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast &)>(&QGraphicsScene::changed), static_cast(ptr), static_cast &)>(&MyQGraphicsScene::Signal_Changed), static_cast(t)); } void QGraphicsScene_DisconnectChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast &)>(&QGraphicsScene::changed), static_cast(ptr), static_cast &)>(&MyQGraphicsScene::Signal_Changed)); } void QGraphicsScene_Changed(void* ptr, void* region) { static_cast(ptr)->changed(*static_cast*>(region)); } void QGraphicsScene_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QGraphicsScene_ClearDefault(void* ptr) { static_cast(ptr)->QGraphicsScene::clear(); } void QGraphicsScene_ClearFocus(void* ptr) { static_cast(ptr)->clearFocus(); } void QGraphicsScene_ClearSelection(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clearSelection"); } void QGraphicsScene_ClearSelectionDefault(void* ptr) { static_cast(ptr)->QGraphicsScene::clearSelection(); } struct QtWidgets_PackedList QGraphicsScene_CollidingItems(void* ptr, void* item, long long mode) { if (dynamic_cast(static_cast(item))) { return ({ QList* tmpValue394039 = new QList(static_cast(ptr)->collidingItems(static_cast(item), static_cast(mode))); QtWidgets_PackedList { tmpValue394039, tmpValue394039->size() }; }); } else if (dynamic_cast(static_cast(item))) { return ({ QList* tmpValue394039 = new QList(static_cast(ptr)->collidingItems(static_cast(item), static_cast(mode))); QtWidgets_PackedList { tmpValue394039, tmpValue394039->size() }; }); } else { return ({ QList* tmpValue394039 = new QList(static_cast(ptr)->collidingItems(static_cast(item), static_cast(mode))); QtWidgets_PackedList { tmpValue394039, tmpValue394039->size() }; }); } } void QGraphicsScene_ContextMenuEvent(void* ptr, void* contextMenuEvent) { static_cast(ptr)->contextMenuEvent(static_cast(contextMenuEvent)); } void QGraphicsScene_ContextMenuEventDefault(void* ptr, void* contextMenuEvent) { static_cast(ptr)->QGraphicsScene::contextMenuEvent(static_cast(contextMenuEvent)); } void* QGraphicsScene_CreateItemGroup(void* ptr, void* items) { return static_cast(ptr)->createItemGroup(*static_cast*>(items)); } void QGraphicsScene_DestroyItemGroup(void* ptr, void* group) { static_cast(ptr)->destroyItemGroup(static_cast(group)); } void QGraphicsScene_DragEnterEvent(void* ptr, void* event) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } void QGraphicsScene_DragEnterEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsScene::dragEnterEvent(static_cast(event)); } void QGraphicsScene_DragLeaveEvent(void* ptr, void* event) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } void QGraphicsScene_DragLeaveEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsScene::dragLeaveEvent(static_cast(event)); } void QGraphicsScene_DragMoveEvent(void* ptr, void* event) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } void QGraphicsScene_DragMoveEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsScene::dragMoveEvent(static_cast(event)); } void QGraphicsScene_DrawBackground(void* ptr, void* painter, void* rect) { static_cast(ptr)->drawBackground(static_cast(painter), *static_cast(rect)); } void QGraphicsScene_DrawBackgroundDefault(void* ptr, void* painter, void* rect) { static_cast(ptr)->QGraphicsScene::drawBackground(static_cast(painter), *static_cast(rect)); } void QGraphicsScene_DrawForeground(void* ptr, void* painter, void* rect) { static_cast(ptr)->drawForeground(static_cast(painter), *static_cast(rect)); } void QGraphicsScene_DrawForegroundDefault(void* ptr, void* painter, void* rect) { static_cast(ptr)->QGraphicsScene::drawForeground(static_cast(painter), *static_cast(rect)); } void QGraphicsScene_DropEvent(void* ptr, void* event) { static_cast(ptr)->dropEvent(static_cast(event)); } void QGraphicsScene_DropEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsScene::dropEvent(static_cast(event)); } char QGraphicsScene_EventDefault(void* ptr, void* event) { return static_cast(ptr)->QGraphicsScene::event(static_cast(event)); } char QGraphicsScene_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsScene::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsScene::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsScene::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsScene::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsScene::eventFilter(static_cast(watched), static_cast(event)); } } void QGraphicsScene_FocusInEvent(void* ptr, void* focusEvent) { static_cast(ptr)->focusInEvent(static_cast(focusEvent)); } void QGraphicsScene_FocusInEventDefault(void* ptr, void* focusEvent) { static_cast(ptr)->QGraphicsScene::focusInEvent(static_cast(focusEvent)); } void* QGraphicsScene_FocusItem(void* ptr) { return static_cast(ptr)->focusItem(); } void QGraphicsScene_ConnectFocusItemChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QGraphicsScene::focusItemChanged), static_cast(ptr), static_cast(&MyQGraphicsScene::Signal_FocusItemChanged), static_cast(t)); } void QGraphicsScene_DisconnectFocusItemChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsScene::focusItemChanged), static_cast(ptr), static_cast(&MyQGraphicsScene::Signal_FocusItemChanged)); } void QGraphicsScene_FocusItemChanged(void* ptr, void* newFocusItem, void* oldFocusItem, long long reason) { if (dynamic_cast(static_cast(newFocusItem))) { static_cast(ptr)->focusItemChanged(static_cast(newFocusItem), static_cast(oldFocusItem), static_cast(reason)); } else if (dynamic_cast(static_cast(newFocusItem))) { static_cast(ptr)->focusItemChanged(static_cast(newFocusItem), static_cast(oldFocusItem), static_cast(reason)); } else { static_cast(ptr)->focusItemChanged(static_cast(newFocusItem), static_cast(oldFocusItem), static_cast(reason)); } } char QGraphicsScene_FocusNextPrevChild(void* ptr, char next) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "focusNextPrevChild", Q_RETURN_ARG(bool, returnArg), Q_ARG(bool, next != 0)); return returnArg; } char QGraphicsScene_FocusNextPrevChildDefault(void* ptr, char next) { return static_cast(ptr)->QGraphicsScene::focusNextPrevChild(next != 0); } char QGraphicsScene_FocusOnTouch(void* ptr) { return static_cast(ptr)->focusOnTouch(); } void QGraphicsScene_FocusOutEvent(void* ptr, void* focusEvent) { static_cast(ptr)->focusOutEvent(static_cast(focusEvent)); } void QGraphicsScene_FocusOutEventDefault(void* ptr, void* focusEvent) { static_cast(ptr)->QGraphicsScene::focusOutEvent(static_cast(focusEvent)); } void* QGraphicsScene_Font(void* ptr) { return new QFont(static_cast(ptr)->font()); } void* QGraphicsScene_ForegroundBrush(void* ptr) { return new QBrush(static_cast(ptr)->foregroundBrush()); } char QGraphicsScene_HasFocus(void* ptr) { return static_cast(ptr)->hasFocus(); } double QGraphicsScene_Height(void* ptr) { return static_cast(ptr)->height(); } void QGraphicsScene_HelpEvent(void* ptr, void* helpEvent) { static_cast(ptr)->helpEvent(static_cast(helpEvent)); } void QGraphicsScene_HelpEventDefault(void* ptr, void* helpEvent) { static_cast(ptr)->QGraphicsScene::helpEvent(static_cast(helpEvent)); } void QGraphicsScene_InputMethodEvent(void* ptr, void* event) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } void QGraphicsScene_InputMethodEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsScene::inputMethodEvent(static_cast(event)); } void* QGraphicsScene_InputMethodQuery(void* ptr, long long query) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } void* QGraphicsScene_InputMethodQueryDefault(void* ptr, long long query) { return new QVariant(static_cast(ptr)->QGraphicsScene::inputMethodQuery(static_cast(query))); } void QGraphicsScene_Invalidate(void* ptr, void* rect, long long layers) { QMetaObject::invokeMethod(static_cast(ptr), "invalidate", Q_ARG(const QRectF, *static_cast(rect)), Q_ARG(QGraphicsScene::SceneLayers, static_cast(layers))); } void QGraphicsScene_InvalidateDefault(void* ptr, void* rect, long long layers) { static_cast(ptr)->QGraphicsScene::invalidate(*static_cast(rect), static_cast(layers)); } void QGraphicsScene_Invalidate2(void* ptr, double x, double y, double w, double h, long long layers) { static_cast(ptr)->invalidate(x, y, w, h, static_cast(layers)); } char QGraphicsScene_IsActive(void* ptr) { return static_cast(ptr)->isActive(); } char QGraphicsScene_IsSortCacheEnabled(void* ptr) { return static_cast(ptr)->isSortCacheEnabled(); } void* QGraphicsScene_ItemAt(void* ptr, void* position, void* deviceTransform) { return static_cast(ptr)->itemAt(*static_cast(position), *static_cast(deviceTransform)); } void* QGraphicsScene_ItemAt4(void* ptr, double x, double y, void* deviceTransform) { return static_cast(ptr)->itemAt(x, y, *static_cast(deviceTransform)); } long long QGraphicsScene_ItemIndexMethod(void* ptr) { return static_cast(ptr)->itemIndexMethod(); } struct QtWidgets_PackedList QGraphicsScene_Items(void* ptr, long long order) { return ({ QList* tmpValuea79113 = new QList(static_cast(ptr)->items(static_cast(order))); QtWidgets_PackedList { tmpValuea79113, tmpValuea79113->size() }; }); } struct QtWidgets_PackedList QGraphicsScene_Items2(void* ptr, void* pos, long long mode, long long order, void* deviceTransform) { return ({ QList* tmpValue68679d = new QList(static_cast(ptr)->items(*static_cast(pos), static_cast(mode), static_cast(order), *static_cast(deviceTransform))); QtWidgets_PackedList { tmpValue68679d, tmpValue68679d->size() }; }); } struct QtWidgets_PackedList QGraphicsScene_Items3(void* ptr, void* rect, long long mode, long long order, void* deviceTransform) { return ({ QList* tmpValuec23b67 = new QList(static_cast(ptr)->items(*static_cast(rect), static_cast(mode), static_cast(order), *static_cast(deviceTransform))); QtWidgets_PackedList { tmpValuec23b67, tmpValuec23b67->size() }; }); } struct QtWidgets_PackedList QGraphicsScene_Items4(void* ptr, void* polygon, long long mode, long long order, void* deviceTransform) { return ({ QList* tmpValue73aac6 = new QList(static_cast(ptr)->items(*static_cast(polygon), static_cast(mode), static_cast(order), *static_cast(deviceTransform))); QtWidgets_PackedList { tmpValue73aac6, tmpValue73aac6->size() }; }); } struct QtWidgets_PackedList QGraphicsScene_Items5(void* ptr, void* path, long long mode, long long order, void* deviceTransform) { return ({ QList* tmpValue0a280c = new QList(static_cast(ptr)->items(*static_cast(path), static_cast(mode), static_cast(order), *static_cast(deviceTransform))); QtWidgets_PackedList { tmpValue0a280c, tmpValue0a280c->size() }; }); } struct QtWidgets_PackedList QGraphicsScene_Items7(void* ptr, double x, double y, double w, double h, long long mode, long long order, void* deviceTransform) { return ({ QList* tmpValuee3277d = new QList(static_cast(ptr)->items(x, y, w, h, static_cast(mode), static_cast(order), *static_cast(deviceTransform))); QtWidgets_PackedList { tmpValuee3277d, tmpValuee3277d->size() }; }); } void* QGraphicsScene_ItemsBoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->itemsBoundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsScene_KeyPressEvent(void* ptr, void* keyEvent) { static_cast(ptr)->keyPressEvent(static_cast(keyEvent)); } void QGraphicsScene_KeyPressEventDefault(void* ptr, void* keyEvent) { static_cast(ptr)->QGraphicsScene::keyPressEvent(static_cast(keyEvent)); } void QGraphicsScene_KeyReleaseEvent(void* ptr, void* keyEvent) { static_cast(ptr)->keyReleaseEvent(static_cast(keyEvent)); } void QGraphicsScene_KeyReleaseEventDefault(void* ptr, void* keyEvent) { static_cast(ptr)->QGraphicsScene::keyReleaseEvent(static_cast(keyEvent)); } double QGraphicsScene_MinimumRenderSize(void* ptr) { return static_cast(ptr)->minimumRenderSize(); } void QGraphicsScene_MouseDoubleClickEvent(void* ptr, void* mouseEvent) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(mouseEvent)); } void QGraphicsScene_MouseDoubleClickEventDefault(void* ptr, void* mouseEvent) { static_cast(ptr)->QGraphicsScene::mouseDoubleClickEvent(static_cast(mouseEvent)); } void* QGraphicsScene_MouseGrabberItem(void* ptr) { return static_cast(ptr)->mouseGrabberItem(); } void QGraphicsScene_MouseMoveEvent(void* ptr, void* mouseEvent) { static_cast(ptr)->mouseMoveEvent(static_cast(mouseEvent)); } void QGraphicsScene_MouseMoveEventDefault(void* ptr, void* mouseEvent) { static_cast(ptr)->QGraphicsScene::mouseMoveEvent(static_cast(mouseEvent)); } void QGraphicsScene_MousePressEvent(void* ptr, void* mouseEvent) { static_cast(ptr)->mousePressEvent(static_cast(mouseEvent)); } void QGraphicsScene_MousePressEventDefault(void* ptr, void* mouseEvent) { static_cast(ptr)->QGraphicsScene::mousePressEvent(static_cast(mouseEvent)); } void QGraphicsScene_MouseReleaseEvent(void* ptr, void* mouseEvent) { static_cast(ptr)->mouseReleaseEvent(static_cast(mouseEvent)); } void QGraphicsScene_MouseReleaseEventDefault(void* ptr, void* mouseEvent) { static_cast(ptr)->QGraphicsScene::mouseReleaseEvent(static_cast(mouseEvent)); } void* QGraphicsScene_Palette(void* ptr) { return new QPalette(static_cast(ptr)->palette()); } void QGraphicsScene_RemoveItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->removeItem(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->removeItem(static_cast(item)); } else { static_cast(ptr)->removeItem(static_cast(item)); } } void QGraphicsScene_Render(void* ptr, void* painter, void* target, void* source, long long aspectRatioMode) { static_cast(ptr)->render(static_cast(painter), *static_cast(target), *static_cast(source), static_cast(aspectRatioMode)); } void* QGraphicsScene_SceneRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->sceneRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsScene_ConnectSceneRectChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsScene::sceneRectChanged), static_cast(ptr), static_cast(&MyQGraphicsScene::Signal_SceneRectChanged), static_cast(t)); } void QGraphicsScene_DisconnectSceneRectChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsScene::sceneRectChanged), static_cast(ptr), static_cast(&MyQGraphicsScene::Signal_SceneRectChanged)); } void QGraphicsScene_SceneRectChanged(void* ptr, void* rect) { static_cast(ptr)->sceneRectChanged(*static_cast(rect)); } struct QtWidgets_PackedList QGraphicsScene_SelectedItems(void* ptr) { return ({ QList* tmpValue591fec = new QList(static_cast(ptr)->selectedItems()); QtWidgets_PackedList { tmpValue591fec, tmpValue591fec->size() }; }); } void* QGraphicsScene_SelectionArea(void* ptr) { return new QPainterPath(static_cast(ptr)->selectionArea()); } void QGraphicsScene_ConnectSelectionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsScene::selectionChanged), static_cast(ptr), static_cast(&MyQGraphicsScene::Signal_SelectionChanged), static_cast(t)); } void QGraphicsScene_DisconnectSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsScene::selectionChanged), static_cast(ptr), static_cast(&MyQGraphicsScene::Signal_SelectionChanged)); } void QGraphicsScene_SelectionChanged(void* ptr) { static_cast(ptr)->selectionChanged(); } char QGraphicsScene_SendEvent(void* ptr, void* item, void* event) { if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->sendEvent(static_cast(item), static_cast(event)); } else if (dynamic_cast(static_cast(item))) { return static_cast(ptr)->sendEvent(static_cast(item), static_cast(event)); } else { return static_cast(ptr)->sendEvent(static_cast(item), static_cast(event)); } } void QGraphicsScene_SetActivePanel(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setActivePanel(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setActivePanel(static_cast(item)); } else { static_cast(ptr)->setActivePanel(static_cast(item)); } } void QGraphicsScene_SetActiveWindow(void* ptr, void* widget) { static_cast(ptr)->setActiveWindow(static_cast(widget)); } void QGraphicsScene_SetBackgroundBrush(void* ptr, void* brush) { static_cast(ptr)->setBackgroundBrush(*static_cast(brush)); } void QGraphicsScene_SetBspTreeDepth(void* ptr, int depth) { static_cast(ptr)->setBspTreeDepth(depth); } void QGraphicsScene_SetFocus(void* ptr, long long focusReason) { static_cast(ptr)->setFocus(static_cast(focusReason)); } void QGraphicsScene_SetFocusItem(void* ptr, void* item, long long focusReason) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setFocusItem(static_cast(item), static_cast(focusReason)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->setFocusItem(static_cast(item), static_cast(focusReason)); } else { static_cast(ptr)->setFocusItem(static_cast(item), static_cast(focusReason)); } } void QGraphicsScene_SetFocusOnTouch(void* ptr, char enabled) { static_cast(ptr)->setFocusOnTouch(enabled != 0); } void QGraphicsScene_SetFont(void* ptr, void* font) { static_cast(ptr)->setFont(*static_cast(font)); } void QGraphicsScene_SetForegroundBrush(void* ptr, void* brush) { static_cast(ptr)->setForegroundBrush(*static_cast(brush)); } void QGraphicsScene_SetItemIndexMethod(void* ptr, long long method) { static_cast(ptr)->setItemIndexMethod(static_cast(method)); } void QGraphicsScene_SetMinimumRenderSize(void* ptr, double minSize) { static_cast(ptr)->setMinimumRenderSize(minSize); } void QGraphicsScene_SetPalette(void* ptr, void* palette) { static_cast(ptr)->setPalette(*static_cast(palette)); } void QGraphicsScene_SetSceneRect(void* ptr, void* rect) { static_cast(ptr)->setSceneRect(*static_cast(rect)); } void QGraphicsScene_SetSceneRect2(void* ptr, double x, double y, double w, double h) { static_cast(ptr)->setSceneRect(x, y, w, h); } void QGraphicsScene_SetSelectionArea(void* ptr, void* path, void* deviceTransform) { static_cast(ptr)->setSelectionArea(*static_cast(path), *static_cast(deviceTransform)); } void QGraphicsScene_SetSelectionArea2(void* ptr, void* path, long long mode, void* deviceTransform) { static_cast(ptr)->setSelectionArea(*static_cast(path), static_cast(mode), *static_cast(deviceTransform)); } void QGraphicsScene_SetSelectionArea3(void* ptr, void* path, long long selectionOperation, long long mode, void* deviceTransform) { static_cast(ptr)->setSelectionArea(*static_cast(path), static_cast(selectionOperation), static_cast(mode), *static_cast(deviceTransform)); } void QGraphicsScene_SetSortCacheEnabled(void* ptr, char enabled) { static_cast(ptr)->setSortCacheEnabled(enabled != 0); } void QGraphicsScene_SetStickyFocus(void* ptr, char enabled) { static_cast(ptr)->setStickyFocus(enabled != 0); } void QGraphicsScene_SetStyle(void* ptr, void* style) { static_cast(ptr)->setStyle(static_cast(style)); } char QGraphicsScene_StickyFocus(void* ptr) { return static_cast(ptr)->stickyFocus(); } void* QGraphicsScene_Style(void* ptr) { return static_cast(ptr)->style(); } void QGraphicsScene_Update(void* ptr, void* rect) { QMetaObject::invokeMethod(static_cast(ptr), "update", Q_ARG(const QRectF, *static_cast(rect))); } void QGraphicsScene_UpdateDefault(void* ptr, void* rect) { static_cast(ptr)->QGraphicsScene::update(*static_cast(rect)); } void QGraphicsScene_Update2(void* ptr, double x, double y, double w, double h) { static_cast(ptr)->update(x, y, w, h); } struct QtWidgets_PackedList QGraphicsScene_Views(void* ptr) { return ({ QList* tmpValuec79e3c = new QList(static_cast(ptr)->views()); QtWidgets_PackedList { tmpValuec79e3c, tmpValuec79e3c->size() }; }); } void QGraphicsScene_WheelEvent(void* ptr, void* wheelEvent) { static_cast(ptr)->wheelEvent(static_cast(wheelEvent)); } void QGraphicsScene_WheelEventDefault(void* ptr, void* wheelEvent) { static_cast(ptr)->QGraphicsScene::wheelEvent(static_cast(wheelEvent)); } double QGraphicsScene_Width(void* ptr) { return static_cast(ptr)->width(); } void QGraphicsScene_DestroyQGraphicsScene(void* ptr) { static_cast(ptr)->~QGraphicsScene(); } void QGraphicsScene_DestroyQGraphicsSceneDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsScene___changed_region_atList(void* ptr, int i) { return ({ QRectF tmpValue = ({QRectF tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsScene___changed_region_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGraphicsScene___changed_region_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___collidingItems_atList(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___collidingItems_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___collidingItems_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___createItemGroup_items_atList(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___createItemGroup_items_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___createItemGroup_items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___items_atList(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___items_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___items_atList2(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___items_setList2(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___items_newList2(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___items_atList3(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___items_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___items_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___items_atList4(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___items_setList4(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___items_newList4(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___items_atList5(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___items_setList5(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___items_newList5(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___items_atList7(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___items_setList7(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___items_newList7(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___selectedItems_atList(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___selectedItems_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___selectedItems_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___views_atList(void* ptr, int i) { return ({QGraphicsView * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___views_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGraphicsScene___views_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QGraphicsScene___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGraphicsScene___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsScene___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsScene___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsScene___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QGraphicsScene_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsScene::childEvent(static_cast(event)); } void QGraphicsScene_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGraphicsScene::connectNotify(*static_cast(sign)); } void QGraphicsScene_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsScene::customEvent(static_cast(event)); } void QGraphicsScene_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QGraphicsScene::deleteLater(); } void QGraphicsScene_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QGraphicsScene::disconnectNotify(*static_cast(sign)); } void* QGraphicsScene_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QGraphicsScene::metaObject()); } void QGraphicsScene_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QGraphicsScene::timerEvent(static_cast(event)); } class MyQGraphicsSceneContextMenuEvent: public QGraphicsSceneContextMenuEvent { public: ~MyQGraphicsSceneContextMenuEvent() { callbackQGraphicsSceneContextMenuEvent_DestroyQGraphicsSceneContextMenuEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneContextMenuEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneContextMenuEvent*) int QGraphicsSceneContextMenuEvent_QGraphicsSceneContextMenuEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} long long QGraphicsSceneContextMenuEvent_Modifiers(void* ptr) { return static_cast(ptr)->modifiers(); } void* QGraphicsSceneContextMenuEvent_Pos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } long long QGraphicsSceneContextMenuEvent_Reason(void* ptr) { return static_cast(ptr)->reason(); } void* QGraphicsSceneContextMenuEvent_ScenePos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneContextMenuEvent_ScreenPos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } void QGraphicsSceneContextMenuEvent_DestroyQGraphicsSceneContextMenuEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneContextMenuEvent(); } void QGraphicsSceneContextMenuEvent_DestroyQGraphicsSceneContextMenuEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSceneDragDropEvent: public QGraphicsSceneDragDropEvent { public: ~MyQGraphicsSceneDragDropEvent() { callbackQGraphicsSceneDragDropEvent_DestroyQGraphicsSceneDragDropEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneDragDropEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneDragDropEvent*) int QGraphicsSceneDragDropEvent_QGraphicsSceneDragDropEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void QGraphicsSceneDragDropEvent_AcceptProposedAction(void* ptr) { static_cast(ptr)->acceptProposedAction(); } long long QGraphicsSceneDragDropEvent_Buttons(void* ptr) { return static_cast(ptr)->buttons(); } long long QGraphicsSceneDragDropEvent_DropAction(void* ptr) { return static_cast(ptr)->dropAction(); } void* QGraphicsSceneDragDropEvent_MimeData(void* ptr) { return const_cast(static_cast(ptr)->mimeData()); } long long QGraphicsSceneDragDropEvent_Modifiers(void* ptr) { return static_cast(ptr)->modifiers(); } void* QGraphicsSceneDragDropEvent_Pos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } long long QGraphicsSceneDragDropEvent_PossibleActions(void* ptr) { return static_cast(ptr)->possibleActions(); } long long QGraphicsSceneDragDropEvent_ProposedAction(void* ptr) { return static_cast(ptr)->proposedAction(); } void* QGraphicsSceneDragDropEvent_ScenePos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneDragDropEvent_ScreenPos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } void QGraphicsSceneDragDropEvent_SetDropAction(void* ptr, long long action) { static_cast(ptr)->setDropAction(static_cast(action)); } void* QGraphicsSceneDragDropEvent_Source(void* ptr) { return static_cast(ptr)->source(); } void QGraphicsSceneDragDropEvent_DestroyQGraphicsSceneDragDropEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneDragDropEvent(); } void QGraphicsSceneDragDropEvent_DestroyQGraphicsSceneDragDropEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSceneEvent: public QGraphicsSceneEvent { public: ~MyQGraphicsSceneEvent() { callbackQGraphicsSceneEvent_DestroyQGraphicsSceneEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneEvent*) int QGraphicsSceneEvent_QGraphicsSceneEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsSceneEvent_Widget(void* ptr) { return static_cast(ptr)->widget(); } void QGraphicsSceneEvent_DestroyQGraphicsSceneEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneEvent(); } void QGraphicsSceneEvent_DestroyQGraphicsSceneEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSceneHelpEvent: public QGraphicsSceneHelpEvent { public: ~MyQGraphicsSceneHelpEvent() { callbackQGraphicsSceneHelpEvent_DestroyQGraphicsSceneHelpEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneHelpEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneHelpEvent*) int QGraphicsSceneHelpEvent_QGraphicsSceneHelpEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsSceneHelpEvent_ScenePos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneHelpEvent_ScreenPos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } void QGraphicsSceneHelpEvent_DestroyQGraphicsSceneHelpEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneHelpEvent(); } void QGraphicsSceneHelpEvent_DestroyQGraphicsSceneHelpEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSceneHoverEvent: public QGraphicsSceneHoverEvent { public: ~MyQGraphicsSceneHoverEvent() { callbackQGraphicsSceneHoverEvent_DestroyQGraphicsSceneHoverEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneHoverEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneHoverEvent*) int QGraphicsSceneHoverEvent_QGraphicsSceneHoverEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsSceneHoverEvent_LastPos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->lastPos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneHoverEvent_LastScenePos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->lastScenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneHoverEvent_LastScreenPos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->lastScreenPos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } long long QGraphicsSceneHoverEvent_Modifiers(void* ptr) { return static_cast(ptr)->modifiers(); } void* QGraphicsSceneHoverEvent_Pos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneHoverEvent_ScenePos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneHoverEvent_ScreenPos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } void QGraphicsSceneHoverEvent_DestroyQGraphicsSceneHoverEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneHoverEvent(); } void QGraphicsSceneHoverEvent_DestroyQGraphicsSceneHoverEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSceneMouseEvent: public QGraphicsSceneMouseEvent { public: ~MyQGraphicsSceneMouseEvent() { callbackQGraphicsSceneMouseEvent_DestroyQGraphicsSceneMouseEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneMouseEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneMouseEvent*) int QGraphicsSceneMouseEvent_QGraphicsSceneMouseEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} long long QGraphicsSceneMouseEvent_Button(void* ptr) { return static_cast(ptr)->button(); } void* QGraphicsSceneMouseEvent_ButtonDownPos(void* ptr, long long button) { return ({ QPointF tmpValue = static_cast(ptr)->buttonDownPos(static_cast(button)); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneMouseEvent_ButtonDownScenePos(void* ptr, long long button) { return ({ QPointF tmpValue = static_cast(ptr)->buttonDownScenePos(static_cast(button)); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneMouseEvent_ButtonDownScreenPos(void* ptr, long long button) { return ({ QPoint tmpValue = static_cast(ptr)->buttonDownScreenPos(static_cast(button)); new QPoint(tmpValue.x(), tmpValue.y()); }); } long long QGraphicsSceneMouseEvent_Buttons(void* ptr) { return static_cast(ptr)->buttons(); } long long QGraphicsSceneMouseEvent_Flags(void* ptr) { return static_cast(ptr)->flags(); } void* QGraphicsSceneMouseEvent_LastPos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->lastPos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneMouseEvent_LastScenePos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->lastScenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneMouseEvent_LastScreenPos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->lastScreenPos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } long long QGraphicsSceneMouseEvent_Modifiers(void* ptr) { return static_cast(ptr)->modifiers(); } void* QGraphicsSceneMouseEvent_Pos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneMouseEvent_ScenePos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneMouseEvent_ScreenPos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } long long QGraphicsSceneMouseEvent_Source(void* ptr) { return static_cast(ptr)->source(); } void QGraphicsSceneMouseEvent_DestroyQGraphicsSceneMouseEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneMouseEvent(); } void QGraphicsSceneMouseEvent_DestroyQGraphicsSceneMouseEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSceneMoveEvent: public QGraphicsSceneMoveEvent { public: MyQGraphicsSceneMoveEvent() : QGraphicsSceneMoveEvent() {QGraphicsSceneMoveEvent_QGraphicsSceneMoveEvent_QRegisterMetaType();}; ~MyQGraphicsSceneMoveEvent() { callbackQGraphicsSceneMoveEvent_DestroyQGraphicsSceneMoveEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneMoveEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneMoveEvent*) int QGraphicsSceneMoveEvent_QGraphicsSceneMoveEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsSceneMoveEvent_NewQGraphicsSceneMoveEvent2() { return new MyQGraphicsSceneMoveEvent(); } void* QGraphicsSceneMoveEvent_NewPos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->newPos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneMoveEvent_OldPos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->oldPos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QGraphicsSceneMoveEvent_DestroyQGraphicsSceneMoveEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneMoveEvent(); } void QGraphicsSceneMoveEvent_DestroyQGraphicsSceneMoveEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSceneResizeEvent: public QGraphicsSceneResizeEvent { public: MyQGraphicsSceneResizeEvent() : QGraphicsSceneResizeEvent() {QGraphicsSceneResizeEvent_QGraphicsSceneResizeEvent_QRegisterMetaType();}; ~MyQGraphicsSceneResizeEvent() { callbackQGraphicsSceneResizeEvent_DestroyQGraphicsSceneResizeEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneResizeEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneResizeEvent*) int QGraphicsSceneResizeEvent_QGraphicsSceneResizeEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsSceneResizeEvent_NewQGraphicsSceneResizeEvent2() { return new MyQGraphicsSceneResizeEvent(); } void* QGraphicsSceneResizeEvent_NewSize(void* ptr) { return ({ QSizeF tmpValue = static_cast(ptr)->newSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void* QGraphicsSceneResizeEvent_OldSize(void* ptr) { return ({ QSizeF tmpValue = static_cast(ptr)->oldSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void QGraphicsSceneResizeEvent_DestroyQGraphicsSceneResizeEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneResizeEvent(); } void QGraphicsSceneResizeEvent_DestroyQGraphicsSceneResizeEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSceneWheelEvent: public QGraphicsSceneWheelEvent { public: ~MyQGraphicsSceneWheelEvent() { callbackQGraphicsSceneWheelEvent_DestroyQGraphicsSceneWheelEvent(this); }; }; Q_DECLARE_METATYPE(QGraphicsSceneWheelEvent*) Q_DECLARE_METATYPE(MyQGraphicsSceneWheelEvent*) int QGraphicsSceneWheelEvent_QGraphicsSceneWheelEvent_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} long long QGraphicsSceneWheelEvent_Buttons(void* ptr) { return static_cast(ptr)->buttons(); } int QGraphicsSceneWheelEvent_Delta(void* ptr) { return static_cast(ptr)->delta(); } long long QGraphicsSceneWheelEvent_Modifiers(void* ptr) { return static_cast(ptr)->modifiers(); } long long QGraphicsSceneWheelEvent_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void* QGraphicsSceneWheelEvent_Pos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->pos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneWheelEvent_ScenePos(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->scenePos(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsSceneWheelEvent_ScreenPos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->screenPos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } void QGraphicsSceneWheelEvent_DestroyQGraphicsSceneWheelEvent(void* ptr) { static_cast(ptr)->~QGraphicsSceneWheelEvent(); } void QGraphicsSceneWheelEvent_DestroyQGraphicsSceneWheelEventDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsSimpleTextItem: public QGraphicsSimpleTextItem { public: MyQGraphicsSimpleTextItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsSimpleTextItem(parent) {QGraphicsSimpleTextItem_QGraphicsSimpleTextItem_QRegisterMetaType();}; MyQGraphicsSimpleTextItem(const QString &text, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsSimpleTextItem(text, parent) {QGraphicsSimpleTextItem_QGraphicsSimpleTextItem_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsSimpleTextItem_BoundingRect(const_cast(static_cast(this)))); }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsSimpleTextItem_Paint(this, painter, const_cast(option), widget); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsSimpleTextItem() { callbackQGraphicsSimpleTextItem_DestroyQGraphicsSimpleTextItem(this); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsSimpleTextItem*) Q_DECLARE_METATYPE(MyQGraphicsSimpleTextItem*) int QGraphicsSimpleTextItem_QGraphicsSimpleTextItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsSimpleTextItem_NewQGraphicsSimpleTextItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsSimpleTextItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsSimpleTextItem(static_cast(parent)); } else { return new MyQGraphicsSimpleTextItem(static_cast(parent)); } } void* QGraphicsSimpleTextItem_NewQGraphicsSimpleTextItem2(struct QtWidgets_PackedString text, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsSimpleTextItem(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsSimpleTextItem(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else { return new MyQGraphicsSimpleTextItem(QString::fromUtf8(text.data, text.len), static_cast(parent)); } } void* QGraphicsSimpleTextItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsSimpleTextItem_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsSimpleTextItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsSimpleTextItem_Font(void* ptr) { return new QFont(static_cast(ptr)->font()); } void QGraphicsSimpleTextItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsSimpleTextItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsSimpleTextItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsSimpleTextItem_SetFont(void* ptr, void* font) { static_cast(ptr)->setFont(*static_cast(font)); } void QGraphicsSimpleTextItem_SetText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(QString::fromUtf8(text.data, text.len)); } struct QtWidgets_PackedString QGraphicsSimpleTextItem_Text(void* ptr) { return ({ QByteArray* tb2ceed = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(tb2ceed->prepend("WHITESPACE").constData()+10), tb2ceed->size()-10, tb2ceed }; }); } void QGraphicsSimpleTextItem_DestroyQGraphicsSimpleTextItem(void* ptr) { static_cast(ptr)->~QGraphicsSimpleTextItem(); } void QGraphicsSimpleTextItem_DestroyQGraphicsSimpleTextItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsTextItem: public QGraphicsTextItem { public: MyQGraphicsTextItem(QGraphicsItem *parent = Q_NULLPTR) : QGraphicsTextItem(parent) {QGraphicsTextItem_QGraphicsTextItem_QRegisterMetaType();}; MyQGraphicsTextItem(const QString &text, QGraphicsItem *parent = Q_NULLPTR) : QGraphicsTextItem(text, parent) {QGraphicsTextItem_QGraphicsTextItem_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsTextItem_BoundingRect(const_cast(static_cast(this)))); }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void Signal_LinkActivated(const QString & link) { QByteArray* t4f0aa5 = new QByteArray(link.toUtf8()); QtWidgets_PackedString linkPacked = { const_cast(t4f0aa5->prepend("WHITESPACE").constData()+10), t4f0aa5->size()-10, t4f0aa5 };callbackQGraphicsTextItem_LinkActivated(this, linkPacked); }; void Signal_LinkHovered(const QString & link) { QByteArray* t4f0aa5 = new QByteArray(link.toUtf8()); QtWidgets_PackedString linkPacked = { const_cast(t4f0aa5->prepend("WHITESPACE").constData()+10), t4f0aa5->size()-10, t4f0aa5 };callbackQGraphicsTextItem_LinkHovered(this, linkPacked); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsTextItem_Paint(this, painter, const_cast(option), widget); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; ~MyQGraphicsTextItem() { callbackQGraphicsTextItem_DestroyQGraphicsTextItem(this); }; void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); }; bool event(QEvent * ev) { return callbackQGraphicsObject_Event(this, ev) != 0; }; void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); }; void Signal_ParentChanged() { callbackQGraphicsObject_ParentChanged(this); }; void Signal_RotationChanged() { callbackQGraphicsObject_RotationChanged(this); }; void Signal_ScaleChanged() { callbackQGraphicsObject_ScaleChanged(this); }; void updateMicroFocus() { callbackQGraphicsObject_UpdateMicroFocus(this); }; void Signal_VisibleChanged() { callbackQGraphicsObject_VisibleChanged(this); }; void Signal_XChanged() { callbackQGraphicsObject_XChanged(this); }; void Signal_YChanged() { callbackQGraphicsObject_YChanged(this); }; void Signal_ZChanged() { callbackQGraphicsObject_ZChanged(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsObject_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsObject_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsObject_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsObject_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsObject_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsObject_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsObject_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsObject_TimerEvent(this, event); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsTextItem*) Q_DECLARE_METATYPE(MyQGraphicsTextItem*) int QGraphicsTextItem_QGraphicsTextItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsTextItem_NewQGraphicsTextItem(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTextItem(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTextItem(static_cast(parent)); } else { return new MyQGraphicsTextItem(static_cast(parent)); } } void* QGraphicsTextItem_NewQGraphicsTextItem2(struct QtWidgets_PackedString text, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTextItem(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTextItem(QString::fromUtf8(text.data, text.len), static_cast(parent)); } else { return new MyQGraphicsTextItem(QString::fromUtf8(text.data, text.len), static_cast(parent)); } } void QGraphicsTextItem_AdjustSize(void* ptr) { static_cast(ptr)->adjustSize(); } void* QGraphicsTextItem_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsTextItem_BoundingRectDefault(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsTextItem::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsTextItem_DefaultTextColor(void* ptr) { return new QColor(static_cast(ptr)->defaultTextColor()); } void* QGraphicsTextItem_Document(void* ptr) { return static_cast(ptr)->document(); } void* QGraphicsTextItem_Font(void* ptr) { return new QFont(static_cast(ptr)->font()); } void QGraphicsTextItem_ConnectLinkActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsTextItem::linkActivated), static_cast(ptr), static_cast(&MyQGraphicsTextItem::Signal_LinkActivated), static_cast(t)); } void QGraphicsTextItem_DisconnectLinkActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsTextItem::linkActivated), static_cast(ptr), static_cast(&MyQGraphicsTextItem::Signal_LinkActivated)); } void QGraphicsTextItem_LinkActivated(void* ptr, struct QtWidgets_PackedString link) { static_cast(ptr)->linkActivated(QString::fromUtf8(link.data, link.len)); } void QGraphicsTextItem_ConnectLinkHovered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsTextItem::linkHovered), static_cast(ptr), static_cast(&MyQGraphicsTextItem::Signal_LinkHovered), static_cast(t)); } void QGraphicsTextItem_DisconnectLinkHovered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsTextItem::linkHovered), static_cast(ptr), static_cast(&MyQGraphicsTextItem::Signal_LinkHovered)); } void QGraphicsTextItem_LinkHovered(void* ptr, struct QtWidgets_PackedString link) { static_cast(ptr)->linkHovered(QString::fromUtf8(link.data, link.len)); } char QGraphicsTextItem_OpenExternalLinks(void* ptr) { return static_cast(ptr)->openExternalLinks(); } void QGraphicsTextItem_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsTextItem_PaintDefault(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->QGraphicsTextItem::paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsTextItem_SetDefaultTextColor(void* ptr, void* col) { static_cast(ptr)->setDefaultTextColor(*static_cast(col)); } void QGraphicsTextItem_SetDocument(void* ptr, void* document) { static_cast(ptr)->setDocument(static_cast(document)); } void QGraphicsTextItem_SetFont(void* ptr, void* font) { static_cast(ptr)->setFont(*static_cast(font)); } void QGraphicsTextItem_SetHtml(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setHtml(QString::fromUtf8(text.data, text.len)); } void QGraphicsTextItem_SetOpenExternalLinks(void* ptr, char open) { static_cast(ptr)->setOpenExternalLinks(open != 0); } void QGraphicsTextItem_SetPlainText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setPlainText(QString::fromUtf8(text.data, text.len)); } void QGraphicsTextItem_SetTabChangesFocus(void* ptr, char b) { static_cast(ptr)->setTabChangesFocus(b != 0); } void QGraphicsTextItem_SetTextCursor(void* ptr, void* cursor) { static_cast(ptr)->setTextCursor(*static_cast(cursor)); } void QGraphicsTextItem_SetTextInteractionFlags(void* ptr, long long flags) { static_cast(ptr)->setTextInteractionFlags(static_cast(flags)); } void QGraphicsTextItem_SetTextWidth(void* ptr, double width) { static_cast(ptr)->setTextWidth(width); } char QGraphicsTextItem_TabChangesFocus(void* ptr) { return static_cast(ptr)->tabChangesFocus(); } void* QGraphicsTextItem_TextCursor(void* ptr) { return new QTextCursor(static_cast(ptr)->textCursor()); } long long QGraphicsTextItem_TextInteractionFlags(void* ptr) { return static_cast(ptr)->textInteractionFlags(); } double QGraphicsTextItem_TextWidth(void* ptr) { return static_cast(ptr)->textWidth(); } struct QtWidgets_PackedString QGraphicsTextItem_ToHtml(void* ptr) { return ({ QByteArray* t880d4e = new QByteArray(static_cast(ptr)->toHtml().toUtf8()); QtWidgets_PackedString { const_cast(t880d4e->prepend("WHITESPACE").constData()+10), t880d4e->size()-10, t880d4e }; }); } struct QtWidgets_PackedString QGraphicsTextItem_ToPlainText(void* ptr) { return ({ QByteArray* t3e9441 = new QByteArray(static_cast(ptr)->toPlainText().toUtf8()); QtWidgets_PackedString { const_cast(t3e9441->prepend("WHITESPACE").constData()+10), t3e9441->size()-10, t3e9441 }; }); } void QGraphicsTextItem_DestroyQGraphicsTextItem(void* ptr) { static_cast(ptr)->~QGraphicsTextItem(); } void QGraphicsTextItem_DestroyQGraphicsTextItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGraphicsTransform: public QGraphicsTransform { public: MyQGraphicsTransform(QObject *parent = Q_NULLPTR) : QGraphicsTransform(parent) {QGraphicsTransform_QGraphicsTransform_QRegisterMetaType();}; void applyTo(QMatrix4x4 * matrix) const { callbackQGraphicsTransform_ApplyTo(const_cast(static_cast(this)), matrix); }; void update() { callbackQGraphicsTransform_Update(this); }; ~MyQGraphicsTransform() { callbackQGraphicsTransform_DestroyQGraphicsTransform(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsTransform_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsTransform_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsTransform_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsTransform_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsTransform_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGraphicsTransform_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsTransform_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsTransform_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsTransform_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsTransform_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsTransform*) Q_DECLARE_METATYPE(MyQGraphicsTransform*) int QGraphicsTransform_QGraphicsTransform_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsTransform_NewQGraphicsTransform(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQGraphicsTransform(static_cast(parent)); } else { return new MyQGraphicsTransform(static_cast(parent)); } } void QGraphicsTransform_ApplyTo(void* ptr, void* matrix) { static_cast(ptr)->applyTo(static_cast(matrix)); } void QGraphicsTransform_Update(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "update"); } void QGraphicsTransform_UpdateDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRotation::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsScale::update(); } else { static_cast(ptr)->QGraphicsTransform::update(); } } void QGraphicsTransform_DestroyQGraphicsTransform(void* ptr) { static_cast(ptr)->~QGraphicsTransform(); } void QGraphicsTransform_DestroyQGraphicsTransformDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsTransform___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsTransform___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsTransform___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsTransform___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QGraphicsTransform___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGraphicsTransform___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsTransform___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsTransform___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsTransform___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsTransform___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsTransform___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsTransform___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QGraphicsTransform_ChildEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRotation::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsScale::childEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsTransform::childEvent(static_cast(event)); } } void QGraphicsTransform_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRotation::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsScale::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QGraphicsTransform::connectNotify(*static_cast(sign)); } } void QGraphicsTransform_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRotation::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsScale::customEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsTransform::customEvent(static_cast(event)); } } void QGraphicsTransform_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRotation::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsScale::deleteLater(); } else { static_cast(ptr)->QGraphicsTransform::deleteLater(); } } void QGraphicsTransform_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRotation::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsScale::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QGraphicsTransform::disconnectNotify(*static_cast(sign)); } } char QGraphicsTransform_EventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsRotation::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsScale::event(static_cast(e)); } else { return static_cast(ptr)->QGraphicsTransform::event(static_cast(e)); } } char QGraphicsTransform_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsRotation::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsRotation::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsRotation::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsRotation::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsRotation::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsScale::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsScale::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsScale::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsScale::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsScale::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTransform::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTransform::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTransform::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsTransform::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsTransform::eventFilter(static_cast(watched), static_cast(event)); } } } void* QGraphicsTransform_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsRotation::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsScale::metaObject()); } else { return const_cast(static_cast(ptr)->QGraphicsTransform::metaObject()); } } void QGraphicsTransform_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsRotation::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsScale::timerEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsTransform::timerEvent(static_cast(event)); } } class MyQGraphicsView: public QGraphicsView { public: MyQGraphicsView(QWidget *parent = Q_NULLPTR) : QGraphicsView(parent) {QGraphicsView_QGraphicsView_QRegisterMetaType();}; MyQGraphicsView(QGraphicsScene *scene, QWidget *parent = Q_NULLPTR) : QGraphicsView(scene, parent) {QGraphicsView_QGraphicsView_QRegisterMetaType();}; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void drawBackground(QPainter * painter, const QRectF & rect) { callbackQGraphicsView_DrawBackground(this, painter, const_cast(&rect)); }; void drawForeground(QPainter * painter, const QRectF & rect) { callbackQGraphicsView_DrawForeground(this, painter, const_cast(&rect)); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void invalidateScene(const QRectF & rect, QGraphicsScene::SceneLayers layers) { callbackQGraphicsView_InvalidateScene(this, const_cast(&rect), layers); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void Signal_RubberBandChanged(QRect rubberBandRect, QPointF fromScenePoint, QPointF toScenePoint) { callbackQGraphicsView_RubberBandChanged(this, ({ QRect tmpValue = rubberBandRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }), ({ QPointF tmpValue = fromScenePoint; new QPointF(tmpValue.x(), tmpValue.y()); }), ({ QPointF tmpValue = toScenePoint; new QPointF(tmpValue.x(), tmpValue.y()); })); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * widget) { callbackQGraphicsView_SetupViewport(this, widget); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void updateScene(const QList & rects) { callbackQGraphicsView_UpdateScene(this, ({ QList* tmpValueb7a09e = new QList(rects); QtWidgets_PackedList { tmpValueb7a09e, tmpValueb7a09e->size() }; })); }; void updateSceneRect(const QRectF & rect) { callbackQGraphicsView_UpdateSceneRect(this, const_cast(&rect)); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; ~MyQGraphicsView() { callbackQGraphicsView_DestroyQGraphicsView(this); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsView*) Q_DECLARE_METATYPE(MyQGraphicsView*) int QGraphicsView_QGraphicsView_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsView_NewQGraphicsView(void* parent) { return new MyQGraphicsView(static_cast(parent)); } void* QGraphicsView_NewQGraphicsView2(void* scene, void* parent) { return new MyQGraphicsView(static_cast(scene), static_cast(parent)); } long long QGraphicsView_Alignment(void* ptr) { return static_cast(ptr)->alignment(); } void* QGraphicsView_BackgroundBrush(void* ptr) { return new QBrush(static_cast(ptr)->backgroundBrush()); } long long QGraphicsView_CacheMode(void* ptr) { return static_cast(ptr)->cacheMode(); } void QGraphicsView_CenterOn(void* ptr, void* pos) { static_cast(ptr)->centerOn(*static_cast(pos)); } void QGraphicsView_CenterOn2(void* ptr, double x, double y) { static_cast(ptr)->centerOn(x, y); } void QGraphicsView_CenterOn3(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->centerOn(static_cast(item)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->centerOn(static_cast(item)); } else { static_cast(ptr)->centerOn(static_cast(item)); } } long long QGraphicsView_DragMode(void* ptr) { return static_cast(ptr)->dragMode(); } void QGraphicsView_DrawBackground(void* ptr, void* painter, void* rect) { static_cast(ptr)->drawBackground(static_cast(painter), *static_cast(rect)); } void QGraphicsView_DrawBackgroundDefault(void* ptr, void* painter, void* rect) { static_cast(ptr)->QGraphicsView::drawBackground(static_cast(painter), *static_cast(rect)); } void QGraphicsView_DrawForeground(void* ptr, void* painter, void* rect) { static_cast(ptr)->drawForeground(static_cast(painter), *static_cast(rect)); } void QGraphicsView_DrawForegroundDefault(void* ptr, void* painter, void* rect) { static_cast(ptr)->QGraphicsView::drawForeground(static_cast(painter), *static_cast(rect)); } void QGraphicsView_EnsureVisible(void* ptr, void* rect, int xmargin, int ymargin) { static_cast(ptr)->ensureVisible(*static_cast(rect), xmargin, ymargin); } void QGraphicsView_EnsureVisible2(void* ptr, double x, double y, double w, double h, int xmargin, int ymargin) { static_cast(ptr)->ensureVisible(x, y, w, h, xmargin, ymargin); } void QGraphicsView_EnsureVisible3(void* ptr, void* item, int xmargin, int ymargin) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->ensureVisible(static_cast(item), xmargin, ymargin); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->ensureVisible(static_cast(item), xmargin, ymargin); } else { static_cast(ptr)->ensureVisible(static_cast(item), xmargin, ymargin); } } void QGraphicsView_FitInView(void* ptr, void* rect, long long aspectRatioMode) { static_cast(ptr)->fitInView(*static_cast(rect), static_cast(aspectRatioMode)); } void QGraphicsView_FitInView2(void* ptr, double x, double y, double w, double h, long long aspectRatioMode) { static_cast(ptr)->fitInView(x, y, w, h, static_cast(aspectRatioMode)); } void QGraphicsView_FitInView3(void* ptr, void* item, long long aspectRatioMode) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->fitInView(static_cast(item), static_cast(aspectRatioMode)); } else if (dynamic_cast(static_cast(item))) { static_cast(ptr)->fitInView(static_cast(item), static_cast(aspectRatioMode)); } else { static_cast(ptr)->fitInView(static_cast(item), static_cast(aspectRatioMode)); } } void* QGraphicsView_ForegroundBrush(void* ptr) { return new QBrush(static_cast(ptr)->foregroundBrush()); } void QGraphicsView_InvalidateScene(void* ptr, void* rect, long long layers) { QMetaObject::invokeMethod(static_cast(ptr), "invalidateScene", Q_ARG(const QRectF, *static_cast(rect)), Q_ARG(QGraphicsScene::SceneLayers, static_cast(layers))); } void QGraphicsView_InvalidateSceneDefault(void* ptr, void* rect, long long layers) { static_cast(ptr)->QGraphicsView::invalidateScene(*static_cast(rect), static_cast(layers)); } char QGraphicsView_IsInteractive(void* ptr) { return static_cast(ptr)->isInteractive(); } char QGraphicsView_IsTransformed(void* ptr) { return static_cast(ptr)->isTransformed(); } void* QGraphicsView_ItemAt(void* ptr, void* pos) { return static_cast(ptr)->itemAt(*static_cast(pos)); } void* QGraphicsView_ItemAt2(void* ptr, int x, int y) { return static_cast(ptr)->itemAt(x, y); } struct QtWidgets_PackedList QGraphicsView_Items(void* ptr) { return ({ QList* tmpValued1f47c = new QList(static_cast(ptr)->items()); QtWidgets_PackedList { tmpValued1f47c, tmpValued1f47c->size() }; }); } struct QtWidgets_PackedList QGraphicsView_Items2(void* ptr, void* pos) { return ({ QList* tmpValuea914ba = new QList(static_cast(ptr)->items(*static_cast(pos))); QtWidgets_PackedList { tmpValuea914ba, tmpValuea914ba->size() }; }); } struct QtWidgets_PackedList QGraphicsView_Items3(void* ptr, int x, int y) { return ({ QList* tmpValue429885 = new QList(static_cast(ptr)->items(x, y)); QtWidgets_PackedList { tmpValue429885, tmpValue429885->size() }; }); } struct QtWidgets_PackedList QGraphicsView_Items4(void* ptr, void* rect, long long mode) { return ({ QList* tmpValue4b93fb = new QList(static_cast(ptr)->items(*static_cast(rect), static_cast(mode))); QtWidgets_PackedList { tmpValue4b93fb, tmpValue4b93fb->size() }; }); } struct QtWidgets_PackedList QGraphicsView_Items5(void* ptr, int x, int y, int w, int h, long long mode) { return ({ QList* tmpValue02e509 = new QList(static_cast(ptr)->items(x, y, w, h, static_cast(mode))); QtWidgets_PackedList { tmpValue02e509, tmpValue02e509->size() }; }); } struct QtWidgets_PackedList QGraphicsView_Items6(void* ptr, void* polygon, long long mode) { return ({ QList* tmpValuec2e68e = new QList(static_cast(ptr)->items(*static_cast(polygon), static_cast(mode))); QtWidgets_PackedList { tmpValuec2e68e, tmpValuec2e68e->size() }; }); } struct QtWidgets_PackedList QGraphicsView_Items7(void* ptr, void* path, long long mode) { return ({ QList* tmpValuef9fae0 = new QList(static_cast(ptr)->items(*static_cast(path), static_cast(mode))); QtWidgets_PackedList { tmpValuef9fae0, tmpValuef9fae0->size() }; }); } void* QGraphicsView_MapFromScene(void* ptr, void* point) { return ({ QPoint tmpValue = static_cast(ptr)->mapFromScene(*static_cast(point)); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsView_MapFromScene2(void* ptr, void* rect) { return new QPolygon(static_cast(ptr)->mapFromScene(*static_cast(rect))); } void* QGraphicsView_MapFromScene3(void* ptr, void* polygon) { return new QPolygon(static_cast(ptr)->mapFromScene(*static_cast(polygon))); } void* QGraphicsView_MapFromScene4(void* ptr, void* path) { return new QPainterPath(static_cast(ptr)->mapFromScene(*static_cast(path))); } void* QGraphicsView_MapFromScene5(void* ptr, double x, double y) { return ({ QPoint tmpValue = static_cast(ptr)->mapFromScene(x, y); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsView_MapFromScene6(void* ptr, double x, double y, double w, double h) { return new QPolygon(static_cast(ptr)->mapFromScene(x, y, w, h)); } void* QGraphicsView_MapToScene(void* ptr, void* point) { return ({ QPointF tmpValue = static_cast(ptr)->mapToScene(*static_cast(point)); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsView_MapToScene2(void* ptr, void* rect) { return new QPolygonF(static_cast(ptr)->mapToScene(*static_cast(rect))); } void* QGraphicsView_MapToScene3(void* ptr, void* polygon) { return new QPolygonF(static_cast(ptr)->mapToScene(*static_cast(polygon))); } void* QGraphicsView_MapToScene4(void* ptr, void* path) { return new QPainterPath(static_cast(ptr)->mapToScene(*static_cast(path))); } void* QGraphicsView_MapToScene5(void* ptr, int x, int y) { return ({ QPointF tmpValue = static_cast(ptr)->mapToScene(x, y); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QGraphicsView_MapToScene6(void* ptr, int x, int y, int w, int h) { return new QPolygonF(static_cast(ptr)->mapToScene(x, y, w, h)); } void* QGraphicsView_Matrix(void* ptr) { return new QMatrix(static_cast(ptr)->matrix()); } long long QGraphicsView_OptimizationFlags(void* ptr) { return static_cast(ptr)->optimizationFlags(); } void QGraphicsView_Render(void* ptr, void* painter, void* target, void* source, long long aspectRatioMode) { static_cast(ptr)->render(static_cast(painter), *static_cast(target), *static_cast(source), static_cast(aspectRatioMode)); } long long QGraphicsView_RenderHints(void* ptr) { return static_cast(ptr)->renderHints(); } void QGraphicsView_ResetCachedContent(void* ptr) { static_cast(ptr)->resetCachedContent(); } void QGraphicsView_ResetMatrix(void* ptr) { static_cast(ptr)->resetMatrix(); } void QGraphicsView_ResetTransform(void* ptr) { static_cast(ptr)->resetTransform(); } long long QGraphicsView_ResizeAnchor(void* ptr) { return static_cast(ptr)->resizeAnchor(); } void QGraphicsView_Rotate(void* ptr, double angle) { static_cast(ptr)->rotate(angle); } void QGraphicsView_ConnectRubberBandChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsView::rubberBandChanged), static_cast(ptr), static_cast(&MyQGraphicsView::Signal_RubberBandChanged), static_cast(t)); } void QGraphicsView_DisconnectRubberBandChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsView::rubberBandChanged), static_cast(ptr), static_cast(&MyQGraphicsView::Signal_RubberBandChanged)); } void QGraphicsView_RubberBandChanged(void* ptr, void* rubberBandRect, void* fromScenePoint, void* toScenePoint) { static_cast(ptr)->rubberBandChanged(*static_cast(rubberBandRect), *static_cast(fromScenePoint), *static_cast(toScenePoint)); } void* QGraphicsView_RubberBandRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->rubberBandRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } long long QGraphicsView_RubberBandSelectionMode(void* ptr) { return static_cast(ptr)->rubberBandSelectionMode(); } void QGraphicsView_Scale(void* ptr, double sx, double sy) { static_cast(ptr)->scale(sx, sy); } void* QGraphicsView_Scene(void* ptr) { return static_cast(ptr)->scene(); } void* QGraphicsView_SceneRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->sceneRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsView_SetAlignment(void* ptr, long long alignment) { static_cast(ptr)->setAlignment(static_cast(alignment)); } void QGraphicsView_SetBackgroundBrush(void* ptr, void* brush) { static_cast(ptr)->setBackgroundBrush(*static_cast(brush)); } void QGraphicsView_SetCacheMode(void* ptr, long long mode) { static_cast(ptr)->setCacheMode(static_cast(mode)); } void QGraphicsView_SetDragMode(void* ptr, long long mode) { static_cast(ptr)->setDragMode(static_cast(mode)); } void QGraphicsView_SetForegroundBrush(void* ptr, void* brush) { static_cast(ptr)->setForegroundBrush(*static_cast(brush)); } void QGraphicsView_SetInteractive(void* ptr, char allowed) { static_cast(ptr)->setInteractive(allowed != 0); } void QGraphicsView_SetMatrix(void* ptr, void* matrix, char combine) { static_cast(ptr)->setMatrix(*static_cast(matrix), combine != 0); } void QGraphicsView_SetOptimizationFlag(void* ptr, long long flag, char enabled) { static_cast(ptr)->setOptimizationFlag(static_cast(flag), enabled != 0); } void QGraphicsView_SetOptimizationFlags(void* ptr, long long flags) { static_cast(ptr)->setOptimizationFlags(static_cast(flags)); } void QGraphicsView_SetRenderHint(void* ptr, long long hint, char enabled) { static_cast(ptr)->setRenderHint(static_cast(hint), enabled != 0); } void QGraphicsView_SetRenderHints(void* ptr, long long hints) { static_cast(ptr)->setRenderHints(static_cast(hints)); } void QGraphicsView_SetResizeAnchor(void* ptr, long long anchor) { static_cast(ptr)->setResizeAnchor(static_cast(anchor)); } void QGraphicsView_SetRubberBandSelectionMode(void* ptr, long long mode) { static_cast(ptr)->setRubberBandSelectionMode(static_cast(mode)); } void QGraphicsView_SetScene(void* ptr, void* scene) { static_cast(ptr)->setScene(static_cast(scene)); } void QGraphicsView_SetSceneRect(void* ptr, void* rect) { static_cast(ptr)->setSceneRect(*static_cast(rect)); } void QGraphicsView_SetSceneRect2(void* ptr, double x, double y, double w, double h) { static_cast(ptr)->setSceneRect(x, y, w, h); } void QGraphicsView_SetTransform(void* ptr, void* matrix, char combine) { static_cast(ptr)->setTransform(*static_cast(matrix), combine != 0); } void QGraphicsView_SetTransformationAnchor(void* ptr, long long anchor) { static_cast(ptr)->setTransformationAnchor(static_cast(anchor)); } void QGraphicsView_SetViewportUpdateMode(void* ptr, long long mode) { static_cast(ptr)->setViewportUpdateMode(static_cast(mode)); } void QGraphicsView_SetupViewport(void* ptr, void* widget) { QMetaObject::invokeMethod(static_cast(ptr), "setupViewport", Q_ARG(QWidget*, static_cast(widget))); } void QGraphicsView_SetupViewportDefault(void* ptr, void* widget) { static_cast(ptr)->QGraphicsView::setupViewport(static_cast(widget)); } void QGraphicsView_Shear(void* ptr, double sh, double sv) { static_cast(ptr)->shear(sh, sv); } void* QGraphicsView_Transform(void* ptr) { return new QTransform(static_cast(ptr)->transform()); } long long QGraphicsView_TransformationAnchor(void* ptr) { return static_cast(ptr)->transformationAnchor(); } void QGraphicsView_Translate(void* ptr, double dx, double dy) { static_cast(ptr)->translate(dx, dy); } void QGraphicsView_UpdateScene(void* ptr, void* rects) { QMetaObject::invokeMethod(static_cast(ptr), "updateScene", Q_ARG(const QList, *static_cast*>(rects))); } void QGraphicsView_UpdateSceneDefault(void* ptr, void* rects) { static_cast(ptr)->QGraphicsView::updateScene(*static_cast*>(rects)); } void QGraphicsView_UpdateSceneRect(void* ptr, void* rect) { QMetaObject::invokeMethod(static_cast(ptr), "updateSceneRect", Q_ARG(const QRectF, *static_cast(rect))); } void QGraphicsView_UpdateSceneRectDefault(void* ptr, void* rect) { static_cast(ptr)->QGraphicsView::updateSceneRect(*static_cast(rect)); } void* QGraphicsView_ViewportTransform(void* ptr) { return new QTransform(static_cast(ptr)->viewportTransform()); } long long QGraphicsView_ViewportUpdateMode(void* ptr) { return static_cast(ptr)->viewportUpdateMode(); } void QGraphicsView_DestroyQGraphicsView(void* ptr) { static_cast(ptr)->~QGraphicsView(); } void QGraphicsView_DestroyQGraphicsViewDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsView___items_atList(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsView___items_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsView___items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsView___items_atList2(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsView___items_setList2(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsView___items_newList2(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsView___items_atList3(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsView___items_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsView___items_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsView___items_atList4(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsView___items_setList4(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsView___items_newList4(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsView___items_atList5(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsView___items_setList5(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsView___items_newList5(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsView___items_atList6(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsView___items_setList6(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsView___items_newList6(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsView___items_atList7(void* ptr, int i) { return ({QGraphicsItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsView___items_setList7(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QGraphicsView___items_newList7(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsView___updateScene_rects_atList(void* ptr, int i) { return ({ QRectF tmpValue = ({QRectF tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsView___updateScene_rects_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QGraphicsView___updateScene_rects_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQGraphicsWidget: public QGraphicsWidget { public: MyQGraphicsWidget(QGraphicsItem *parent = Q_NULLPTR, Qt::WindowFlags wFlags = Qt::WindowFlags()) : QGraphicsWidget(parent, wFlags) {QGraphicsWidget_QGraphicsWidget_QRegisterMetaType();}; QRectF boundingRect() const { return *static_cast(callbackQGraphicsWidget_BoundingRect(const_cast(static_cast(this)))); }; void changeEvent(QEvent * event) { callbackQGraphicsWidget_ChangeEvent(this, event); }; bool close() { return callbackQGraphicsWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQGraphicsWidget_CloseEvent(this, event); }; bool event(QEvent * event) { return callbackQGraphicsObject_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQGraphicsWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQGraphicsItem_FocusOutEvent(this, event); }; void Signal_GeometryChanged() { callbackQGraphicsWidget_GeometryChanged(this); }; void getContentsMargins(qreal * left, qreal * top, qreal * right, qreal * bottom) const { callbackQGraphicsLayoutItem_GetContentsMargins(const_cast(static_cast(this)), *left, *top, *right, *bottom); }; void grabKeyboardEvent(QEvent * event) { callbackQGraphicsWidget_GrabKeyboardEvent(this, event); }; void grabMouseEvent(QEvent * event) { callbackQGraphicsWidget_GrabMouseEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQGraphicsWidget_HideEvent(this, event); }; void hoverLeaveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverLeaveEvent(this, event); }; void hoverMoveEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverMoveEvent(this, event); }; void initStyleOption(QStyleOption * option) const { callbackQGraphicsWidget_InitStyleOption(const_cast(static_cast(this)), option); }; QVariant itemChange(QGraphicsItem::GraphicsItemChange change, const QVariant & value) { return *static_cast(callbackQGraphicsItem_ItemChange(this, change, const_cast(&value))); }; void Signal_LayoutChanged() { callbackQGraphicsWidget_LayoutChanged(this); }; void moveEvent(QGraphicsSceneMoveEvent * event) { callbackQGraphicsWidget_MoveEvent(this, event); }; void paint(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWidget_Paint(this, painter, const_cast(option), widget); }; void paintWindowFrame(QPainter * painter, const QStyleOptionGraphicsItem * option, QWidget * widget) { callbackQGraphicsWidget_PaintWindowFrame(this, painter, const_cast(option), widget); }; void polishEvent() { callbackQGraphicsWidget_PolishEvent(this); }; void resizeEvent(QGraphicsSceneResizeEvent * event) { callbackQGraphicsWidget_ResizeEvent(this, event); }; bool sceneEvent(QEvent * event) { return callbackQGraphicsItem_SceneEvent(this, event) != 0; }; void setGeometry(const QRectF & rect) { callbackQGraphicsLayoutItem_SetGeometry(this, const_cast(&rect)); }; QPainterPath shape() const { return *static_cast(callbackQGraphicsItem_Shape(const_cast(static_cast(this)))); }; void showEvent(QShowEvent * event) { callbackQGraphicsWidget_ShowEvent(this, event); }; QSizeF sizeHint(Qt::SizeHint which, const QSizeF & constraint) const { return *static_cast(callbackQGraphicsWidget_SizeHint(const_cast(static_cast(this)), which, const_cast(&constraint))); }; int type() const { return callbackQGraphicsItem_Type(const_cast(static_cast(this))); }; void ungrabKeyboardEvent(QEvent * event) { callbackQGraphicsWidget_UngrabKeyboardEvent(this, event); }; void ungrabMouseEvent(QEvent * event) { callbackQGraphicsWidget_UngrabMouseEvent(this, event); }; void updateGeometry() { callbackQGraphicsLayoutItem_UpdateGeometry(this); }; bool windowFrameEvent(QEvent * event) { return callbackQGraphicsWidget_WindowFrameEvent(this, event) != 0; }; Qt::WindowFrameSection windowFrameSectionAt(const QPointF & pos) const { return static_cast(callbackQGraphicsWidget_WindowFrameSectionAt(const_cast(static_cast(this)), const_cast(&pos))); }; ~MyQGraphicsWidget() { callbackQGraphicsWidget_DestroyQGraphicsWidget(this); }; void Signal_EnabledChanged() { callbackQGraphicsObject_EnabledChanged(this); }; void Signal_OpacityChanged() { callbackQGraphicsObject_OpacityChanged(this); }; void Signal_ParentChanged() { callbackQGraphicsObject_ParentChanged(this); }; void Signal_RotationChanged() { callbackQGraphicsObject_RotationChanged(this); }; void Signal_ScaleChanged() { callbackQGraphicsObject_ScaleChanged(this); }; void updateMicroFocus() { callbackQGraphicsObject_UpdateMicroFocus(this); }; void Signal_VisibleChanged() { callbackQGraphicsObject_VisibleChanged(this); }; void Signal_XChanged() { callbackQGraphicsObject_XChanged(this); }; void Signal_YChanged() { callbackQGraphicsObject_YChanged(this); }; void Signal_ZChanged() { callbackQGraphicsObject_ZChanged(this); }; void childEvent(QChildEvent * event) { callbackQGraphicsObject_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGraphicsObject_CustomEvent(this, event); }; void deleteLater() { callbackQGraphicsObject_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGraphicsObject_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGraphicsObject_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGraphicsObject_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGraphicsObject_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGraphicsObject_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGraphicsObject_TimerEvent(this, event); }; void advance(int phase) { callbackQGraphicsItem_Advance(this, phase); }; bool collidesWithItem(const QGraphicsItem * other, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithItem(const_cast(static_cast(this)), const_cast(other), mode) != 0; }; bool collidesWithPath(const QPainterPath & path, Qt::ItemSelectionMode mode) const { return callbackQGraphicsItem_CollidesWithPath(const_cast(static_cast(this)), const_cast(&path), mode) != 0; }; bool contains(const QPointF & point) const { return callbackQGraphicsItem_Contains(const_cast(static_cast(this)), const_cast(&point)) != 0; }; void contextMenuEvent(QGraphicsSceneContextMenuEvent * event) { callbackQGraphicsItem_ContextMenuEvent(this, event); }; void dragEnterEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragEnterEvent(this, event); }; void dragLeaveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragLeaveEvent(this, event); }; void dragMoveEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DragMoveEvent(this, event); }; void dropEvent(QGraphicsSceneDragDropEvent * event) { callbackQGraphicsItem_DropEvent(this, event); }; void hoverEnterEvent(QGraphicsSceneHoverEvent * event) { callbackQGraphicsItem_HoverEnterEvent(this, event); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQGraphicsItem_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQGraphicsItem_InputMethodQuery(const_cast(static_cast(this)), query)); }; bool isObscuredBy(const QGraphicsItem * item) const { return callbackQGraphicsItem_IsObscuredBy(const_cast(static_cast(this)), const_cast(item)) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQGraphicsItem_KeyReleaseEvent(this, event); }; void mouseDoubleClickEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseMoveEvent(this, event); }; void mousePressEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MousePressEvent(this, event); }; void mouseReleaseEvent(QGraphicsSceneMouseEvent * event) { callbackQGraphicsItem_MouseReleaseEvent(this, event); }; QPainterPath opaqueArea() const { return *static_cast(callbackQGraphicsItem_OpaqueArea(const_cast(static_cast(this)))); }; bool sceneEventFilter(QGraphicsItem * watched, QEvent * event) { return callbackQGraphicsItem_SceneEventFilter(this, watched, event) != 0; }; void wheelEvent(QGraphicsSceneWheelEvent * event) { callbackQGraphicsItem_WheelEvent(this, event); }; }; Q_DECLARE_METATYPE(QGraphicsWidget*) Q_DECLARE_METATYPE(MyQGraphicsWidget*) int QGraphicsWidget_QGraphicsWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGraphicsWidget_NewQGraphicsWidget(void* parent, long long wFlags) { return new MyQGraphicsWidget(static_cast(parent), static_cast(wFlags)); } struct QtWidgets_PackedList QGraphicsWidget_Actions(void* ptr) { return ({ QList* tmpValuec4928c = new QList(static_cast(ptr)->actions()); QtWidgets_PackedList { tmpValuec4928c, tmpValuec4928c->size() }; }); } void QGraphicsWidget_AddAction(void* ptr, void* action) { static_cast(ptr)->addAction(static_cast(action)); } void QGraphicsWidget_AddActions(void* ptr, void* actions) { static_cast(ptr)->addActions(({ QList* tmpP = static_cast*>(actions); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; })); } void QGraphicsWidget_AdjustSize(void* ptr) { static_cast(ptr)->adjustSize(); } char QGraphicsWidget_AutoFillBackground(void* ptr) { return static_cast(ptr)->autoFillBackground(); } void* QGraphicsWidget_BoundingRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsWidget_BoundingRectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsProxyWidget::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRectF tmpValue = static_cast(ptr)->QGraphicsWidget::boundingRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void QGraphicsWidget_ChangeEvent(void* ptr, void* event) { static_cast(ptr)->changeEvent(static_cast(event)); } void QGraphicsWidget_ChangeEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::changeEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::changeEvent(static_cast(event)); } } char QGraphicsWidget_Close(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "close", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QGraphicsWidget_CloseDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::close(); } else { return static_cast(ptr)->QGraphicsWidget::close(); } } void QGraphicsWidget_CloseEvent(void* ptr, void* event) { static_cast(ptr)->closeEvent(static_cast(event)); } void QGraphicsWidget_CloseEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::closeEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::closeEvent(static_cast(event)); } } char QGraphicsWidget_FocusNextPrevChild(void* ptr, char next) { return static_cast(ptr)->focusNextPrevChild(next != 0); } char QGraphicsWidget_FocusNextPrevChildDefault(void* ptr, char next) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::focusNextPrevChild(next != 0); } else { return static_cast(ptr)->QGraphicsWidget::focusNextPrevChild(next != 0); } } long long QGraphicsWidget_FocusPolicy(void* ptr) { return static_cast(ptr)->focusPolicy(); } void* QGraphicsWidget_FocusWidget(void* ptr) { return static_cast(ptr)->focusWidget(); } void* QGraphicsWidget_Font(void* ptr) { return new QFont(static_cast(ptr)->font()); } void QGraphicsWidget_ConnectGeometryChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsWidget::geometryChanged), static_cast(ptr), static_cast(&MyQGraphicsWidget::Signal_GeometryChanged), static_cast(t)); } void QGraphicsWidget_DisconnectGeometryChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsWidget::geometryChanged), static_cast(ptr), static_cast(&MyQGraphicsWidget::Signal_GeometryChanged)); } void QGraphicsWidget_GeometryChanged(void* ptr) { static_cast(ptr)->geometryChanged(); } void QGraphicsWidget_GetWindowFrameMargins(void* ptr, double left, double top, double right, double bottom) { static_cast(ptr)->getWindowFrameMargins(&left, &top, &right, &bottom); } void QGraphicsWidget_GrabKeyboardEvent(void* ptr, void* event) { static_cast(ptr)->grabKeyboardEvent(static_cast(event)); } void QGraphicsWidget_GrabKeyboardEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::grabKeyboardEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::grabKeyboardEvent(static_cast(event)); } } void QGraphicsWidget_GrabMouseEvent(void* ptr, void* event) { static_cast(ptr)->grabMouseEvent(static_cast(event)); } void QGraphicsWidget_GrabMouseEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::grabMouseEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::grabMouseEvent(static_cast(event)); } } int QGraphicsWidget_GrabShortcut(void* ptr, void* sequence, long long context) { return static_cast(ptr)->grabShortcut(*static_cast(sequence), static_cast(context)); } void QGraphicsWidget_HideEvent(void* ptr, void* event) { static_cast(ptr)->hideEvent(static_cast(event)); } void QGraphicsWidget_HideEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::hideEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::hideEvent(static_cast(event)); } } void QGraphicsWidget_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } void QGraphicsWidget_InitStyleOptionDefault(void* ptr, void* option) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::initStyleOption(static_cast(option)); } else { static_cast(ptr)->QGraphicsWidget::initStyleOption(static_cast(option)); } } void QGraphicsWidget_InsertAction(void* ptr, void* before, void* action) { static_cast(ptr)->insertAction(static_cast(before), static_cast(action)); } void QGraphicsWidget_InsertActions(void* ptr, void* before, void* actions) { static_cast(ptr)->insertActions(static_cast(before), ({ QList* tmpP = static_cast*>(actions); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; })); } char QGraphicsWidget_IsActiveWindow(void* ptr) { return static_cast(ptr)->isActiveWindow(); } void* QGraphicsWidget_Layout(void* ptr) { return static_cast(ptr)->layout(); } void QGraphicsWidget_ConnectLayoutChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGraphicsWidget::layoutChanged), static_cast(ptr), static_cast(&MyQGraphicsWidget::Signal_LayoutChanged), static_cast(t)); } void QGraphicsWidget_DisconnectLayoutChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGraphicsWidget::layoutChanged), static_cast(ptr), static_cast(&MyQGraphicsWidget::Signal_LayoutChanged)); } void QGraphicsWidget_LayoutChanged(void* ptr) { static_cast(ptr)->layoutChanged(); } long long QGraphicsWidget_LayoutDirection(void* ptr) { return static_cast(ptr)->layoutDirection(); } void QGraphicsWidget_MoveEvent(void* ptr, void* event) { static_cast(ptr)->moveEvent(static_cast(event)); } void QGraphicsWidget_MoveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::moveEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::moveEvent(static_cast(event)); } } void QGraphicsWidget_Paint(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paint(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsWidget_PaintDefault(void* ptr, void* painter, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::paint(static_cast(painter), static_cast(option), static_cast(widget)); } else { static_cast(ptr)->QGraphicsWidget::paint(static_cast(painter), static_cast(option), static_cast(widget)); } } void QGraphicsWidget_PaintWindowFrame(void* ptr, void* painter, void* option, void* widget) { static_cast(ptr)->paintWindowFrame(static_cast(painter), static_cast(option), static_cast(widget)); } void QGraphicsWidget_PaintWindowFrameDefault(void* ptr, void* painter, void* option, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::paintWindowFrame(static_cast(painter), static_cast(option), static_cast(widget)); } else { static_cast(ptr)->QGraphicsWidget::paintWindowFrame(static_cast(painter), static_cast(option), static_cast(widget)); } } void* QGraphicsWidget_Palette(void* ptr) { return new QPalette(static_cast(ptr)->palette()); } void QGraphicsWidget_PolishEvent(void* ptr) { static_cast(ptr)->polishEvent(); } void QGraphicsWidget_PolishEventDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::polishEvent(); } else { static_cast(ptr)->QGraphicsWidget::polishEvent(); } } void* QGraphicsWidget_Rect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->rect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QGraphicsWidget_ReleaseShortcut(void* ptr, int id) { static_cast(ptr)->releaseShortcut(id); } void QGraphicsWidget_RemoveAction(void* ptr, void* action) { static_cast(ptr)->removeAction(static_cast(action)); } void QGraphicsWidget_Resize(void* ptr, void* size) { static_cast(ptr)->resize(*static_cast(size)); } void QGraphicsWidget_Resize2(void* ptr, double w, double h) { static_cast(ptr)->resize(w, h); } void QGraphicsWidget_ResizeEvent(void* ptr, void* event) { static_cast(ptr)->resizeEvent(static_cast(event)); } void QGraphicsWidget_ResizeEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::resizeEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::resizeEvent(static_cast(event)); } } void QGraphicsWidget_SetAttribute(void* ptr, long long attribute, char on) { static_cast(ptr)->setAttribute(static_cast(attribute), on != 0); } void QGraphicsWidget_SetAutoFillBackground(void* ptr, char enabled) { static_cast(ptr)->setAutoFillBackground(enabled != 0); } void QGraphicsWidget_SetContentsMargins(void* ptr, double left, double top, double right, double bottom) { static_cast(ptr)->setContentsMargins(left, top, right, bottom); } void QGraphicsWidget_SetFocusPolicy(void* ptr, long long policy) { static_cast(ptr)->setFocusPolicy(static_cast(policy)); } void QGraphicsWidget_SetFont(void* ptr, void* font) { static_cast(ptr)->setFont(*static_cast(font)); } void QGraphicsWidget_SetGeometry2(void* ptr, double x, double y, double w, double h) { static_cast(ptr)->setGeometry(x, y, w, h); } void QGraphicsWidget_SetLayout(void* ptr, void* layout) { static_cast(ptr)->setLayout(static_cast(layout)); } void QGraphicsWidget_SetLayoutDirection(void* ptr, long long direction) { static_cast(ptr)->setLayoutDirection(static_cast(direction)); } void QGraphicsWidget_SetPalette(void* ptr, void* palette) { static_cast(ptr)->setPalette(*static_cast(palette)); } void QGraphicsWidget_SetShortcutAutoRepeat(void* ptr, int id, char enabled) { static_cast(ptr)->setShortcutAutoRepeat(id, enabled != 0); } void QGraphicsWidget_SetShortcutEnabled(void* ptr, int id, char enabled) { static_cast(ptr)->setShortcutEnabled(id, enabled != 0); } void QGraphicsWidget_SetStyle(void* ptr, void* style) { static_cast(ptr)->setStyle(static_cast(style)); } void QGraphicsWidget_QGraphicsWidget_SetTabOrder(void* first, void* second) { QGraphicsWidget::setTabOrder(static_cast(first), static_cast(second)); } void QGraphicsWidget_SetWindowFlags(void* ptr, long long wFlags) { static_cast(ptr)->setWindowFlags(static_cast(wFlags)); } void QGraphicsWidget_SetWindowFrameMargins(void* ptr, double left, double top, double right, double bottom) { static_cast(ptr)->setWindowFrameMargins(left, top, right, bottom); } void QGraphicsWidget_SetWindowTitle(void* ptr, struct QtWidgets_PackedString title) { static_cast(ptr)->setWindowTitle(QString::fromUtf8(title.data, title.len)); } void QGraphicsWidget_ShowEvent(void* ptr, void* event) { static_cast(ptr)->showEvent(static_cast(event)); } void QGraphicsWidget_ShowEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::showEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::showEvent(static_cast(event)); } } void* QGraphicsWidget_Size(void* ptr) { return ({ QSizeF tmpValue = static_cast(ptr)->size(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void* QGraphicsWidget_SizeHint(void* ptr, long long which, void* constraint) { return ({ QSizeF tmpValue = static_cast(ptr)->sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void* QGraphicsWidget_SizeHintDefault(void* ptr, long long which, void* constraint) { if (dynamic_cast(static_cast(ptr))) { return ({ QSizeF tmpValue = static_cast(ptr)->QGraphicsProxyWidget::sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSizeF tmpValue = static_cast(ptr)->QGraphicsWidget::sizeHint(static_cast(which), *static_cast(constraint)); new QSizeF(tmpValue.width(), tmpValue.height()); }); } } void* QGraphicsWidget_Style(void* ptr) { return static_cast(ptr)->style(); } char QGraphicsWidget_TestAttribute(void* ptr, long long attribute) { return static_cast(ptr)->testAttribute(static_cast(attribute)); } void QGraphicsWidget_UngrabKeyboardEvent(void* ptr, void* event) { static_cast(ptr)->ungrabKeyboardEvent(static_cast(event)); } void QGraphicsWidget_UngrabKeyboardEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::ungrabKeyboardEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::ungrabKeyboardEvent(static_cast(event)); } } void QGraphicsWidget_UngrabMouseEvent(void* ptr, void* event) { static_cast(ptr)->ungrabMouseEvent(static_cast(event)); } void QGraphicsWidget_UngrabMouseEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsProxyWidget::ungrabMouseEvent(static_cast(event)); } else { static_cast(ptr)->QGraphicsWidget::ungrabMouseEvent(static_cast(event)); } } void QGraphicsWidget_UnsetLayoutDirection(void* ptr) { static_cast(ptr)->unsetLayoutDirection(); } void QGraphicsWidget_UnsetWindowFrameMargins(void* ptr) { static_cast(ptr)->unsetWindowFrameMargins(); } long long QGraphicsWidget_WindowFlags(void* ptr) { return static_cast(ptr)->windowFlags(); } char QGraphicsWidget_WindowFrameEvent(void* ptr, void* event) { return static_cast(ptr)->windowFrameEvent(static_cast(event)); } char QGraphicsWidget_WindowFrameEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::windowFrameEvent(static_cast(event)); } else { return static_cast(ptr)->QGraphicsWidget::windowFrameEvent(static_cast(event)); } } void* QGraphicsWidget_WindowFrameGeometry(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->windowFrameGeometry(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsWidget_WindowFrameRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->windowFrameRect(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } long long QGraphicsWidget_WindowFrameSectionAt(void* ptr, void* pos) { return static_cast(ptr)->windowFrameSectionAt(*static_cast(pos)); } long long QGraphicsWidget_WindowFrameSectionAtDefault(void* ptr, void* pos) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsProxyWidget::windowFrameSectionAt(*static_cast(pos)); } else { return static_cast(ptr)->QGraphicsWidget::windowFrameSectionAt(*static_cast(pos)); } } struct QtWidgets_PackedString QGraphicsWidget_WindowTitle(void* ptr) { return ({ QByteArray* t8cb41d = new QByteArray(static_cast(ptr)->windowTitle().toUtf8()); QtWidgets_PackedString { const_cast(t8cb41d->prepend("WHITESPACE").constData()+10), t8cb41d->size()-10, t8cb41d }; }); } long long QGraphicsWidget_WindowType(void* ptr) { return static_cast(ptr)->windowType(); } void QGraphicsWidget_DestroyQGraphicsWidget(void* ptr) { static_cast(ptr)->~QGraphicsWidget(); } void QGraphicsWidget_DestroyQGraphicsWidgetDefault(void* ptr) { Q_UNUSED(ptr); } void* QGraphicsWidget_MinimumSize(void* ptr) { return ({ QSizeF tmpValue = static_cast(ptr)->minimumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void QGraphicsWidget_SetMinimumSize(void* ptr, void* minimumSize) { static_cast(ptr)->setMinimumSize(*static_cast(minimumSize)); } void* QGraphicsWidget_PreferredSize(void* ptr) { return ({ QSizeF tmpValue = static_cast(ptr)->preferredSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void QGraphicsWidget_SetPreferredSize(void* ptr, void* preferredSize) { static_cast(ptr)->setPreferredSize(*static_cast(preferredSize)); } void* QGraphicsWidget_MaximumSize(void* ptr) { return ({ QSizeF tmpValue = static_cast(ptr)->maximumSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void QGraphicsWidget_SetMaximumSize(void* ptr, void* maximumSize) { static_cast(ptr)->setMaximumSize(*static_cast(maximumSize)); } void* QGraphicsWidget_SizePolicy(void* ptr) { return new QSizePolicy(static_cast(ptr)->sizePolicy()); } void QGraphicsWidget_SetSizePolicy(void* ptr, void* sizePolicy) { static_cast(ptr)->setSizePolicy(*static_cast(sizePolicy)); } void* QGraphicsWidget_Geometry(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->geometry(); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QGraphicsWidget___actions_atList(void* ptr, int i) { return ({QAction * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsWidget___actions_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGraphicsWidget___actions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsWidget___addActions_actions_atList(void* ptr, int i) { return ({QAction * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsWidget___addActions_actions_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGraphicsWidget___addActions_actions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QGraphicsWidget___insertActions_actions_atList(void* ptr, int i) { return ({QAction * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QGraphicsWidget___insertActions_actions_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QGraphicsWidget___insertActions_actions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQGridLayout: public QGridLayout { public: MyQGridLayout(QWidget *parent) : QGridLayout(parent) {QGridLayout_QGridLayout_QRegisterMetaType();}; MyQGridLayout() : QGridLayout() {QGridLayout_QGridLayout_QRegisterMetaType();}; void addItem(QLayoutItem * item) { callbackQGridLayout_AddItem2(this, item); }; int count() const { return callbackQGridLayout_Count(const_cast(static_cast(this))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQLayout_ExpandingDirections(const_cast(static_cast(this)))); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), w); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; QLayoutItem * itemAt(int index) const { return static_cast(callbackQGridLayout_ItemAt(const_cast(static_cast(this)), index)); }; QSize maximumSize() const { return *static_cast(callbackQLayout_MaximumSize(const_cast(static_cast(this)))); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSize minimumSize() const { return *static_cast(callbackQLayout_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & rect) { callbackQLayout_SetGeometry(this, const_cast(&rect)); }; QSize sizeHint() const { return *static_cast(callbackQGridLayout_SizeHint(const_cast(static_cast(this)))); }; QLayoutItem * takeAt(int index) { return static_cast(callbackQGridLayout_TakeAt(this, index)); }; ~MyQGridLayout() { callbackQGridLayout_DestroyQGridLayout(this); }; void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); }; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQLayout_Geometry(const_cast(static_cast(this)))); }; int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast(static_cast(this)), widget); }; bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast(static_cast(this))) != 0; }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); }; void deleteLater() { callbackQLayout_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQLayout_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQLayout_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; }; Q_DECLARE_METATYPE(QGridLayout*) Q_DECLARE_METATYPE(MyQGridLayout*) int QGridLayout_QGridLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGridLayout_NewQGridLayout(void* parent) { return new MyQGridLayout(static_cast(parent)); } void* QGridLayout_NewQGridLayout2() { return new MyQGridLayout(); } void QGridLayout_AddItem(void* ptr, void* item, int row, int column, int rowSpan, int columnSpan, long long alignment) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item), row, column, rowSpan, columnSpan, static_cast(alignment)); } else { static_cast(ptr)->addItem(static_cast(item), row, column, rowSpan, columnSpan, static_cast(alignment)); } } void QGridLayout_AddItem2(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item)); } else { static_cast(ptr)->addItem(static_cast(item)); } } void QGridLayout_AddItem2Default(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->QGridLayout::addItem(static_cast(item)); } else { static_cast(ptr)->QGridLayout::addItem(static_cast(item)); } } void QGridLayout_AddLayout(void* ptr, void* layout, int row, int column, long long alignment) { static_cast(ptr)->addLayout(static_cast(layout), row, column, static_cast(alignment)); } void QGridLayout_AddLayout2(void* ptr, void* layout, int row, int column, int rowSpan, int columnSpan, long long alignment) { static_cast(ptr)->addLayout(static_cast(layout), row, column, rowSpan, columnSpan, static_cast(alignment)); } void QGridLayout_AddWidget2(void* ptr, void* widget, int row, int column, long long alignment) { static_cast(ptr)->addWidget(static_cast(widget), row, column, static_cast(alignment)); } void QGridLayout_AddWidget3(void* ptr, void* widget, int fromRow, int fromColumn, int rowSpan, int columnSpan, long long alignment) { static_cast(ptr)->addWidget(static_cast(widget), fromRow, fromColumn, rowSpan, columnSpan, static_cast(alignment)); } void* QGridLayout_CellRect(void* ptr, int row, int column) { return ({ QRect tmpValue = static_cast(ptr)->cellRect(row, column); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QGridLayout_ColumnCount(void* ptr) { return static_cast(ptr)->columnCount(); } int QGridLayout_ColumnMinimumWidth(void* ptr, int column) { return static_cast(ptr)->columnMinimumWidth(column); } int QGridLayout_ColumnStretch(void* ptr, int column) { return static_cast(ptr)->columnStretch(column); } int QGridLayout_Count(void* ptr) { return static_cast(ptr)->count(); } int QGridLayout_CountDefault(void* ptr) { return static_cast(ptr)->QGridLayout::count(); } void QGridLayout_GetItemPosition(void* ptr, int index, int row, int column, int rowSpan, int columnSpan) { static_cast(ptr)->getItemPosition(index, &row, &column, &rowSpan, &columnSpan); } int QGridLayout_HorizontalSpacing(void* ptr) { return static_cast(ptr)->horizontalSpacing(); } void* QGridLayout_ItemAt(void* ptr, int index) { return static_cast(ptr)->itemAt(index); } void* QGridLayout_ItemAtDefault(void* ptr, int index) { return static_cast(ptr)->QGridLayout::itemAt(index); } void* QGridLayout_ItemAtPosition(void* ptr, int row, int column) { return static_cast(ptr)->itemAtPosition(row, column); } long long QGridLayout_OriginCorner(void* ptr) { return static_cast(ptr)->originCorner(); } int QGridLayout_RowCount(void* ptr) { return static_cast(ptr)->rowCount(); } int QGridLayout_RowMinimumHeight(void* ptr, int row) { return static_cast(ptr)->rowMinimumHeight(row); } int QGridLayout_RowStretch(void* ptr, int row) { return static_cast(ptr)->rowStretch(row); } void QGridLayout_SetColumnMinimumWidth(void* ptr, int column, int minSize) { static_cast(ptr)->setColumnMinimumWidth(column, minSize); } void QGridLayout_SetColumnStretch(void* ptr, int column, int stretch) { static_cast(ptr)->setColumnStretch(column, stretch); } void QGridLayout_SetHorizontalSpacing(void* ptr, int spacing) { static_cast(ptr)->setHorizontalSpacing(spacing); } void QGridLayout_SetOriginCorner(void* ptr, long long corner) { static_cast(ptr)->setOriginCorner(static_cast(corner)); } void QGridLayout_SetRowMinimumHeight(void* ptr, int row, int minSize) { static_cast(ptr)->setRowMinimumHeight(row, minSize); } void QGridLayout_SetRowStretch(void* ptr, int row, int stretch) { static_cast(ptr)->setRowStretch(row, stretch); } void QGridLayout_SetVerticalSpacing(void* ptr, int spacing) { static_cast(ptr)->setVerticalSpacing(spacing); } void* QGridLayout_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QGridLayout_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QGridLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QGridLayout_TakeAt(void* ptr, int index) { return static_cast(ptr)->takeAt(index); } void* QGridLayout_TakeAtDefault(void* ptr, int index) { return static_cast(ptr)->QGridLayout::takeAt(index); } int QGridLayout_VerticalSpacing(void* ptr) { return static_cast(ptr)->verticalSpacing(); } void QGridLayout_DestroyQGridLayout(void* ptr) { static_cast(ptr)->~QGridLayout(); } void QGridLayout_DestroyQGridLayoutDefault(void* ptr) { Q_UNUSED(ptr); } class MyQGroupBox: public QGroupBox { public: MyQGroupBox(QWidget *parent = Q_NULLPTR) : QGroupBox(parent) {QGroupBox_QGroupBox_QRegisterMetaType();}; MyQGroupBox(const QString &title, QWidget *parent = Q_NULLPTR) : QGroupBox(title, parent) {QGroupBox_QGroupBox_QRegisterMetaType();}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void childEvent(QChildEvent * c) { callbackQWidget_ChildEvent(this, c); }; void Signal_Clicked(bool checked) { callbackQGroupBox_Clicked(this, checked); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void focusInEvent(QFocusEvent * fe) { callbackQWidget_FocusInEvent(this, fe); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void setChecked(bool checked) { callbackQGroupBox_SetChecked(this, checked); }; void Signal_Toggled(bool on) { callbackQGroupBox_Toggled(this, on); }; ~MyQGroupBox() { callbackQGroupBox_DestroyQGroupBox(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QGroupBox*) Q_DECLARE_METATYPE(MyQGroupBox*) int QGroupBox_QGroupBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QGroupBox_NewQGroupBox(void* parent) { return new MyQGroupBox(static_cast(parent)); } void* QGroupBox_NewQGroupBox2(struct QtWidgets_PackedString title, void* parent) { return new MyQGroupBox(QString::fromUtf8(title.data, title.len), static_cast(parent)); } long long QGroupBox_Alignment(void* ptr) { return static_cast(ptr)->alignment(); } void QGroupBox_ConnectClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGroupBox::clicked), static_cast(ptr), static_cast(&MyQGroupBox::Signal_Clicked), static_cast(t)); } void QGroupBox_DisconnectClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGroupBox::clicked), static_cast(ptr), static_cast(&MyQGroupBox::Signal_Clicked)); } void QGroupBox_Clicked(void* ptr, char checked) { static_cast(ptr)->clicked(checked != 0); } void QGroupBox_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } char QGroupBox_IsCheckable(void* ptr) { return static_cast(ptr)->isCheckable(); } char QGroupBox_IsChecked(void* ptr) { return static_cast(ptr)->isChecked(); } char QGroupBox_IsFlat(void* ptr) { return static_cast(ptr)->isFlat(); } void QGroupBox_SetAlignment(void* ptr, int alignment) { static_cast(ptr)->setAlignment(alignment); } void QGroupBox_SetCheckable(void* ptr, char checkable) { static_cast(ptr)->setCheckable(checkable != 0); } void QGroupBox_SetChecked(void* ptr, char checked) { QMetaObject::invokeMethod(static_cast(ptr), "setChecked", Q_ARG(bool, checked != 0)); } void QGroupBox_SetCheckedDefault(void* ptr, char checked) { static_cast(ptr)->QGroupBox::setChecked(checked != 0); } void QGroupBox_SetFlat(void* ptr, char flat) { static_cast(ptr)->setFlat(flat != 0); } void QGroupBox_SetTitle(void* ptr, struct QtWidgets_PackedString title) { static_cast(ptr)->setTitle(QString::fromUtf8(title.data, title.len)); } struct QtWidgets_PackedString QGroupBox_Title(void* ptr) { return ({ QByteArray* t937a1b = new QByteArray(static_cast(ptr)->title().toUtf8()); QtWidgets_PackedString { const_cast(t937a1b->prepend("WHITESPACE").constData()+10), t937a1b->size()-10, t937a1b }; }); } void QGroupBox_ConnectToggled(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QGroupBox::toggled), static_cast(ptr), static_cast(&MyQGroupBox::Signal_Toggled), static_cast(t)); } void QGroupBox_DisconnectToggled(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QGroupBox::toggled), static_cast(ptr), static_cast(&MyQGroupBox::Signal_Toggled)); } void QGroupBox_Toggled(void* ptr, char on) { static_cast(ptr)->toggled(on != 0); } void QGroupBox_DestroyQGroupBox(void* ptr) { static_cast(ptr)->~QGroupBox(); } void QGroupBox_DestroyQGroupBoxDefault(void* ptr) { Q_UNUSED(ptr); } class MyQHBoxLayout: public QHBoxLayout { public: MyQHBoxLayout() : QHBoxLayout() {QHBoxLayout_QHBoxLayout_QRegisterMetaType();}; MyQHBoxLayout(QWidget *parent) : QHBoxLayout(parent) {QHBoxLayout_QHBoxLayout_QRegisterMetaType();}; ~MyQHBoxLayout() { callbackQHBoxLayout_DestroyQHBoxLayout(this); }; void addItem(QLayoutItem * item) { callbackQBoxLayout_AddItem(this, item); }; int count() const { return callbackQBoxLayout_Count(const_cast(static_cast(this))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQLayout_ExpandingDirections(const_cast(static_cast(this)))); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), w); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; QLayoutItem * itemAt(int index) const { return static_cast(callbackQBoxLayout_ItemAt(const_cast(static_cast(this)), index)); }; QSize maximumSize() const { return *static_cast(callbackQLayout_MaximumSize(const_cast(static_cast(this)))); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSize minimumSize() const { return *static_cast(callbackQLayout_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & r) { callbackQLayout_SetGeometry(this, const_cast(&r)); }; QSize sizeHint() const { return *static_cast(callbackQBoxLayout_SizeHint(const_cast(static_cast(this)))); }; QLayoutItem * takeAt(int index) { return static_cast(callbackQBoxLayout_TakeAt(this, index)); }; void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); }; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQLayout_Geometry(const_cast(static_cast(this)))); }; int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast(static_cast(this)), widget); }; bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast(static_cast(this))) != 0; }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); }; void deleteLater() { callbackQLayout_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQLayout_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQLayout_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; }; Q_DECLARE_METATYPE(QHBoxLayout*) Q_DECLARE_METATYPE(MyQHBoxLayout*) int QHBoxLayout_QHBoxLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QHBoxLayout_NewQHBoxLayout() { return new MyQHBoxLayout(); } void* QHBoxLayout_NewQHBoxLayout2(void* parent) { return new MyQHBoxLayout(static_cast(parent)); } void QHBoxLayout_DestroyQHBoxLayout(void* ptr) { static_cast(ptr)->~QHBoxLayout(); } void QHBoxLayout_DestroyQHBoxLayoutDefault(void* ptr) { Q_UNUSED(ptr); } class MyQHeaderView: public QHeaderView { public: MyQHeaderView(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QHeaderView(orientation, parent) {QHeaderView_QHeaderView_QRegisterMetaType();}; void currentChanged(const QModelIndex & current, const QModelIndex & old) { callbackQHeaderView_CurrentChanged(this, const_cast(¤t), const_cast(&old)); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void Signal_GeometriesChanged() { callbackQHeaderView_GeometriesChanged(this); }; void headerDataChanged(Qt::Orientation orientation, int logicalFirst, int logicalLast) { callbackQHeaderView_HeaderDataChanged(this, orientation, logicalFirst, logicalLast); }; int horizontalOffset() const { return callbackQHeaderView_HorizontalOffset(const_cast(static_cast(this))); }; void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void paintSection(QPainter * painter, const QRect & rect, int logicalIndex) const { callbackQHeaderView_PaintSection(const_cast(static_cast(this)), painter, const_cast(&rect), logicalIndex); }; void reset() { callbackQHeaderView_Reset(this); }; void resizeSections() { callbackQHeaderView_ResizeSections2(this); }; void Signal_SectionClicked(int logicalIndex) { callbackQHeaderView_SectionClicked(this, logicalIndex); }; void Signal_SectionCountChanged(int oldCount, int newCount) { callbackQHeaderView_SectionCountChanged(this, oldCount, newCount); }; void Signal_SectionDoubleClicked(int logicalIndex) { callbackQHeaderView_SectionDoubleClicked(this, logicalIndex); }; void Signal_SectionEntered(int logicalIndex) { callbackQHeaderView_SectionEntered(this, logicalIndex); }; void Signal_SectionHandleDoubleClicked(int logicalIndex) { callbackQHeaderView_SectionHandleDoubleClicked(this, logicalIndex); }; void Signal_SectionMoved(int logicalIndex, int oldVisualIndex, int newVisualIndex) { callbackQHeaderView_SectionMoved(this, logicalIndex, oldVisualIndex, newVisualIndex); }; void Signal_SectionPressed(int logicalIndex) { callbackQHeaderView_SectionPressed(this, logicalIndex); }; void Signal_SectionResized(int logicalIndex, int oldSize, int newSize) { callbackQHeaderView_SectionResized(this, logicalIndex, oldSize, newSize); }; QSize sectionSizeFromContents(int logicalIndex) const { return *static_cast(callbackQHeaderView_SectionSizeFromContents(const_cast(static_cast(this)), logicalIndex)); }; void sectionsAboutToBeRemoved(const QModelIndex & parent, int logicalFirst, int logicalLast) { callbackQHeaderView_SectionsAboutToBeRemoved(this, const_cast(&parent), logicalFirst, logicalLast); }; void sectionsInserted(const QModelIndex & parent, int logicalFirst, int logicalLast) { callbackQHeaderView_SectionsInserted(this, const_cast(&parent), logicalFirst, logicalLast); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setOffset(int offset) { callbackQHeaderView_SetOffset(this, offset); }; void setOffsetToLastSection() { callbackQHeaderView_SetOffsetToLastSection(this); }; void setOffsetToSectionPosition(int visualSectionNumber) { callbackQHeaderView_SetOffsetToSectionPosition(this, visualSectionNumber); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags flags) { callbackQHeaderView_SetSelection(this, const_cast(&rect), flags); }; void setVisible(bool v) { callbackQHeaderView_SetVisible(this, v); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_SortIndicatorChanged(int logicalIndex, Qt::SortOrder order) { callbackQHeaderView_SortIndicatorChanged(this, logicalIndex, order); }; int verticalOffset() const { return callbackQHeaderView_VerticalOffset(const_cast(static_cast(this))); }; bool viewportEvent(QEvent * e) { return callbackQAbstractScrollArea_ViewportEvent(this, e) != 0; }; ~MyQHeaderView() { callbackQHeaderView_DestroyQHeaderView(this); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQAbstractItemView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; QModelIndex indexAt(const QPoint & point) const { return *static_cast(callbackQHeaderView_IndexAt(const_cast(static_cast(this)), const_cast(&point))); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQHeaderView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQHeaderView_MoveCursor(this, cursorAction, modifiers)); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsInserted(this, const_cast(&parent), start, end); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQHeaderView_ScrollTo(this, const_cast(&index), hint); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; void selectAll() { callbackQAbstractItemView_SelectAll(this); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQAbstractItemView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast(&index)); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; void updateGeometries() { callbackQAbstractItemView_UpdateGeometries(this); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQHeaderView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQHeaderView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QHeaderView*) Q_DECLARE_METATYPE(MyQHeaderView*) int QHeaderView_QHeaderView_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QHeaderView_NewQHeaderView(long long orientation, void* parent) { return new MyQHeaderView(static_cast(orientation), static_cast(parent)); } char QHeaderView_CascadingSectionResizes(void* ptr) { return static_cast(ptr)->cascadingSectionResizes(); } int QHeaderView_Count(void* ptr) { return static_cast(ptr)->count(); } void QHeaderView_CurrentChanged(void* ptr, void* current, void* old) { static_cast(ptr)->currentChanged(*static_cast(current), *static_cast(old)); } void QHeaderView_CurrentChangedDefault(void* ptr, void* current, void* old) { static_cast(ptr)->QHeaderView::currentChanged(*static_cast(current), *static_cast(old)); } long long QHeaderView_DefaultAlignment(void* ptr) { return static_cast(ptr)->defaultAlignment(); } int QHeaderView_DefaultSectionSize(void* ptr) { return static_cast(ptr)->defaultSectionSize(); } void QHeaderView_ConnectGeometriesChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::geometriesChanged), static_cast(ptr), static_cast(&MyQHeaderView::Signal_GeometriesChanged), static_cast(t)); } void QHeaderView_DisconnectGeometriesChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::geometriesChanged), static_cast(ptr), static_cast(&MyQHeaderView::Signal_GeometriesChanged)); } void QHeaderView_GeometriesChanged(void* ptr) { static_cast(ptr)->geometriesChanged(); } void QHeaderView_HeaderDataChanged(void* ptr, long long orientation, int logicalFirst, int logicalLast) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "headerDataChanged", Q_ARG(Qt::Orientation, static_cast(orientation)), Q_ARG(int, logicalFirst), Q_ARG(int, logicalLast)); } void QHeaderView_HeaderDataChangedDefault(void* ptr, long long orientation, int logicalFirst, int logicalLast) { static_cast(ptr)->QHeaderView::headerDataChanged(static_cast(orientation), logicalFirst, logicalLast); } int QHeaderView_HiddenSectionCount(void* ptr) { return static_cast(ptr)->hiddenSectionCount(); } void QHeaderView_HideSection(void* ptr, int logicalIndex) { static_cast(ptr)->hideSection(logicalIndex); } char QHeaderView_HighlightSections(void* ptr) { return static_cast(ptr)->highlightSections(); } int QHeaderView_HorizontalOffset(void* ptr) { return static_cast(ptr)->horizontalOffset(); } int QHeaderView_HorizontalOffsetDefault(void* ptr) { return static_cast(ptr)->QHeaderView::horizontalOffset(); } void QHeaderView_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } char QHeaderView_IsFirstSectionMovable(void* ptr) { return static_cast(ptr)->isFirstSectionMovable(); } char QHeaderView_IsSectionHidden(void* ptr, int logicalIndex) { return static_cast(ptr)->isSectionHidden(logicalIndex); } char QHeaderView_IsSortIndicatorShown(void* ptr) { return static_cast(ptr)->isSortIndicatorShown(); } int QHeaderView_Length(void* ptr) { return static_cast(ptr)->length(); } int QHeaderView_LogicalIndex(void* ptr, int visualIndex) { return static_cast(ptr)->logicalIndex(visualIndex); } int QHeaderView_LogicalIndexAt(void* ptr, int position) { return static_cast(ptr)->logicalIndexAt(position); } int QHeaderView_LogicalIndexAt2(void* ptr, int x, int y) { return static_cast(ptr)->logicalIndexAt(x, y); } int QHeaderView_LogicalIndexAt3(void* ptr, void* pos) { return static_cast(ptr)->logicalIndexAt(*static_cast(pos)); } int QHeaderView_MaximumSectionSize(void* ptr) { return static_cast(ptr)->maximumSectionSize(); } int QHeaderView_MinimumSectionSize(void* ptr) { return static_cast(ptr)->minimumSectionSize(); } void QHeaderView_MoveSection(void* ptr, int from, int to) { static_cast(ptr)->moveSection(from, to); } int QHeaderView_Offset(void* ptr) { return static_cast(ptr)->offset(); } long long QHeaderView_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void QHeaderView_PaintSection(void* ptr, void* painter, void* rect, int logicalIndex) { static_cast(ptr)->paintSection(static_cast(painter), *static_cast(rect), logicalIndex); } void QHeaderView_PaintSectionDefault(void* ptr, void* painter, void* rect, int logicalIndex) { static_cast(ptr)->QHeaderView::paintSection(static_cast(painter), *static_cast(rect), logicalIndex); } void QHeaderView_Reset(void* ptr) { static_cast(ptr)->reset(); } void QHeaderView_ResetDefault(void* ptr) { static_cast(ptr)->QHeaderView::reset(); } void QHeaderView_ResetDefaultSectionSize(void* ptr) { static_cast(ptr)->resetDefaultSectionSize(); } int QHeaderView_ResizeContentsPrecision(void* ptr) { return static_cast(ptr)->resizeContentsPrecision(); } void QHeaderView_ResizeSection(void* ptr, int logicalIndex, int size) { static_cast(ptr)->resizeSection(logicalIndex, size); } void QHeaderView_ResizeSections(void* ptr, long long mode) { static_cast(ptr)->resizeSections(static_cast(mode)); } void QHeaderView_ResizeSections2(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resizeSections"); } void QHeaderView_ResizeSections2Default(void* ptr) { static_cast(ptr)->QHeaderView::resizeSections(); } char QHeaderView_RestoreState(void* ptr, void* state) { return static_cast(ptr)->restoreState(*static_cast(state)); } void* QHeaderView_SaveState(void* ptr) { return new QByteArray(static_cast(ptr)->saveState()); } void QHeaderView_ConnectSectionClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sectionClicked), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionClicked), static_cast(t)); } void QHeaderView_DisconnectSectionClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sectionClicked), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionClicked)); } void QHeaderView_SectionClicked(void* ptr, int logicalIndex) { static_cast(ptr)->sectionClicked(logicalIndex); } void QHeaderView_ConnectSectionCountChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sectionCountChanged), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionCountChanged), static_cast(t)); } void QHeaderView_DisconnectSectionCountChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sectionCountChanged), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionCountChanged)); } void QHeaderView_SectionCountChanged(void* ptr, int oldCount, int newCount) { static_cast(ptr)->sectionCountChanged(oldCount, newCount); } void QHeaderView_ConnectSectionDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sectionDoubleClicked), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionDoubleClicked), static_cast(t)); } void QHeaderView_DisconnectSectionDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sectionDoubleClicked), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionDoubleClicked)); } void QHeaderView_SectionDoubleClicked(void* ptr, int logicalIndex) { static_cast(ptr)->sectionDoubleClicked(logicalIndex); } void QHeaderView_ConnectSectionEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sectionEntered), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionEntered), static_cast(t)); } void QHeaderView_DisconnectSectionEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sectionEntered), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionEntered)); } void QHeaderView_SectionEntered(void* ptr, int logicalIndex) { static_cast(ptr)->sectionEntered(logicalIndex); } void QHeaderView_ConnectSectionHandleDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sectionHandleDoubleClicked), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionHandleDoubleClicked), static_cast(t)); } void QHeaderView_DisconnectSectionHandleDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sectionHandleDoubleClicked), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionHandleDoubleClicked)); } void QHeaderView_SectionHandleDoubleClicked(void* ptr, int logicalIndex) { static_cast(ptr)->sectionHandleDoubleClicked(logicalIndex); } void QHeaderView_ConnectSectionMoved(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sectionMoved), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionMoved), static_cast(t)); } void QHeaderView_DisconnectSectionMoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sectionMoved), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionMoved)); } void QHeaderView_SectionMoved(void* ptr, int logicalIndex, int oldVisualIndex, int newVisualIndex) { static_cast(ptr)->sectionMoved(logicalIndex, oldVisualIndex, newVisualIndex); } int QHeaderView_SectionPosition(void* ptr, int logicalIndex) { return static_cast(ptr)->sectionPosition(logicalIndex); } void QHeaderView_ConnectSectionPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sectionPressed), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionPressed), static_cast(t)); } void QHeaderView_DisconnectSectionPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sectionPressed), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionPressed)); } void QHeaderView_SectionPressed(void* ptr, int logicalIndex) { static_cast(ptr)->sectionPressed(logicalIndex); } long long QHeaderView_SectionResizeMode(void* ptr, int logicalIndex) { return static_cast(ptr)->sectionResizeMode(logicalIndex); } void QHeaderView_ConnectSectionResized(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sectionResized), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionResized), static_cast(t)); } void QHeaderView_DisconnectSectionResized(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sectionResized), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SectionResized)); } void QHeaderView_SectionResized(void* ptr, int logicalIndex, int oldSize, int newSize) { static_cast(ptr)->sectionResized(logicalIndex, oldSize, newSize); } int QHeaderView_SectionSize(void* ptr, int logicalIndex) { return static_cast(ptr)->sectionSize(logicalIndex); } void* QHeaderView_SectionSizeFromContents(void* ptr, int logicalIndex) { return ({ QSize tmpValue = static_cast(ptr)->sectionSizeFromContents(logicalIndex); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QHeaderView_SectionSizeFromContentsDefault(void* ptr, int logicalIndex) { return ({ QSize tmpValue = static_cast(ptr)->QHeaderView::sectionSizeFromContents(logicalIndex); new QSize(tmpValue.width(), tmpValue.height()); }); } int QHeaderView_SectionSizeHint(void* ptr, int logicalIndex) { return static_cast(ptr)->sectionSizeHint(logicalIndex); } int QHeaderView_SectionViewportPosition(void* ptr, int logicalIndex) { return static_cast(ptr)->sectionViewportPosition(logicalIndex); } void QHeaderView_SectionsAboutToBeRemoved(void* ptr, void* parent, int logicalFirst, int logicalLast) { QMetaObject::invokeMethod(static_cast(ptr), "sectionsAboutToBeRemoved", Q_ARG(const QModelIndex, *static_cast(parent)), Q_ARG(int, logicalFirst), Q_ARG(int, logicalLast)); } void QHeaderView_SectionsAboutToBeRemovedDefault(void* ptr, void* parent, int logicalFirst, int logicalLast) { static_cast(ptr)->QHeaderView::sectionsAboutToBeRemoved(*static_cast(parent), logicalFirst, logicalLast); } char QHeaderView_SectionsClickable(void* ptr) { return static_cast(ptr)->sectionsClickable(); } char QHeaderView_SectionsHidden(void* ptr) { return static_cast(ptr)->sectionsHidden(); } void QHeaderView_SectionsInserted(void* ptr, void* parent, int logicalFirst, int logicalLast) { QMetaObject::invokeMethod(static_cast(ptr), "sectionsInserted", Q_ARG(const QModelIndex, *static_cast(parent)), Q_ARG(int, logicalFirst), Q_ARG(int, logicalLast)); } void QHeaderView_SectionsInsertedDefault(void* ptr, void* parent, int logicalFirst, int logicalLast) { static_cast(ptr)->QHeaderView::sectionsInserted(*static_cast(parent), logicalFirst, logicalLast); } char QHeaderView_SectionsMovable(void* ptr) { return static_cast(ptr)->sectionsMovable(); } char QHeaderView_SectionsMoved(void* ptr) { return static_cast(ptr)->sectionsMoved(); } void QHeaderView_SetCascadingSectionResizes(void* ptr, char enable) { static_cast(ptr)->setCascadingSectionResizes(enable != 0); } void QHeaderView_SetDefaultAlignment(void* ptr, long long alignment) { static_cast(ptr)->setDefaultAlignment(static_cast(alignment)); } void QHeaderView_SetDefaultSectionSize(void* ptr, int size) { static_cast(ptr)->setDefaultSectionSize(size); } void QHeaderView_SetFirstSectionMovable(void* ptr, char movable) { static_cast(ptr)->setFirstSectionMovable(movable != 0); } void QHeaderView_SetHighlightSections(void* ptr, char highlight) { static_cast(ptr)->setHighlightSections(highlight != 0); } void QHeaderView_SetMaximumSectionSize(void* ptr, int size) { static_cast(ptr)->setMaximumSectionSize(size); } void QHeaderView_SetMinimumSectionSize(void* ptr, int size) { static_cast(ptr)->setMinimumSectionSize(size); } void QHeaderView_SetOffset(void* ptr, int offset) { QMetaObject::invokeMethod(static_cast(ptr), "setOffset", Q_ARG(int, offset)); } void QHeaderView_SetOffsetDefault(void* ptr, int offset) { static_cast(ptr)->QHeaderView::setOffset(offset); } void QHeaderView_SetOffsetToLastSection(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setOffsetToLastSection"); } void QHeaderView_SetOffsetToLastSectionDefault(void* ptr) { static_cast(ptr)->QHeaderView::setOffsetToLastSection(); } void QHeaderView_SetOffsetToSectionPosition(void* ptr, int visualSectionNumber) { QMetaObject::invokeMethod(static_cast(ptr), "setOffsetToSectionPosition", Q_ARG(int, visualSectionNumber)); } void QHeaderView_SetOffsetToSectionPositionDefault(void* ptr, int visualSectionNumber) { static_cast(ptr)->QHeaderView::setOffsetToSectionPosition(visualSectionNumber); } void QHeaderView_SetResizeContentsPrecision(void* ptr, int precision) { static_cast(ptr)->setResizeContentsPrecision(precision); } void QHeaderView_SetSectionHidden(void* ptr, int logicalIndex, char hide) { static_cast(ptr)->setSectionHidden(logicalIndex, hide != 0); } void QHeaderView_SetSectionResizeMode(void* ptr, long long mode) { static_cast(ptr)->setSectionResizeMode(static_cast(mode)); } void QHeaderView_SetSectionResizeMode2(void* ptr, int logicalIndex, long long mode) { static_cast(ptr)->setSectionResizeMode(logicalIndex, static_cast(mode)); } void QHeaderView_SetSectionsClickable(void* ptr, char clickable) { static_cast(ptr)->setSectionsClickable(clickable != 0); } void QHeaderView_SetSectionsMovable(void* ptr, char movable) { static_cast(ptr)->setSectionsMovable(movable != 0); } void QHeaderView_SetSelection(void* ptr, void* rect, long long flags) { static_cast(ptr)->setSelection(*static_cast(rect), static_cast(flags)); } void QHeaderView_SetSelectionDefault(void* ptr, void* rect, long long flags) { static_cast(ptr)->QHeaderView::setSelection(*static_cast(rect), static_cast(flags)); } void QHeaderView_SetSortIndicator(void* ptr, int logicalIndex, long long order) { static_cast(ptr)->setSortIndicator(logicalIndex, static_cast(order)); } void QHeaderView_SetSortIndicatorShown(void* ptr, char show) { static_cast(ptr)->setSortIndicatorShown(show != 0); } void QHeaderView_SetStretchLastSection(void* ptr, char stretch) { static_cast(ptr)->setStretchLastSection(stretch != 0); } void QHeaderView_SetVisible(void* ptr, char v) { static_cast(ptr)->setVisible(v != 0); } void QHeaderView_SetVisibleDefault(void* ptr, char v) { static_cast(ptr)->QHeaderView::setVisible(v != 0); } void QHeaderView_ShowSection(void* ptr, int logicalIndex) { static_cast(ptr)->showSection(logicalIndex); } void QHeaderView_ConnectSortIndicatorChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QHeaderView::sortIndicatorChanged), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SortIndicatorChanged), static_cast(t)); } void QHeaderView_DisconnectSortIndicatorChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QHeaderView::sortIndicatorChanged), static_cast(ptr), static_cast(&MyQHeaderView::Signal_SortIndicatorChanged)); } void QHeaderView_SortIndicatorChanged(void* ptr, int logicalIndex, long long order) { static_cast(ptr)->sortIndicatorChanged(logicalIndex, static_cast(order)); } long long QHeaderView_SortIndicatorOrder(void* ptr) { return static_cast(ptr)->sortIndicatorOrder(); } int QHeaderView_SortIndicatorSection(void* ptr) { return static_cast(ptr)->sortIndicatorSection(); } char QHeaderView_StretchLastSection(void* ptr) { return static_cast(ptr)->stretchLastSection(); } int QHeaderView_StretchSectionCount(void* ptr) { return static_cast(ptr)->stretchSectionCount(); } void QHeaderView_SwapSections(void* ptr, int first, int second) { static_cast(ptr)->swapSections(first, second); } int QHeaderView_VerticalOffset(void* ptr) { return static_cast(ptr)->verticalOffset(); } int QHeaderView_VerticalOffsetDefault(void* ptr) { return static_cast(ptr)->QHeaderView::verticalOffset(); } int QHeaderView_VisualIndex(void* ptr, int logicalIndex) { return static_cast(ptr)->visualIndex(logicalIndex); } int QHeaderView_VisualIndexAt(void* ptr, int position) { return static_cast(ptr)->visualIndexAt(position); } void QHeaderView_DestroyQHeaderView(void* ptr) { static_cast(ptr)->~QHeaderView(); } void QHeaderView_DestroyQHeaderViewDefault(void* ptr) { Q_UNUSED(ptr); } void* QHeaderView_IndexAt(void* ptr, void* point) { return new QModelIndex(static_cast(ptr)->indexAt(*static_cast(point))); } void* QHeaderView_IndexAtDefault(void* ptr, void* point) { return new QModelIndex(static_cast(ptr)->QHeaderView::indexAt(*static_cast(point))); } char QHeaderView_IsIndexHidden(void* ptr, void* index) { return static_cast(ptr)->isIndexHidden(*static_cast(index)); } char QHeaderView_IsIndexHiddenDefault(void* ptr, void* index) { return static_cast(ptr)->QHeaderView::isIndexHidden(*static_cast(index)); } void* QHeaderView_MoveCursor(void* ptr, long long cursorAction, long long modifiers) { return new QModelIndex(static_cast(ptr)->moveCursor(static_cast(cursorAction), static_cast(modifiers))); } void* QHeaderView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers) { return new QModelIndex(static_cast(ptr)->QHeaderView::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } void QHeaderView_ScrollTo(void* ptr, void* index, long long hint) { static_cast(ptr)->scrollTo(*static_cast(index), static_cast(hint)); } void QHeaderView_ScrollToDefault(void* ptr, void* index, long long hint) { static_cast(ptr)->QHeaderView::scrollTo(*static_cast(index), static_cast(hint)); } void* QHeaderView_VisualRect(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QHeaderView_VisualRectDefault(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->QHeaderView::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QHeaderView_VisualRegionForSelection(void* ptr, void* selection) { return new QRegion(static_cast(ptr)->visualRegionForSelection(*static_cast(selection))); } void* QHeaderView_VisualRegionForSelectionDefault(void* ptr, void* selection) { return new QRegion(static_cast(ptr)->QHeaderView::visualRegionForSelection(*static_cast(selection))); } class MyQInputDialog: public QInputDialog { public: MyQInputDialog(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QInputDialog(parent, flags) {QInputDialog_QInputDialog_QRegisterMetaType();}; void done(int result) { callbackQInputDialog_Done(this, result); }; void Signal_DoubleValueChanged(double value) { callbackQInputDialog_DoubleValueChanged(this, value); }; void Signal_DoubleValueSelected(double value) { callbackQInputDialog_DoubleValueSelected(this, value); }; void Signal_IntValueChanged(int value) { callbackQInputDialog_IntValueChanged(this, value); }; void Signal_IntValueSelected(int value) { callbackQInputDialog_IntValueSelected(this, value); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_TextValueChanged(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQInputDialog_TextValueChanged(this, textPacked); }; void Signal_TextValueSelected(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQInputDialog_TextValueSelected(this, textPacked); }; ~MyQInputDialog() { callbackQInputDialog_DestroyQInputDialog(this); }; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QInputDialog*) Q_DECLARE_METATYPE(MyQInputDialog*) int QInputDialog_QInputDialog_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QInputDialog_NewQInputDialog(void* parent, long long flags) { return new MyQInputDialog(static_cast(parent), static_cast(flags)); } struct QtWidgets_PackedString QInputDialog_CancelButtonText(void* ptr) { return ({ QByteArray* t24ff21 = new QByteArray(static_cast(ptr)->cancelButtonText().toUtf8()); QtWidgets_PackedString { const_cast(t24ff21->prepend("WHITESPACE").constData()+10), t24ff21->size()-10, t24ff21 }; }); } struct QtWidgets_PackedString QInputDialog_ComboBoxItems(void* ptr) { return ({ QByteArray* t976d54 = new QByteArray(static_cast(ptr)->comboBoxItems().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t976d54->prepend("WHITESPACE").constData()+10), t976d54->size()-10, t976d54 }; }); } void QInputDialog_Done(void* ptr, int result) { static_cast(ptr)->done(result); } void QInputDialog_DoneDefault(void* ptr, int result) { static_cast(ptr)->QInputDialog::done(result); } int QInputDialog_DoubleDecimals(void* ptr) { return static_cast(ptr)->doubleDecimals(); } double QInputDialog_DoubleMaximum(void* ptr) { return static_cast(ptr)->doubleMaximum(); } double QInputDialog_DoubleMinimum(void* ptr) { return static_cast(ptr)->doubleMinimum(); } double QInputDialog_DoubleStep(void* ptr) { return static_cast(ptr)->doubleStep(); } double QInputDialog_DoubleValue(void* ptr) { return static_cast(ptr)->doubleValue(); } void QInputDialog_ConnectDoubleValueChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QInputDialog::doubleValueChanged), static_cast(ptr), static_cast(&MyQInputDialog::Signal_DoubleValueChanged), static_cast(t)); } void QInputDialog_DisconnectDoubleValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QInputDialog::doubleValueChanged), static_cast(ptr), static_cast(&MyQInputDialog::Signal_DoubleValueChanged)); } void QInputDialog_DoubleValueChanged(void* ptr, double value) { static_cast(ptr)->doubleValueChanged(value); } void QInputDialog_ConnectDoubleValueSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QInputDialog::doubleValueSelected), static_cast(ptr), static_cast(&MyQInputDialog::Signal_DoubleValueSelected), static_cast(t)); } void QInputDialog_DisconnectDoubleValueSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QInputDialog::doubleValueSelected), static_cast(ptr), static_cast(&MyQInputDialog::Signal_DoubleValueSelected)); } void QInputDialog_DoubleValueSelected(void* ptr, double value) { static_cast(ptr)->doubleValueSelected(value); } double QInputDialog_QInputDialog_GetDouble(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString label, double value, double min, double max, int decimals, char* ok, long long flags) { return QInputDialog::getDouble(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(label.data, label.len), value, min, max, decimals, reinterpret_cast(ok), static_cast(flags)); } double QInputDialog_QInputDialog_GetDouble2(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString label, double value, double min, double max, int decimals, char* ok, long long flags, double step) { return QInputDialog::getDouble(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(label.data, label.len), value, min, max, decimals, reinterpret_cast(ok), static_cast(flags), step); } int QInputDialog_QInputDialog_GetInt(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString label, int value, int min, int max, int step, char* ok, long long flags) { return QInputDialog::getInt(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(label.data, label.len), value, min, max, step, reinterpret_cast(ok), static_cast(flags)); } struct QtWidgets_PackedString QInputDialog_QInputDialog_GetItem(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString label, struct QtWidgets_PackedString items, int current, char editable, char* ok, long long flags, long long inputMethodHints) { return ({ QByteArray* t589f5f = new QByteArray(QInputDialog::getItem(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(label.data, label.len), QString::fromUtf8(items.data, items.len).split("¡¦!", QString::SkipEmptyParts), current, editable != 0, reinterpret_cast(ok), static_cast(flags), static_cast(inputMethodHints)).toUtf8()); QtWidgets_PackedString { const_cast(t589f5f->prepend("WHITESPACE").constData()+10), t589f5f->size()-10, t589f5f }; }); } struct QtWidgets_PackedString QInputDialog_QInputDialog_GetMultiLineText(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString label, struct QtWidgets_PackedString text, char* ok, long long flags, long long inputMethodHints) { return ({ QByteArray* tb42699 = new QByteArray(QInputDialog::getMultiLineText(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(label.data, label.len), QString::fromUtf8(text.data, text.len), reinterpret_cast(ok), static_cast(flags), static_cast(inputMethodHints)).toUtf8()); QtWidgets_PackedString { const_cast(tb42699->prepend("WHITESPACE").constData()+10), tb42699->size()-10, tb42699 }; }); } struct QtWidgets_PackedString QInputDialog_QInputDialog_GetText(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString label, long long mode, struct QtWidgets_PackedString text, char* ok, long long flags, long long inputMethodHints) { return ({ QByteArray* t03d5ef = new QByteArray(QInputDialog::getText(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(label.data, label.len), static_cast(mode), QString::fromUtf8(text.data, text.len), reinterpret_cast(ok), static_cast(flags), static_cast(inputMethodHints)).toUtf8()); QtWidgets_PackedString { const_cast(t03d5ef->prepend("WHITESPACE").constData()+10), t03d5ef->size()-10, t03d5ef }; }); } long long QInputDialog_InputMode(void* ptr) { return static_cast(ptr)->inputMode(); } int QInputDialog_IntMaximum(void* ptr) { return static_cast(ptr)->intMaximum(); } int QInputDialog_IntMinimum(void* ptr) { return static_cast(ptr)->intMinimum(); } int QInputDialog_IntStep(void* ptr) { return static_cast(ptr)->intStep(); } int QInputDialog_IntValue(void* ptr) { return static_cast(ptr)->intValue(); } void QInputDialog_ConnectIntValueChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QInputDialog::intValueChanged), static_cast(ptr), static_cast(&MyQInputDialog::Signal_IntValueChanged), static_cast(t)); } void QInputDialog_DisconnectIntValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QInputDialog::intValueChanged), static_cast(ptr), static_cast(&MyQInputDialog::Signal_IntValueChanged)); } void QInputDialog_IntValueChanged(void* ptr, int value) { static_cast(ptr)->intValueChanged(value); } void QInputDialog_ConnectIntValueSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QInputDialog::intValueSelected), static_cast(ptr), static_cast(&MyQInputDialog::Signal_IntValueSelected), static_cast(t)); } void QInputDialog_DisconnectIntValueSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QInputDialog::intValueSelected), static_cast(ptr), static_cast(&MyQInputDialog::Signal_IntValueSelected)); } void QInputDialog_IntValueSelected(void* ptr, int value) { static_cast(ptr)->intValueSelected(value); } char QInputDialog_IsComboBoxEditable(void* ptr) { return static_cast(ptr)->isComboBoxEditable(); } struct QtWidgets_PackedString QInputDialog_LabelText(void* ptr) { return ({ QByteArray* tf75eaa = new QByteArray(static_cast(ptr)->labelText().toUtf8()); QtWidgets_PackedString { const_cast(tf75eaa->prepend("WHITESPACE").constData()+10), tf75eaa->size()-10, tf75eaa }; }); } struct QtWidgets_PackedString QInputDialog_OkButtonText(void* ptr) { return ({ QByteArray* t1d4e9a = new QByteArray(static_cast(ptr)->okButtonText().toUtf8()); QtWidgets_PackedString { const_cast(t1d4e9a->prepend("WHITESPACE").constData()+10), t1d4e9a->size()-10, t1d4e9a }; }); } void QInputDialog_Open(void* ptr, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } } long long QInputDialog_Options(void* ptr) { return static_cast(ptr)->options(); } void QInputDialog_SetCancelButtonText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setCancelButtonText(QString::fromUtf8(text.data, text.len)); } void QInputDialog_SetComboBoxEditable(void* ptr, char editable) { static_cast(ptr)->setComboBoxEditable(editable != 0); } void QInputDialog_SetComboBoxItems(void* ptr, struct QtWidgets_PackedString items) { static_cast(ptr)->setComboBoxItems(QString::fromUtf8(items.data, items.len).split("¡¦!", QString::SkipEmptyParts)); } void QInputDialog_SetDoubleDecimals(void* ptr, int decimals) { static_cast(ptr)->setDoubleDecimals(decimals); } void QInputDialog_SetDoubleMaximum(void* ptr, double max) { static_cast(ptr)->setDoubleMaximum(max); } void QInputDialog_SetDoubleMinimum(void* ptr, double min) { static_cast(ptr)->setDoubleMinimum(min); } void QInputDialog_SetDoubleRange(void* ptr, double min, double max) { static_cast(ptr)->setDoubleRange(min, max); } void QInputDialog_SetDoubleStep(void* ptr, double step) { static_cast(ptr)->setDoubleStep(step); } void QInputDialog_SetDoubleValue(void* ptr, double value) { static_cast(ptr)->setDoubleValue(value); } void QInputDialog_SetInputMode(void* ptr, long long mode) { static_cast(ptr)->setInputMode(static_cast(mode)); } void QInputDialog_SetIntMaximum(void* ptr, int max) { static_cast(ptr)->setIntMaximum(max); } void QInputDialog_SetIntMinimum(void* ptr, int min) { static_cast(ptr)->setIntMinimum(min); } void QInputDialog_SetIntRange(void* ptr, int min, int max) { static_cast(ptr)->setIntRange(min, max); } void QInputDialog_SetIntStep(void* ptr, int step) { static_cast(ptr)->setIntStep(step); } void QInputDialog_SetIntValue(void* ptr, int value) { static_cast(ptr)->setIntValue(value); } void QInputDialog_SetLabelText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setLabelText(QString::fromUtf8(text.data, text.len)); } void QInputDialog_SetOkButtonText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setOkButtonText(QString::fromUtf8(text.data, text.len)); } void QInputDialog_SetOption(void* ptr, long long option, char on) { static_cast(ptr)->setOption(static_cast(option), on != 0); } void QInputDialog_SetOptions(void* ptr, long long options) { static_cast(ptr)->setOptions(static_cast(options)); } void QInputDialog_SetTextEchoMode(void* ptr, long long mode) { static_cast(ptr)->setTextEchoMode(static_cast(mode)); } void QInputDialog_SetTextValue(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setTextValue(QString::fromUtf8(text.data, text.len)); } char QInputDialog_TestOption(void* ptr, long long option) { return static_cast(ptr)->testOption(static_cast(option)); } long long QInputDialog_TextEchoMode(void* ptr) { return static_cast(ptr)->textEchoMode(); } struct QtWidgets_PackedString QInputDialog_TextValue(void* ptr) { return ({ QByteArray* t1ee8b9 = new QByteArray(static_cast(ptr)->textValue().toUtf8()); QtWidgets_PackedString { const_cast(t1ee8b9->prepend("WHITESPACE").constData()+10), t1ee8b9->size()-10, t1ee8b9 }; }); } void QInputDialog_ConnectTextValueChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QInputDialog::textValueChanged), static_cast(ptr), static_cast(&MyQInputDialog::Signal_TextValueChanged), static_cast(t)); } void QInputDialog_DisconnectTextValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QInputDialog::textValueChanged), static_cast(ptr), static_cast(&MyQInputDialog::Signal_TextValueChanged)); } void QInputDialog_TextValueChanged(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->textValueChanged(QString::fromUtf8(text.data, text.len)); } void QInputDialog_ConnectTextValueSelected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QInputDialog::textValueSelected), static_cast(ptr), static_cast(&MyQInputDialog::Signal_TextValueSelected), static_cast(t)); } void QInputDialog_DisconnectTextValueSelected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QInputDialog::textValueSelected), static_cast(ptr), static_cast(&MyQInputDialog::Signal_TextValueSelected)); } void QInputDialog_TextValueSelected(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->textValueSelected(QString::fromUtf8(text.data, text.len)); } void QInputDialog_DestroyQInputDialog(void* ptr) { static_cast(ptr)->~QInputDialog(); } void QInputDialog_DestroyQInputDialogDefault(void* ptr) { Q_UNUSED(ptr); } class MyQItemDelegate: public QItemDelegate { public: MyQItemDelegate(QObject *parent = Q_NULLPTR) : QItemDelegate(parent) {QItemDelegate_QItemDelegate_QRegisterMetaType();}; QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const { return static_cast(callbackQAbstractItemDelegate_CreateEditor(const_cast(static_cast(this)), parent, const_cast(&option), const_cast(&index))); }; void drawCheck(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, Qt::CheckState state) const { callbackQItemDelegate_DrawCheck(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&rect), state); }; void drawDecoration(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, const QPixmap & pixmap) const { callbackQItemDelegate_DrawDecoration(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&rect), const_cast(&pixmap)); }; void drawDisplay(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect, const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQItemDelegate_DrawDisplay(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&rect), textPacked); }; void drawFocus(QPainter * painter, const QStyleOptionViewItem & option, const QRect & rect) const { callbackQItemDelegate_DrawFocus(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&rect)); }; bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast(&option), const_cast(&index)) != 0; }; bool eventFilter(QObject * editor, QEvent * event) { return callbackQAbstractItemDelegate_EventFilter(this, editor, event) != 0; }; void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQItemDelegate_Paint(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&index)); }; void setEditorData(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetEditorData(const_cast(static_cast(this)), editor, const_cast(&index)); }; void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetModelData(const_cast(static_cast(this)), editor, model, const_cast(&index)); }; QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const { return *static_cast(callbackQItemDelegate_SizeHint(const_cast(static_cast(this)), const_cast(&option), const_cast(&index))); }; void updateEditorGeometry(QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQAbstractItemDelegate_UpdateEditorGeometry(const_cast(static_cast(this)), editor, const_cast(&option), const_cast(&index)); }; ~MyQItemDelegate() { callbackQItemDelegate_DestroyQItemDelegate(this); }; void Signal_CloseEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemDelegate_CloseEditor(this, editor, hint); }; void Signal_CommitData(QWidget * editor) { callbackQAbstractItemDelegate_CommitData(this, editor); }; void destroyEditor(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_DestroyEditor(const_cast(static_cast(this)), editor, const_cast(&index)); }; bool helpEvent(QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_HelpEvent(this, event, view, const_cast(&option), const_cast(&index)) != 0; }; void Signal_SizeHintChanged(const QModelIndex & index) { callbackQAbstractItemDelegate_SizeHintChanged(this, const_cast(&index)); }; void childEvent(QChildEvent * event) { callbackQAbstractItemDelegate_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQAbstractItemDelegate_CustomEvent(this, event); }; void deleteLater() { callbackQAbstractItemDelegate_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQAbstractItemDelegate_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQAbstractItemDelegate_Event(this, e) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractItemDelegate_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQAbstractItemDelegate_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQAbstractItemDelegate_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QItemDelegate*) Q_DECLARE_METATYPE(MyQItemDelegate*) int QItemDelegate_QItemDelegate_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QItemDelegate_NewQItemDelegate(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQItemDelegate(static_cast(parent)); } else { return new MyQItemDelegate(static_cast(parent)); } } void QItemDelegate_DrawBackground(void* ptr, void* painter, void* option, void* index) { static_cast(ptr)->drawBackground(static_cast(painter), *static_cast(option), *static_cast(index)); } void QItemDelegate_DrawCheck(void* ptr, void* painter, void* option, void* rect, long long state) { static_cast(ptr)->drawCheck(static_cast(painter), *static_cast(option), *static_cast(rect), static_cast(state)); } void QItemDelegate_DrawCheckDefault(void* ptr, void* painter, void* option, void* rect, long long state) { static_cast(ptr)->QItemDelegate::drawCheck(static_cast(painter), *static_cast(option), *static_cast(rect), static_cast(state)); } void QItemDelegate_DrawDecoration(void* ptr, void* painter, void* option, void* rect, void* pixmap) { static_cast(ptr)->drawDecoration(static_cast(painter), *static_cast(option), *static_cast(rect), *static_cast(pixmap)); } void QItemDelegate_DrawDecorationDefault(void* ptr, void* painter, void* option, void* rect, void* pixmap) { static_cast(ptr)->QItemDelegate::drawDecoration(static_cast(painter), *static_cast(option), *static_cast(rect), *static_cast(pixmap)); } void QItemDelegate_DrawDisplay(void* ptr, void* painter, void* option, void* rect, struct QtWidgets_PackedString text) { static_cast(ptr)->drawDisplay(static_cast(painter), *static_cast(option), *static_cast(rect), QString::fromUtf8(text.data, text.len)); } void QItemDelegate_DrawDisplayDefault(void* ptr, void* painter, void* option, void* rect, struct QtWidgets_PackedString text) { static_cast(ptr)->QItemDelegate::drawDisplay(static_cast(painter), *static_cast(option), *static_cast(rect), QString::fromUtf8(text.data, text.len)); } void QItemDelegate_DrawFocus(void* ptr, void* painter, void* option, void* rect) { static_cast(ptr)->drawFocus(static_cast(painter), *static_cast(option), *static_cast(rect)); } void QItemDelegate_DrawFocusDefault(void* ptr, void* painter, void* option, void* rect) { static_cast(ptr)->QItemDelegate::drawFocus(static_cast(painter), *static_cast(option), *static_cast(rect)); } char QItemDelegate_HasClipping(void* ptr) { return static_cast(ptr)->hasClipping(); } void* QItemDelegate_ItemEditorFactory(void* ptr) { return static_cast(ptr)->itemEditorFactory(); } void QItemDelegate_Paint(void* ptr, void* painter, void* option, void* index) { static_cast(ptr)->paint(static_cast(painter), *static_cast(option), *static_cast(index)); } void QItemDelegate_PaintDefault(void* ptr, void* painter, void* option, void* index) { static_cast(ptr)->QItemDelegate::paint(static_cast(painter), *static_cast(option), *static_cast(index)); } void QItemDelegate_SetClipping(void* ptr, char clip) { static_cast(ptr)->setClipping(clip != 0); } void QItemDelegate_SetItemEditorFactory(void* ptr, void* factory) { static_cast(ptr)->setItemEditorFactory(static_cast(factory)); } void* QItemDelegate_SizeHint(void* ptr, void* option, void* index) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(*static_cast(option), *static_cast(index)); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QItemDelegate_SizeHintDefault(void* ptr, void* option, void* index) { return ({ QSize tmpValue = static_cast(ptr)->QItemDelegate::sizeHint(*static_cast(option), *static_cast(index)); new QSize(tmpValue.width(), tmpValue.height()); }); } void QItemDelegate_DestroyQItemDelegate(void* ptr) { static_cast(ptr)->~QItemDelegate(); } void QItemDelegate_DestroyQItemDelegateDefault(void* ptr) { Q_UNUSED(ptr); } class MyQItemEditorCreatorBase: public QItemEditorCreatorBase { public: QWidget * createWidget(QWidget * parent) const { return static_cast(callbackQItemEditorCreatorBase_CreateWidget(const_cast(static_cast(this)), parent)); }; QByteArray valuePropertyName() const { return *static_cast(callbackQItemEditorCreatorBase_ValuePropertyName(const_cast(static_cast(this)))); }; ~MyQItemEditorCreatorBase() { callbackQItemEditorCreatorBase_DestroyQItemEditorCreatorBase(this); }; }; Q_DECLARE_METATYPE(QItemEditorCreatorBase*) Q_DECLARE_METATYPE(MyQItemEditorCreatorBase*) int QItemEditorCreatorBase_QItemEditorCreatorBase_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QItemEditorCreatorBase_CreateWidget(void* ptr, void* parent) { return static_cast(ptr)->createWidget(static_cast(parent)); } void* QItemEditorCreatorBase_ValuePropertyName(void* ptr) { return new QByteArray(static_cast(ptr)->valuePropertyName()); } void QItemEditorCreatorBase_DestroyQItemEditorCreatorBase(void* ptr) { static_cast(ptr)->~QItemEditorCreatorBase(); } void QItemEditorCreatorBase_DestroyQItemEditorCreatorBaseDefault(void* ptr) { Q_UNUSED(ptr); } class MyQItemEditorFactory: public QItemEditorFactory { public: MyQItemEditorFactory() : QItemEditorFactory() {QItemEditorFactory_QItemEditorFactory_QRegisterMetaType();}; QWidget * createEditor(int userType, QWidget * parent) const { return static_cast(callbackQItemEditorFactory_CreateEditor(const_cast(static_cast(this)), userType, parent)); }; QByteArray valuePropertyName(int userType) const { return *static_cast(callbackQItemEditorFactory_ValuePropertyName(const_cast(static_cast(this)), userType)); }; ~MyQItemEditorFactory() { callbackQItemEditorFactory_DestroyQItemEditorFactory(this); }; }; Q_DECLARE_METATYPE(QItemEditorFactory*) Q_DECLARE_METATYPE(MyQItemEditorFactory*) int QItemEditorFactory_QItemEditorFactory_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QItemEditorFactory_NewQItemEditorFactory() { return new MyQItemEditorFactory(); } void* QItemEditorFactory_CreateEditor(void* ptr, int userType, void* parent) { return static_cast(ptr)->createEditor(userType, static_cast(parent)); } void* QItemEditorFactory_CreateEditorDefault(void* ptr, int userType, void* parent) { return static_cast(ptr)->QItemEditorFactory::createEditor(userType, static_cast(parent)); } void* QItemEditorFactory_QItemEditorFactory_DefaultFactory() { return const_cast(QItemEditorFactory::defaultFactory()); } void QItemEditorFactory_RegisterEditor(void* ptr, int userType, void* creator) { static_cast(ptr)->registerEditor(userType, static_cast(creator)); } void QItemEditorFactory_QItemEditorFactory_SetDefaultFactory(void* factory) { QItemEditorFactory::setDefaultFactory(static_cast(factory)); } void* QItemEditorFactory_ValuePropertyName(void* ptr, int userType) { return new QByteArray(static_cast(ptr)->valuePropertyName(userType)); } void* QItemEditorFactory_ValuePropertyNameDefault(void* ptr, int userType) { return new QByteArray(static_cast(ptr)->QItemEditorFactory::valuePropertyName(userType)); } void QItemEditorFactory_DestroyQItemEditorFactory(void* ptr) { static_cast(ptr)->~QItemEditorFactory(); } void QItemEditorFactory_DestroyQItemEditorFactoryDefault(void* ptr) { Q_UNUSED(ptr); } void* QItemEditorFactory___creatorMap_atList(void* ptr, int v, int i) { return ({ QItemEditorCreatorBase * tmp = static_cast*>(ptr)->value(v); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QHash(); free(ptr); }; tmp; }); } void QItemEditorFactory___creatorMap_setList(void* ptr, int key, void* i) { static_cast*>(ptr)->insert(key, static_cast(i)); } void* QItemEditorFactory___creatorMap_newList(void* ptr) { Q_UNUSED(ptr); return new QHash(); } struct QtWidgets_PackedList QItemEditorFactory___creatorMap_keyList(void* ptr) { return ({ QList* tmpValuee608b2 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValuee608b2, tmpValuee608b2->size() }; }); } void* QItemEditorFactory___setCreatorMap__atList(void* ptr, int v, int i) { return ({ QItemEditorCreatorBase * tmp = static_cast*>(ptr)->value(v); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QHash(); free(ptr); }; tmp; }); } void QItemEditorFactory___setCreatorMap__setList(void* ptr, int key, void* i) { static_cast*>(ptr)->insert(key, static_cast(i)); } void* QItemEditorFactory___setCreatorMap__newList(void* ptr) { Q_UNUSED(ptr); return new QHash(); } struct QtWidgets_PackedList QItemEditorFactory___setCreatorMap__keyList(void* ptr) { return ({ QList* tmpValuee608b2 = new QList(static_cast*>(ptr)->keys()); QtWidgets_PackedList { tmpValuee608b2, tmpValuee608b2->size() }; }); } int QItemEditorFactory_____creatorMap_keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QItemEditorFactory_____creatorMap_keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QItemEditorFactory_____creatorMap_keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QItemEditorFactory_____setCreatorMap__keyList_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QItemEditorFactory_____setCreatorMap__keyList_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QItemEditorFactory_____setCreatorMap__keyList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQKeyEventTransition: public QKeyEventTransition { public: MyQKeyEventTransition(QState *sourceState = Q_NULLPTR) : QKeyEventTransition(sourceState) {QKeyEventTransition_QKeyEventTransition_QRegisterMetaType();}; MyQKeyEventTransition(QObject *object, QEvent::Type ty, int key, QState *sourceState = Q_NULLPTR) : QKeyEventTransition(object, ty, key, sourceState) {QKeyEventTransition_QKeyEventTransition_QRegisterMetaType();}; bool eventTest(QEvent * event) { return callbackQKeyEventTransition_EventTest(this, event) != 0; }; void onTransition(QEvent * event) { callbackQKeyEventTransition_OnTransition(this, event); }; ~MyQKeyEventTransition() { callbackQKeyEventTransition_DestroyQKeyEventTransition(this); }; bool event(QEvent * e) { return callbackQKeyEventTransition_Event(this, e) != 0; }; void Signal_TargetStateChanged() { callbackQKeyEventTransition_TargetStateChanged(this); }; void Signal_TargetStatesChanged() { callbackQKeyEventTransition_TargetStatesChanged(this); }; void Signal_Triggered() { callbackQKeyEventTransition_Triggered(this); }; void childEvent(QChildEvent * event) { callbackQKeyEventTransition_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQKeyEventTransition_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQKeyEventTransition_CustomEvent(this, event); }; void deleteLater() { callbackQKeyEventTransition_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQKeyEventTransition_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQKeyEventTransition_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQKeyEventTransition_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQKeyEventTransition_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQKeyEventTransition_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQKeyEventTransition_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QKeyEventTransition*) Q_DECLARE_METATYPE(MyQKeyEventTransition*) int QKeyEventTransition_QKeyEventTransition_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QKeyEventTransition_NewQKeyEventTransition(void* sourceState) { return new MyQKeyEventTransition(static_cast(sourceState)); } void* QKeyEventTransition_NewQKeyEventTransition2(void* object, long long ty, int key, void* sourceState) { if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } else { return new MyQKeyEventTransition(static_cast(object), static_cast(ty), key, static_cast(sourceState)); } } char QKeyEventTransition_EventTestDefault(void* ptr, void* event) { return static_cast(ptr)->QKeyEventTransition::eventTest(static_cast(event)); } int QKeyEventTransition_Key(void* ptr) { return static_cast(ptr)->key(); } long long QKeyEventTransition_ModifierMask(void* ptr) { return static_cast(ptr)->modifierMask(); } void QKeyEventTransition_OnTransitionDefault(void* ptr, void* event) { static_cast(ptr)->QKeyEventTransition::onTransition(static_cast(event)); } void QKeyEventTransition_SetKey(void* ptr, int key) { static_cast(ptr)->setKey(key); } void QKeyEventTransition_SetModifierMask(void* ptr, long long modifierMask) { static_cast(ptr)->setModifierMask(static_cast(modifierMask)); } void QKeyEventTransition_DestroyQKeyEventTransition(void* ptr) { static_cast(ptr)->~QKeyEventTransition(); } void QKeyEventTransition_DestroyQKeyEventTransitionDefault(void* ptr) { Q_UNUSED(ptr); } void* QKeyEventTransition___animations_atList(void* ptr, int i) { return ({QAbstractAnimation * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QKeyEventTransition___animations_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QKeyEventTransition___animations_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QKeyEventTransition___setTargetStates_targets_atList(void* ptr, int i) { return ({QAbstractState * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QKeyEventTransition___setTargetStates_targets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QKeyEventTransition___setTargetStates_targets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QKeyEventTransition___targetStates_atList(void* ptr, int i) { return ({QAbstractState * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QKeyEventTransition___targetStates_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QKeyEventTransition___targetStates_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QKeyEventTransition___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QKeyEventTransition___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QKeyEventTransition___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QKeyEventTransition___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QKeyEventTransition___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QKeyEventTransition___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QKeyEventTransition___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QKeyEventTransition___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QKeyEventTransition___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QKeyEventTransition___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QKeyEventTransition___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QKeyEventTransition___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } char QKeyEventTransition_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QKeyEventTransition::event(static_cast(e)); } void QKeyEventTransition_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QKeyEventTransition::childEvent(static_cast(event)); } void QKeyEventTransition_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QKeyEventTransition::connectNotify(*static_cast(sign)); } void QKeyEventTransition_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QKeyEventTransition::customEvent(static_cast(event)); } void QKeyEventTransition_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QKeyEventTransition::deleteLater(); } void QKeyEventTransition_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QKeyEventTransition::disconnectNotify(*static_cast(sign)); } char QKeyEventTransition_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QKeyEventTransition::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QKeyEventTransition::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QKeyEventTransition::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QKeyEventTransition::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QKeyEventTransition::eventFilter(static_cast(watched), static_cast(event)); } } void* QKeyEventTransition_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QKeyEventTransition::metaObject()); } void QKeyEventTransition_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QKeyEventTransition::timerEvent(static_cast(event)); } class MyQKeySequenceEdit: public QKeySequenceEdit { public: MyQKeySequenceEdit(QWidget *parent = Q_NULLPTR) : QKeySequenceEdit(parent) {QKeySequenceEdit_QKeySequenceEdit_QRegisterMetaType();}; MyQKeySequenceEdit(const QKeySequence &keySequence, QWidget *parent = Q_NULLPTR) : QKeySequenceEdit(keySequence, parent) {QKeySequenceEdit_QKeySequenceEdit_QRegisterMetaType();}; void clear() { callbackQKeySequenceEdit_Clear(this); }; void Signal_EditingFinished() { callbackQKeySequenceEdit_EditingFinished(this); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; void Signal_KeySequenceChanged(const QKeySequence & keySequence) { callbackQKeySequenceEdit_KeySequenceChanged(this, const_cast(&keySequence)); }; void setKeySequence(const QKeySequence & keySequence) { callbackQKeySequenceEdit_SetKeySequence(this, const_cast(&keySequence)); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; ~MyQKeySequenceEdit() { callbackQKeySequenceEdit_DestroyQKeySequenceEdit(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QKeySequenceEdit*) Q_DECLARE_METATYPE(MyQKeySequenceEdit*) int QKeySequenceEdit_QKeySequenceEdit_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QKeySequenceEdit_NewQKeySequenceEdit(void* parent) { return new MyQKeySequenceEdit(static_cast(parent)); } void* QKeySequenceEdit_NewQKeySequenceEdit2(void* keySequence, void* parent) { return new MyQKeySequenceEdit(*static_cast(keySequence), static_cast(parent)); } void QKeySequenceEdit_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QKeySequenceEdit_ClearDefault(void* ptr) { static_cast(ptr)->QKeySequenceEdit::clear(); } void QKeySequenceEdit_ConnectEditingFinished(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QKeySequenceEdit::editingFinished), static_cast(ptr), static_cast(&MyQKeySequenceEdit::Signal_EditingFinished), static_cast(t)); } void QKeySequenceEdit_DisconnectEditingFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QKeySequenceEdit::editingFinished), static_cast(ptr), static_cast(&MyQKeySequenceEdit::Signal_EditingFinished)); } void QKeySequenceEdit_EditingFinished(void* ptr) { static_cast(ptr)->editingFinished(); } void* QKeySequenceEdit_KeySequence(void* ptr) { return new QKeySequence(static_cast(ptr)->keySequence()); } void QKeySequenceEdit_ConnectKeySequenceChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QKeySequenceEdit::keySequenceChanged), static_cast(ptr), static_cast(&MyQKeySequenceEdit::Signal_KeySequenceChanged), static_cast(t)); } void QKeySequenceEdit_DisconnectKeySequenceChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QKeySequenceEdit::keySequenceChanged), static_cast(ptr), static_cast(&MyQKeySequenceEdit::Signal_KeySequenceChanged)); } void QKeySequenceEdit_KeySequenceChanged(void* ptr, void* keySequence) { static_cast(ptr)->keySequenceChanged(*static_cast(keySequence)); } void QKeySequenceEdit_SetKeySequence(void* ptr, void* keySequence) { QMetaObject::invokeMethod(static_cast(ptr), "setKeySequence", Q_ARG(const QKeySequence, *static_cast(keySequence))); } void QKeySequenceEdit_SetKeySequenceDefault(void* ptr, void* keySequence) { static_cast(ptr)->QKeySequenceEdit::setKeySequence(*static_cast(keySequence)); } void QKeySequenceEdit_DestroyQKeySequenceEdit(void* ptr) { static_cast(ptr)->~QKeySequenceEdit(); } void QKeySequenceEdit_DestroyQKeySequenceEditDefault(void* ptr) { Q_UNUSED(ptr); } class MyQLCDNumber: public QLCDNumber { public: MyQLCDNumber(QWidget *parent = Q_NULLPTR) : QLCDNumber(parent) {QLCDNumber_QLCDNumber_QRegisterMetaType();}; MyQLCDNumber(uint numDigits, QWidget *parent = Q_NULLPTR) : QLCDNumber(numDigits, parent) {QLCDNumber_QLCDNumber_QRegisterMetaType();}; void display(const QString & s) { QByteArray* ta0f149 = new QByteArray(s.toUtf8()); QtWidgets_PackedString sPacked = { const_cast(ta0f149->prepend("WHITESPACE").constData()+10), ta0f149->size()-10, ta0f149 };callbackQLCDNumber_Display(this, sPacked); }; void display(int num) { callbackQLCDNumber_Display2(this, num); }; void display(double num) { callbackQLCDNumber_Display3(this, num); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void Signal_Overflow() { callbackQLCDNumber_Overflow(this); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void setBinMode() { callbackQLCDNumber_SetBinMode(this); }; void setDecMode() { callbackQLCDNumber_SetDecMode(this); }; void setHexMode() { callbackQLCDNumber_SetHexMode(this); }; void setOctMode() { callbackQLCDNumber_SetOctMode(this); }; void setSmallDecimalPoint(bool vbo) { callbackQLCDNumber_SetSmallDecimalPoint(this, vbo); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQLCDNumber() { callbackQLCDNumber_DestroyQLCDNumber(this); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QLCDNumber*) Q_DECLARE_METATYPE(MyQLCDNumber*) int QLCDNumber_QLCDNumber_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QLCDNumber_NewQLCDNumber(void* parent) { return new MyQLCDNumber(static_cast(parent)); } void* QLCDNumber_NewQLCDNumber2(unsigned int numDigits, void* parent) { return new MyQLCDNumber(numDigits, static_cast(parent)); } char QLCDNumber_CheckOverflow(void* ptr, double num) { return static_cast(ptr)->checkOverflow(num); } char QLCDNumber_CheckOverflow2(void* ptr, int num) { return static_cast(ptr)->checkOverflow(num); } int QLCDNumber_DigitCount(void* ptr) { return static_cast(ptr)->digitCount(); } void QLCDNumber_Display(void* ptr, struct QtWidgets_PackedString s) { QMetaObject::invokeMethod(static_cast(ptr), "display", Q_ARG(const QString, QString::fromUtf8(s.data, s.len))); } void QLCDNumber_DisplayDefault(void* ptr, struct QtWidgets_PackedString s) { static_cast(ptr)->QLCDNumber::display(QString::fromUtf8(s.data, s.len)); } void QLCDNumber_Display2(void* ptr, int num) { QMetaObject::invokeMethod(static_cast(ptr), "display", Q_ARG(int, num)); } void QLCDNumber_Display2Default(void* ptr, int num) { static_cast(ptr)->QLCDNumber::display(num); } void QLCDNumber_Display3(void* ptr, double num) { QMetaObject::invokeMethod(static_cast(ptr), "display", Q_ARG(double, num)); } void QLCDNumber_Display3Default(void* ptr, double num) { static_cast(ptr)->QLCDNumber::display(num); } int QLCDNumber_IntValue(void* ptr) { return static_cast(ptr)->intValue(); } long long QLCDNumber_Mode(void* ptr) { return static_cast(ptr)->mode(); } void QLCDNumber_ConnectOverflow(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLCDNumber::overflow), static_cast(ptr), static_cast(&MyQLCDNumber::Signal_Overflow), static_cast(t)); } void QLCDNumber_DisconnectOverflow(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLCDNumber::overflow), static_cast(ptr), static_cast(&MyQLCDNumber::Signal_Overflow)); } void QLCDNumber_Overflow(void* ptr) { static_cast(ptr)->overflow(); } long long QLCDNumber_SegmentStyle(void* ptr) { return static_cast(ptr)->segmentStyle(); } void QLCDNumber_SetBinMode(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setBinMode"); } void QLCDNumber_SetBinModeDefault(void* ptr) { static_cast(ptr)->QLCDNumber::setBinMode(); } void QLCDNumber_SetDecMode(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setDecMode"); } void QLCDNumber_SetDecModeDefault(void* ptr) { static_cast(ptr)->QLCDNumber::setDecMode(); } void QLCDNumber_SetDigitCount(void* ptr, int numDigits) { static_cast(ptr)->setDigitCount(numDigits); } void QLCDNumber_SetHexMode(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setHexMode"); } void QLCDNumber_SetHexModeDefault(void* ptr) { static_cast(ptr)->QLCDNumber::setHexMode(); } void QLCDNumber_SetMode(void* ptr, long long vql) { static_cast(ptr)->setMode(static_cast(vql)); } void QLCDNumber_SetOctMode(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setOctMode"); } void QLCDNumber_SetOctModeDefault(void* ptr) { static_cast(ptr)->QLCDNumber::setOctMode(); } void QLCDNumber_SetSegmentStyle(void* ptr, long long vql) { static_cast(ptr)->setSegmentStyle(static_cast(vql)); } void QLCDNumber_SetSmallDecimalPoint(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setSmallDecimalPoint", Q_ARG(bool, vbo != 0)); } void QLCDNumber_SetSmallDecimalPointDefault(void* ptr, char vbo) { static_cast(ptr)->QLCDNumber::setSmallDecimalPoint(vbo != 0); } char QLCDNumber_SmallDecimalPoint(void* ptr) { return static_cast(ptr)->smallDecimalPoint(); } double QLCDNumber_Value(void* ptr) { return static_cast(ptr)->value(); } void QLCDNumber_DestroyQLCDNumber(void* ptr) { static_cast(ptr)->~QLCDNumber(); } void QLCDNumber_DestroyQLCDNumberDefault(void* ptr) { Q_UNUSED(ptr); } class MyQLabel: public QLabel { public: MyQLabel(QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QLabel(parent, ff) {QLabel_QLabel_QRegisterMetaType();}; MyQLabel(const QString &text, QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QLabel(text, parent, ff) {QLabel_QLabel_QRegisterMetaType();}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void clear() { callbackQLabel_Clear(this); }; void contextMenuEvent(QContextMenuEvent * ev) { callbackQWidget_ContextMenuEvent(this, ev); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void focusInEvent(QFocusEvent * ev) { callbackQWidget_FocusInEvent(this, ev); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * ev) { callbackQWidget_FocusOutEvent(this, ev); }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); }; void Signal_LinkActivated(const QString & link) { QByteArray* t4f0aa5 = new QByteArray(link.toUtf8()); QtWidgets_PackedString linkPacked = { const_cast(t4f0aa5->prepend("WHITESPACE").constData()+10), t4f0aa5->size()-10, t4f0aa5 };callbackQLabel_LinkActivated(this, linkPacked); }; void Signal_LinkHovered(const QString & link) { QByteArray* t4f0aa5 = new QByteArray(link.toUtf8()); QtWidgets_PackedString linkPacked = { const_cast(t4f0aa5->prepend("WHITESPACE").constData()+10), t4f0aa5->size()-10, t4f0aa5 };callbackQLabel_LinkHovered(this, linkPacked); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * ev) { callbackQWidget_MouseMoveEvent(this, ev); }; void mousePressEvent(QMouseEvent * ev) { callbackQWidget_MousePressEvent(this, ev); }; void mouseReleaseEvent(QMouseEvent * ev) { callbackQWidget_MouseReleaseEvent(this, ev); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void setMovie(QMovie * movie) { callbackQLabel_SetMovie(this, movie); }; void setNum(int num) { callbackQLabel_SetNum(this, num); }; void setNum(double num) { callbackQLabel_SetNum2(this, num); }; void setPicture(const QPicture & picture) { callbackQLabel_SetPicture(this, const_cast(&picture)); }; void setPixmap(const QPixmap & vqp) { callbackQLabel_SetPixmap(this, const_cast(&vqp)); }; void setText(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQLabel_SetText(this, vqsPacked); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQLabel() { callbackQLabel_DestroyQLabel(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QLabel*) Q_DECLARE_METATYPE(MyQLabel*) int QLabel_QLabel_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QLabel_NewQLabel(void* parent, long long ff) { return new MyQLabel(static_cast(parent), static_cast(ff)); } void* QLabel_NewQLabel2(struct QtWidgets_PackedString text, void* parent, long long ff) { return new MyQLabel(QString::fromUtf8(text.data, text.len), static_cast(parent), static_cast(ff)); } long long QLabel_Alignment(void* ptr) { return static_cast(ptr)->alignment(); } void* QLabel_Buddy(void* ptr) { return static_cast(ptr)->buddy(); } void QLabel_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QLabel_ClearDefault(void* ptr) { static_cast(ptr)->QLabel::clear(); } char QLabel_HasScaledContents(void* ptr) { return static_cast(ptr)->hasScaledContents(); } char QLabel_HasSelectedText(void* ptr) { return static_cast(ptr)->hasSelectedText(); } int QLabel_Indent(void* ptr) { return static_cast(ptr)->indent(); } void QLabel_ConnectLinkActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLabel::linkActivated), static_cast(ptr), static_cast(&MyQLabel::Signal_LinkActivated), static_cast(t)); } void QLabel_DisconnectLinkActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLabel::linkActivated), static_cast(ptr), static_cast(&MyQLabel::Signal_LinkActivated)); } void QLabel_LinkActivated(void* ptr, struct QtWidgets_PackedString link) { static_cast(ptr)->linkActivated(QString::fromUtf8(link.data, link.len)); } void QLabel_ConnectLinkHovered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLabel::linkHovered), static_cast(ptr), static_cast(&MyQLabel::Signal_LinkHovered), static_cast(t)); } void QLabel_DisconnectLinkHovered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLabel::linkHovered), static_cast(ptr), static_cast(&MyQLabel::Signal_LinkHovered)); } void QLabel_LinkHovered(void* ptr, struct QtWidgets_PackedString link) { static_cast(ptr)->linkHovered(QString::fromUtf8(link.data, link.len)); } int QLabel_Margin(void* ptr) { return static_cast(ptr)->margin(); } void* QLabel_Movie(void* ptr) { return static_cast(ptr)->movie(); } char QLabel_OpenExternalLinks(void* ptr) { return static_cast(ptr)->openExternalLinks(); } void* QLabel_Picture(void* ptr) { return const_cast(static_cast(ptr)->picture()); } void* QLabel_Pixmap(void* ptr) { return const_cast(static_cast(ptr)->pixmap()); } struct QtWidgets_PackedString QLabel_SelectedText(void* ptr) { return ({ QByteArray* t8b2afb = new QByteArray(static_cast(ptr)->selectedText().toUtf8()); QtWidgets_PackedString { const_cast(t8b2afb->prepend("WHITESPACE").constData()+10), t8b2afb->size()-10, t8b2afb }; }); } int QLabel_SelectionStart(void* ptr) { return static_cast(ptr)->selectionStart(); } void QLabel_SetAlignment(void* ptr, long long vqt) { static_cast(ptr)->setAlignment(static_cast(vqt)); } void QLabel_SetBuddy(void* ptr, void* buddy) { static_cast(ptr)->setBuddy(static_cast(buddy)); } void QLabel_SetIndent(void* ptr, int vin) { static_cast(ptr)->setIndent(vin); } void QLabel_SetMargin(void* ptr, int vin) { static_cast(ptr)->setMargin(vin); } void QLabel_SetMovie(void* ptr, void* movie) { QMetaObject::invokeMethod(static_cast(ptr), "setMovie", Q_ARG(QMovie*, static_cast(movie))); } void QLabel_SetMovieDefault(void* ptr, void* movie) { static_cast(ptr)->QLabel::setMovie(static_cast(movie)); } void QLabel_SetNum(void* ptr, int num) { QMetaObject::invokeMethod(static_cast(ptr), "setNum", Q_ARG(int, num)); } void QLabel_SetNumDefault(void* ptr, int num) { static_cast(ptr)->QLabel::setNum(num); } void QLabel_SetNum2(void* ptr, double num) { QMetaObject::invokeMethod(static_cast(ptr), "setNum", Q_ARG(double, num)); } void QLabel_SetNum2Default(void* ptr, double num) { static_cast(ptr)->QLabel::setNum(num); } void QLabel_SetOpenExternalLinks(void* ptr, char open) { static_cast(ptr)->setOpenExternalLinks(open != 0); } void QLabel_SetPicture(void* ptr, void* picture) { QMetaObject::invokeMethod(static_cast(ptr), "setPicture", Q_ARG(const QPicture, *static_cast(picture))); } void QLabel_SetPictureDefault(void* ptr, void* picture) { static_cast(ptr)->QLabel::setPicture(*static_cast(picture)); } void QLabel_SetPixmap(void* ptr, void* vqp) { QMetaObject::invokeMethod(static_cast(ptr), "setPixmap", Q_ARG(const QPixmap, *static_cast(vqp))); } void QLabel_SetPixmapDefault(void* ptr, void* vqp) { static_cast(ptr)->QLabel::setPixmap(*static_cast(vqp)); } void QLabel_SetScaledContents(void* ptr, char vbo) { static_cast(ptr)->setScaledContents(vbo != 0); } void QLabel_SetSelection(void* ptr, int start, int length) { static_cast(ptr)->setSelection(start, length); } void QLabel_SetText(void* ptr, struct QtWidgets_PackedString vqs) { QMetaObject::invokeMethod(static_cast(ptr), "setText", Q_ARG(const QString, QString::fromUtf8(vqs.data, vqs.len))); } void QLabel_SetTextDefault(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->QLabel::setText(QString::fromUtf8(vqs.data, vqs.len)); } void QLabel_SetTextFormat(void* ptr, long long vqt) { static_cast(ptr)->setTextFormat(static_cast(vqt)); } void QLabel_SetTextInteractionFlags(void* ptr, long long flags) { static_cast(ptr)->setTextInteractionFlags(static_cast(flags)); } void QLabel_SetWordWrap(void* ptr, char on) { static_cast(ptr)->setWordWrap(on != 0); } struct QtWidgets_PackedString QLabel_Text(void* ptr) { return ({ QByteArray* t0d779d = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(t0d779d->prepend("WHITESPACE").constData()+10), t0d779d->size()-10, t0d779d }; }); } long long QLabel_TextFormat(void* ptr) { return static_cast(ptr)->textFormat(); } long long QLabel_TextInteractionFlags(void* ptr) { return static_cast(ptr)->textInteractionFlags(); } char QLabel_WordWrap(void* ptr) { return static_cast(ptr)->wordWrap(); } void QLabel_DestroyQLabel(void* ptr) { static_cast(ptr)->~QLabel(); } void QLabel_DestroyQLabelDefault(void* ptr) { Q_UNUSED(ptr); } class MyQLayout: public QLayout { public: MyQLayout(QWidget *parent) : QLayout(parent) {QLayout_QLayout_QRegisterMetaType();}; MyQLayout() : QLayout() {QLayout_QLayout_QRegisterMetaType();}; void addItem(QLayoutItem * item) { callbackQLayout_AddItem(this, item); }; void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); }; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; int count() const { return callbackQLayout_Count(const_cast(static_cast(this))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQLayout_ExpandingDirections(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQLayout_Geometry(const_cast(static_cast(this)))); }; int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast(static_cast(this)), widget); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast(static_cast(this))) != 0; }; QLayoutItem * itemAt(int index) const { return static_cast(callbackQLayout_ItemAt(const_cast(static_cast(this)), index)); }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; QSize maximumSize() const { return *static_cast(callbackQLayout_MaximumSize(const_cast(static_cast(this)))); }; QSize minimumSize() const { return *static_cast(callbackQLayout_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & r) { callbackQLayout_SetGeometry(this, const_cast(&r)); }; QLayoutItem * takeAt(int index) { return static_cast(callbackQLayout_TakeAt(this, index)); }; void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); }; void deleteLater() { callbackQLayout_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQLayout_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQLayout_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int vin) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), vin); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSize sizeHint() const { return *static_cast(callbackQLayout_SizeHint(const_cast(static_cast(this)))); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; }; Q_DECLARE_METATYPE(QLayout*) Q_DECLARE_METATYPE(MyQLayout*) int QLayout_QLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QLayout_NewQLayout(void* parent) { return new MyQLayout(static_cast(parent)); } void* QLayout_NewQLayout2() { return new MyQLayout(); } char QLayout_Activate(void* ptr) { return static_cast(ptr)->activate(); } void QLayout_AddChildLayout(void* ptr, void* l) { static_cast(ptr)->addChildLayout(static_cast(l)); } void QLayout_AddChildWidget(void* ptr, void* w) { static_cast(ptr)->addChildWidget(static_cast(w)); } void QLayout_AddItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item)); } else { static_cast(ptr)->addItem(static_cast(item)); } } void QLayout_AddWidget(void* ptr, void* w) { static_cast(ptr)->addWidget(static_cast(w)); } void* QLayout_AlignmentRect(void* ptr, void* r) { return ({ QRect tmpValue = static_cast(ptr)->alignmentRect(*static_cast(r)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QLayout_ChildEvent(void* ptr, void* e) { static_cast(ptr)->childEvent(static_cast(e)); } void QLayout_ChildEventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedLayout::childEvent(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFormLayout::childEvent(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QVBoxLayout::childEvent(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHBoxLayout::childEvent(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QBoxLayout::childEvent(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGridLayout::childEvent(static_cast(e)); } else { static_cast(ptr)->QLayout::childEvent(static_cast(e)); } } void* QLayout_QLayout_ClosestAcceptableSize(void* widget, void* size) { return ({ QSize tmpValue = QLayout::closestAcceptableSize(static_cast(widget), *static_cast(size)); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QLayout_ContentsMargins(void* ptr) { return ({ QMargins tmpValue = static_cast(ptr)->contentsMargins(); new QMargins(tmpValue.left(), tmpValue.top(), tmpValue.right(), tmpValue.bottom()); }); } void* QLayout_ContentsRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->contentsRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QLayout_Count(void* ptr) { return static_cast(ptr)->count(); } long long QLayout_ExpandingDirections(void* ptr) { return static_cast(ptr)->expandingDirections(); } long long QLayout_ExpandingDirectionsDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::expandingDirections(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::expandingDirections(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::expandingDirections(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::expandingDirections(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::expandingDirections(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::expandingDirections(); } else { return static_cast(ptr)->QLayout::expandingDirections(); } } void* QLayout_Geometry(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QLayout_GeometryDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QStackedLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QFormLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QVBoxLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QHBoxLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QBoxLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QGridLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->QLayout::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void QLayout_GetContentsMargins(void* ptr, int left, int top, int right, int bottom) { static_cast(ptr)->getContentsMargins(&left, &top, &right, &bottom); } int QLayout_IndexOf(void* ptr, void* widget) { return static_cast(ptr)->indexOf(static_cast(widget)); } int QLayout_IndexOfDefault(void* ptr, void* widget) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::indexOf(static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::indexOf(static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::indexOf(static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::indexOf(static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::indexOf(static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::indexOf(static_cast(widget)); } else { return static_cast(ptr)->QLayout::indexOf(static_cast(widget)); } } int QLayout_IndexOf2(void* ptr, void* layoutItem) { if (dynamic_cast(static_cast(layoutItem))) { return static_cast(ptr)->indexOf(static_cast(layoutItem)); } else { return static_cast(ptr)->indexOf(static_cast(layoutItem)); } } char QLayout_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } char QLayout_IsEmptyDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::isEmpty(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::isEmpty(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::isEmpty(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::isEmpty(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::isEmpty(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::isEmpty(); } else { return static_cast(ptr)->QLayout::isEmpty(); } } char QLayout_IsEnabled(void* ptr) { return static_cast(ptr)->isEnabled(); } void* QLayout_ItemAt(void* ptr, int index) { return static_cast(ptr)->itemAt(index); } void* QLayout_MaximumSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QLayout_MaximumSizeDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QStackedLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFormLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QVBoxLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QHBoxLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QBoxLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QGridLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->QLayout::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } } void* QLayout_MenuBar(void* ptr) { return static_cast(ptr)->menuBar(); } void* QLayout_MinimumSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QLayout_MinimumSizeDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QStackedLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFormLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QVBoxLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QHBoxLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QBoxLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QGridLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->QLayout::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } } void* QLayout_ParentWidget(void* ptr) { return static_cast(ptr)->parentWidget(); } void QLayout_RemoveItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->removeItem(static_cast(item)); } else { static_cast(ptr)->removeItem(static_cast(item)); } } void QLayout_RemoveWidget(void* ptr, void* widget) { static_cast(ptr)->removeWidget(static_cast(widget)); } void* QLayout_ReplaceWidget(void* ptr, void* from, void* to, long long options) { return static_cast(ptr)->replaceWidget(static_cast(from), static_cast(to), static_cast(options)); } char QLayout_SetAlignment(void* ptr, void* w, long long alignment) { return static_cast(ptr)->setAlignment(static_cast(w), static_cast(alignment)); } char QLayout_SetAlignment2(void* ptr, void* l, long long alignment) { return static_cast(ptr)->setAlignment(static_cast(l), static_cast(alignment)); } void QLayout_SetContentsMargins(void* ptr, int left, int top, int right, int bottom) { static_cast(ptr)->setContentsMargins(left, top, right, bottom); } void QLayout_SetContentsMargins2(void* ptr, void* margins) { static_cast(ptr)->setContentsMargins(*static_cast(margins)); } void QLayout_SetEnabled(void* ptr, char enable) { static_cast(ptr)->setEnabled(enable != 0); } void QLayout_SetGeometry(void* ptr, void* r) { static_cast(ptr)->setGeometry(*static_cast(r)); } void QLayout_SetGeometryDefault(void* ptr, void* r) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedLayout::setGeometry(*static_cast(r)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFormLayout::setGeometry(*static_cast(r)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QVBoxLayout::setGeometry(*static_cast(r)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHBoxLayout::setGeometry(*static_cast(r)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QBoxLayout::setGeometry(*static_cast(r)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGridLayout::setGeometry(*static_cast(r)); } else { static_cast(ptr)->QLayout::setGeometry(*static_cast(r)); } } void QLayout_SetMenuBar(void* ptr, void* widget) { static_cast(ptr)->setMenuBar(static_cast(widget)); } void QLayout_SetSizeConstraint(void* ptr, long long vql) { static_cast(ptr)->setSizeConstraint(static_cast(vql)); } void QLayout_SetSpacing(void* ptr, int vin) { static_cast(ptr)->setSpacing(vin); } long long QLayout_SizeConstraint(void* ptr) { return static_cast(ptr)->sizeConstraint(); } int QLayout_Spacing(void* ptr) { return static_cast(ptr)->spacing(); } void* QLayout_TakeAt(void* ptr, int index) { return static_cast(ptr)->takeAt(index); } void QLayout_Update(void* ptr) { static_cast(ptr)->update(); } void* QLayout___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QLayout___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QLayout___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QLayout___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QLayout___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QLayout___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QLayout___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QLayout___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QLayout___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QLayout___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QLayout___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QLayout___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QLayout_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QLayout_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedLayout::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFormLayout::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QVBoxLayout::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHBoxLayout::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QBoxLayout::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGridLayout::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QLayout::connectNotify(*static_cast(sign)); } } void QLayout_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QLayout_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedLayout::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFormLayout::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QVBoxLayout::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHBoxLayout::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QBoxLayout::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGridLayout::customEvent(static_cast(event)); } else { static_cast(ptr)->QLayout::customEvent(static_cast(event)); } } void QLayout_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QLayout_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedLayout::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFormLayout::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QVBoxLayout::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHBoxLayout::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QBoxLayout::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGridLayout::deleteLater(); } else { static_cast(ptr)->QLayout::deleteLater(); } } void QLayout_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QLayout_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedLayout::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFormLayout::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QVBoxLayout::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHBoxLayout::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QBoxLayout::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGridLayout::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QLayout::disconnectNotify(*static_cast(sign)); } } char QLayout_Event(void* ptr, void* e) { return static_cast(ptr)->event(static_cast(e)); } char QLayout_EventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::event(static_cast(e)); } else { return static_cast(ptr)->QLayout::event(static_cast(e)); } } char QLayout_EventFilter(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } } char QLayout_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStackedLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStackedLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStackedLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStackedLayout::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QStackedLayout::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFormLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFormLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFormLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFormLayout::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QFormLayout::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QVBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QVBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QVBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QVBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QVBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QHBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QHBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QHBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QHBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QHBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QBoxLayout::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGridLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGridLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGridLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGridLayout::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGridLayout::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLayout::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QLayout::eventFilter(static_cast(watched), static_cast(event)); } } } void* QLayout_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QLayout_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QStackedLayout::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QFormLayout::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QVBoxLayout::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QHBoxLayout::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QBoxLayout::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGridLayout::metaObject()); } else { return const_cast(static_cast(ptr)->QLayout::metaObject()); } } void QLayout_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QLayout_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedLayout::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFormLayout::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QVBoxLayout::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHBoxLayout::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QBoxLayout::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGridLayout::timerEvent(static_cast(event)); } else { static_cast(ptr)->QLayout::timerEvent(static_cast(event)); } } void* QLayout_SizeHint(void* ptr) { Q_UNUSED(ptr); } void* QLayout_SizeHintDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QStackedLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFormLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QVBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QHBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QBoxLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QGridLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { } } class MyQLayoutItem: public QLayoutItem { public: MyQLayoutItem(Qt::Alignment alignment = Qt::Alignment()) : QLayoutItem(alignment) {QLayoutItem_QLayoutItem_QRegisterMetaType();}; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQLayoutItem_ExpandingDirections(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQLayoutItem_Geometry(const_cast(static_cast(this)))); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int vin) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), vin); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; bool isEmpty() const { return callbackQLayoutItem_IsEmpty(const_cast(static_cast(this))) != 0; }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; QSize maximumSize() const { return *static_cast(callbackQLayoutItem_MaximumSize(const_cast(static_cast(this)))); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSize minimumSize() const { return *static_cast(callbackQLayoutItem_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & r) { callbackQLayoutItem_SetGeometry(this, const_cast(&r)); }; QSize sizeHint() const { return *static_cast(callbackQLayoutItem_SizeHint(const_cast(static_cast(this)))); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; ~MyQLayoutItem() { callbackQLayoutItem_DestroyQLayoutItem(this); }; }; Q_DECLARE_METATYPE(QLayoutItem*) Q_DECLARE_METATYPE(MyQLayoutItem*) int QLayoutItem_QLayoutItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QLayoutItem_NewQLayoutItem(long long alignment) { return new MyQLayoutItem(static_cast(alignment)); } long long QLayoutItem_Alignment(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->alignment(); } else { return static_cast(ptr)->alignment(); } } long long QLayoutItem_ControlTypes(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->controlTypes(); } else { return static_cast(ptr)->controlTypes(); } } long long QLayoutItem_ControlTypesDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWidgetItem::controlTypes(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpacerItem::controlTypes(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::controlTypes(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::controlTypes(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::controlTypes(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::controlTypes(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::controlTypes(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::controlTypes(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLayout::controlTypes(); } else { return static_cast(ptr)->QLayoutItem::controlTypes(); } } long long QLayoutItem_ExpandingDirections(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->expandingDirections(); } else { return static_cast(ptr)->expandingDirections(); } } void* QLayoutItem_Geometry(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } char QLayoutItem_HasHeightForWidth(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->hasHeightForWidth(); } else { return static_cast(ptr)->hasHeightForWidth(); } } char QLayoutItem_HasHeightForWidthDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWidgetItem::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpacerItem::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLayout::hasHeightForWidth(); } else { return static_cast(ptr)->QLayoutItem::hasHeightForWidth(); } } int QLayoutItem_HeightForWidth(void* ptr, int vin) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->heightForWidth(vin); } else { return static_cast(ptr)->heightForWidth(vin); } } int QLayoutItem_HeightForWidthDefault(void* ptr, int vin) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWidgetItem::heightForWidth(vin); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpacerItem::heightForWidth(vin); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::heightForWidth(vin); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::heightForWidth(vin); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::heightForWidth(vin); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::heightForWidth(vin); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::heightForWidth(vin); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::heightForWidth(vin); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLayout::heightForWidth(vin); } else { return static_cast(ptr)->QLayoutItem::heightForWidth(vin); } } void QLayoutItem_Invalidate(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->invalidate(); } else { static_cast(ptr)->invalidate(); } } void QLayoutItem_InvalidateDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWidgetItem::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpacerItem::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedLayout::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFormLayout::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QVBoxLayout::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHBoxLayout::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QBoxLayout::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGridLayout::invalidate(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLayout::invalidate(); } else { static_cast(ptr)->QLayoutItem::invalidate(); } } char QLayoutItem_IsEmpty(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->isEmpty(); } else { return static_cast(ptr)->isEmpty(); } } void* QLayoutItem_Layout(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->layout(); } else { return static_cast(ptr)->layout(); } } void* QLayoutItem_LayoutDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWidgetItem::layout(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpacerItem::layout(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::layout(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::layout(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::layout(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::layout(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::layout(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::layout(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLayout::layout(); } else { return static_cast(ptr)->QLayoutItem::layout(); } } void* QLayoutItem_MaximumSize(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } } int QLayoutItem_MinimumHeightForWidth(void* ptr, int w) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->minimumHeightForWidth(w); } else { return static_cast(ptr)->minimumHeightForWidth(w); } } int QLayoutItem_MinimumHeightForWidthDefault(void* ptr, int w) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWidgetItem::minimumHeightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpacerItem::minimumHeightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::minimumHeightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::minimumHeightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::minimumHeightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::minimumHeightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::minimumHeightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::minimumHeightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLayout::minimumHeightForWidth(w); } else { return static_cast(ptr)->QLayoutItem::minimumHeightForWidth(w); } } void* QLayoutItem_MinimumSize(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } } void QLayoutItem_SetAlignment(void* ptr, long long alignment) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setAlignment(static_cast(alignment)); } else { static_cast(ptr)->setAlignment(static_cast(alignment)); } } void QLayoutItem_SetGeometry(void* ptr, void* r) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->setGeometry(*static_cast(r)); } else { static_cast(ptr)->setGeometry(*static_cast(r)); } } void* QLayoutItem_SizeHint(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } } void* QLayoutItem_SpacerItem(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->spacerItem(); } else { return static_cast(ptr)->spacerItem(); } } void* QLayoutItem_SpacerItemDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWidgetItem::spacerItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpacerItem::spacerItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::spacerItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::spacerItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::spacerItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::spacerItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::spacerItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::spacerItem(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLayout::spacerItem(); } else { return static_cast(ptr)->QLayoutItem::spacerItem(); } } void* QLayoutItem_Widget(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->widget(); } else { return static_cast(ptr)->widget(); } } void* QLayoutItem_WidgetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWidgetItem::widget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpacerItem::widget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedLayout::widget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFormLayout::widget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QVBoxLayout::widget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHBoxLayout::widget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QBoxLayout::widget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGridLayout::widget(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLayout::widget(); } else { return static_cast(ptr)->QLayoutItem::widget(); } } void QLayoutItem_DestroyQLayoutItem(void* ptr) { static_cast(ptr)->~QLayoutItem(); } void QLayoutItem_DestroyQLayoutItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQLineEdit: public QLineEdit { public: MyQLineEdit(QWidget *parent = Q_NULLPTR) : QLineEdit(parent) {QLineEdit_QLineEdit_QRegisterMetaType();}; MyQLineEdit(const QString &contents, QWidget *parent = Q_NULLPTR) : QLineEdit(contents, parent) {QLineEdit_QLineEdit_QRegisterMetaType();}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void clear() { callbackQLineEdit_Clear(this); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void copy() const { callbackQLineEdit_Copy(const_cast(static_cast(this))); }; void Signal_CursorPositionChanged(int oldPos, int newPos) { callbackQLineEdit_CursorPositionChanged(this, oldPos, newPos); }; void cut() { callbackQLineEdit_Cut(this); }; void dragEnterEvent(QDragEnterEvent * e) { callbackQWidget_DragEnterEvent(this, e); }; void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); }; void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); }; void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); }; void Signal_EditingFinished() { callbackQLineEdit_EditingFinished(this); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); }; QVariant inputMethodQuery(Qt::InputMethodQuery property) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), property)); }; void Signal_InputRejected() { callbackQLineEdit_InputRejected(this); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void paste() { callbackQLineEdit_Paste(this); }; void redo() { callbackQLineEdit_Redo(this); }; void Signal_ReturnPressed() { callbackQLineEdit_ReturnPressed(this); }; void selectAll() { callbackQLineEdit_SelectAll(this); }; void Signal_SelectionChanged() { callbackQLineEdit_SelectionChanged(this); }; void setText(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQLineEdit_SetText(this, vqsPacked); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_TextChanged(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQLineEdit_TextChanged(this, textPacked); }; void Signal_TextEdited(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQLineEdit_TextEdited(this, textPacked); }; void undo() { callbackQLineEdit_Undo(this); }; ~MyQLineEdit() { callbackQLineEdit_DestroyQLineEdit(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QLineEdit*) Q_DECLARE_METATYPE(MyQLineEdit*) int QLineEdit_QLineEdit_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QLineEdit_NewQLineEdit(void* parent) { return new MyQLineEdit(static_cast(parent)); } void* QLineEdit_NewQLineEdit2(struct QtWidgets_PackedString contents, void* parent) { return new MyQLineEdit(QString::fromUtf8(contents.data, contents.len), static_cast(parent)); } void QLineEdit_AddAction(void* ptr, void* action, long long position) { static_cast(ptr)->addAction(static_cast(action), static_cast(position)); } void* QLineEdit_AddAction2(void* ptr, void* icon, long long position) { return static_cast(ptr)->addAction(*static_cast(icon), static_cast(position)); } long long QLineEdit_Alignment(void* ptr) { return static_cast(ptr)->alignment(); } void QLineEdit_Backspace(void* ptr) { static_cast(ptr)->backspace(); } void QLineEdit_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QLineEdit_ClearDefault(void* ptr) { static_cast(ptr)->QLineEdit::clear(); } void* QLineEdit_Completer(void* ptr) { return static_cast(ptr)->completer(); } void QLineEdit_Copy(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "copy"); } void QLineEdit_CopyDefault(void* ptr) { static_cast(ptr)->QLineEdit::copy(); } void* QLineEdit_CreateStandardContextMenu(void* ptr) { return static_cast(ptr)->createStandardContextMenu(); } void QLineEdit_CursorBackward(void* ptr, char mark, int steps) { static_cast(ptr)->cursorBackward(mark != 0, steps); } void QLineEdit_CursorForward(void* ptr, char mark, int steps) { static_cast(ptr)->cursorForward(mark != 0, steps); } long long QLineEdit_CursorMoveStyle(void* ptr) { return static_cast(ptr)->cursorMoveStyle(); } int QLineEdit_CursorPosition(void* ptr) { return static_cast(ptr)->cursorPosition(); } int QLineEdit_CursorPositionAt(void* ptr, void* pos) { return static_cast(ptr)->cursorPositionAt(*static_cast(pos)); } void QLineEdit_ConnectCursorPositionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLineEdit::cursorPositionChanged), static_cast(ptr), static_cast(&MyQLineEdit::Signal_CursorPositionChanged), static_cast(t)); } void QLineEdit_DisconnectCursorPositionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLineEdit::cursorPositionChanged), static_cast(ptr), static_cast(&MyQLineEdit::Signal_CursorPositionChanged)); } void QLineEdit_CursorPositionChanged(void* ptr, int oldPos, int newPos) { static_cast(ptr)->cursorPositionChanged(oldPos, newPos); } void* QLineEdit_CursorRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->cursorRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QLineEdit_CursorWordBackward(void* ptr, char mark) { static_cast(ptr)->cursorWordBackward(mark != 0); } void QLineEdit_CursorWordForward(void* ptr, char mark) { static_cast(ptr)->cursorWordForward(mark != 0); } void QLineEdit_Cut(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "cut"); } void QLineEdit_CutDefault(void* ptr) { static_cast(ptr)->QLineEdit::cut(); } void QLineEdit_Del(void* ptr) { static_cast(ptr)->del(); } void QLineEdit_Deselect(void* ptr) { static_cast(ptr)->deselect(); } struct QtWidgets_PackedString QLineEdit_DisplayText(void* ptr) { return ({ QByteArray* t6ee01b = new QByteArray(static_cast(ptr)->displayText().toUtf8()); QtWidgets_PackedString { const_cast(t6ee01b->prepend("WHITESPACE").constData()+10), t6ee01b->size()-10, t6ee01b }; }); } char QLineEdit_DragEnabled(void* ptr) { return static_cast(ptr)->dragEnabled(); } long long QLineEdit_EchoMode(void* ptr) { return static_cast(ptr)->echoMode(); } void QLineEdit_ConnectEditingFinished(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLineEdit::editingFinished), static_cast(ptr), static_cast(&MyQLineEdit::Signal_EditingFinished), static_cast(t)); } void QLineEdit_DisconnectEditingFinished(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLineEdit::editingFinished), static_cast(ptr), static_cast(&MyQLineEdit::Signal_EditingFinished)); } void QLineEdit_EditingFinished(void* ptr) { static_cast(ptr)->editingFinished(); } void QLineEdit_End(void* ptr, char mark) { static_cast(ptr)->end(mark != 0); } void QLineEdit_GetTextMargins(void* ptr, int left, int top, int right, int bottom) { static_cast(ptr)->getTextMargins(&left, &top, &right, &bottom); } char QLineEdit_HasAcceptableInput(void* ptr) { return static_cast(ptr)->hasAcceptableInput(); } char QLineEdit_HasFrame(void* ptr) { return static_cast(ptr)->hasFrame(); } char QLineEdit_HasSelectedText(void* ptr) { return static_cast(ptr)->hasSelectedText(); } void QLineEdit_Home(void* ptr, char mark) { static_cast(ptr)->home(mark != 0); } void QLineEdit_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } struct QtWidgets_PackedString QLineEdit_InputMask(void* ptr) { return ({ QByteArray* taabe0f = new QByteArray(static_cast(ptr)->inputMask().toUtf8()); QtWidgets_PackedString { const_cast(taabe0f->prepend("WHITESPACE").constData()+10), taabe0f->size()-10, taabe0f }; }); } void QLineEdit_ConnectInputRejected(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLineEdit::inputRejected), static_cast(ptr), static_cast(&MyQLineEdit::Signal_InputRejected), static_cast(t)); } void QLineEdit_DisconnectInputRejected(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLineEdit::inputRejected), static_cast(ptr), static_cast(&MyQLineEdit::Signal_InputRejected)); } void QLineEdit_InputRejected(void* ptr) { static_cast(ptr)->inputRejected(); } void QLineEdit_Insert(void* ptr, struct QtWidgets_PackedString newText) { static_cast(ptr)->insert(QString::fromUtf8(newText.data, newText.len)); } char QLineEdit_IsClearButtonEnabled(void* ptr) { return static_cast(ptr)->isClearButtonEnabled(); } char QLineEdit_IsModified(void* ptr) { return static_cast(ptr)->isModified(); } char QLineEdit_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } char QLineEdit_IsRedoAvailable(void* ptr) { return static_cast(ptr)->isRedoAvailable(); } char QLineEdit_IsUndoAvailable(void* ptr) { return static_cast(ptr)->isUndoAvailable(); } int QLineEdit_MaxLength(void* ptr) { return static_cast(ptr)->maxLength(); } void QLineEdit_Paste(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "paste"); } void QLineEdit_PasteDefault(void* ptr) { static_cast(ptr)->QLineEdit::paste(); } struct QtWidgets_PackedString QLineEdit_PlaceholderText(void* ptr) { return ({ QByteArray* t749e76 = new QByteArray(static_cast(ptr)->placeholderText().toUtf8()); QtWidgets_PackedString { const_cast(t749e76->prepend("WHITESPACE").constData()+10), t749e76->size()-10, t749e76 }; }); } void QLineEdit_Redo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "redo"); } void QLineEdit_RedoDefault(void* ptr) { static_cast(ptr)->QLineEdit::redo(); } void QLineEdit_ConnectReturnPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLineEdit::returnPressed), static_cast(ptr), static_cast(&MyQLineEdit::Signal_ReturnPressed), static_cast(t)); } void QLineEdit_DisconnectReturnPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLineEdit::returnPressed), static_cast(ptr), static_cast(&MyQLineEdit::Signal_ReturnPressed)); } void QLineEdit_ReturnPressed(void* ptr) { static_cast(ptr)->returnPressed(); } void QLineEdit_SelectAll(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "selectAll"); } void QLineEdit_SelectAllDefault(void* ptr) { static_cast(ptr)->QLineEdit::selectAll(); } struct QtWidgets_PackedString QLineEdit_SelectedText(void* ptr) { return ({ QByteArray* t1e6e00 = new QByteArray(static_cast(ptr)->selectedText().toUtf8()); QtWidgets_PackedString { const_cast(t1e6e00->prepend("WHITESPACE").constData()+10), t1e6e00->size()-10, t1e6e00 }; }); } void QLineEdit_ConnectSelectionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLineEdit::selectionChanged), static_cast(ptr), static_cast(&MyQLineEdit::Signal_SelectionChanged), static_cast(t)); } void QLineEdit_DisconnectSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLineEdit::selectionChanged), static_cast(ptr), static_cast(&MyQLineEdit::Signal_SelectionChanged)); } void QLineEdit_SelectionChanged(void* ptr) { static_cast(ptr)->selectionChanged(); } int QLineEdit_SelectionEnd(void* ptr) { return static_cast(ptr)->selectionEnd(); } int QLineEdit_SelectionLength(void* ptr) { return static_cast(ptr)->selectionLength(); } int QLineEdit_SelectionStart(void* ptr) { return static_cast(ptr)->selectionStart(); } void QLineEdit_SetAlignment(void* ptr, long long flag) { static_cast(ptr)->setAlignment(static_cast(flag)); } void QLineEdit_SetClearButtonEnabled(void* ptr, char enable) { static_cast(ptr)->setClearButtonEnabled(enable != 0); } void QLineEdit_SetCompleter(void* ptr, void* c) { static_cast(ptr)->setCompleter(static_cast(c)); } void QLineEdit_SetCursorMoveStyle(void* ptr, long long style) { static_cast(ptr)->setCursorMoveStyle(static_cast(style)); } void QLineEdit_SetCursorPosition(void* ptr, int vin) { static_cast(ptr)->setCursorPosition(vin); } void QLineEdit_SetDragEnabled(void* ptr, char b) { static_cast(ptr)->setDragEnabled(b != 0); } void QLineEdit_SetEchoMode(void* ptr, long long vql) { static_cast(ptr)->setEchoMode(static_cast(vql)); } void QLineEdit_SetFrame(void* ptr, char vbo) { static_cast(ptr)->setFrame(vbo != 0); } void QLineEdit_SetInputMask(void* ptr, struct QtWidgets_PackedString inputMask) { static_cast(ptr)->setInputMask(QString::fromUtf8(inputMask.data, inputMask.len)); } void QLineEdit_SetMaxLength(void* ptr, int vin) { static_cast(ptr)->setMaxLength(vin); } void QLineEdit_SetModified(void* ptr, char vbo) { static_cast(ptr)->setModified(vbo != 0); } void QLineEdit_SetPlaceholderText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->setPlaceholderText(QString::fromUtf8(vqs.data, vqs.len)); } void QLineEdit_SetReadOnly(void* ptr, char vbo) { static_cast(ptr)->setReadOnly(vbo != 0); } void QLineEdit_SetSelection(void* ptr, int start, int length) { static_cast(ptr)->setSelection(start, length); } void QLineEdit_SetText(void* ptr, struct QtWidgets_PackedString vqs) { QMetaObject::invokeMethod(static_cast(ptr), "setText", Q_ARG(const QString, QString::fromUtf8(vqs.data, vqs.len))); } void QLineEdit_SetTextDefault(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->QLineEdit::setText(QString::fromUtf8(vqs.data, vqs.len)); } void QLineEdit_SetTextMargins(void* ptr, int left, int top, int right, int bottom) { static_cast(ptr)->setTextMargins(left, top, right, bottom); } void QLineEdit_SetTextMargins2(void* ptr, void* margins) { static_cast(ptr)->setTextMargins(*static_cast(margins)); } void QLineEdit_SetValidator(void* ptr, void* v) { static_cast(ptr)->setValidator(static_cast(v)); } struct QtWidgets_PackedString QLineEdit_Text(void* ptr) { return ({ QByteArray* te2605d = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(te2605d->prepend("WHITESPACE").constData()+10), te2605d->size()-10, te2605d }; }); } void QLineEdit_ConnectTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLineEdit::textChanged), static_cast(ptr), static_cast(&MyQLineEdit::Signal_TextChanged), static_cast(t)); } void QLineEdit_DisconnectTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLineEdit::textChanged), static_cast(ptr), static_cast(&MyQLineEdit::Signal_TextChanged)); } void QLineEdit_TextChanged(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->textChanged(QString::fromUtf8(text.data, text.len)); } void QLineEdit_ConnectTextEdited(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QLineEdit::textEdited), static_cast(ptr), static_cast(&MyQLineEdit::Signal_TextEdited), static_cast(t)); } void QLineEdit_DisconnectTextEdited(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QLineEdit::textEdited), static_cast(ptr), static_cast(&MyQLineEdit::Signal_TextEdited)); } void QLineEdit_TextEdited(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->textEdited(QString::fromUtf8(text.data, text.len)); } void* QLineEdit_TextMargins(void* ptr) { return ({ QMargins tmpValue = static_cast(ptr)->textMargins(); new QMargins(tmpValue.left(), tmpValue.top(), tmpValue.right(), tmpValue.bottom()); }); } void QLineEdit_Undo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "undo"); } void QLineEdit_UndoDefault(void* ptr) { static_cast(ptr)->QLineEdit::undo(); } void* QLineEdit_Validator(void* ptr) { return const_cast(static_cast(ptr)->validator()); } void QLineEdit_DestroyQLineEdit(void* ptr) { static_cast(ptr)->~QLineEdit(); } void QLineEdit_DestroyQLineEditDefault(void* ptr) { Q_UNUSED(ptr); } class MyQListView: public QListView { public: MyQListView(QWidget *parent = Q_NULLPTR) : QListView(parent) {QListView_QListView_QRegisterMetaType();}; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQListView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQListView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); }; void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); }; void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; int horizontalOffset() const { return callbackQListView_HorizontalOffset(const_cast(static_cast(this))); }; QModelIndex indexAt(const QPoint & p) const { return *static_cast(callbackQListView_IndexAt(const_cast(static_cast(this)), const_cast(&p))); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQListView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQListView_MoveCursor(this, cursorAction, modifiers)); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQListView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQListView_RowsInserted(this, const_cast(&parent), start, end); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQListView_ScrollTo(this, const_cast(&index), hint); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQListView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQListView_SetSelection(this, const_cast(&rect), command); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void updateGeometries() { callbackQListView_UpdateGeometries(this); }; int verticalOffset() const { return callbackQListView_VerticalOffset(const_cast(static_cast(this))); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQListView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQListView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; ~MyQListView() { callbackQListView_DestroyQListView(this); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void reset() { callbackQAbstractItemView_Reset(this); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; void selectAll() { callbackQAbstractItemView_SelectAll(this); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast(&index)); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QListView*) Q_DECLARE_METATYPE(MyQListView*) int QListView_QListView_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QListView_NewQListView(void* parent) { return new MyQListView(static_cast(parent)); } int QListView_BatchSize(void* ptr) { return static_cast(ptr)->batchSize(); } void QListView_ClearPropertyFlags(void* ptr) { static_cast(ptr)->clearPropertyFlags(); } void QListView_CurrentChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentChanged(*static_cast(current), *static_cast(previous)); } void QListView_CurrentChangedDefault(void* ptr, void* current, void* previous) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::currentChanged(*static_cast(current), *static_cast(previous)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::currentChanged(*static_cast(current), *static_cast(previous)); } else { static_cast(ptr)->QListView::currentChanged(*static_cast(current), *static_cast(previous)); } } void QListView_DataChanged(void* ptr, void* topLeft, void* bottomRight, void* roles) { static_cast(ptr)->dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } void QListView_DataChangedDefault(void* ptr, void* topLeft, void* bottomRight, void* roles) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else { static_cast(ptr)->QListView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } } long long QListView_Flow(void* ptr) { return static_cast(ptr)->flow(); } void* QListView_GridSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->gridSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } int QListView_HorizontalOffset(void* ptr) { return static_cast(ptr)->horizontalOffset(); } int QListView_HorizontalOffsetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::horizontalOffset(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::horizontalOffset(); } else { return static_cast(ptr)->QListView::horizontalOffset(); } } void* QListView_IndexAt(void* ptr, void* p) { return new QModelIndex(static_cast(ptr)->indexAt(*static_cast(p))); } void* QListView_IndexAtDefault(void* ptr, void* p) { if (dynamic_cast(static_cast(ptr))) { return new QModelIndex(static_cast(ptr)->QUndoView::indexAt(*static_cast(p))); } else if (dynamic_cast(static_cast(ptr))) { return new QModelIndex(static_cast(ptr)->QListWidget::indexAt(*static_cast(p))); } else { return new QModelIndex(static_cast(ptr)->QListView::indexAt(*static_cast(p))); } } char QListView_IsIndexHidden(void* ptr, void* index) { return static_cast(ptr)->isIndexHidden(*static_cast(index)); } char QListView_IsIndexHiddenDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::isIndexHidden(*static_cast(index)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::isIndexHidden(*static_cast(index)); } else { return static_cast(ptr)->QListView::isIndexHidden(*static_cast(index)); } } char QListView_IsRowHidden(void* ptr, int row) { return static_cast(ptr)->isRowHidden(row); } char QListView_IsSelectionRectVisible(void* ptr) { return static_cast(ptr)->isSelectionRectVisible(); } char QListView_IsWrapping(void* ptr) { return static_cast(ptr)->isWrapping(); } long long QListView_ItemAlignment(void* ptr) { return static_cast(ptr)->itemAlignment(); } long long QListView_LayoutMode(void* ptr) { return static_cast(ptr)->layoutMode(); } int QListView_ModelColumn(void* ptr) { return static_cast(ptr)->modelColumn(); } void* QListView_MoveCursor(void* ptr, long long cursorAction, long long modifiers) { return new QModelIndex(static_cast(ptr)->moveCursor(static_cast(cursorAction), static_cast(modifiers))); } void* QListView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers) { if (dynamic_cast(static_cast(ptr))) { return new QModelIndex(static_cast(ptr)->QUndoView::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } else if (dynamic_cast(static_cast(ptr))) { return new QModelIndex(static_cast(ptr)->QListWidget::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } else { return new QModelIndex(static_cast(ptr)->QListView::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } } long long QListView_Movement(void* ptr) { return static_cast(ptr)->movement(); } void* QListView_RectForIndex(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->rectForIndex(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } long long QListView_ResizeMode(void* ptr) { return static_cast(ptr)->resizeMode(); } void QListView_RowsAboutToBeRemoved(void* ptr, void* parent, int start, int end) { static_cast(ptr)->rowsAboutToBeRemoved(*static_cast(parent), start, end); } void QListView_RowsAboutToBeRemovedDefault(void* ptr, void* parent, int start, int end) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else { static_cast(ptr)->QListView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } } void QListView_RowsInserted(void* ptr, void* parent, int start, int end) { static_cast(ptr)->rowsInserted(*static_cast(parent), start, end); } void QListView_RowsInsertedDefault(void* ptr, void* parent, int start, int end) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::rowsInserted(*static_cast(parent), start, end); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::rowsInserted(*static_cast(parent), start, end); } else { static_cast(ptr)->QListView::rowsInserted(*static_cast(parent), start, end); } } void QListView_ScrollTo(void* ptr, void* index, long long hint) { static_cast(ptr)->scrollTo(*static_cast(index), static_cast(hint)); } void QListView_ScrollToDefault(void* ptr, void* index, long long hint) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::scrollTo(*static_cast(index), static_cast(hint)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::scrollTo(*static_cast(index), static_cast(hint)); } else { static_cast(ptr)->QListView::scrollTo(*static_cast(index), static_cast(hint)); } } void QListView_SelectionChanged(void* ptr, void* selected, void* deselected) { static_cast(ptr)->selectionChanged(*static_cast(selected), *static_cast(deselected)); } void QListView_SelectionChangedDefault(void* ptr, void* selected, void* deselected) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else { static_cast(ptr)->QListView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } } void QListView_SetBatchSize(void* ptr, int batchSize) { static_cast(ptr)->setBatchSize(batchSize); } void QListView_SetFlow(void* ptr, long long flow) { static_cast(ptr)->setFlow(static_cast(flow)); } void QListView_SetGridSize(void* ptr, void* size) { static_cast(ptr)->setGridSize(*static_cast(size)); } void QListView_SetItemAlignment(void* ptr, long long alignment) { static_cast(ptr)->setItemAlignment(static_cast(alignment)); } void QListView_SetLayoutMode(void* ptr, long long mode) { static_cast(ptr)->setLayoutMode(static_cast(mode)); } void QListView_SetModelColumn(void* ptr, int column) { static_cast(ptr)->setModelColumn(column); } void QListView_SetMovement(void* ptr, long long movement) { static_cast(ptr)->setMovement(static_cast(movement)); } void QListView_SetPositionForIndex(void* ptr, void* position, void* index) { static_cast(ptr)->setPositionForIndex(*static_cast(position), *static_cast(index)); } void QListView_SetResizeMode(void* ptr, long long mode) { static_cast(ptr)->setResizeMode(static_cast(mode)); } void QListView_SetRowHidden(void* ptr, int row, char hide) { static_cast(ptr)->setRowHidden(row, hide != 0); } void QListView_SetSelection(void* ptr, void* rect, long long command) { static_cast(ptr)->setSelection(*static_cast(rect), static_cast(command)); } void QListView_SetSelectionDefault(void* ptr, void* rect, long long command) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setSelection(*static_cast(rect), static_cast(command)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setSelection(*static_cast(rect), static_cast(command)); } else { static_cast(ptr)->QListView::setSelection(*static_cast(rect), static_cast(command)); } } void QListView_SetSelectionRectVisible(void* ptr, char show) { static_cast(ptr)->setSelectionRectVisible(show != 0); } void QListView_SetSpacing(void* ptr, int space) { static_cast(ptr)->setSpacing(space); } void QListView_SetUniformItemSizes(void* ptr, char enable) { static_cast(ptr)->setUniformItemSizes(enable != 0); } void QListView_SetViewMode(void* ptr, long long mode) { static_cast(ptr)->setViewMode(static_cast(mode)); } void QListView_SetWordWrap(void* ptr, char on) { static_cast(ptr)->setWordWrap(on != 0); } void QListView_SetWrapping(void* ptr, char enable) { static_cast(ptr)->setWrapping(enable != 0); } int QListView_Spacing(void* ptr) { return static_cast(ptr)->spacing(); } char QListView_UniformItemSizes(void* ptr) { return static_cast(ptr)->uniformItemSizes(); } void QListView_UpdateGeometries(void* ptr) { static_cast(ptr)->updateGeometries(); } void QListView_UpdateGeometriesDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::updateGeometries(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::updateGeometries(); } else { static_cast(ptr)->QListView::updateGeometries(); } } int QListView_VerticalOffset(void* ptr) { return static_cast(ptr)->verticalOffset(); } int QListView_VerticalOffsetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::verticalOffset(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::verticalOffset(); } else { return static_cast(ptr)->QListView::verticalOffset(); } } long long QListView_ViewMode(void* ptr) { return static_cast(ptr)->viewMode(); } void* QListView_VisualRect(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QListView_VisualRectDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QUndoView::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QListWidget::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->QListView::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QListView_VisualRegionForSelection(void* ptr, void* selection) { return new QRegion(static_cast(ptr)->visualRegionForSelection(*static_cast(selection))); } void* QListView_VisualRegionForSelectionDefault(void* ptr, void* selection) { if (dynamic_cast(static_cast(ptr))) { return new QRegion(static_cast(ptr)->QUndoView::visualRegionForSelection(*static_cast(selection))); } else if (dynamic_cast(static_cast(ptr))) { return new QRegion(static_cast(ptr)->QListWidget::visualRegionForSelection(*static_cast(selection))); } else { return new QRegion(static_cast(ptr)->QListView::visualRegionForSelection(*static_cast(selection))); } } char QListView_WordWrap(void* ptr) { return static_cast(ptr)->wordWrap(); } void QListView_DestroyQListView(void* ptr) { static_cast(ptr)->~QListView(); } void QListView_DestroyQListViewDefault(void* ptr) { Q_UNUSED(ptr); } void* QListView___indexesMoved_indexes_atList(void* ptr, int i) { return new QModelIndex(({QModelIndex tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QListView___indexesMoved_indexes_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QListView___indexesMoved_indexes_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQListWidget: public QListWidget { public: MyQListWidget(QWidget *parent = Q_NULLPTR) : QListWidget(parent) {QListWidget_QListWidget_QRegisterMetaType();}; void clear() { callbackQListWidget_Clear(this); }; void Signal_CurrentItemChanged(QListWidgetItem * current, QListWidgetItem * previous) { callbackQListWidget_CurrentItemChanged(this, current, previous); }; void Signal_CurrentRowChanged(int currentRow) { callbackQListWidget_CurrentRowChanged(this, currentRow); }; void Signal_CurrentTextChanged(const QString & currentText) { QByteArray* t5a0ada = new QByteArray(currentText.toUtf8()); QtWidgets_PackedString currentTextPacked = { const_cast(t5a0ada->prepend("WHITESPACE").constData()+10), t5a0ada->size()-10, t5a0ada };callbackQListWidget_CurrentTextChanged(this, currentTextPacked); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; bool dropMimeData(int index, const QMimeData * data, Qt::DropAction action) { return callbackQListWidget_DropMimeData(this, index, const_cast(data), action) != 0; }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void Signal_ItemActivated(QListWidgetItem * item) { callbackQListWidget_ItemActivated(this, item); }; void Signal_ItemChanged(QListWidgetItem * item) { callbackQListWidget_ItemChanged(this, item); }; void Signal_ItemClicked(QListWidgetItem * item) { callbackQListWidget_ItemClicked(this, item); }; void Signal_ItemDoubleClicked(QListWidgetItem * item) { callbackQListWidget_ItemDoubleClicked(this, item); }; void Signal_ItemEntered(QListWidgetItem * item) { callbackQListWidget_ItemEntered(this, item); }; void Signal_ItemPressed(QListWidgetItem * item) { callbackQListWidget_ItemPressed(this, item); }; void Signal_ItemSelectionChanged() { callbackQListWidget_ItemSelectionChanged(this); }; QMimeData * mimeData(const QList items) const { return static_cast(callbackQListWidget_MimeData(const_cast(static_cast(this)), ({ QList* tmpValue7316c8 = new QList(items); QtWidgets_PackedList { tmpValue7316c8, tmpValue7316c8->size() }; }))); }; QStringList mimeTypes() const { return ({ QtWidgets_PackedString tempVal = callbackQListWidget_MimeTypes(const_cast(static_cast(this))); QStringList ret = QString::fromUtf8(tempVal.data, tempVal.len).split("¡¦!", QString::SkipEmptyParts); free(tempVal.data); ret; }); }; void scrollToItem(const QListWidgetItem * item, QAbstractItemView::ScrollHint hint) { callbackQListWidget_ScrollToItem(this, const_cast(item), hint); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQListWidget_SupportedDropActions(const_cast(static_cast(this)))); }; ~MyQListWidget() { callbackQListWidget_DestroyQListWidget(this); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQListView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQListView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); }; void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); }; int horizontalOffset() const { return callbackQListView_HorizontalOffset(const_cast(static_cast(this))); }; QModelIndex indexAt(const QPoint & p) const { return *static_cast(callbackQListView_IndexAt(const_cast(static_cast(this)), const_cast(&p))); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQListView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQListView_MoveCursor(this, cursorAction, modifiers)); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQListView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQListView_RowsInserted(this, const_cast(&parent), start, end); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQListView_ScrollTo(this, const_cast(&index), hint); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQListView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQListView_SetSelection(this, const_cast(&rect), command); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void updateGeometries() { callbackQListView_UpdateGeometries(this); }; int verticalOffset() const { return callbackQListView_VerticalOffset(const_cast(static_cast(this))); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQListView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQListView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void reset() { callbackQAbstractItemView_Reset(this); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; void selectAll() { callbackQAbstractItemView_SelectAll(this); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast(&index)); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QListWidget*) Q_DECLARE_METATYPE(MyQListWidget*) int QListWidget_QListWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QListWidget_NewQListWidget(void* parent) { return new MyQListWidget(static_cast(parent)); } void QListWidget_AddItem(void* ptr, struct QtWidgets_PackedString label) { static_cast(ptr)->addItem(QString::fromUtf8(label.data, label.len)); } void QListWidget_AddItem2(void* ptr, void* item) { static_cast(ptr)->addItem(static_cast(item)); } void QListWidget_AddItems(void* ptr, struct QtWidgets_PackedString labels) { static_cast(ptr)->addItems(QString::fromUtf8(labels.data, labels.len).split("¡¦!", QString::SkipEmptyParts)); } void QListWidget_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QListWidget_ClearDefault(void* ptr) { static_cast(ptr)->QListWidget::clear(); } void QListWidget_ClosePersistentEditor(void* ptr, void* item) { static_cast(ptr)->closePersistentEditor(static_cast(item)); } int QListWidget_Count(void* ptr) { return static_cast(ptr)->count(); } void* QListWidget_CurrentItem(void* ptr) { return static_cast(ptr)->currentItem(); } void QListWidget_ConnectCurrentItemChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::currentItemChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_CurrentItemChanged), static_cast(t)); } void QListWidget_DisconnectCurrentItemChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::currentItemChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_CurrentItemChanged)); } void QListWidget_CurrentItemChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentItemChanged(static_cast(current), static_cast(previous)); } int QListWidget_CurrentRow(void* ptr) { return static_cast(ptr)->currentRow(); } void QListWidget_ConnectCurrentRowChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::currentRowChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_CurrentRowChanged), static_cast(t)); } void QListWidget_DisconnectCurrentRowChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::currentRowChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_CurrentRowChanged)); } void QListWidget_CurrentRowChanged(void* ptr, int currentRow) { static_cast(ptr)->currentRowChanged(currentRow); } void QListWidget_ConnectCurrentTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::currentTextChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_CurrentTextChanged), static_cast(t)); } void QListWidget_DisconnectCurrentTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::currentTextChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_CurrentTextChanged)); } void QListWidget_CurrentTextChanged(void* ptr, struct QtWidgets_PackedString currentText) { static_cast(ptr)->currentTextChanged(QString::fromUtf8(currentText.data, currentText.len)); } char QListWidget_DropMimeData(void* ptr, int index, void* data, long long action) { return static_cast(ptr)->dropMimeData(index, static_cast(data), static_cast(action)); } char QListWidget_DropMimeDataDefault(void* ptr, int index, void* data, long long action) { return static_cast(ptr)->QListWidget::dropMimeData(index, static_cast(data), static_cast(action)); } void QListWidget_EditItem(void* ptr, void* item) { static_cast(ptr)->editItem(static_cast(item)); } struct QtWidgets_PackedList QListWidget_FindItems(void* ptr, struct QtWidgets_PackedString text, long long flags) { return ({ QList* tmpValued07d9e = new QList(static_cast(ptr)->findItems(QString::fromUtf8(text.data, text.len), static_cast(flags))); QtWidgets_PackedList { tmpValued07d9e, tmpValued07d9e->size() }; }); } void* QListWidget_IndexFromItem(void* ptr, void* item) { return new QModelIndex(static_cast(ptr)->indexFromItem(static_cast(item))); } void QListWidget_InsertItem(void* ptr, int row, void* item) { static_cast(ptr)->insertItem(row, static_cast(item)); } void QListWidget_InsertItem2(void* ptr, int row, struct QtWidgets_PackedString label) { static_cast(ptr)->insertItem(row, QString::fromUtf8(label.data, label.len)); } void QListWidget_InsertItems(void* ptr, int row, struct QtWidgets_PackedString labels) { static_cast(ptr)->insertItems(row, QString::fromUtf8(labels.data, labels.len).split("¡¦!", QString::SkipEmptyParts)); } char QListWidget_IsPersistentEditorOpen(void* ptr, void* item) { return static_cast(ptr)->isPersistentEditorOpen(static_cast(item)); } char QListWidget_IsSortingEnabled(void* ptr) { return static_cast(ptr)->isSortingEnabled(); } void* QListWidget_Item(void* ptr, int row) { return static_cast(ptr)->item(row); } void QListWidget_ConnectItemActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::itemActivated), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemActivated), static_cast(t)); } void QListWidget_DisconnectItemActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::itemActivated), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemActivated)); } void QListWidget_ItemActivated(void* ptr, void* item) { static_cast(ptr)->itemActivated(static_cast(item)); } void* QListWidget_ItemAt(void* ptr, void* p) { return static_cast(ptr)->itemAt(*static_cast(p)); } void* QListWidget_ItemAt2(void* ptr, int x, int y) { return static_cast(ptr)->itemAt(x, y); } void QListWidget_ConnectItemChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::itemChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemChanged), static_cast(t)); } void QListWidget_DisconnectItemChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::itemChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemChanged)); } void QListWidget_ItemChanged(void* ptr, void* item) { static_cast(ptr)->itemChanged(static_cast(item)); } void QListWidget_ConnectItemClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::itemClicked), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemClicked), static_cast(t)); } void QListWidget_DisconnectItemClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::itemClicked), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemClicked)); } void QListWidget_ItemClicked(void* ptr, void* item) { static_cast(ptr)->itemClicked(static_cast(item)); } void QListWidget_ConnectItemDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::itemDoubleClicked), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemDoubleClicked), static_cast(t)); } void QListWidget_DisconnectItemDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::itemDoubleClicked), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemDoubleClicked)); } void QListWidget_ItemDoubleClicked(void* ptr, void* item) { static_cast(ptr)->itemDoubleClicked(static_cast(item)); } void QListWidget_ConnectItemEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::itemEntered), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemEntered), static_cast(t)); } void QListWidget_DisconnectItemEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::itemEntered), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemEntered)); } void QListWidget_ItemEntered(void* ptr, void* item) { static_cast(ptr)->itemEntered(static_cast(item)); } void* QListWidget_ItemFromIndex(void* ptr, void* index) { return static_cast(ptr)->itemFromIndex(*static_cast(index)); } void QListWidget_ConnectItemPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::itemPressed), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemPressed), static_cast(t)); } void QListWidget_DisconnectItemPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::itemPressed), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemPressed)); } void QListWidget_ItemPressed(void* ptr, void* item) { static_cast(ptr)->itemPressed(static_cast(item)); } void QListWidget_ConnectItemSelectionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QListWidget::itemSelectionChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemSelectionChanged), static_cast(t)); } void QListWidget_DisconnectItemSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QListWidget::itemSelectionChanged), static_cast(ptr), static_cast(&MyQListWidget::Signal_ItemSelectionChanged)); } void QListWidget_ItemSelectionChanged(void* ptr) { static_cast(ptr)->itemSelectionChanged(); } void* QListWidget_ItemWidget(void* ptr, void* item) { return static_cast(ptr)->itemWidget(static_cast(item)); } struct QtWidgets_PackedList QListWidget_Items(void* ptr, void* data) { return ({ QList* tmpValueb42ece = new QList(static_cast(ptr)->items(static_cast(data))); QtWidgets_PackedList { tmpValueb42ece, tmpValueb42ece->size() }; }); } void* QListWidget_MimeData(void* ptr, void* items) { return static_cast(ptr)->mimeData(*static_cast*>(items)); } void* QListWidget_MimeDataDefault(void* ptr, void* items) { return static_cast(ptr)->QListWidget::mimeData(*static_cast*>(items)); } struct QtWidgets_PackedString QListWidget_MimeTypes(void* ptr) { return ({ QByteArray* t46fd45 = new QByteArray(static_cast(ptr)->mimeTypes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t46fd45->prepend("WHITESPACE").constData()+10), t46fd45->size()-10, t46fd45 }; }); } struct QtWidgets_PackedString QListWidget_MimeTypesDefault(void* ptr) { return ({ QByteArray* tc474fd = new QByteArray(static_cast(ptr)->QListWidget::mimeTypes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(tc474fd->prepend("WHITESPACE").constData()+10), tc474fd->size()-10, tc474fd }; }); } void QListWidget_OpenPersistentEditor(void* ptr, void* item) { static_cast(ptr)->openPersistentEditor(static_cast(item)); } void QListWidget_RemoveItemWidget(void* ptr, void* item) { static_cast(ptr)->removeItemWidget(static_cast(item)); } int QListWidget_Row(void* ptr, void* item) { return static_cast(ptr)->row(static_cast(item)); } void QListWidget_ScrollToItem(void* ptr, void* item, long long hint) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "scrollToItem", Q_ARG(const QListWidgetItem*, static_cast(item)), Q_ARG(QAbstractItemView::ScrollHint, static_cast(hint))); } void QListWidget_ScrollToItemDefault(void* ptr, void* item, long long hint) { static_cast(ptr)->QListWidget::scrollToItem(static_cast(item), static_cast(hint)); } struct QtWidgets_PackedList QListWidget_SelectedItems(void* ptr) { return ({ QList* tmpValue43d795 = new QList(static_cast(ptr)->selectedItems()); QtWidgets_PackedList { tmpValue43d795, tmpValue43d795->size() }; }); } void QListWidget_SetCurrentItem(void* ptr, void* item) { static_cast(ptr)->setCurrentItem(static_cast(item)); } void QListWidget_SetCurrentItem2(void* ptr, void* item, long long command) { static_cast(ptr)->setCurrentItem(static_cast(item), static_cast(command)); } void QListWidget_SetCurrentRow(void* ptr, int row) { static_cast(ptr)->setCurrentRow(row); } void QListWidget_SetCurrentRow2(void* ptr, int row, long long command) { static_cast(ptr)->setCurrentRow(row, static_cast(command)); } void QListWidget_SetItemWidget(void* ptr, void* item, void* widget) { static_cast(ptr)->setItemWidget(static_cast(item), static_cast(widget)); } void QListWidget_SetSortingEnabled(void* ptr, char enable) { static_cast(ptr)->setSortingEnabled(enable != 0); } void QListWidget_SortItems(void* ptr, long long order) { static_cast(ptr)->sortItems(static_cast(order)); } long long QListWidget_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } long long QListWidget_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QListWidget::supportedDropActions(); } void* QListWidget_TakeItem(void* ptr, int row) { return static_cast(ptr)->takeItem(row); } void* QListWidget_VisualItemRect(void* ptr, void* item) { return ({ QRect tmpValue = static_cast(ptr)->visualItemRect(static_cast(item)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QListWidget_DestroyQListWidget(void* ptr) { static_cast(ptr)->~QListWidget(); } void QListWidget_DestroyQListWidgetDefault(void* ptr) { Q_UNUSED(ptr); } void* QListWidget___findItems_atList(void* ptr, int i) { return ({QListWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QListWidget___findItems_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QListWidget___findItems_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QListWidget___items_atList(void* ptr, int i) { return ({QListWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QListWidget___items_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QListWidget___items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QListWidget___mimeData_items_atList(void* ptr, int i) { return ({QListWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QListWidget___mimeData_items_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QListWidget___mimeData_items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QListWidget___selectedItems_atList(void* ptr, int i) { return ({QListWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QListWidget___selectedItems_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QListWidget___selectedItems_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQListWidgetItem: public QListWidgetItem { public: MyQListWidgetItem(QListWidget *parent = Q_NULLPTR, int ty = Type) : QListWidgetItem(parent, ty) {QListWidgetItem_QListWidgetItem_QRegisterMetaType();}; MyQListWidgetItem(const QString &text, QListWidget *parent = Q_NULLPTR, int ty = Type) : QListWidgetItem(text, parent, ty) {QListWidgetItem_QListWidgetItem_QRegisterMetaType();}; MyQListWidgetItem(const QIcon &icon, const QString &text, QListWidget *parent = Q_NULLPTR, int ty = Type) : QListWidgetItem(icon, text, parent, ty) {QListWidgetItem_QListWidgetItem_QRegisterMetaType();}; MyQListWidgetItem(const QListWidgetItem &other) : QListWidgetItem(other) {QListWidgetItem_QListWidgetItem_QRegisterMetaType();}; QListWidgetItem * clone() const { return static_cast(callbackQListWidgetItem_Clone(const_cast(static_cast(this)))); }; QVariant data(int role) const { return *static_cast(callbackQListWidgetItem_Data(const_cast(static_cast(this)), role)); }; void read(QDataStream & in) { callbackQListWidgetItem_Read(this, static_cast(&in)); }; void setData(int role, const QVariant & value) { callbackQListWidgetItem_SetData(this, role, const_cast(&value)); }; void write(QDataStream & out) const { callbackQListWidgetItem_Write(const_cast(static_cast(this)), static_cast(&out)); }; ~MyQListWidgetItem() { callbackQListWidgetItem_DestroyQListWidgetItem(this); }; }; Q_DECLARE_METATYPE(QListWidgetItem*) Q_DECLARE_METATYPE(MyQListWidgetItem*) int QListWidgetItem_QListWidgetItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QListWidgetItem_NewQListWidgetItem(void* parent, int ty) { return new MyQListWidgetItem(static_cast(parent), ty); } void* QListWidgetItem_NewQListWidgetItem2(struct QtWidgets_PackedString text, void* parent, int ty) { return new MyQListWidgetItem(QString::fromUtf8(text.data, text.len), static_cast(parent), ty); } void* QListWidgetItem_NewQListWidgetItem3(void* icon, struct QtWidgets_PackedString text, void* parent, int ty) { return new MyQListWidgetItem(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent), ty); } void* QListWidgetItem_NewQListWidgetItem4(void* other) { return new MyQListWidgetItem(*static_cast(other)); } void* QListWidgetItem_Background(void* ptr) { return new QBrush(static_cast(ptr)->background()); } long long QListWidgetItem_CheckState(void* ptr) { return static_cast(ptr)->checkState(); } void* QListWidgetItem_Clone(void* ptr) { return static_cast(ptr)->clone(); } void* QListWidgetItem_CloneDefault(void* ptr) { return static_cast(ptr)->QListWidgetItem::clone(); } void* QListWidgetItem_Data(void* ptr, int role) { return new QVariant(static_cast(ptr)->data(role)); } void* QListWidgetItem_DataDefault(void* ptr, int role) { return new QVariant(static_cast(ptr)->QListWidgetItem::data(role)); } long long QListWidgetItem_Flags(void* ptr) { return static_cast(ptr)->flags(); } void* QListWidgetItem_Font(void* ptr) { return new QFont(static_cast(ptr)->font()); } void* QListWidgetItem_Foreground(void* ptr) { return new QBrush(static_cast(ptr)->foreground()); } void* QListWidgetItem_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon()); } char QListWidgetItem_IsHidden(void* ptr) { return static_cast(ptr)->isHidden(); } char QListWidgetItem_IsSelected(void* ptr) { return static_cast(ptr)->isSelected(); } void* QListWidgetItem_ListWidget(void* ptr) { return static_cast(ptr)->listWidget(); } void QListWidgetItem_Read(void* ptr, void* in) { static_cast(ptr)->read(*static_cast(in)); } void QListWidgetItem_ReadDefault(void* ptr, void* in) { static_cast(ptr)->QListWidgetItem::read(*static_cast(in)); } void QListWidgetItem_SetBackground(void* ptr, void* brush) { static_cast(ptr)->setBackground(*static_cast(brush)); } void QListWidgetItem_SetCheckState(void* ptr, long long state) { static_cast(ptr)->setCheckState(static_cast(state)); } void QListWidgetItem_SetData(void* ptr, int role, void* value) { static_cast(ptr)->setData(role, *static_cast(value)); } void QListWidgetItem_SetDataDefault(void* ptr, int role, void* value) { static_cast(ptr)->QListWidgetItem::setData(role, *static_cast(value)); } void QListWidgetItem_SetFlags(void* ptr, long long flags) { static_cast(ptr)->setFlags(static_cast(flags)); } void QListWidgetItem_SetFont(void* ptr, void* font) { static_cast(ptr)->setFont(*static_cast(font)); } void QListWidgetItem_SetForeground(void* ptr, void* brush) { static_cast(ptr)->setForeground(*static_cast(brush)); } void QListWidgetItem_SetHidden(void* ptr, char hide) { static_cast(ptr)->setHidden(hide != 0); } void QListWidgetItem_SetIcon(void* ptr, void* icon) { static_cast(ptr)->setIcon(*static_cast(icon)); } void QListWidgetItem_SetSelected(void* ptr, char sele) { static_cast(ptr)->setSelected(sele != 0); } void QListWidgetItem_SetSizeHint(void* ptr, void* size) { static_cast(ptr)->setSizeHint(*static_cast(size)); } void QListWidgetItem_SetStatusTip(void* ptr, struct QtWidgets_PackedString statusTip) { static_cast(ptr)->setStatusTip(QString::fromUtf8(statusTip.data, statusTip.len)); } void QListWidgetItem_SetText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(QString::fromUtf8(text.data, text.len)); } void QListWidgetItem_SetTextAlignment(void* ptr, int alignment) { static_cast(ptr)->setTextAlignment(alignment); } void QListWidgetItem_SetToolTip(void* ptr, struct QtWidgets_PackedString toolTip) { static_cast(ptr)->setToolTip(QString::fromUtf8(toolTip.data, toolTip.len)); } void QListWidgetItem_SetWhatsThis(void* ptr, struct QtWidgets_PackedString whatsThis) { static_cast(ptr)->setWhatsThis(QString::fromUtf8(whatsThis.data, whatsThis.len)); } void* QListWidgetItem_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } struct QtWidgets_PackedString QListWidgetItem_StatusTip(void* ptr) { return ({ QByteArray* t97b7ce = new QByteArray(static_cast(ptr)->statusTip().toUtf8()); QtWidgets_PackedString { const_cast(t97b7ce->prepend("WHITESPACE").constData()+10), t97b7ce->size()-10, t97b7ce }; }); } struct QtWidgets_PackedString QListWidgetItem_Text(void* ptr) { return ({ QByteArray* t3d0f8a = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(t3d0f8a->prepend("WHITESPACE").constData()+10), t3d0f8a->size()-10, t3d0f8a }; }); } int QListWidgetItem_TextAlignment(void* ptr) { return static_cast(ptr)->textAlignment(); } struct QtWidgets_PackedString QListWidgetItem_ToolTip(void* ptr) { return ({ QByteArray* tc8991e = new QByteArray(static_cast(ptr)->toolTip().toUtf8()); QtWidgets_PackedString { const_cast(tc8991e->prepend("WHITESPACE").constData()+10), tc8991e->size()-10, tc8991e }; }); } int QListWidgetItem_Type(void* ptr) { return static_cast(ptr)->type(); } struct QtWidgets_PackedString QListWidgetItem_WhatsThis(void* ptr) { return ({ QByteArray* tf613a8 = new QByteArray(static_cast(ptr)->whatsThis().toUtf8()); QtWidgets_PackedString { const_cast(tf613a8->prepend("WHITESPACE").constData()+10), tf613a8->size()-10, tf613a8 }; }); } void QListWidgetItem_Write(void* ptr, void* out) { static_cast(ptr)->write(*static_cast(out)); } void QListWidgetItem_WriteDefault(void* ptr, void* out) { static_cast(ptr)->QListWidgetItem::write(*static_cast(out)); } void QListWidgetItem_DestroyQListWidgetItem(void* ptr) { static_cast(ptr)->~QListWidgetItem(); } void QListWidgetItem_DestroyQListWidgetItemDefault(void* ptr) { Q_UNUSED(ptr); } void* QListWidgetItem___dummy_atList(void* ptr, int i) { return ({void * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); } void QListWidgetItem___dummy_setList(void* ptr, void* i) { static_cast*>(ptr)->append(i); } void* QListWidgetItem___dummy_newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QListWidgetItem___setDummy__atList(void* ptr, int i) { return ({void * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); } void QListWidgetItem___setDummy__setList(void* ptr, void* i) { static_cast*>(ptr)->append(i); } void* QListWidgetItem___setDummy__newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } class MyQMainWindow: public QMainWindow { public: MyQMainWindow(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QMainWindow(parent, flags) {QMainWindow_QMainWindow_QRegisterMetaType();}; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; QMenu * createPopupMenu() { return static_cast(callbackQMainWindow_CreatePopupMenu(this)); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void Signal_IconSizeChanged(const QSize & iconSize) { callbackQMainWindow_IconSizeChanged(this, const_cast(&iconSize)); }; void setAnimated(bool enabled) { callbackQMainWindow_SetAnimated(this, enabled); }; void setDockNestingEnabled(bool enabled) { callbackQMainWindow_SetDockNestingEnabled(this, enabled); }; void setUnifiedTitleAndToolBarOnMac(bool set) { callbackQMainWindow_SetUnifiedTitleAndToolBarOnMac(this, set); }; void Signal_TabifiedDockWidgetActivated(QDockWidget * dockWidget) { callbackQMainWindow_TabifiedDockWidgetActivated(this, dockWidget); }; void Signal_ToolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle) { callbackQMainWindow_ToolButtonStyleChanged(this, toolButtonStyle); }; ~MyQMainWindow() { callbackQMainWindow_DestroyQMainWindow(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QMainWindow*) Q_DECLARE_METATYPE(MyQMainWindow*) int QMainWindow_QMainWindow_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QMainWindow_NewQMainWindow(void* parent, long long flags) { return new MyQMainWindow(static_cast(parent), static_cast(flags)); } void QMainWindow_AddDockWidget(void* ptr, long long area, void* dockwidget) { static_cast(ptr)->addDockWidget(static_cast(area), static_cast(dockwidget)); } void QMainWindow_AddDockWidget2(void* ptr, long long area, void* dockwidget, long long orientation) { static_cast(ptr)->addDockWidget(static_cast(area), static_cast(dockwidget), static_cast(orientation)); } void QMainWindow_AddToolBar(void* ptr, long long area, void* toolbar) { static_cast(ptr)->addToolBar(static_cast(area), static_cast(toolbar)); } void QMainWindow_AddToolBar2(void* ptr, void* toolbar) { static_cast(ptr)->addToolBar(static_cast(toolbar)); } void* QMainWindow_AddToolBar3(void* ptr, struct QtWidgets_PackedString title) { return static_cast(ptr)->addToolBar(QString::fromUtf8(title.data, title.len)); } void QMainWindow_AddToolBarBreak(void* ptr, long long area) { static_cast(ptr)->addToolBarBreak(static_cast(area)); } void* QMainWindow_CentralWidget(void* ptr) { return static_cast(ptr)->centralWidget(); } long long QMainWindow_Corner(void* ptr, long long corner) { return static_cast(ptr)->corner(static_cast(corner)); } void* QMainWindow_CreatePopupMenu(void* ptr) { return static_cast(ptr)->createPopupMenu(); } void* QMainWindow_CreatePopupMenuDefault(void* ptr) { return static_cast(ptr)->QMainWindow::createPopupMenu(); } long long QMainWindow_DockOptions(void* ptr) { return static_cast(ptr)->dockOptions(); } long long QMainWindow_DockWidgetArea(void* ptr, void* dockwidget) { return static_cast(ptr)->dockWidgetArea(static_cast(dockwidget)); } char QMainWindow_DocumentMode(void* ptr) { return static_cast(ptr)->documentMode(); } void* QMainWindow_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QMainWindow_ConnectIconSizeChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMainWindow::iconSizeChanged), static_cast(ptr), static_cast(&MyQMainWindow::Signal_IconSizeChanged), static_cast(t)); } void QMainWindow_DisconnectIconSizeChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMainWindow::iconSizeChanged), static_cast(ptr), static_cast(&MyQMainWindow::Signal_IconSizeChanged)); } void QMainWindow_IconSizeChanged(void* ptr, void* iconSize) { static_cast(ptr)->iconSizeChanged(*static_cast(iconSize)); } void QMainWindow_InsertToolBar(void* ptr, void* before, void* toolbar) { static_cast(ptr)->insertToolBar(static_cast(before), static_cast(toolbar)); } void QMainWindow_InsertToolBarBreak(void* ptr, void* before) { static_cast(ptr)->insertToolBarBreak(static_cast(before)); } char QMainWindow_IsAnimated(void* ptr) { return static_cast(ptr)->isAnimated(); } char QMainWindow_IsDockNestingEnabled(void* ptr) { return static_cast(ptr)->isDockNestingEnabled(); } void* QMainWindow_MenuBar(void* ptr) { return static_cast(ptr)->menuBar(); } void* QMainWindow_MenuWidget(void* ptr) { return static_cast(ptr)->menuWidget(); } void QMainWindow_RemoveDockWidget(void* ptr, void* dockwidget) { static_cast(ptr)->removeDockWidget(static_cast(dockwidget)); } void QMainWindow_RemoveToolBar(void* ptr, void* toolbar) { static_cast(ptr)->removeToolBar(static_cast(toolbar)); } void QMainWindow_RemoveToolBarBreak(void* ptr, void* before) { static_cast(ptr)->removeToolBarBreak(static_cast(before)); } void QMainWindow_ResizeDocks(void* ptr, void* docks, void* sizes, long long orientation) { static_cast(ptr)->resizeDocks(*static_cast*>(docks), *static_cast*>(sizes), static_cast(orientation)); } char QMainWindow_RestoreDockWidget(void* ptr, void* dockwidget) { return static_cast(ptr)->restoreDockWidget(static_cast(dockwidget)); } char QMainWindow_RestoreState(void* ptr, void* state, int version) { return static_cast(ptr)->restoreState(*static_cast(state), version); } void* QMainWindow_SaveState(void* ptr, int version) { return new QByteArray(static_cast(ptr)->saveState(version)); } void QMainWindow_SetAnimated(void* ptr, char enabled) { QMetaObject::invokeMethod(static_cast(ptr), "setAnimated", Q_ARG(bool, enabled != 0)); } void QMainWindow_SetAnimatedDefault(void* ptr, char enabled) { static_cast(ptr)->QMainWindow::setAnimated(enabled != 0); } void QMainWindow_SetCentralWidget(void* ptr, void* widget) { static_cast(ptr)->setCentralWidget(static_cast(widget)); } void QMainWindow_SetCorner(void* ptr, long long corner, long long area) { static_cast(ptr)->setCorner(static_cast(corner), static_cast(area)); } void QMainWindow_SetDockNestingEnabled(void* ptr, char enabled) { QMetaObject::invokeMethod(static_cast(ptr), "setDockNestingEnabled", Q_ARG(bool, enabled != 0)); } void QMainWindow_SetDockNestingEnabledDefault(void* ptr, char enabled) { static_cast(ptr)->QMainWindow::setDockNestingEnabled(enabled != 0); } void QMainWindow_SetDockOptions(void* ptr, long long options) { static_cast(ptr)->setDockOptions(static_cast(options)); } void QMainWindow_SetDocumentMode(void* ptr, char enabled) { static_cast(ptr)->setDocumentMode(enabled != 0); } void QMainWindow_SetIconSize(void* ptr, void* iconSize) { static_cast(ptr)->setIconSize(*static_cast(iconSize)); } void QMainWindow_SetMenuBar(void* ptr, void* menuBar) { static_cast(ptr)->setMenuBar(static_cast(menuBar)); } void QMainWindow_SetMenuWidget(void* ptr, void* menuBar) { static_cast(ptr)->setMenuWidget(static_cast(menuBar)); } void QMainWindow_SetStatusBar(void* ptr, void* statusbar) { static_cast(ptr)->setStatusBar(static_cast(statusbar)); } void QMainWindow_SetTabPosition(void* ptr, long long areas, long long tabPosition) { static_cast(ptr)->setTabPosition(static_cast(areas), static_cast(tabPosition)); } void QMainWindow_SetTabShape(void* ptr, long long tabShape) { static_cast(ptr)->setTabShape(static_cast(tabShape)); } void QMainWindow_SetToolButtonStyle(void* ptr, long long toolButtonStyle) { static_cast(ptr)->setToolButtonStyle(static_cast(toolButtonStyle)); } void QMainWindow_SetUnifiedTitleAndToolBarOnMac(void* ptr, char set) { QMetaObject::invokeMethod(static_cast(ptr), "setUnifiedTitleAndToolBarOnMac", Q_ARG(bool, set != 0)); } void QMainWindow_SetUnifiedTitleAndToolBarOnMacDefault(void* ptr, char set) { static_cast(ptr)->QMainWindow::setUnifiedTitleAndToolBarOnMac(set != 0); } void QMainWindow_SplitDockWidget(void* ptr, void* first, void* second, long long orientation) { static_cast(ptr)->splitDockWidget(static_cast(first), static_cast(second), static_cast(orientation)); } void* QMainWindow_StatusBar(void* ptr) { return static_cast(ptr)->statusBar(); } long long QMainWindow_TabPosition(void* ptr, long long area) { return static_cast(ptr)->tabPosition(static_cast(area)); } long long QMainWindow_TabShape(void* ptr) { return static_cast(ptr)->tabShape(); } void QMainWindow_ConnectTabifiedDockWidgetActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMainWindow::tabifiedDockWidgetActivated), static_cast(ptr), static_cast(&MyQMainWindow::Signal_TabifiedDockWidgetActivated), static_cast(t)); } void QMainWindow_DisconnectTabifiedDockWidgetActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMainWindow::tabifiedDockWidgetActivated), static_cast(ptr), static_cast(&MyQMainWindow::Signal_TabifiedDockWidgetActivated)); } void QMainWindow_TabifiedDockWidgetActivated(void* ptr, void* dockWidget) { static_cast(ptr)->tabifiedDockWidgetActivated(static_cast(dockWidget)); } struct QtWidgets_PackedList QMainWindow_TabifiedDockWidgets(void* ptr, void* dockwidget) { return ({ QList* tmpValueb01abb = new QList(static_cast(ptr)->tabifiedDockWidgets(static_cast(dockwidget))); QtWidgets_PackedList { tmpValueb01abb, tmpValueb01abb->size() }; }); } void QMainWindow_TabifyDockWidget(void* ptr, void* first, void* second) { static_cast(ptr)->tabifyDockWidget(static_cast(first), static_cast(second)); } void* QMainWindow_TakeCentralWidget(void* ptr) { return static_cast(ptr)->takeCentralWidget(); } long long QMainWindow_ToolBarArea(void* ptr, void* toolbar) { return static_cast(ptr)->toolBarArea(static_cast(toolbar)); } char QMainWindow_ToolBarBreak(void* ptr, void* toolbar) { return static_cast(ptr)->toolBarBreak(static_cast(toolbar)); } long long QMainWindow_ToolButtonStyle(void* ptr) { return static_cast(ptr)->toolButtonStyle(); } void QMainWindow_ConnectToolButtonStyleChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QMainWindow::toolButtonStyleChanged), static_cast(ptr), static_cast(&MyQMainWindow::Signal_ToolButtonStyleChanged), static_cast(t)); } void QMainWindow_DisconnectToolButtonStyleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMainWindow::toolButtonStyleChanged), static_cast(ptr), static_cast(&MyQMainWindow::Signal_ToolButtonStyleChanged)); } void QMainWindow_ToolButtonStyleChanged(void* ptr, long long toolButtonStyle) { static_cast(ptr)->toolButtonStyleChanged(static_cast(toolButtonStyle)); } char QMainWindow_UnifiedTitleAndToolBarOnMac(void* ptr) { return static_cast(ptr)->unifiedTitleAndToolBarOnMac(); } void QMainWindow_DestroyQMainWindow(void* ptr) { static_cast(ptr)->~QMainWindow(); } void QMainWindow_DestroyQMainWindowDefault(void* ptr) { Q_UNUSED(ptr); } void* QMainWindow___resizeDocks_docks_atList(void* ptr, int i) { return ({QDockWidget * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMainWindow___resizeDocks_docks_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QMainWindow___resizeDocks_docks_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QMainWindow___resizeDocks_sizes_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMainWindow___resizeDocks_sizes_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QMainWindow___resizeDocks_sizes_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QMainWindow___tabifiedDockWidgets_atList(void* ptr, int i) { return ({QDockWidget * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMainWindow___tabifiedDockWidgets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QMainWindow___tabifiedDockWidgets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQMdiArea: public QMdiArea { public: MyQMdiArea(QWidget *parent = Q_NULLPTR) : QMdiArea(parent) {QMdiArea_QMdiArea_QRegisterMetaType();}; void activateNextSubWindow() { callbackQMdiArea_ActivateNextSubWindow(this); }; void activatePreviousSubWindow() { callbackQMdiArea_ActivatePreviousSubWindow(this); }; void cascadeSubWindows() { callbackQMdiArea_CascadeSubWindows(this); }; void childEvent(QChildEvent * childEvent) { callbackQWidget_ChildEvent(this, childEvent); }; void closeActiveSubWindow() { callbackQMdiArea_CloseActiveSubWindow(this); }; void closeAllSubWindows() { callbackQMdiArea_CloseAllSubWindows(this); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * paintEvent) { callbackQWidget_PaintEvent(this, paintEvent); }; void resizeEvent(QResizeEvent * resizeEvent) { callbackQWidget_ResizeEvent(this, resizeEvent); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setActiveSubWindow(QMdiSubWindow * window) { callbackQMdiArea_SetActiveSubWindow(this, window); }; void setupViewport(QWidget * viewport) { callbackQMdiArea_SetupViewport(this, viewport); }; void showEvent(QShowEvent * showEvent) { callbackQWidget_ShowEvent(this, showEvent); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_SubWindowActivated(QMdiSubWindow * window) { callbackQMdiArea_SubWindowActivated(this, window); }; void tileSubWindows() { callbackQMdiArea_TileSubWindows(this); }; void timerEvent(QTimerEvent * timerEvent) { callbackQWidget_TimerEvent(this, timerEvent); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; ~MyQMdiArea() { callbackQMdiArea_DestroyQMdiArea(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QMdiArea*) Q_DECLARE_METATYPE(MyQMdiArea*) int QMdiArea_QMdiArea_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QMdiArea_NewQMdiArea(void* parent) { return new MyQMdiArea(static_cast(parent)); } void QMdiArea_ActivateNextSubWindow(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "activateNextSubWindow"); } void QMdiArea_ActivateNextSubWindowDefault(void* ptr) { static_cast(ptr)->QMdiArea::activateNextSubWindow(); } void QMdiArea_ActivatePreviousSubWindow(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "activatePreviousSubWindow"); } void QMdiArea_ActivatePreviousSubWindowDefault(void* ptr) { static_cast(ptr)->QMdiArea::activatePreviousSubWindow(); } long long QMdiArea_ActivationOrder(void* ptr) { return static_cast(ptr)->activationOrder(); } void* QMdiArea_ActiveSubWindow(void* ptr) { return static_cast(ptr)->activeSubWindow(); } void* QMdiArea_AddSubWindow(void* ptr, void* widget, long long windowFlags) { return static_cast(ptr)->addSubWindow(static_cast(widget), static_cast(windowFlags)); } void* QMdiArea_Background(void* ptr) { return new QBrush(static_cast(ptr)->background()); } void QMdiArea_CascadeSubWindows(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "cascadeSubWindows"); } void QMdiArea_CascadeSubWindowsDefault(void* ptr) { static_cast(ptr)->QMdiArea::cascadeSubWindows(); } void QMdiArea_CloseActiveSubWindow(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "closeActiveSubWindow"); } void QMdiArea_CloseActiveSubWindowDefault(void* ptr) { static_cast(ptr)->QMdiArea::closeActiveSubWindow(); } void QMdiArea_CloseAllSubWindows(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "closeAllSubWindows"); } void QMdiArea_CloseAllSubWindowsDefault(void* ptr) { static_cast(ptr)->QMdiArea::closeAllSubWindows(); } void* QMdiArea_CurrentSubWindow(void* ptr) { return static_cast(ptr)->currentSubWindow(); } char QMdiArea_DocumentMode(void* ptr) { return static_cast(ptr)->documentMode(); } void QMdiArea_RemoveSubWindow(void* ptr, void* widget) { static_cast(ptr)->removeSubWindow(static_cast(widget)); } void QMdiArea_SetActivationOrder(void* ptr, long long order) { static_cast(ptr)->setActivationOrder(static_cast(order)); } void QMdiArea_SetActiveSubWindow(void* ptr, void* window) { QMetaObject::invokeMethod(static_cast(ptr), "setActiveSubWindow", Q_ARG(QMdiSubWindow*, static_cast(window))); } void QMdiArea_SetActiveSubWindowDefault(void* ptr, void* window) { static_cast(ptr)->QMdiArea::setActiveSubWindow(static_cast(window)); } void QMdiArea_SetBackground(void* ptr, void* background) { static_cast(ptr)->setBackground(*static_cast(background)); } void QMdiArea_SetDocumentMode(void* ptr, char enabled) { static_cast(ptr)->setDocumentMode(enabled != 0); } void QMdiArea_SetOption(void* ptr, long long option, char on) { static_cast(ptr)->setOption(static_cast(option), on != 0); } void QMdiArea_SetTabPosition(void* ptr, long long position) { static_cast(ptr)->setTabPosition(static_cast(position)); } void QMdiArea_SetTabShape(void* ptr, long long shape) { static_cast(ptr)->setTabShape(static_cast(shape)); } void QMdiArea_SetTabsClosable(void* ptr, char closable) { static_cast(ptr)->setTabsClosable(closable != 0); } void QMdiArea_SetTabsMovable(void* ptr, char movable) { static_cast(ptr)->setTabsMovable(movable != 0); } void QMdiArea_SetViewMode(void* ptr, long long mode) { static_cast(ptr)->setViewMode(static_cast(mode)); } void QMdiArea_SetupViewport(void* ptr, void* viewport) { QMetaObject::invokeMethod(static_cast(ptr), "setupViewport", Q_ARG(QWidget*, static_cast(viewport))); } void QMdiArea_SetupViewportDefault(void* ptr, void* viewport) { static_cast(ptr)->QMdiArea::setupViewport(static_cast(viewport)); } void QMdiArea_ConnectSubWindowActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMdiArea::subWindowActivated), static_cast(ptr), static_cast(&MyQMdiArea::Signal_SubWindowActivated), static_cast(t)); } void QMdiArea_DisconnectSubWindowActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMdiArea::subWindowActivated), static_cast(ptr), static_cast(&MyQMdiArea::Signal_SubWindowActivated)); } void QMdiArea_SubWindowActivated(void* ptr, void* window) { static_cast(ptr)->subWindowActivated(static_cast(window)); } struct QtWidgets_PackedList QMdiArea_SubWindowList(void* ptr, long long order) { return ({ QList* tmpValuecf1844 = new QList(static_cast(ptr)->subWindowList(static_cast(order))); QtWidgets_PackedList { tmpValuecf1844, tmpValuecf1844->size() }; }); } long long QMdiArea_TabPosition(void* ptr) { return static_cast(ptr)->tabPosition(); } long long QMdiArea_TabShape(void* ptr) { return static_cast(ptr)->tabShape(); } char QMdiArea_TabsClosable(void* ptr) { return static_cast(ptr)->tabsClosable(); } char QMdiArea_TabsMovable(void* ptr) { return static_cast(ptr)->tabsMovable(); } char QMdiArea_TestOption(void* ptr, long long option) { return static_cast(ptr)->testOption(static_cast(option)); } void QMdiArea_TileSubWindows(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "tileSubWindows"); } void QMdiArea_TileSubWindowsDefault(void* ptr) { static_cast(ptr)->QMdiArea::tileSubWindows(); } long long QMdiArea_ViewMode(void* ptr) { return static_cast(ptr)->viewMode(); } void QMdiArea_DestroyQMdiArea(void* ptr) { static_cast(ptr)->~QMdiArea(); } void QMdiArea_DestroyQMdiAreaDefault(void* ptr) { Q_UNUSED(ptr); } void* QMdiArea___subWindowList_atList(void* ptr, int i) { return ({QMdiSubWindow * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMdiArea___subWindowList_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QMdiArea___subWindowList_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQMdiSubWindow: public QMdiSubWindow { public: MyQMdiSubWindow(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QMdiSubWindow(parent, flags) {QMdiSubWindow_QMdiSubWindow_QRegisterMetaType();}; void Signal_AboutToActivate() { callbackQMdiSubWindow_AboutToActivate(this); }; void changeEvent(QEvent * changeEvent) { callbackQWidget_ChangeEvent(this, changeEvent); }; void childEvent(QChildEvent * childEvent) { callbackQWidget_ChildEvent(this, childEvent); }; void closeEvent(QCloseEvent * closeEvent) { callbackQWidget_CloseEvent(this, closeEvent); }; void contextMenuEvent(QContextMenuEvent * contextMenuEvent) { callbackQWidget_ContextMenuEvent(this, contextMenuEvent); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * focusInEvent) { callbackQWidget_FocusInEvent(this, focusInEvent); }; void focusOutEvent(QFocusEvent * focusOutEvent) { callbackQWidget_FocusOutEvent(this, focusOutEvent); }; void hideEvent(QHideEvent * hideEvent) { callbackQWidget_HideEvent(this, hideEvent); }; void keyPressEvent(QKeyEvent * keyEvent) { callbackQWidget_KeyPressEvent(this, keyEvent); }; void leaveEvent(QEvent * leaveEvent) { callbackQWidget_LeaveEvent(this, leaveEvent); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * mouseEvent) { callbackQWidget_MouseDoubleClickEvent(this, mouseEvent); }; void mouseMoveEvent(QMouseEvent * mouseEvent) { callbackQWidget_MouseMoveEvent(this, mouseEvent); }; void mousePressEvent(QMouseEvent * mouseEvent) { callbackQWidget_MousePressEvent(this, mouseEvent); }; void mouseReleaseEvent(QMouseEvent * mouseEvent) { callbackQWidget_MouseReleaseEvent(this, mouseEvent); }; void moveEvent(QMoveEvent * moveEvent) { callbackQWidget_MoveEvent(this, moveEvent); }; void paintEvent(QPaintEvent * paintEvent) { callbackQWidget_PaintEvent(this, paintEvent); }; void resizeEvent(QResizeEvent * resizeEvent) { callbackQWidget_ResizeEvent(this, resizeEvent); }; void showEvent(QShowEvent * showEvent) { callbackQWidget_ShowEvent(this, showEvent); }; void showShaded() { callbackQMdiSubWindow_ShowShaded(this); }; void showSystemMenu() { callbackQMdiSubWindow_ShowSystemMenu(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void timerEvent(QTimerEvent * timerEvent) { callbackQWidget_TimerEvent(this, timerEvent); }; void Signal_WindowStateChanged(Qt::WindowStates oldState, Qt::WindowStates newState) { callbackQMdiSubWindow_WindowStateChanged(this, oldState, newState); }; ~MyQMdiSubWindow() { callbackQMdiSubWindow_DestroyQMdiSubWindow(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QMdiSubWindow*) Q_DECLARE_METATYPE(MyQMdiSubWindow*) int QMdiSubWindow_QMdiSubWindow_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QMdiSubWindow_NewQMdiSubWindow(void* parent, long long flags) { return new MyQMdiSubWindow(static_cast(parent), static_cast(flags)); } void QMdiSubWindow_ConnectAboutToActivate(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMdiSubWindow::aboutToActivate), static_cast(ptr), static_cast(&MyQMdiSubWindow::Signal_AboutToActivate), static_cast(t)); } void QMdiSubWindow_DisconnectAboutToActivate(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMdiSubWindow::aboutToActivate), static_cast(ptr), static_cast(&MyQMdiSubWindow::Signal_AboutToActivate)); } void QMdiSubWindow_AboutToActivate(void* ptr) { static_cast(ptr)->aboutToActivate(); } char QMdiSubWindow_IsShaded(void* ptr) { return static_cast(ptr)->isShaded(); } int QMdiSubWindow_KeyboardPageStep(void* ptr) { return static_cast(ptr)->keyboardPageStep(); } int QMdiSubWindow_KeyboardSingleStep(void* ptr) { return static_cast(ptr)->keyboardSingleStep(); } void* QMdiSubWindow_MdiArea(void* ptr) { return static_cast(ptr)->mdiArea(); } void QMdiSubWindow_SetKeyboardPageStep(void* ptr, int step) { static_cast(ptr)->setKeyboardPageStep(step); } void QMdiSubWindow_SetKeyboardSingleStep(void* ptr, int step) { static_cast(ptr)->setKeyboardSingleStep(step); } void QMdiSubWindow_SetOption(void* ptr, long long option, char on) { static_cast(ptr)->setOption(static_cast(option), on != 0); } void QMdiSubWindow_SetSystemMenu(void* ptr, void* systemMenu) { static_cast(ptr)->setSystemMenu(static_cast(systemMenu)); } void QMdiSubWindow_SetWidget(void* ptr, void* widget) { static_cast(ptr)->setWidget(static_cast(widget)); } void QMdiSubWindow_ShowShaded(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showShaded"); } void QMdiSubWindow_ShowShadedDefault(void* ptr) { static_cast(ptr)->QMdiSubWindow::showShaded(); } void QMdiSubWindow_ShowSystemMenu(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showSystemMenu"); } void QMdiSubWindow_ShowSystemMenuDefault(void* ptr) { static_cast(ptr)->QMdiSubWindow::showSystemMenu(); } void* QMdiSubWindow_SystemMenu(void* ptr) { return static_cast(ptr)->systemMenu(); } char QMdiSubWindow_TestOption(void* ptr, long long option) { return static_cast(ptr)->testOption(static_cast(option)); } void* QMdiSubWindow_Widget(void* ptr) { return static_cast(ptr)->widget(); } void QMdiSubWindow_ConnectWindowStateChanged(void* ptr, long long t) { qRegisterMetaType(); qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QMdiSubWindow::windowStateChanged), static_cast(ptr), static_cast(&MyQMdiSubWindow::Signal_WindowStateChanged), static_cast(t)); } void QMdiSubWindow_DisconnectWindowStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMdiSubWindow::windowStateChanged), static_cast(ptr), static_cast(&MyQMdiSubWindow::Signal_WindowStateChanged)); } void QMdiSubWindow_WindowStateChanged(void* ptr, long long oldState, long long newState) { static_cast(ptr)->windowStateChanged(static_cast(oldState), static_cast(newState)); } void QMdiSubWindow_DestroyQMdiSubWindow(void* ptr) { static_cast(ptr)->~QMdiSubWindow(); } void QMdiSubWindow_DestroyQMdiSubWindowDefault(void* ptr) { Q_UNUSED(ptr); } class MyQMenu: public QMenu { public: MyQMenu(QWidget *parent = Q_NULLPTR) : QMenu(parent) {QMenu_QMenu_QRegisterMetaType();}; MyQMenu(const QString &title, QWidget *parent = Q_NULLPTR) : QMenu(title, parent) {QMenu_QMenu_QRegisterMetaType();}; void Signal_AboutToHide() { callbackQMenu_AboutToHide(this); }; void Signal_AboutToShow() { callbackQMenu_AboutToShow(this); }; void actionEvent(QActionEvent * e) { callbackQWidget_ActionEvent(this, e); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void enterEvent(QEvent * vqe) { callbackQWidget_EnterEvent(this, vqe); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void hideEvent(QHideEvent * vqh) { callbackQWidget_HideEvent(this, vqh); }; void Signal_Hovered(QAction * action) { callbackQMenu_Hovered(this, action); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void leaveEvent(QEvent * vqe) { callbackQWidget_LeaveEvent(this, vqe); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void Signal_Triggered(QAction * action) { callbackQMenu_Triggered(this, action); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; ~MyQMenu() { callbackQMenu_DestroyQMenu(this); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QMenu*) Q_DECLARE_METATYPE(MyQMenu*) int QMenu_QMenu_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QMenu_NewQMenu(void* parent) { return new MyQMenu(static_cast(parent)); } void* QMenu_NewQMenu2(struct QtWidgets_PackedString title, void* parent) { return new MyQMenu(QString::fromUtf8(title.data, title.len), static_cast(parent)); } void QMenu_ConnectAboutToHide(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMenu::aboutToHide), static_cast(ptr), static_cast(&MyQMenu::Signal_AboutToHide), static_cast(t)); } void QMenu_DisconnectAboutToHide(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMenu::aboutToHide), static_cast(ptr), static_cast(&MyQMenu::Signal_AboutToHide)); } void QMenu_AboutToHide(void* ptr) { static_cast(ptr)->aboutToHide(); } void QMenu_ConnectAboutToShow(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMenu::aboutToShow), static_cast(ptr), static_cast(&MyQMenu::Signal_AboutToShow), static_cast(t)); } void QMenu_DisconnectAboutToShow(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMenu::aboutToShow), static_cast(ptr), static_cast(&MyQMenu::Signal_AboutToShow)); } void QMenu_AboutToShow(void* ptr) { static_cast(ptr)->aboutToShow(); } void* QMenu_ActionAt(void* ptr, void* pt) { return static_cast(ptr)->actionAt(*static_cast(pt)); } void* QMenu_ActionGeometry(void* ptr, void* act) { return ({ QRect tmpValue = static_cast(ptr)->actionGeometry(static_cast(act)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QMenu_ActiveAction(void* ptr) { return static_cast(ptr)->activeAction(); } void* QMenu_AddAction(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len)); } void* QMenu_AddAction2(void* ptr, void* icon, struct QtWidgets_PackedString text) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len)); } void* QMenu_AddAction3(void* ptr, struct QtWidgets_PackedString text, void* receiver, char* member, void* shortcut) { if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } else { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } } void* QMenu_AddAction4(void* ptr, void* icon, struct QtWidgets_PackedString text, void* receiver, char* member, void* shortcut) { if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } else { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member), *static_cast(shortcut)); } } void* QMenu_AddMenu(void* ptr, void* menu) { return static_cast(ptr)->addMenu(static_cast(menu)); } void* QMenu_AddMenu2(void* ptr, struct QtWidgets_PackedString title) { return static_cast(ptr)->addMenu(QString::fromUtf8(title.data, title.len)); } void* QMenu_AddMenu3(void* ptr, void* icon, struct QtWidgets_PackedString title) { return static_cast(ptr)->addMenu(*static_cast(icon), QString::fromUtf8(title.data, title.len)); } void* QMenu_AddSection(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->addSection(QString::fromUtf8(text.data, text.len)); } void* QMenu_AddSection2(void* ptr, void* icon, struct QtWidgets_PackedString text) { return static_cast(ptr)->addSection(*static_cast(icon), QString::fromUtf8(text.data, text.len)); } void* QMenu_AddSeparator(void* ptr) { return static_cast(ptr)->addSeparator(); } void QMenu_Clear(void* ptr) { static_cast(ptr)->clear(); } int QMenu_ColumnCount(void* ptr) { return static_cast(ptr)->columnCount(); } void* QMenu_DefaultAction(void* ptr) { return static_cast(ptr)->defaultAction(); } void* QMenu_Exec(void* ptr) { return static_cast(ptr)->exec(); } void* QMenu_Exec2(void* ptr, void* p, void* action) { return static_cast(ptr)->exec(*static_cast(p), static_cast(action)); } void* QMenu_QMenu_Exec3(void* actions, void* pos, void* at, void* parent) { return QMenu::exec(({ QList* tmpP = static_cast*>(actions); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }), *static_cast(pos), static_cast(at), static_cast(parent)); } void QMenu_HideTearOffMenu(void* ptr) { static_cast(ptr)->hideTearOffMenu(); } void QMenu_ConnectHovered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMenu::hovered), static_cast(ptr), static_cast(&MyQMenu::Signal_Hovered), static_cast(t)); } void QMenu_DisconnectHovered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMenu::hovered), static_cast(ptr), static_cast(&MyQMenu::Signal_Hovered)); } void QMenu_Hovered(void* ptr, void* action) { static_cast(ptr)->hovered(static_cast(action)); } void* QMenu_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon()); } void QMenu_InitStyleOption(void* ptr, void* option, void* action) { static_cast(ptr)->initStyleOption(static_cast(option), static_cast(action)); } void* QMenu_InsertMenu(void* ptr, void* before, void* menu) { return static_cast(ptr)->insertMenu(static_cast(before), static_cast(menu)); } void* QMenu_InsertSection(void* ptr, void* before, struct QtWidgets_PackedString text) { return static_cast(ptr)->insertSection(static_cast(before), QString::fromUtf8(text.data, text.len)); } void* QMenu_InsertSection2(void* ptr, void* before, void* icon, struct QtWidgets_PackedString text) { return static_cast(ptr)->insertSection(static_cast(before), *static_cast(icon), QString::fromUtf8(text.data, text.len)); } void* QMenu_InsertSeparator(void* ptr, void* before) { return static_cast(ptr)->insertSeparator(static_cast(before)); } char QMenu_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } char QMenu_IsTearOffEnabled(void* ptr) { return static_cast(ptr)->isTearOffEnabled(); } char QMenu_IsTearOffMenuVisible(void* ptr) { return static_cast(ptr)->isTearOffMenuVisible(); } void* QMenu_MenuAction(void* ptr) { return static_cast(ptr)->menuAction(); } void QMenu_Popup(void* ptr, void* p, void* atAction) { static_cast(ptr)->popup(*static_cast(p), static_cast(atAction)); } char QMenu_SeparatorsCollapsible(void* ptr) { return static_cast(ptr)->separatorsCollapsible(); } void QMenu_SetActiveAction(void* ptr, void* act) { static_cast(ptr)->setActiveAction(static_cast(act)); } void QMenu_SetAsDockMenu(void* ptr) { #ifdef Q_OS_OSX static_cast(ptr)->setAsDockMenu(); #endif } void QMenu_SetDefaultAction(void* ptr, void* act) { static_cast(ptr)->setDefaultAction(static_cast(act)); } void QMenu_SetIcon(void* ptr, void* icon) { static_cast(ptr)->setIcon(*static_cast(icon)); } void QMenu_SetSeparatorsCollapsible(void* ptr, char collapse) { static_cast(ptr)->setSeparatorsCollapsible(collapse != 0); } void QMenu_SetTearOffEnabled(void* ptr, char vbo) { static_cast(ptr)->setTearOffEnabled(vbo != 0); } void QMenu_SetTitle(void* ptr, struct QtWidgets_PackedString title) { static_cast(ptr)->setTitle(QString::fromUtf8(title.data, title.len)); } void QMenu_SetToolTipsVisible(void* ptr, char visible) { static_cast(ptr)->setToolTipsVisible(visible != 0); } void QMenu_ShowTearOffMenu(void* ptr, void* pos) { static_cast(ptr)->showTearOffMenu(*static_cast(pos)); } void QMenu_ShowTearOffMenu2(void* ptr) { static_cast(ptr)->showTearOffMenu(); } struct QtWidgets_PackedString QMenu_Title(void* ptr) { return ({ QByteArray* tbbbdf8 = new QByteArray(static_cast(ptr)->title().toUtf8()); QtWidgets_PackedString { const_cast(tbbbdf8->prepend("WHITESPACE").constData()+10), tbbbdf8->size()-10, tbbbdf8 }; }); } char QMenu_ToolTipsVisible(void* ptr) { return static_cast(ptr)->toolTipsVisible(); } void QMenu_ConnectTriggered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMenu::triggered), static_cast(ptr), static_cast(&MyQMenu::Signal_Triggered), static_cast(t)); } void QMenu_DisconnectTriggered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMenu::triggered), static_cast(ptr), static_cast(&MyQMenu::Signal_Triggered)); } void QMenu_Triggered(void* ptr, void* action) { static_cast(ptr)->triggered(static_cast(action)); } void QMenu_DestroyQMenu(void* ptr) { static_cast(ptr)->~QMenu(); } void QMenu_DestroyQMenuDefault(void* ptr) { Q_UNUSED(ptr); } void* QMenu___exec_actions_atList3(void* ptr, int i) { return ({QAction * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMenu___exec_actions_setList3(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QMenu___exec_actions_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQMenuBar: public QMenuBar { public: MyQMenuBar(QWidget *parent = Q_NULLPTR) : QMenuBar(parent) {QMenuBar_QMenuBar_QRegisterMetaType();}; void actionEvent(QActionEvent * e) { callbackQWidget_ActionEvent(this, e); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * vqf) { callbackQWidget_FocusInEvent(this, vqf); }; void focusOutEvent(QFocusEvent * vqf) { callbackQWidget_FocusOutEvent(this, vqf); }; int heightForWidth(int vin) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), vin); }; void Signal_Hovered(QAction * action) { callbackQMenuBar_Hovered(this, action); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void leaveEvent(QEvent * vqe) { callbackQWidget_LeaveEvent(this, vqe); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void Signal_Triggered(QAction * action) { callbackQMenuBar_Triggered(this, action); }; ~MyQMenuBar() { callbackQMenuBar_DestroyQMenuBar(this); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QMenuBar*) Q_DECLARE_METATYPE(MyQMenuBar*) int QMenuBar_QMenuBar_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QMenuBar_NewQMenuBar(void* parent) { return new MyQMenuBar(static_cast(parent)); } void* QMenuBar_ActionAt(void* ptr, void* pt) { return static_cast(ptr)->actionAt(*static_cast(pt)); } void* QMenuBar_ActionGeometry(void* ptr, void* act) { return ({ QRect tmpValue = static_cast(ptr)->actionGeometry(static_cast(act)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QMenuBar_ActiveAction(void* ptr) { return static_cast(ptr)->activeAction(); } void* QMenuBar_AddAction(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len)); } void* QMenuBar_AddAction2(void* ptr, struct QtWidgets_PackedString text, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } } void* QMenuBar_AddMenu(void* ptr, void* menu) { return static_cast(ptr)->addMenu(static_cast(menu)); } void* QMenuBar_AddMenu2(void* ptr, struct QtWidgets_PackedString title) { return static_cast(ptr)->addMenu(QString::fromUtf8(title.data, title.len)); } void* QMenuBar_AddMenu3(void* ptr, void* icon, struct QtWidgets_PackedString title) { return static_cast(ptr)->addMenu(*static_cast(icon), QString::fromUtf8(title.data, title.len)); } void* QMenuBar_AddSeparator(void* ptr) { return static_cast(ptr)->addSeparator(); } void QMenuBar_Clear(void* ptr) { static_cast(ptr)->clear(); } void* QMenuBar_CornerWidget(void* ptr, long long corner) { return static_cast(ptr)->cornerWidget(static_cast(corner)); } void QMenuBar_ConnectHovered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMenuBar::hovered), static_cast(ptr), static_cast(&MyQMenuBar::Signal_Hovered), static_cast(t)); } void QMenuBar_DisconnectHovered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMenuBar::hovered), static_cast(ptr), static_cast(&MyQMenuBar::Signal_Hovered)); } void QMenuBar_Hovered(void* ptr, void* action) { static_cast(ptr)->hovered(static_cast(action)); } void QMenuBar_InitStyleOption(void* ptr, void* option, void* action) { static_cast(ptr)->initStyleOption(static_cast(option), static_cast(action)); } void* QMenuBar_InsertMenu(void* ptr, void* before, void* menu) { return static_cast(ptr)->insertMenu(static_cast(before), static_cast(menu)); } void* QMenuBar_InsertSeparator(void* ptr, void* before) { return static_cast(ptr)->insertSeparator(static_cast(before)); } char QMenuBar_IsDefaultUp(void* ptr) { return static_cast(ptr)->isDefaultUp(); } char QMenuBar_IsNativeMenuBar(void* ptr) { return static_cast(ptr)->isNativeMenuBar(); } void QMenuBar_SetActiveAction(void* ptr, void* act) { static_cast(ptr)->setActiveAction(static_cast(act)); } void QMenuBar_SetCornerWidget(void* ptr, void* widget, long long corner) { static_cast(ptr)->setCornerWidget(static_cast(widget), static_cast(corner)); } void QMenuBar_SetDefaultUp(void* ptr, char vbo) { static_cast(ptr)->setDefaultUp(vbo != 0); } void QMenuBar_SetNativeMenuBar(void* ptr, char nativeMenuBar) { static_cast(ptr)->setNativeMenuBar(nativeMenuBar != 0); } void QMenuBar_ConnectTriggered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMenuBar::triggered), static_cast(ptr), static_cast(&MyQMenuBar::Signal_Triggered), static_cast(t)); } void QMenuBar_DisconnectTriggered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMenuBar::triggered), static_cast(ptr), static_cast(&MyQMenuBar::Signal_Triggered)); } void QMenuBar_Triggered(void* ptr, void* action) { static_cast(ptr)->triggered(static_cast(action)); } void QMenuBar_DestroyQMenuBar(void* ptr) { static_cast(ptr)->~QMenuBar(); } void QMenuBar_DestroyQMenuBarDefault(void* ptr) { Q_UNUSED(ptr); } class MyQMessageBox: public QMessageBox { public: MyQMessageBox(QWidget *parent = Q_NULLPTR) : QMessageBox(parent) {QMessageBox_QMessageBox_QRegisterMetaType();}; MyQMessageBox(QMessageBox::Icon icon, const QString &title, const QString &text, QMessageBox::StandardButtons buttons = NoButton, QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::Dialog | Qt::MSWindowsFixedSizeDialogHint) : QMessageBox(icon, title, text, buttons, parent, ff) {QMessageBox_QMessageBox_QRegisterMetaType();}; void Signal_ButtonClicked(QAbstractButton * button) { callbackQMessageBox_ButtonClicked(this, button); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); }; ~MyQMessageBox() { callbackQMessageBox_DestroyQMessageBox(this); }; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void done(int r) { callbackQDialog_Done(this, r); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QMessageBox*) Q_DECLARE_METATYPE(MyQMessageBox*) int QMessageBox_QMessageBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} int QMessageBox_ButtonMask_Type() { return QMessageBox::ButtonMask; } void* QMessageBox_NewQMessageBox(void* parent) { return new MyQMessageBox(static_cast(parent)); } void* QMessageBox_NewQMessageBox2(long long icon, struct QtWidgets_PackedString title, struct QtWidgets_PackedString text, long long buttons, void* parent, long long ff) { return new MyQMessageBox(static_cast(icon), QString::fromUtf8(title.data, title.len), QString::fromUtf8(text.data, text.len), static_cast(buttons), static_cast(parent), static_cast(ff)); } void QMessageBox_QMessageBox_About(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString text) { QMessageBox::about(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(text.data, text.len)); } void QMessageBox_QMessageBox_AboutQt(void* parent, struct QtWidgets_PackedString title) { QMessageBox::aboutQt(static_cast(parent), QString::fromUtf8(title.data, title.len)); } void QMessageBox_AddButton(void* ptr, void* button, long long role) { static_cast(ptr)->addButton(static_cast(button), static_cast(role)); } void* QMessageBox_AddButton2(void* ptr, struct QtWidgets_PackedString text, long long role) { return static_cast(ptr)->addButton(QString::fromUtf8(text.data, text.len), static_cast(role)); } void* QMessageBox_AddButton3(void* ptr, long long button) { return static_cast(ptr)->addButton(static_cast(button)); } void* QMessageBox_Button(void* ptr, long long which) { return static_cast(ptr)->button(static_cast(which)); } void QMessageBox_ConnectButtonClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QMessageBox::buttonClicked), static_cast(ptr), static_cast(&MyQMessageBox::Signal_ButtonClicked), static_cast(t)); } void QMessageBox_DisconnectButtonClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QMessageBox::buttonClicked), static_cast(ptr), static_cast(&MyQMessageBox::Signal_ButtonClicked)); } void QMessageBox_ButtonClicked(void* ptr, void* button) { static_cast(ptr)->buttonClicked(static_cast(button)); } long long QMessageBox_ButtonRole(void* ptr, void* button) { return static_cast(ptr)->buttonRole(static_cast(button)); } struct QtWidgets_PackedList QMessageBox_Buttons(void* ptr) { return ({ QList* tmpValuef25e9a = new QList(static_cast(ptr)->buttons()); QtWidgets_PackedList { tmpValuef25e9a, tmpValuef25e9a->size() }; }); } void* QMessageBox_CheckBox(void* ptr) { return static_cast(ptr)->checkBox(); } void* QMessageBox_ClickedButton(void* ptr) { return static_cast(ptr)->clickedButton(); } long long QMessageBox_QMessageBox_Critical(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString text, long long buttons, long long defaultButton) { return QMessageBox::critical(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(text.data, text.len), static_cast(buttons), static_cast(defaultButton)); } void* QMessageBox_DefaultButton(void* ptr) { return static_cast(ptr)->defaultButton(); } struct QtWidgets_PackedString QMessageBox_DetailedText(void* ptr) { return ({ QByteArray* t9d0340 = new QByteArray(static_cast(ptr)->detailedText().toUtf8()); QtWidgets_PackedString { const_cast(t9d0340->prepend("WHITESPACE").constData()+10), t9d0340->size()-10, t9d0340 }; }); } void* QMessageBox_EscapeButton(void* ptr) { return static_cast(ptr)->escapeButton(); } long long QMessageBox_Icon(void* ptr) { return static_cast(ptr)->icon(); } void* QMessageBox_IconPixmap(void* ptr) { return new QPixmap(static_cast(ptr)->iconPixmap()); } long long QMessageBox_QMessageBox_Information(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString text, long long buttons, long long defaultButton) { return QMessageBox::information(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(text.data, text.len), static_cast(buttons), static_cast(defaultButton)); } struct QtWidgets_PackedString QMessageBox_InformativeText(void* ptr) { return ({ QByteArray* t0d44bc = new QByteArray(static_cast(ptr)->informativeText().toUtf8()); QtWidgets_PackedString { const_cast(t0d44bc->prepend("WHITESPACE").constData()+10), t0d44bc->size()-10, t0d44bc }; }); } void QMessageBox_Open(void* ptr, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } } long long QMessageBox_QMessageBox_Question(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString text, long long buttons, long long defaultButton) { return QMessageBox::question(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(text.data, text.len), static_cast(buttons), static_cast(defaultButton)); } void QMessageBox_RemoveButton(void* ptr, void* button) { static_cast(ptr)->removeButton(static_cast(button)); } void QMessageBox_SetCheckBox(void* ptr, void* cb) { static_cast(ptr)->setCheckBox(static_cast(cb)); } void QMessageBox_SetDefaultButton(void* ptr, void* button) { static_cast(ptr)->setDefaultButton(static_cast(button)); } void QMessageBox_SetDefaultButton2(void* ptr, long long button) { static_cast(ptr)->setDefaultButton(static_cast(button)); } void QMessageBox_SetDetailedText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setDetailedText(QString::fromUtf8(text.data, text.len)); } void QMessageBox_SetEscapeButton(void* ptr, void* button) { static_cast(ptr)->setEscapeButton(static_cast(button)); } void QMessageBox_SetEscapeButton2(void* ptr, long long button) { static_cast(ptr)->setEscapeButton(static_cast(button)); } void QMessageBox_SetIcon(void* ptr, long long vqm) { static_cast(ptr)->setIcon(static_cast(vqm)); } void QMessageBox_SetIconPixmap(void* ptr, void* pixmap) { static_cast(ptr)->setIconPixmap(*static_cast(pixmap)); } void QMessageBox_SetInformativeText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setInformativeText(QString::fromUtf8(text.data, text.len)); } void QMessageBox_SetStandardButtons(void* ptr, long long buttons) { static_cast(ptr)->setStandardButtons(static_cast(buttons)); } void QMessageBox_SetText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(QString::fromUtf8(text.data, text.len)); } void QMessageBox_SetTextFormat(void* ptr, long long format) { static_cast(ptr)->setTextFormat(static_cast(format)); } void QMessageBox_SetTextInteractionFlags(void* ptr, long long flags) { static_cast(ptr)->setTextInteractionFlags(static_cast(flags)); } void QMessageBox_SetWindowTitle(void* ptr, struct QtWidgets_PackedString title) { static_cast(ptr)->setWindowTitle(QString::fromUtf8(title.data, title.len)); } long long QMessageBox_StandardButton(void* ptr, void* button) { return static_cast(ptr)->standardButton(static_cast(button)); } long long QMessageBox_StandardButtons(void* ptr) { return static_cast(ptr)->standardButtons(); } struct QtWidgets_PackedString QMessageBox_Text(void* ptr) { return ({ QByteArray* te2bb59 = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(te2bb59->prepend("WHITESPACE").constData()+10), te2bb59->size()-10, te2bb59 }; }); } long long QMessageBox_TextFormat(void* ptr) { return static_cast(ptr)->textFormat(); } long long QMessageBox_TextInteractionFlags(void* ptr) { return static_cast(ptr)->textInteractionFlags(); } long long QMessageBox_QMessageBox_Warning(void* parent, struct QtWidgets_PackedString title, struct QtWidgets_PackedString text, long long buttons, long long defaultButton) { return QMessageBox::warning(static_cast(parent), QString::fromUtf8(title.data, title.len), QString::fromUtf8(text.data, text.len), static_cast(buttons), static_cast(defaultButton)); } void QMessageBox_DestroyQMessageBox(void* ptr) { static_cast(ptr)->~QMessageBox(); } void QMessageBox_DestroyQMessageBoxDefault(void* ptr) { Q_UNUSED(ptr); } void* QMessageBox___buttons_atList(void* ptr, int i) { return ({QAbstractButton * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMessageBox___buttons_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QMessageBox___buttons_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQMouseEventTransition: public QMouseEventTransition { public: MyQMouseEventTransition(QState *sourceState = Q_NULLPTR) : QMouseEventTransition(sourceState) {QMouseEventTransition_QMouseEventTransition_QRegisterMetaType();}; MyQMouseEventTransition(QObject *object, QEvent::Type ty, Qt::MouseButton button, QState *sourceState = Q_NULLPTR) : QMouseEventTransition(object, ty, button, sourceState) {QMouseEventTransition_QMouseEventTransition_QRegisterMetaType();}; bool eventTest(QEvent * event) { return callbackQMouseEventTransition_EventTest(this, event) != 0; }; void onTransition(QEvent * event) { callbackQMouseEventTransition_OnTransition(this, event); }; ~MyQMouseEventTransition() { callbackQMouseEventTransition_DestroyQMouseEventTransition(this); }; bool event(QEvent * e) { return callbackQMouseEventTransition_Event(this, e) != 0; }; void Signal_TargetStateChanged() { callbackQMouseEventTransition_TargetStateChanged(this); }; void Signal_TargetStatesChanged() { callbackQMouseEventTransition_TargetStatesChanged(this); }; void Signal_Triggered() { callbackQMouseEventTransition_Triggered(this); }; void childEvent(QChildEvent * event) { callbackQMouseEventTransition_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQMouseEventTransition_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQMouseEventTransition_CustomEvent(this, event); }; void deleteLater() { callbackQMouseEventTransition_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQMouseEventTransition_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQMouseEventTransition_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQMouseEventTransition_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQMouseEventTransition_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQMouseEventTransition_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQMouseEventTransition_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QMouseEventTransition*) Q_DECLARE_METATYPE(MyQMouseEventTransition*) int QMouseEventTransition_QMouseEventTransition_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QMouseEventTransition_NewQMouseEventTransition(void* sourceState) { return new MyQMouseEventTransition(static_cast(sourceState)); } void* QMouseEventTransition_NewQMouseEventTransition2(void* object, long long ty, long long button, void* sourceState) { if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else if (dynamic_cast(static_cast(object))) { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } else { return new MyQMouseEventTransition(static_cast(object), static_cast(ty), static_cast(button), static_cast(sourceState)); } } long long QMouseEventTransition_Button(void* ptr) { return static_cast(ptr)->button(); } char QMouseEventTransition_EventTestDefault(void* ptr, void* event) { return static_cast(ptr)->QMouseEventTransition::eventTest(static_cast(event)); } void* QMouseEventTransition_HitTestPath(void* ptr) { return new QPainterPath(static_cast(ptr)->hitTestPath()); } long long QMouseEventTransition_ModifierMask(void* ptr) { return static_cast(ptr)->modifierMask(); } void QMouseEventTransition_OnTransitionDefault(void* ptr, void* event) { static_cast(ptr)->QMouseEventTransition::onTransition(static_cast(event)); } void QMouseEventTransition_SetButton(void* ptr, long long button) { static_cast(ptr)->setButton(static_cast(button)); } void QMouseEventTransition_SetHitTestPath(void* ptr, void* path) { static_cast(ptr)->setHitTestPath(*static_cast(path)); } void QMouseEventTransition_SetModifierMask(void* ptr, long long modifierMask) { static_cast(ptr)->setModifierMask(static_cast(modifierMask)); } void QMouseEventTransition_DestroyQMouseEventTransition(void* ptr) { static_cast(ptr)->~QMouseEventTransition(); } void QMouseEventTransition_DestroyQMouseEventTransitionDefault(void* ptr) { Q_UNUSED(ptr); } void* QMouseEventTransition___animations_atList(void* ptr, int i) { return ({QAbstractAnimation * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMouseEventTransition___animations_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QMouseEventTransition___animations_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QMouseEventTransition___setTargetStates_targets_atList(void* ptr, int i) { return ({QAbstractState * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMouseEventTransition___setTargetStates_targets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QMouseEventTransition___setTargetStates_targets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QMouseEventTransition___targetStates_atList(void* ptr, int i) { return ({QAbstractState * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMouseEventTransition___targetStates_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QMouseEventTransition___targetStates_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QMouseEventTransition___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMouseEventTransition___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QMouseEventTransition___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QMouseEventTransition___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QMouseEventTransition___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QMouseEventTransition___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QMouseEventTransition___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMouseEventTransition___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QMouseEventTransition___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QMouseEventTransition___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QMouseEventTransition___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QMouseEventTransition___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } char QMouseEventTransition_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QMouseEventTransition::event(static_cast(e)); } void QMouseEventTransition_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QMouseEventTransition::childEvent(static_cast(event)); } void QMouseEventTransition_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QMouseEventTransition::connectNotify(*static_cast(sign)); } void QMouseEventTransition_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QMouseEventTransition::customEvent(static_cast(event)); } void QMouseEventTransition_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QMouseEventTransition::deleteLater(); } void QMouseEventTransition_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QMouseEventTransition::disconnectNotify(*static_cast(sign)); } char QMouseEventTransition_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMouseEventTransition::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMouseEventTransition::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMouseEventTransition::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMouseEventTransition::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QMouseEventTransition::eventFilter(static_cast(watched), static_cast(event)); } } void* QMouseEventTransition_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QMouseEventTransition::metaObject()); } void QMouseEventTransition_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QMouseEventTransition::timerEvent(static_cast(event)); } class MyQOpenGLWidget: public QOpenGLWidget { public: MyQOpenGLWidget(QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QOpenGLWidget(parent, ff) {QOpenGLWidget_QOpenGLWidget_QRegisterMetaType();}; void Signal_AboutToCompose() { callbackQOpenGLWidget_AboutToCompose(this); }; void Signal_AboutToResize() { callbackQOpenGLWidget_AboutToResize(this); }; void Signal_FrameSwapped() { callbackQOpenGLWidget_FrameSwapped(this); }; void initializeGL() { callbackQOpenGLWidget_InitializeGL(this); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void paintGL() { callbackQOpenGLWidget_PaintGL(this); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void resizeGL(int w, int h) { callbackQOpenGLWidget_ResizeGL(this, w, h); }; void Signal_Resized() { callbackQOpenGLWidget_Resized(this); }; ~MyQOpenGLWidget() { callbackQOpenGLWidget_DestroyQOpenGLWidget(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QOpenGLWidget*) Q_DECLARE_METATYPE(MyQOpenGLWidget*) int QOpenGLWidget_QOpenGLWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QOpenGLWidget_NewQOpenGLWidget(void* parent, long long ff) { return new MyQOpenGLWidget(static_cast(parent), static_cast(ff)); } void QOpenGLWidget_ConnectAboutToCompose(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QOpenGLWidget::aboutToCompose), static_cast(ptr), static_cast(&MyQOpenGLWidget::Signal_AboutToCompose), static_cast(t)); } void QOpenGLWidget_DisconnectAboutToCompose(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QOpenGLWidget::aboutToCompose), static_cast(ptr), static_cast(&MyQOpenGLWidget::Signal_AboutToCompose)); } void QOpenGLWidget_AboutToCompose(void* ptr) { static_cast(ptr)->aboutToCompose(); } void QOpenGLWidget_ConnectAboutToResize(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QOpenGLWidget::aboutToResize), static_cast(ptr), static_cast(&MyQOpenGLWidget::Signal_AboutToResize), static_cast(t)); } void QOpenGLWidget_DisconnectAboutToResize(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QOpenGLWidget::aboutToResize), static_cast(ptr), static_cast(&MyQOpenGLWidget::Signal_AboutToResize)); } void QOpenGLWidget_AboutToResize(void* ptr) { static_cast(ptr)->aboutToResize(); } void* QOpenGLWidget_Context(void* ptr) { return static_cast(ptr)->context(); } unsigned int QOpenGLWidget_DefaultFramebufferObject(void* ptr) { return static_cast(ptr)->defaultFramebufferObject(); } void QOpenGLWidget_DoneCurrent(void* ptr) { static_cast(ptr)->doneCurrent(); } void* QOpenGLWidget_Format(void* ptr) { return new QSurfaceFormat(static_cast(ptr)->format()); } void QOpenGLWidget_ConnectFrameSwapped(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QOpenGLWidget::frameSwapped), static_cast(ptr), static_cast(&MyQOpenGLWidget::Signal_FrameSwapped), static_cast(t)); } void QOpenGLWidget_DisconnectFrameSwapped(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QOpenGLWidget::frameSwapped), static_cast(ptr), static_cast(&MyQOpenGLWidget::Signal_FrameSwapped)); } void QOpenGLWidget_FrameSwapped(void* ptr) { static_cast(ptr)->frameSwapped(); } void* QOpenGLWidget_GrabFramebuffer(void* ptr) { return new QImage(static_cast(ptr)->grabFramebuffer()); } void QOpenGLWidget_InitializeGL(void* ptr) { static_cast(ptr)->initializeGL(); } void QOpenGLWidget_InitializeGLDefault(void* ptr) { static_cast(ptr)->QOpenGLWidget::initializeGL(); } char QOpenGLWidget_IsValid(void* ptr) { return static_cast(ptr)->isValid(); } void QOpenGLWidget_MakeCurrent(void* ptr) { static_cast(ptr)->makeCurrent(); } void QOpenGLWidget_PaintGL(void* ptr) { static_cast(ptr)->paintGL(); } void QOpenGLWidget_PaintGLDefault(void* ptr) { static_cast(ptr)->QOpenGLWidget::paintGL(); } void QOpenGLWidget_ResizeGL(void* ptr, int w, int h) { static_cast(ptr)->resizeGL(w, h); } void QOpenGLWidget_ResizeGLDefault(void* ptr, int w, int h) { static_cast(ptr)->QOpenGLWidget::resizeGL(w, h); } void QOpenGLWidget_ConnectResized(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QOpenGLWidget::resized), static_cast(ptr), static_cast(&MyQOpenGLWidget::Signal_Resized), static_cast(t)); } void QOpenGLWidget_DisconnectResized(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QOpenGLWidget::resized), static_cast(ptr), static_cast(&MyQOpenGLWidget::Signal_Resized)); } void QOpenGLWidget_Resized(void* ptr) { static_cast(ptr)->resized(); } void QOpenGLWidget_SetFormat(void* ptr, void* format) { static_cast(ptr)->setFormat(*static_cast(format)); } void QOpenGLWidget_SetTextureFormat(void* ptr, unsigned int texFormat) { static_cast(ptr)->setTextureFormat(texFormat); } void QOpenGLWidget_SetUpdateBehavior(void* ptr, long long updateBehavior) { static_cast(ptr)->setUpdateBehavior(static_cast(updateBehavior)); } unsigned int QOpenGLWidget_TextureFormat(void* ptr) { return static_cast(ptr)->textureFormat(); } long long QOpenGLWidget_UpdateBehavior(void* ptr) { return static_cast(ptr)->updateBehavior(); } void QOpenGLWidget_DestroyQOpenGLWidget(void* ptr) { static_cast(ptr)->~QOpenGLWidget(); } void QOpenGLWidget_DestroyQOpenGLWidgetDefault(void* ptr) { Q_UNUSED(ptr); } class MyQPanGesture: public QPanGesture { public: ~MyQPanGesture() { callbackQPanGesture_DestroyQPanGesture(this); }; void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); }; void deleteLater() { callbackQGesture_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGesture_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGesture_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QPanGesture*) Q_DECLARE_METATYPE(MyQPanGesture*) int QPanGesture_QPanGesture_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} double QPanGesture_Acceleration(void* ptr) { return static_cast(ptr)->acceleration(); } void* QPanGesture_Delta(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->delta(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QPanGesture_LastOffset(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->lastOffset(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QPanGesture_Offset(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->offset(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QPanGesture_SetAcceleration(void* ptr, double value) { static_cast(ptr)->setAcceleration(value); } void QPanGesture_SetLastOffset(void* ptr, void* value) { static_cast(ptr)->setLastOffset(*static_cast(value)); } void QPanGesture_SetOffset(void* ptr, void* value) { static_cast(ptr)->setOffset(*static_cast(value)); } void QPanGesture_DestroyQPanGesture(void* ptr) { static_cast(ptr)->~QPanGesture(); } void QPanGesture_DestroyQPanGestureDefault(void* ptr) { Q_UNUSED(ptr); } class MyQPinchGesture: public QPinchGesture { public: ~MyQPinchGesture() { callbackQPinchGesture_DestroyQPinchGesture(this); }; void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); }; void deleteLater() { callbackQGesture_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGesture_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGesture_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QPinchGesture*) Q_DECLARE_METATYPE(MyQPinchGesture*) int QPinchGesture_QPinchGesture_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QPinchGesture_CenterPoint(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->centerPoint(); new QPointF(tmpValue.x(), tmpValue.y()); }); } long long QPinchGesture_ChangeFlags(void* ptr) { return static_cast(ptr)->changeFlags(); } void* QPinchGesture_LastCenterPoint(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->lastCenterPoint(); new QPointF(tmpValue.x(), tmpValue.y()); }); } double QPinchGesture_LastRotationAngle(void* ptr) { return static_cast(ptr)->lastRotationAngle(); } double QPinchGesture_LastScaleFactor(void* ptr) { return static_cast(ptr)->lastScaleFactor(); } double QPinchGesture_RotationAngle(void* ptr) { return static_cast(ptr)->rotationAngle(); } double QPinchGesture_ScaleFactor(void* ptr) { return static_cast(ptr)->scaleFactor(); } void QPinchGesture_SetCenterPoint(void* ptr, void* value) { static_cast(ptr)->setCenterPoint(*static_cast(value)); } void QPinchGesture_SetChangeFlags(void* ptr, long long value) { static_cast(ptr)->setChangeFlags(static_cast(value)); } void QPinchGesture_SetLastCenterPoint(void* ptr, void* value) { static_cast(ptr)->setLastCenterPoint(*static_cast(value)); } void QPinchGesture_SetLastRotationAngle(void* ptr, double value) { static_cast(ptr)->setLastRotationAngle(value); } void QPinchGesture_SetLastScaleFactor(void* ptr, double value) { static_cast(ptr)->setLastScaleFactor(value); } void QPinchGesture_SetRotationAngle(void* ptr, double value) { static_cast(ptr)->setRotationAngle(value); } void QPinchGesture_SetScaleFactor(void* ptr, double value) { static_cast(ptr)->setScaleFactor(value); } void QPinchGesture_SetStartCenterPoint(void* ptr, void* value) { static_cast(ptr)->setStartCenterPoint(*static_cast(value)); } void QPinchGesture_SetTotalChangeFlags(void* ptr, long long value) { static_cast(ptr)->setTotalChangeFlags(static_cast(value)); } void QPinchGesture_SetTotalRotationAngle(void* ptr, double value) { static_cast(ptr)->setTotalRotationAngle(value); } void QPinchGesture_SetTotalScaleFactor(void* ptr, double value) { static_cast(ptr)->setTotalScaleFactor(value); } void* QPinchGesture_StartCenterPoint(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->startCenterPoint(); new QPointF(tmpValue.x(), tmpValue.y()); }); } long long QPinchGesture_TotalChangeFlags(void* ptr) { return static_cast(ptr)->totalChangeFlags(); } double QPinchGesture_TotalRotationAngle(void* ptr) { return static_cast(ptr)->totalRotationAngle(); } double QPinchGesture_TotalScaleFactor(void* ptr) { return static_cast(ptr)->totalScaleFactor(); } void QPinchGesture_DestroyQPinchGesture(void* ptr) { static_cast(ptr)->~QPinchGesture(); } void QPinchGesture_DestroyQPinchGestureDefault(void* ptr) { Q_UNUSED(ptr); } class MyQPlainTextDocumentLayout: public QPlainTextDocumentLayout { public: MyQPlainTextDocumentLayout(QTextDocument *document) : QPlainTextDocumentLayout(document) {QPlainTextDocumentLayout_QPlainTextDocumentLayout_QRegisterMetaType();}; QRectF blockBoundingRect(const QTextBlock & block) const { return *static_cast(callbackQPlainTextDocumentLayout_BlockBoundingRect(const_cast(static_cast(this)), const_cast(&block))); }; void documentChanged(int from, int charsRemoved, int charsAdded) { callbackQPlainTextDocumentLayout_DocumentChanged(this, from, charsRemoved, charsAdded); }; QSizeF documentSize() const { return *static_cast(callbackQPlainTextDocumentLayout_DocumentSize(const_cast(static_cast(this)))); }; QRectF frameBoundingRect(QTextFrame * vqt) const { return *static_cast(callbackQPlainTextDocumentLayout_FrameBoundingRect(const_cast(static_cast(this)), vqt)); }; int hitTest(const QPointF & vqp, Qt::HitTestAccuracy vqt) const { return callbackQPlainTextDocumentLayout_HitTest(const_cast(static_cast(this)), const_cast(&vqp), vqt); }; int pageCount() const { return callbackQPlainTextDocumentLayout_PageCount(const_cast(static_cast(this))); }; ~MyQPlainTextDocumentLayout() { callbackQPlainTextDocumentLayout_DestroyQPlainTextDocumentLayout(this); }; void Signal_DocumentSizeChanged(const QSizeF & newSize) { callbackQPlainTextDocumentLayout_DocumentSizeChanged(this, const_cast(&newSize)); }; void Signal_PageCountChanged(int newPages) { callbackQPlainTextDocumentLayout_PageCountChanged(this, newPages); }; void Signal_Update(const QRectF & rect) { callbackQPlainTextDocumentLayout_Update(this, const_cast(&rect)); }; void Signal_UpdateBlock(const QTextBlock & block) { callbackQPlainTextDocumentLayout_UpdateBlock(this, const_cast(&block)); }; void childEvent(QChildEvent * event) { callbackQPlainTextDocumentLayout_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQPlainTextDocumentLayout_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQPlainTextDocumentLayout_CustomEvent(this, event); }; void deleteLater() { callbackQPlainTextDocumentLayout_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQPlainTextDocumentLayout_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQPlainTextDocumentLayout_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQPlainTextDocumentLayout_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQPlainTextDocumentLayout_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQPlainTextDocumentLayout_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQPlainTextDocumentLayout_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQPlainTextDocumentLayout_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QPlainTextDocumentLayout*) Q_DECLARE_METATYPE(MyQPlainTextDocumentLayout*) int QPlainTextDocumentLayout_QPlainTextDocumentLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QPlainTextDocumentLayout_NewQPlainTextDocumentLayout(void* document) { return new MyQPlainTextDocumentLayout(static_cast(document)); } void* QPlainTextDocumentLayout_BlockBoundingRect(void* ptr, void* block) { return ({ QRectF tmpValue = static_cast(ptr)->blockBoundingRect(*static_cast(block)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QPlainTextDocumentLayout_BlockBoundingRectDefault(void* ptr, void* block) { return ({ QRectF tmpValue = static_cast(ptr)->QPlainTextDocumentLayout::blockBoundingRect(*static_cast(block)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QPlainTextDocumentLayout_CursorWidth(void* ptr) { return static_cast(ptr)->cursorWidth(); } void QPlainTextDocumentLayout_DocumentChanged(void* ptr, int from, int charsRemoved, int charsAdded) { static_cast(ptr)->documentChanged(from, charsRemoved, charsAdded); } void QPlainTextDocumentLayout_DocumentChangedDefault(void* ptr, int from, int charsRemoved, int charsAdded) { static_cast(ptr)->QPlainTextDocumentLayout::documentChanged(from, charsRemoved, charsAdded); } void* QPlainTextDocumentLayout_DocumentSize(void* ptr) { return ({ QSizeF tmpValue = static_cast(ptr)->documentSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void* QPlainTextDocumentLayout_DocumentSizeDefault(void* ptr) { return ({ QSizeF tmpValue = static_cast(ptr)->QPlainTextDocumentLayout::documentSize(); new QSizeF(tmpValue.width(), tmpValue.height()); }); } void QPlainTextDocumentLayout_EnsureBlockLayout(void* ptr, void* block) { static_cast(ptr)->ensureBlockLayout(*static_cast(block)); } void* QPlainTextDocumentLayout_FrameBoundingRect(void* ptr, void* vqt) { return ({ QRectF tmpValue = static_cast(ptr)->frameBoundingRect(static_cast(vqt)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QPlainTextDocumentLayout_FrameBoundingRectDefault(void* ptr, void* vqt) { return ({ QRectF tmpValue = static_cast(ptr)->QPlainTextDocumentLayout::frameBoundingRect(static_cast(vqt)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QPlainTextDocumentLayout_HitTest(void* ptr, void* vqp, long long vqt) { return static_cast(ptr)->hitTest(*static_cast(vqp), static_cast(vqt)); } int QPlainTextDocumentLayout_HitTestDefault(void* ptr, void* vqp, long long vqt) { return static_cast(ptr)->QPlainTextDocumentLayout::hitTest(*static_cast(vqp), static_cast(vqt)); } int QPlainTextDocumentLayout_PageCount(void* ptr) { return static_cast(ptr)->pageCount(); } int QPlainTextDocumentLayout_PageCountDefault(void* ptr) { return static_cast(ptr)->QPlainTextDocumentLayout::pageCount(); } void QPlainTextDocumentLayout_RequestUpdate(void* ptr) { static_cast(ptr)->requestUpdate(); } void QPlainTextDocumentLayout_SetCursorWidth(void* ptr, int width) { static_cast(ptr)->setCursorWidth(width); } void QPlainTextDocumentLayout_DestroyQPlainTextDocumentLayout(void* ptr) { static_cast(ptr)->~QPlainTextDocumentLayout(); } void QPlainTextDocumentLayout_DestroyQPlainTextDocumentLayoutDefault(void* ptr) { Q_UNUSED(ptr); } void* QPlainTextDocumentLayout___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QPlainTextDocumentLayout___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QPlainTextDocumentLayout___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QPlainTextDocumentLayout___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QPlainTextDocumentLayout___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QPlainTextDocumentLayout___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QPlainTextDocumentLayout___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QPlainTextDocumentLayout___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QPlainTextDocumentLayout___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QPlainTextDocumentLayout___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QPlainTextDocumentLayout___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QPlainTextDocumentLayout___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QPlainTextDocumentLayout_DrawInlineObjectDefault(void* ptr, void* painter, void* rect, void* object, int posInDocument, void* format) { static_cast(ptr)->QPlainTextDocumentLayout::drawInlineObject(static_cast(painter), *static_cast(rect), *static_cast(object), posInDocument, *static_cast(format)); } void QPlainTextDocumentLayout_PositionInlineObjectDefault(void* ptr, void* item, int posInDocument, void* format) { static_cast(ptr)->QPlainTextDocumentLayout::positionInlineObject(*static_cast(item), posInDocument, *static_cast(format)); } void QPlainTextDocumentLayout_ResizeInlineObjectDefault(void* ptr, void* item, int posInDocument, void* format) { static_cast(ptr)->QPlainTextDocumentLayout::resizeInlineObject(*static_cast(item), posInDocument, *static_cast(format)); } void QPlainTextDocumentLayout_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QPlainTextDocumentLayout::childEvent(static_cast(event)); } void QPlainTextDocumentLayout_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QPlainTextDocumentLayout::connectNotify(*static_cast(sign)); } void QPlainTextDocumentLayout_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QPlainTextDocumentLayout::customEvent(static_cast(event)); } void QPlainTextDocumentLayout_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QPlainTextDocumentLayout::deleteLater(); } void QPlainTextDocumentLayout_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QPlainTextDocumentLayout::disconnectNotify(*static_cast(sign)); } char QPlainTextDocumentLayout_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QPlainTextDocumentLayout::event(static_cast(e)); } char QPlainTextDocumentLayout_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QPlainTextDocumentLayout::eventFilter(static_cast(watched), static_cast(event)); } } void* QPlainTextDocumentLayout_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QPlainTextDocumentLayout::metaObject()); } void QPlainTextDocumentLayout_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QPlainTextDocumentLayout::timerEvent(static_cast(event)); } class MyQPlainTextEdit: public QPlainTextEdit { public: MyQPlainTextEdit(QWidget *parent = Q_NULLPTR) : QPlainTextEdit(parent) {QPlainTextEdit_QPlainTextEdit_QRegisterMetaType();}; MyQPlainTextEdit(const QString &text, QWidget *parent = Q_NULLPTR) : QPlainTextEdit(text, parent) {QPlainTextEdit_QPlainTextEdit_QRegisterMetaType();}; void appendHtml(const QString & html) { QByteArray* t950a39 = new QByteArray(html.toUtf8()); QtWidgets_PackedString htmlPacked = { const_cast(t950a39->prepend("WHITESPACE").constData()+10), t950a39->size()-10, t950a39 };callbackQPlainTextEdit_AppendHtml(this, htmlPacked); }; void appendPlainText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQPlainTextEdit_AppendPlainText(this, textPacked); }; void Signal_BlockCountChanged(int newBlockCount) { callbackQPlainTextEdit_BlockCountChanged(this, newBlockCount); }; bool canInsertFromMimeData(const QMimeData * source) const { return callbackQPlainTextEdit_CanInsertFromMimeData(const_cast(static_cast(this)), const_cast(source)) != 0; }; void centerCursor() { callbackQPlainTextEdit_CenterCursor(this); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void clear() { callbackQPlainTextEdit_Clear(this); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void copy() { callbackQPlainTextEdit_Copy(this); }; void Signal_CopyAvailable(bool yes) { callbackQPlainTextEdit_CopyAvailable(this, yes); }; QMimeData * createMimeDataFromSelection() const { return static_cast(callbackQPlainTextEdit_CreateMimeDataFromSelection(const_cast(static_cast(this)))); }; void Signal_CursorPositionChanged() { callbackQPlainTextEdit_CursorPositionChanged(this); }; void cut() { callbackQPlainTextEdit_Cut(this); }; void dragEnterEvent(QDragEnterEvent * e) { callbackQWidget_DragEnterEvent(this, e); }; void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); }; void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); }; void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); }; QVariant inputMethodQuery(Qt::InputMethodQuery property) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), property)); }; void insertFromMimeData(const QMimeData * source) { callbackQPlainTextEdit_InsertFromMimeData(this, const_cast(source)); }; void insertPlainText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQPlainTextEdit_InsertPlainText(this, textPacked); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; QVariant loadResource(int ty, const QUrl & name) { return *static_cast(callbackQPlainTextEdit_LoadResource(this, ty, const_cast(&name))); }; void Signal_ModificationChanged(bool changed) { callbackQPlainTextEdit_ModificationChanged(this, changed); }; void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void paste() { callbackQPlainTextEdit_Paste(this); }; void redo() { callbackQPlainTextEdit_Redo(this); }; void Signal_RedoAvailable(bool available) { callbackQPlainTextEdit_RedoAvailable(this, available); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void selectAll() { callbackQPlainTextEdit_SelectAll(this); }; void Signal_SelectionChanged() { callbackQPlainTextEdit_SelectionChanged(this); }; void setPlainText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQPlainTextEdit_SetPlainText(this, textPacked); }; void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); }; void Signal_TextChanged() { callbackQPlainTextEdit_TextChanged(this); }; void undo() { callbackQPlainTextEdit_Undo(this); }; void Signal_UndoAvailable(bool available) { callbackQPlainTextEdit_UndoAvailable(this, available); }; void Signal_UpdateRequest(const QRect & rect, int dy) { callbackQPlainTextEdit_UpdateRequest(this, const_cast(&rect), dy); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void zoomIn(int ran) { callbackQPlainTextEdit_ZoomIn(this, ran); }; void zoomOut(int ran) { callbackQPlainTextEdit_ZoomOut(this, ran); }; ~MyQPlainTextEdit() { callbackQPlainTextEdit_DestroyQPlainTextEdit(this); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QPlainTextEdit*) Q_DECLARE_METATYPE(MyQPlainTextEdit*) int QPlainTextEdit_QPlainTextEdit_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QPlainTextEdit_NewQPlainTextEdit(void* parent) { return new MyQPlainTextEdit(static_cast(parent)); } void* QPlainTextEdit_NewQPlainTextEdit2(struct QtWidgets_PackedString text, void* parent) { return new MyQPlainTextEdit(QString::fromUtf8(text.data, text.len), static_cast(parent)); } struct QtWidgets_PackedString QPlainTextEdit_AnchorAt(void* ptr, void* pos) { return ({ QByteArray* t8a0984 = new QByteArray(static_cast(ptr)->anchorAt(*static_cast(pos)).toUtf8()); QtWidgets_PackedString { const_cast(t8a0984->prepend("WHITESPACE").constData()+10), t8a0984->size()-10, t8a0984 }; }); } void QPlainTextEdit_AppendHtml(void* ptr, struct QtWidgets_PackedString html) { QMetaObject::invokeMethod(static_cast(ptr), "appendHtml", Q_ARG(const QString, QString::fromUtf8(html.data, html.len))); } void QPlainTextEdit_AppendHtmlDefault(void* ptr, struct QtWidgets_PackedString html) { static_cast(ptr)->QPlainTextEdit::appendHtml(QString::fromUtf8(html.data, html.len)); } void QPlainTextEdit_AppendPlainText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "appendPlainText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QPlainTextEdit_AppendPlainTextDefault(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->QPlainTextEdit::appendPlainText(QString::fromUtf8(text.data, text.len)); } char QPlainTextEdit_BackgroundVisible(void* ptr) { return static_cast(ptr)->backgroundVisible(); } void* QPlainTextEdit_BlockBoundingGeometry(void* ptr, void* block) { return ({ QRectF tmpValue = static_cast(ptr)->blockBoundingGeometry(*static_cast(block)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QPlainTextEdit_BlockBoundingRect(void* ptr, void* block) { return ({ QRectF tmpValue = static_cast(ptr)->blockBoundingRect(*static_cast(block)); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QPlainTextEdit_BlockCount(void* ptr) { return static_cast(ptr)->blockCount(); } void QPlainTextEdit_ConnectBlockCountChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::blockCountChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_BlockCountChanged), static_cast(t)); } void QPlainTextEdit_DisconnectBlockCountChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::blockCountChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_BlockCountChanged)); } void QPlainTextEdit_BlockCountChanged(void* ptr, int newBlockCount) { static_cast(ptr)->blockCountChanged(newBlockCount); } char QPlainTextEdit_CanInsertFromMimeData(void* ptr, void* source) { return static_cast(ptr)->canInsertFromMimeData(static_cast(source)); } char QPlainTextEdit_CanInsertFromMimeDataDefault(void* ptr, void* source) { return static_cast(ptr)->QPlainTextEdit::canInsertFromMimeData(static_cast(source)); } char QPlainTextEdit_CanPaste(void* ptr) { return static_cast(ptr)->canPaste(); } void QPlainTextEdit_CenterCursor(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "centerCursor"); } void QPlainTextEdit_CenterCursorDefault(void* ptr) { static_cast(ptr)->QPlainTextEdit::centerCursor(); } char QPlainTextEdit_CenterOnScroll(void* ptr) { return static_cast(ptr)->centerOnScroll(); } void QPlainTextEdit_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QPlainTextEdit_ClearDefault(void* ptr) { static_cast(ptr)->QPlainTextEdit::clear(); } void* QPlainTextEdit_ContentOffset(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->contentOffset(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QPlainTextEdit_Copy(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "copy"); } void QPlainTextEdit_CopyDefault(void* ptr) { static_cast(ptr)->QPlainTextEdit::copy(); } void QPlainTextEdit_ConnectCopyAvailable(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::copyAvailable), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_CopyAvailable), static_cast(t)); } void QPlainTextEdit_DisconnectCopyAvailable(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::copyAvailable), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_CopyAvailable)); } void QPlainTextEdit_CopyAvailable(void* ptr, char yes) { static_cast(ptr)->copyAvailable(yes != 0); } void* QPlainTextEdit_CreateMimeDataFromSelection(void* ptr) { return static_cast(ptr)->createMimeDataFromSelection(); } void* QPlainTextEdit_CreateMimeDataFromSelectionDefault(void* ptr) { return static_cast(ptr)->QPlainTextEdit::createMimeDataFromSelection(); } void* QPlainTextEdit_CreateStandardContextMenu(void* ptr) { return static_cast(ptr)->createStandardContextMenu(); } void* QPlainTextEdit_CreateStandardContextMenu2(void* ptr, void* position) { return static_cast(ptr)->createStandardContextMenu(*static_cast(position)); } void* QPlainTextEdit_CurrentCharFormat(void* ptr) { return new QTextCharFormat(static_cast(ptr)->currentCharFormat()); } void* QPlainTextEdit_CursorForPosition(void* ptr, void* pos) { return new QTextCursor(static_cast(ptr)->cursorForPosition(*static_cast(pos))); } void QPlainTextEdit_ConnectCursorPositionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::cursorPositionChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_CursorPositionChanged), static_cast(t)); } void QPlainTextEdit_DisconnectCursorPositionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::cursorPositionChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_CursorPositionChanged)); } void QPlainTextEdit_CursorPositionChanged(void* ptr) { static_cast(ptr)->cursorPositionChanged(); } void* QPlainTextEdit_CursorRect(void* ptr, void* cursor) { return ({ QRect tmpValue = static_cast(ptr)->cursorRect(*static_cast(cursor)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QPlainTextEdit_CursorRect2(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->cursorRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QPlainTextEdit_CursorWidth(void* ptr) { return static_cast(ptr)->cursorWidth(); } void QPlainTextEdit_Cut(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "cut"); } void QPlainTextEdit_CutDefault(void* ptr) { static_cast(ptr)->QPlainTextEdit::cut(); } void* QPlainTextEdit_Document(void* ptr) { return static_cast(ptr)->document(); } struct QtWidgets_PackedString QPlainTextEdit_DocumentTitle(void* ptr) { return ({ QByteArray* tba0a66 = new QByteArray(static_cast(ptr)->documentTitle().toUtf8()); QtWidgets_PackedString { const_cast(tba0a66->prepend("WHITESPACE").constData()+10), tba0a66->size()-10, tba0a66 }; }); } void QPlainTextEdit_EnsureCursorVisible(void* ptr) { static_cast(ptr)->ensureCursorVisible(); } char QPlainTextEdit_Find(void* ptr, struct QtWidgets_PackedString exp, long long options) { return static_cast(ptr)->find(QString::fromUtf8(exp.data, exp.len), static_cast(options)); } char QPlainTextEdit_Find2(void* ptr, void* exp, long long options) { return static_cast(ptr)->find(*static_cast(exp), static_cast(options)); } char QPlainTextEdit_Find3(void* ptr, void* exp, long long options) { return static_cast(ptr)->find(*static_cast(exp), static_cast(options)); } void* QPlainTextEdit_FirstVisibleBlock(void* ptr) { return new QTextBlock(static_cast(ptr)->firstVisibleBlock()); } void QPlainTextEdit_InsertFromMimeData(void* ptr, void* source) { static_cast(ptr)->insertFromMimeData(static_cast(source)); } void QPlainTextEdit_InsertFromMimeDataDefault(void* ptr, void* source) { static_cast(ptr)->QPlainTextEdit::insertFromMimeData(static_cast(source)); } void QPlainTextEdit_InsertPlainText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "insertPlainText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QPlainTextEdit_InsertPlainTextDefault(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->QPlainTextEdit::insertPlainText(QString::fromUtf8(text.data, text.len)); } char QPlainTextEdit_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } char QPlainTextEdit_IsUndoRedoEnabled(void* ptr) { return static_cast(ptr)->isUndoRedoEnabled(); } long long QPlainTextEdit_LineWrapMode(void* ptr) { return static_cast(ptr)->lineWrapMode(); } void* QPlainTextEdit_LoadResource(void* ptr, int ty, void* name) { return new QVariant(static_cast(ptr)->loadResource(ty, *static_cast(name))); } void* QPlainTextEdit_LoadResourceDefault(void* ptr, int ty, void* name) { return new QVariant(static_cast(ptr)->QPlainTextEdit::loadResource(ty, *static_cast(name))); } int QPlainTextEdit_MaximumBlockCount(void* ptr) { return static_cast(ptr)->maximumBlockCount(); } void QPlainTextEdit_MergeCurrentCharFormat(void* ptr, void* modifier) { static_cast(ptr)->mergeCurrentCharFormat(*static_cast(modifier)); } void QPlainTextEdit_ConnectModificationChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::modificationChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_ModificationChanged), static_cast(t)); } void QPlainTextEdit_DisconnectModificationChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::modificationChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_ModificationChanged)); } void QPlainTextEdit_ModificationChanged(void* ptr, char changed) { static_cast(ptr)->modificationChanged(changed != 0); } void QPlainTextEdit_MoveCursor(void* ptr, long long operation, long long mode) { static_cast(ptr)->moveCursor(static_cast(operation), static_cast(mode)); } char QPlainTextEdit_OverwriteMode(void* ptr) { return static_cast(ptr)->overwriteMode(); } void QPlainTextEdit_Paste(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "paste"); } void QPlainTextEdit_PasteDefault(void* ptr) { static_cast(ptr)->QPlainTextEdit::paste(); } struct QtWidgets_PackedString QPlainTextEdit_PlaceholderText(void* ptr) { return ({ QByteArray* tb4d3fc = new QByteArray(static_cast(ptr)->placeholderText().toUtf8()); QtWidgets_PackedString { const_cast(tb4d3fc->prepend("WHITESPACE").constData()+10), tb4d3fc->size()-10, tb4d3fc }; }); } void QPlainTextEdit_Print(void* ptr, void* printer) { #ifndef Q_OS_IOS static_cast(ptr)->print(static_cast(printer)); #endif } void QPlainTextEdit_Redo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "redo"); } void QPlainTextEdit_RedoDefault(void* ptr) { static_cast(ptr)->QPlainTextEdit::redo(); } void QPlainTextEdit_ConnectRedoAvailable(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::redoAvailable), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_RedoAvailable), static_cast(t)); } void QPlainTextEdit_DisconnectRedoAvailable(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::redoAvailable), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_RedoAvailable)); } void QPlainTextEdit_RedoAvailable(void* ptr, char available) { static_cast(ptr)->redoAvailable(available != 0); } void QPlainTextEdit_SelectAll(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "selectAll"); } void QPlainTextEdit_SelectAllDefault(void* ptr) { static_cast(ptr)->QPlainTextEdit::selectAll(); } void QPlainTextEdit_ConnectSelectionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::selectionChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_SelectionChanged), static_cast(t)); } void QPlainTextEdit_DisconnectSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::selectionChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_SelectionChanged)); } void QPlainTextEdit_SelectionChanged(void* ptr) { static_cast(ptr)->selectionChanged(); } void QPlainTextEdit_SetBackgroundVisible(void* ptr, char visible) { static_cast(ptr)->setBackgroundVisible(visible != 0); } void QPlainTextEdit_SetCenterOnScroll(void* ptr, char enabled) { static_cast(ptr)->setCenterOnScroll(enabled != 0); } void QPlainTextEdit_SetCurrentCharFormat(void* ptr, void* format) { static_cast(ptr)->setCurrentCharFormat(*static_cast(format)); } void QPlainTextEdit_SetCursorWidth(void* ptr, int width) { static_cast(ptr)->setCursorWidth(width); } void QPlainTextEdit_SetDocument(void* ptr, void* document) { static_cast(ptr)->setDocument(static_cast(document)); } void QPlainTextEdit_SetDocumentTitle(void* ptr, struct QtWidgets_PackedString title) { static_cast(ptr)->setDocumentTitle(QString::fromUtf8(title.data, title.len)); } void QPlainTextEdit_SetLineWrapMode(void* ptr, long long mode) { static_cast(ptr)->setLineWrapMode(static_cast(mode)); } void QPlainTextEdit_SetMaximumBlockCount(void* ptr, int maximum) { static_cast(ptr)->setMaximumBlockCount(maximum); } void QPlainTextEdit_SetOverwriteMode(void* ptr, char overwrite) { static_cast(ptr)->setOverwriteMode(overwrite != 0); } void QPlainTextEdit_SetPlaceholderText(void* ptr, struct QtWidgets_PackedString placeholderText) { static_cast(ptr)->setPlaceholderText(QString::fromUtf8(placeholderText.data, placeholderText.len)); } void QPlainTextEdit_SetPlainText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "setPlainText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QPlainTextEdit_SetPlainTextDefault(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->QPlainTextEdit::setPlainText(QString::fromUtf8(text.data, text.len)); } void QPlainTextEdit_SetReadOnly(void* ptr, char ro) { static_cast(ptr)->setReadOnly(ro != 0); } void QPlainTextEdit_SetTabChangesFocus(void* ptr, char b) { static_cast(ptr)->setTabChangesFocus(b != 0); } void QPlainTextEdit_SetTabStopDistance(void* ptr, double distance) { static_cast(ptr)->setTabStopDistance(distance); } void QPlainTextEdit_SetTabStopWidth(void* ptr, int width) { static_cast(ptr)->setTabStopWidth(width); } void QPlainTextEdit_SetTextCursor(void* ptr, void* cursor) { static_cast(ptr)->setTextCursor(*static_cast(cursor)); } void QPlainTextEdit_SetTextInteractionFlags(void* ptr, long long flags) { static_cast(ptr)->setTextInteractionFlags(static_cast(flags)); } void QPlainTextEdit_SetUndoRedoEnabled(void* ptr, char enable) { static_cast(ptr)->setUndoRedoEnabled(enable != 0); } void QPlainTextEdit_SetWordWrapMode(void* ptr, long long policy) { static_cast(ptr)->setWordWrapMode(static_cast(policy)); } char QPlainTextEdit_TabChangesFocus(void* ptr) { return static_cast(ptr)->tabChangesFocus(); } double QPlainTextEdit_TabStopDistance(void* ptr) { return static_cast(ptr)->tabStopDistance(); } int QPlainTextEdit_TabStopWidth(void* ptr) { return static_cast(ptr)->tabStopWidth(); } void QPlainTextEdit_ConnectTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::textChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_TextChanged), static_cast(t)); } void QPlainTextEdit_DisconnectTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::textChanged), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_TextChanged)); } void QPlainTextEdit_TextChanged(void* ptr) { static_cast(ptr)->textChanged(); } void* QPlainTextEdit_TextCursor(void* ptr) { return new QTextCursor(static_cast(ptr)->textCursor()); } long long QPlainTextEdit_TextInteractionFlags(void* ptr) { return static_cast(ptr)->textInteractionFlags(); } struct QtWidgets_PackedString QPlainTextEdit_ToPlainText(void* ptr) { return ({ QByteArray* t3c8ca8 = new QByteArray(static_cast(ptr)->toPlainText().toUtf8()); QtWidgets_PackedString { const_cast(t3c8ca8->prepend("WHITESPACE").constData()+10), t3c8ca8->size()-10, t3c8ca8 }; }); } void QPlainTextEdit_Undo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "undo"); } void QPlainTextEdit_UndoDefault(void* ptr) { static_cast(ptr)->QPlainTextEdit::undo(); } void QPlainTextEdit_ConnectUndoAvailable(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::undoAvailable), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_UndoAvailable), static_cast(t)); } void QPlainTextEdit_DisconnectUndoAvailable(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::undoAvailable), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_UndoAvailable)); } void QPlainTextEdit_UndoAvailable(void* ptr, char available) { static_cast(ptr)->undoAvailable(available != 0); } void QPlainTextEdit_ConnectUpdateRequest(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QPlainTextEdit::updateRequest), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_UpdateRequest), static_cast(t)); } void QPlainTextEdit_DisconnectUpdateRequest(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QPlainTextEdit::updateRequest), static_cast(ptr), static_cast(&MyQPlainTextEdit::Signal_UpdateRequest)); } void QPlainTextEdit_UpdateRequest(void* ptr, void* rect, int dy) { static_cast(ptr)->updateRequest(*static_cast(rect), dy); } long long QPlainTextEdit_WordWrapMode(void* ptr) { return static_cast(ptr)->wordWrapMode(); } void QPlainTextEdit_ZoomIn(void* ptr, int ran) { QMetaObject::invokeMethod(static_cast(ptr), "zoomIn", Q_ARG(int, ran)); } void QPlainTextEdit_ZoomInDefault(void* ptr, int ran) { static_cast(ptr)->QPlainTextEdit::zoomIn(ran); } void QPlainTextEdit_ZoomOut(void* ptr, int ran) { QMetaObject::invokeMethod(static_cast(ptr), "zoomOut", Q_ARG(int, ran)); } void QPlainTextEdit_ZoomOutDefault(void* ptr, int ran) { static_cast(ptr)->QPlainTextEdit::zoomOut(ran); } void QPlainTextEdit_DestroyQPlainTextEdit(void* ptr) { static_cast(ptr)->~QPlainTextEdit(); } void QPlainTextEdit_DestroyQPlainTextEditDefault(void* ptr) { Q_UNUSED(ptr); } class MyQProgressBar: public QProgressBar { public: MyQProgressBar(QWidget *parent = Q_NULLPTR) : QProgressBar(parent) {QProgressBar_QProgressBar_QRegisterMetaType();}; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void reset() { callbackQProgressBar_Reset(this); }; void setMaximum(int maximum) { callbackQProgressBar_SetMaximum(this, maximum); }; void setMinimum(int minimum) { callbackQProgressBar_SetMinimum(this, minimum); }; void setOrientation(Qt::Orientation vqt) { callbackQProgressBar_SetOrientation(this, vqt); }; void setRange(int minimum, int maximum) { callbackQProgressBar_SetRange(this, minimum, maximum); }; void setValue(int value) { callbackQProgressBar_SetValue(this, value); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; QString text() const { return ({ QtWidgets_PackedString tempVal = callbackQProgressBar_Text(const_cast(static_cast(this))); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; void Signal_ValueChanged(int value) { callbackQProgressBar_ValueChanged(this, value); }; ~MyQProgressBar() { callbackQProgressBar_DestroyQProgressBar(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QProgressBar*) Q_DECLARE_METATYPE(MyQProgressBar*) int QProgressBar_QProgressBar_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QProgressBar_NewQProgressBar(void* parent) { return new MyQProgressBar(static_cast(parent)); } long long QProgressBar_Alignment(void* ptr) { return static_cast(ptr)->alignment(); } struct QtWidgets_PackedString QProgressBar_Format(void* ptr) { return ({ QByteArray* tfbdd88 = new QByteArray(static_cast(ptr)->format().toUtf8()); QtWidgets_PackedString { const_cast(tfbdd88->prepend("WHITESPACE").constData()+10), tfbdd88->size()-10, tfbdd88 }; }); } void QProgressBar_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } char QProgressBar_InvertedAppearance(void* ptr) { return static_cast(ptr)->invertedAppearance(); } char QProgressBar_IsTextVisible(void* ptr) { return static_cast(ptr)->isTextVisible(); } int QProgressBar_Maximum(void* ptr) { return static_cast(ptr)->maximum(); } int QProgressBar_Minimum(void* ptr) { return static_cast(ptr)->minimum(); } long long QProgressBar_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void QProgressBar_Reset(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "reset"); } void QProgressBar_ResetDefault(void* ptr) { static_cast(ptr)->QProgressBar::reset(); } void QProgressBar_ResetFormat(void* ptr) { static_cast(ptr)->resetFormat(); } void QProgressBar_SetAlignment(void* ptr, long long alignment) { static_cast(ptr)->setAlignment(static_cast(alignment)); } void QProgressBar_SetFormat(void* ptr, struct QtWidgets_PackedString format) { static_cast(ptr)->setFormat(QString::fromUtf8(format.data, format.len)); } void QProgressBar_SetInvertedAppearance(void* ptr, char invert) { static_cast(ptr)->setInvertedAppearance(invert != 0); } void QProgressBar_SetMaximum(void* ptr, int maximum) { QMetaObject::invokeMethod(static_cast(ptr), "setMaximum", Q_ARG(int, maximum)); } void QProgressBar_SetMaximumDefault(void* ptr, int maximum) { static_cast(ptr)->QProgressBar::setMaximum(maximum); } void QProgressBar_SetMinimum(void* ptr, int minimum) { QMetaObject::invokeMethod(static_cast(ptr), "setMinimum", Q_ARG(int, minimum)); } void QProgressBar_SetMinimumDefault(void* ptr, int minimum) { static_cast(ptr)->QProgressBar::setMinimum(minimum); } void QProgressBar_SetOrientation(void* ptr, long long vqt) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "setOrientation", Q_ARG(Qt::Orientation, static_cast(vqt))); } void QProgressBar_SetOrientationDefault(void* ptr, long long vqt) { static_cast(ptr)->QProgressBar::setOrientation(static_cast(vqt)); } void QProgressBar_SetRange(void* ptr, int minimum, int maximum) { QMetaObject::invokeMethod(static_cast(ptr), "setRange", Q_ARG(int, minimum), Q_ARG(int, maximum)); } void QProgressBar_SetRangeDefault(void* ptr, int minimum, int maximum) { static_cast(ptr)->QProgressBar::setRange(minimum, maximum); } void QProgressBar_SetTextDirection(void* ptr, long long textDirection) { static_cast(ptr)->setTextDirection(static_cast(textDirection)); } void QProgressBar_SetTextVisible(void* ptr, char visible) { static_cast(ptr)->setTextVisible(visible != 0); } void QProgressBar_SetValue(void* ptr, int value) { QMetaObject::invokeMethod(static_cast(ptr), "setValue", Q_ARG(int, value)); } void QProgressBar_SetValueDefault(void* ptr, int value) { static_cast(ptr)->QProgressBar::setValue(value); } struct QtWidgets_PackedString QProgressBar_Text(void* ptr) { return ({ QByteArray* tffaa7f = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(tffaa7f->prepend("WHITESPACE").constData()+10), tffaa7f->size()-10, tffaa7f }; }); } struct QtWidgets_PackedString QProgressBar_TextDefault(void* ptr) { return ({ QByteArray* t6f1b9c = new QByteArray(static_cast(ptr)->QProgressBar::text().toUtf8()); QtWidgets_PackedString { const_cast(t6f1b9c->prepend("WHITESPACE").constData()+10), t6f1b9c->size()-10, t6f1b9c }; }); } long long QProgressBar_TextDirection(void* ptr) { return static_cast(ptr)->textDirection(); } int QProgressBar_Value(void* ptr) { return static_cast(ptr)->value(); } void QProgressBar_ConnectValueChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QProgressBar::valueChanged), static_cast(ptr), static_cast(&MyQProgressBar::Signal_ValueChanged), static_cast(t)); } void QProgressBar_DisconnectValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QProgressBar::valueChanged), static_cast(ptr), static_cast(&MyQProgressBar::Signal_ValueChanged)); } void QProgressBar_ValueChanged(void* ptr, int value) { static_cast(ptr)->valueChanged(value); } void QProgressBar_DestroyQProgressBar(void* ptr) { static_cast(ptr)->~QProgressBar(); } void QProgressBar_DestroyQProgressBarDefault(void* ptr) { Q_UNUSED(ptr); } class MyQProgressDialog: public QProgressDialog { public: MyQProgressDialog(QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QProgressDialog(parent, ff) {QProgressDialog_QProgressDialog_QRegisterMetaType();}; MyQProgressDialog(const QString &labelText, const QString &cancelButtonText, int minimum, int maximum, QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QProgressDialog(labelText, cancelButtonText, minimum, maximum, parent, ff) {QProgressDialog_QProgressDialog_QRegisterMetaType();}; void cancel() { callbackQProgressDialog_Cancel(this); }; void Signal_Canceled() { callbackQProgressDialog_Canceled(this); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; void forceShow() { callbackQProgressDialog_ForceShow(this); }; void reset() { callbackQProgressDialog_Reset(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setCancelButtonText(const QString & cancelButtonText) { QByteArray* td2e1e2 = new QByteArray(cancelButtonText.toUtf8()); QtWidgets_PackedString cancelButtonTextPacked = { const_cast(td2e1e2->prepend("WHITESPACE").constData()+10), td2e1e2->size()-10, td2e1e2 };callbackQProgressDialog_SetCancelButtonText(this, cancelButtonTextPacked); }; void setLabelText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQProgressDialog_SetLabelText(this, textPacked); }; void setMaximum(int maximum) { callbackQProgressDialog_SetMaximum(this, maximum); }; void setMinimum(int minimum) { callbackQProgressDialog_SetMinimum(this, minimum); }; void setMinimumDuration(int ms) { callbackQProgressDialog_SetMinimumDuration(this, ms); }; void setRange(int minimum, int maximum) { callbackQProgressDialog_SetRange(this, minimum, maximum); }; void setValue(int progress) { callbackQProgressDialog_SetValue(this, progress); }; void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQProgressDialog() { callbackQProgressDialog_DestroyQProgressDialog(this); }; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void done(int r) { callbackQDialog_Done(this, r); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QProgressDialog*) Q_DECLARE_METATYPE(MyQProgressDialog*) int QProgressDialog_QProgressDialog_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QProgressDialog_NewQProgressDialog(void* parent, long long ff) { return new MyQProgressDialog(static_cast(parent), static_cast(ff)); } void* QProgressDialog_NewQProgressDialog2(struct QtWidgets_PackedString labelText, struct QtWidgets_PackedString cancelButtonText, int minimum, int maximum, void* parent, long long ff) { return new MyQProgressDialog(QString::fromUtf8(labelText.data, labelText.len), QString::fromUtf8(cancelButtonText.data, cancelButtonText.len), minimum, maximum, static_cast(parent), static_cast(ff)); } char QProgressDialog_AutoClose(void* ptr) { return static_cast(ptr)->autoClose(); } char QProgressDialog_AutoReset(void* ptr) { return static_cast(ptr)->autoReset(); } void QProgressDialog_Cancel(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "cancel"); } void QProgressDialog_CancelDefault(void* ptr) { static_cast(ptr)->QProgressDialog::cancel(); } void QProgressDialog_ConnectCanceled(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QProgressDialog::canceled), static_cast(ptr), static_cast(&MyQProgressDialog::Signal_Canceled), static_cast(t)); } void QProgressDialog_DisconnectCanceled(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QProgressDialog::canceled), static_cast(ptr), static_cast(&MyQProgressDialog::Signal_Canceled)); } void QProgressDialog_Canceled(void* ptr) { static_cast(ptr)->canceled(); } void QProgressDialog_ForceShow(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "forceShow"); } void QProgressDialog_ForceShowDefault(void* ptr) { static_cast(ptr)->QProgressDialog::forceShow(); } struct QtWidgets_PackedString QProgressDialog_LabelText(void* ptr) { return ({ QByteArray* t2a151b = new QByteArray(static_cast(ptr)->labelText().toUtf8()); QtWidgets_PackedString { const_cast(t2a151b->prepend("WHITESPACE").constData()+10), t2a151b->size()-10, t2a151b }; }); } int QProgressDialog_Maximum(void* ptr) { return static_cast(ptr)->maximum(); } int QProgressDialog_Minimum(void* ptr) { return static_cast(ptr)->minimum(); } int QProgressDialog_MinimumDuration(void* ptr) { return static_cast(ptr)->minimumDuration(); } void QProgressDialog_Open(void* ptr, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } else { static_cast(ptr)->open(static_cast(receiver), const_cast(member)); } } void QProgressDialog_Reset(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "reset"); } void QProgressDialog_ResetDefault(void* ptr) { static_cast(ptr)->QProgressDialog::reset(); } void QProgressDialog_SetAutoClose(void* ptr, char close) { static_cast(ptr)->setAutoClose(close != 0); } void QProgressDialog_SetAutoReset(void* ptr, char reset) { static_cast(ptr)->setAutoReset(reset != 0); } void QProgressDialog_SetBar(void* ptr, void* bar) { static_cast(ptr)->setBar(static_cast(bar)); } void QProgressDialog_SetCancelButton(void* ptr, void* cancelButton) { static_cast(ptr)->setCancelButton(static_cast(cancelButton)); } void QProgressDialog_SetCancelButtonText(void* ptr, struct QtWidgets_PackedString cancelButtonText) { QMetaObject::invokeMethod(static_cast(ptr), "setCancelButtonText", Q_ARG(const QString, QString::fromUtf8(cancelButtonText.data, cancelButtonText.len))); } void QProgressDialog_SetCancelButtonTextDefault(void* ptr, struct QtWidgets_PackedString cancelButtonText) { static_cast(ptr)->QProgressDialog::setCancelButtonText(QString::fromUtf8(cancelButtonText.data, cancelButtonText.len)); } void QProgressDialog_SetLabel(void* ptr, void* label) { static_cast(ptr)->setLabel(static_cast(label)); } void QProgressDialog_SetLabelText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "setLabelText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QProgressDialog_SetLabelTextDefault(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->QProgressDialog::setLabelText(QString::fromUtf8(text.data, text.len)); } void QProgressDialog_SetMaximum(void* ptr, int maximum) { QMetaObject::invokeMethod(static_cast(ptr), "setMaximum", Q_ARG(int, maximum)); } void QProgressDialog_SetMaximumDefault(void* ptr, int maximum) { static_cast(ptr)->QProgressDialog::setMaximum(maximum); } void QProgressDialog_SetMinimum(void* ptr, int minimum) { QMetaObject::invokeMethod(static_cast(ptr), "setMinimum", Q_ARG(int, minimum)); } void QProgressDialog_SetMinimumDefault(void* ptr, int minimum) { static_cast(ptr)->QProgressDialog::setMinimum(minimum); } void QProgressDialog_SetMinimumDuration(void* ptr, int ms) { QMetaObject::invokeMethod(static_cast(ptr), "setMinimumDuration", Q_ARG(int, ms)); } void QProgressDialog_SetMinimumDurationDefault(void* ptr, int ms) { static_cast(ptr)->QProgressDialog::setMinimumDuration(ms); } void QProgressDialog_SetRange(void* ptr, int minimum, int maximum) { QMetaObject::invokeMethod(static_cast(ptr), "setRange", Q_ARG(int, minimum), Q_ARG(int, maximum)); } void QProgressDialog_SetRangeDefault(void* ptr, int minimum, int maximum) { static_cast(ptr)->QProgressDialog::setRange(minimum, maximum); } void QProgressDialog_SetValue(void* ptr, int progress) { QMetaObject::invokeMethod(static_cast(ptr), "setValue", Q_ARG(int, progress)); } void QProgressDialog_SetValueDefault(void* ptr, int progress) { static_cast(ptr)->QProgressDialog::setValue(progress); } int QProgressDialog_Value(void* ptr) { return static_cast(ptr)->value(); } char QProgressDialog_WasCanceled(void* ptr) { return static_cast(ptr)->wasCanceled(); } void QProgressDialog_DestroyQProgressDialog(void* ptr) { static_cast(ptr)->~QProgressDialog(); } void QProgressDialog_DestroyQProgressDialogDefault(void* ptr) { Q_UNUSED(ptr); } class MyQProxyStyle: public QProxyStyle { public: MyQProxyStyle(QStyle *style = Q_NULLPTR) : QProxyStyle(style) {QProxyStyle_QProxyStyle_QRegisterMetaType();}; MyQProxyStyle(const QString &key) : QProxyStyle(key) {QProxyStyle_QProxyStyle_QRegisterMetaType();}; void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget) const { callbackQCommonStyle_DrawComplexControl(const_cast(static_cast(this)), control, const_cast(option), painter, const_cast(widget)); }; void drawControl(QStyle::ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const { callbackQCommonStyle_DrawControl(const_cast(static_cast(this)), element, const_cast(option), painter, const_cast(widget)); }; void drawItemPixmap(QPainter * painter, const QRect & rect, int alignment, const QPixmap & pixmap) const { callbackQStyle_DrawItemPixmap(const_cast(static_cast(this)), painter, const_cast(&rect), alignment, const_cast(&pixmap)); }; void drawItemText(QPainter * painter, const QRect & rect, int flags, const QPalette & pal, bool enabled, const QString & text, QPalette::ColorRole textRole) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQStyle_DrawItemText(const_cast(static_cast(this)), painter, const_cast(&rect), flags, const_cast(&pal), enabled, textPacked, textRole); }; void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const { callbackQCommonStyle_DrawPrimitive(const_cast(static_cast(this)), element, const_cast(option), painter, const_cast(widget)); }; bool event(QEvent * e) { return callbackQStyle_Event(this, e) != 0; }; QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * opt) const { return *static_cast(callbackQCommonStyle_GeneratedIconPixmap(const_cast(static_cast(this)), iconMode, const_cast(&pixmap), const_cast(opt))); }; QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex * option, const QPoint & pos, const QWidget * widget) const { return static_cast(callbackQCommonStyle_HitTestComplexControl(const_cast(static_cast(this)), control, const_cast(option), const_cast(&pos), const_cast(widget))); }; QRect itemPixmapRect(const QRect & r, int flags, const QPixmap & pixmap) const { return *static_cast(callbackQStyle_ItemPixmapRect(const_cast(static_cast(this)), const_cast(&r), flags, const_cast(&pixmap))); }; QRect itemTextRect(const QFontMetrics & fm, const QRect & r, int flags, bool enabled, const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return *static_cast(callbackQStyle_ItemTextRect(const_cast(static_cast(this)), const_cast(&fm), const_cast(&r), flags, enabled, textPacked)); }; int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option, const QWidget * widget) const { return callbackQCommonStyle_LayoutSpacing(const_cast(static_cast(this)), control1, control2, orientation, const_cast(option), const_cast(widget)); }; int pixelMetric(QStyle::PixelMetric metric, const QStyleOption * option, const QWidget * widget) const { return callbackQCommonStyle_PixelMetric(const_cast(static_cast(this)), metric, const_cast(option), const_cast(widget)); }; void polish(QWidget * widget) { callbackQStyle_Polish(this, widget); }; void polish(QPalette & pal) { callbackQStyle_Polish2(this, static_cast(&pal)); }; void polish(QApplication * app) { callbackQStyle_Polish3(this, app); }; QSize sizeFromContents(QStyle::ContentsType ty, const QStyleOption * option, const QSize & size, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_SizeFromContents(const_cast(static_cast(this)), ty, const_cast(option), const_cast(&size), const_cast(widget))); }; QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption * option, const QWidget * widget) const { return *static_cast(callbackQProxyStyle_StandardIcon(const_cast(static_cast(this)), standardIcon, const_cast(option), const_cast(widget))); }; QPalette standardPalette() const { return *static_cast(callbackQStyle_StandardPalette(const_cast(static_cast(this)))); }; QPixmap standardPixmap(QStyle::StandardPixmap standardPixmap, const QStyleOption * opt, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_StandardPixmap(const_cast(static_cast(this)), standardPixmap, const_cast(opt), const_cast(widget))); }; int styleHint(QStyle::StyleHint hint, const QStyleOption * option, const QWidget * widget, QStyleHintReturn * returnData) const { return callbackQCommonStyle_StyleHint(const_cast(static_cast(this)), hint, const_cast(option), const_cast(widget), returnData); }; QRect subControlRect(QStyle::ComplexControl cc, const QStyleOptionComplex * option, QStyle::SubControl sc, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_SubControlRect(const_cast(static_cast(this)), cc, const_cast(option), sc, const_cast(widget))); }; QRect subElementRect(QStyle::SubElement element, const QStyleOption * option, const QWidget * widget) const { return *static_cast(callbackQCommonStyle_SubElementRect(const_cast(static_cast(this)), element, const_cast(option), const_cast(widget))); }; void unpolish(QWidget * widget) { callbackQStyle_Unpolish(this, widget); }; void unpolish(QApplication * app) { callbackQStyle_Unpolish2(this, app); }; ~MyQProxyStyle() { callbackQProxyStyle_DestroyQProxyStyle(this); }; void childEvent(QChildEvent * event) { callbackQStyle_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQStyle_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQStyle_CustomEvent(this, event); }; void deleteLater() { callbackQStyle_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQStyle_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQStyle_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQStyle_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQStyle_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQStyle_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQStyle_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QProxyStyle*) Q_DECLARE_METATYPE(MyQProxyStyle*) int QProxyStyle_QProxyStyle_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QProxyStyle_NewQProxyStyle(void* style) { return new MyQProxyStyle(static_cast(style)); } void* QProxyStyle_NewQProxyStyle2(struct QtWidgets_PackedString key) { return new MyQProxyStyle(QString::fromUtf8(key.data, key.len)); } void* QProxyStyle_BaseStyle(void* ptr) { return static_cast(ptr)->baseStyle(); } void QProxyStyle_SetBaseStyle(void* ptr, void* style) { static_cast(ptr)->setBaseStyle(static_cast(style)); } void* QProxyStyle_StandardIcon(void* ptr, long long standardIcon, void* option, void* widget) { return new QIcon(static_cast(ptr)->standardIcon(static_cast(standardIcon), static_cast(option), static_cast(widget))); } void* QProxyStyle_StandardIconDefault(void* ptr, long long standardIcon, void* option, void* widget) { return new QIcon(static_cast(ptr)->QProxyStyle::standardIcon(static_cast(standardIcon), static_cast(option), static_cast(widget))); } void QProxyStyle_DestroyQProxyStyle(void* ptr) { static_cast(ptr)->~QProxyStyle(); } void QProxyStyle_DestroyQProxyStyleDefault(void* ptr) { Q_UNUSED(ptr); } class MyQPushButton: public QPushButton { public: MyQPushButton(QWidget *parent = Q_NULLPTR) : QPushButton(parent) {QPushButton_QPushButton_QRegisterMetaType();}; MyQPushButton(const QString &text, QWidget *parent = Q_NULLPTR) : QPushButton(text, parent) {QPushButton_QPushButton_QRegisterMetaType();}; MyQPushButton(const QIcon &icon, const QString &text, QWidget *parent = Q_NULLPTR) : QPushButton(icon, text, parent) {QPushButton_QPushButton_QRegisterMetaType();}; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * vqp) { callbackQPushButton_PaintEvent(this, vqp); }; void showMenu() { callbackQPushButton_ShowMenu(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQPushButton() { callbackQPushButton_DestroyQPushButton(this); }; void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); }; void click() { callbackQAbstractButton_Click(this); }; void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); }; bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast(static_cast(this)), const_cast(&pos)) != 0; }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void nextCheckState() { callbackQAbstractButton_NextCheckState(this); }; void Signal_Pressed() { callbackQAbstractButton_Pressed(this); }; void Signal_Released() { callbackQAbstractButton_Released(this); }; void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); }; void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast(&size)); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void toggle() { callbackQAbstractButton_Toggle(this); }; void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QPushButton*) Q_DECLARE_METATYPE(MyQPushButton*) int QPushButton_QPushButton_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QPushButton_NewQPushButton(void* parent) { return new MyQPushButton(static_cast(parent)); } void* QPushButton_NewQPushButton2(struct QtWidgets_PackedString text, void* parent) { return new MyQPushButton(QString::fromUtf8(text.data, text.len), static_cast(parent)); } void* QPushButton_NewQPushButton3(void* icon, struct QtWidgets_PackedString text, void* parent) { return new MyQPushButton(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(parent)); } char QPushButton_AutoDefault(void* ptr) { return static_cast(ptr)->autoDefault(); } void QPushButton_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } char QPushButton_IsDefault(void* ptr) { return static_cast(ptr)->isDefault(); } char QPushButton_IsFlat(void* ptr) { return static_cast(ptr)->isFlat(); } void* QPushButton_Menu(void* ptr) { return static_cast(ptr)->menu(); } void QPushButton_PaintEvent(void* ptr, void* vqp) { static_cast(ptr)->paintEvent(static_cast(vqp)); } void QPushButton_PaintEventDefault(void* ptr, void* vqp) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::paintEvent(static_cast(vqp)); } else { static_cast(ptr)->QPushButton::paintEvent(static_cast(vqp)); } } void QPushButton_SetAutoDefault(void* ptr, char vbo) { static_cast(ptr)->setAutoDefault(vbo != 0); } void QPushButton_SetDefault(void* ptr, char vbo) { static_cast(ptr)->setDefault(vbo != 0); } void QPushButton_SetFlat(void* ptr, char vbo) { static_cast(ptr)->setFlat(vbo != 0); } void QPushButton_SetMenu(void* ptr, void* menu) { static_cast(ptr)->setMenu(static_cast(menu)); } void QPushButton_ShowMenu(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMenu"); } void QPushButton_ShowMenuDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::showMenu(); } else { static_cast(ptr)->QPushButton::showMenu(); } } void QPushButton_DestroyQPushButton(void* ptr) { static_cast(ptr)->~QPushButton(); } void QPushButton_DestroyQPushButtonDefault(void* ptr) { Q_UNUSED(ptr); } class MyQRadioButton: public QRadioButton { public: MyQRadioButton(QWidget *parent = Q_NULLPTR) : QRadioButton(parent) {QRadioButton_QRadioButton_QRegisterMetaType();}; MyQRadioButton(const QString &text, QWidget *parent = Q_NULLPTR) : QRadioButton(text, parent) {QRadioButton_QRadioButton_QRegisterMetaType();}; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast(static_cast(this)), const_cast(&pos)) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void paintEvent(QPaintEvent * vqp) { callbackQRadioButton_PaintEvent(this, vqp); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQRadioButton() { callbackQRadioButton_DestroyQRadioButton(this); }; void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); }; void click() { callbackQAbstractButton_Click(this); }; void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void nextCheckState() { callbackQAbstractButton_NextCheckState(this); }; void Signal_Pressed() { callbackQAbstractButton_Pressed(this); }; void Signal_Released() { callbackQAbstractButton_Released(this); }; void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); }; void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast(&size)); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void toggle() { callbackQAbstractButton_Toggle(this); }; void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QRadioButton*) Q_DECLARE_METATYPE(MyQRadioButton*) int QRadioButton_QRadioButton_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QRadioButton_NewQRadioButton(void* parent) { return new MyQRadioButton(static_cast(parent)); } void* QRadioButton_NewQRadioButton2(struct QtWidgets_PackedString text, void* parent) { return new MyQRadioButton(QString::fromUtf8(text.data, text.len), static_cast(parent)); } void QRadioButton_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } void QRadioButton_PaintEvent(void* ptr, void* vqp) { static_cast(ptr)->paintEvent(static_cast(vqp)); } void QRadioButton_PaintEventDefault(void* ptr, void* vqp) { static_cast(ptr)->QRadioButton::paintEvent(static_cast(vqp)); } void QRadioButton_DestroyQRadioButton(void* ptr) { static_cast(ptr)->~QRadioButton(); } void QRadioButton_DestroyQRadioButtonDefault(void* ptr) { Q_UNUSED(ptr); } class MyQRubberBand: public QRubberBand { public: MyQRubberBand(QRubberBand::Shape s, QWidget *p = Q_NULLPTR) : QRubberBand(s, p) {QRubberBand_QRubberBand_QRegisterMetaType();}; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void moveEvent(QMoveEvent * vqm) { callbackQWidget_MoveEvent(this, vqm); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); }; ~MyQRubberBand() { callbackQRubberBand_DestroyQRubberBand(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QRubberBand*) Q_DECLARE_METATYPE(MyQRubberBand*) int QRubberBand_QRubberBand_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QRubberBand_NewQRubberBand(long long s, void* p) { return new MyQRubberBand(static_cast(s), static_cast(p)); } void QRubberBand_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } long long QRubberBand_Shape(void* ptr) { return static_cast(ptr)->shape(); } void QRubberBand_DestroyQRubberBand(void* ptr) { static_cast(ptr)->~QRubberBand(); } void QRubberBand_DestroyQRubberBandDefault(void* ptr) { Q_UNUSED(ptr); } class MyQScrollArea: public QScrollArea { public: MyQScrollArea(QWidget *parent = Q_NULLPTR) : QScrollArea(parent) {QScrollArea_QScrollArea_QRegisterMetaType();}; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; ~MyQScrollArea() { callbackQScrollArea_DestroyQScrollArea(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QScrollArea*) Q_DECLARE_METATYPE(MyQScrollArea*) int QScrollArea_QScrollArea_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QScrollArea_NewQScrollArea(void* parent) { return new MyQScrollArea(static_cast(parent)); } long long QScrollArea_Alignment(void* ptr) { return static_cast(ptr)->alignment(); } void QScrollArea_EnsureVisible(void* ptr, int x, int y, int xmargin, int ymargin) { static_cast(ptr)->ensureVisible(x, y, xmargin, ymargin); } void QScrollArea_EnsureWidgetVisible(void* ptr, void* childWidget, int xmargin, int ymargin) { static_cast(ptr)->ensureWidgetVisible(static_cast(childWidget), xmargin, ymargin); } void QScrollArea_SetAlignment(void* ptr, long long vqt) { static_cast(ptr)->setAlignment(static_cast(vqt)); } void QScrollArea_SetWidget(void* ptr, void* widget) { static_cast(ptr)->setWidget(static_cast(widget)); } void QScrollArea_SetWidgetResizable(void* ptr, char resizable) { static_cast(ptr)->setWidgetResizable(resizable != 0); } void* QScrollArea_TakeWidget(void* ptr) { return static_cast(ptr)->takeWidget(); } void* QScrollArea_Widget(void* ptr) { return static_cast(ptr)->widget(); } char QScrollArea_WidgetResizable(void* ptr) { return static_cast(ptr)->widgetResizable(); } void QScrollArea_DestroyQScrollArea(void* ptr) { static_cast(ptr)->~QScrollArea(); } void QScrollArea_DestroyQScrollAreaDefault(void* ptr) { Q_UNUSED(ptr); } class MyQScrollBar: public QScrollBar { public: MyQScrollBar(QWidget *parent = Q_NULLPTR) : QScrollBar(parent) {QScrollBar_QScrollBar_QRegisterMetaType();}; MyQScrollBar(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QScrollBar(orientation, parent) {QScrollBar_QScrollBar_QRegisterMetaType();}; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void hideEvent(QHideEvent * vqh) { callbackQWidget_HideEvent(this, vqh); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void sliderChange(QAbstractSlider::SliderChange change) { callbackQAbstractSlider_SliderChange(this, change); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; ~MyQScrollBar() { callbackQScrollBar_DestroyQScrollBar(this); }; void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); }; void Signal_RangeChanged(int min, int max) { callbackQAbstractSlider_RangeChanged(this, min, max); }; void setOrientation(Qt::Orientation vqt) { callbackQAbstractSlider_SetOrientation(this, vqt); }; void setRange(int min, int max) { callbackQAbstractSlider_SetRange(this, min, max); }; void setValue(int vin) { callbackQAbstractSlider_SetValue(this, vin); }; void Signal_SliderMoved(int value) { callbackQAbstractSlider_SliderMoved(this, value); }; void Signal_SliderPressed() { callbackQAbstractSlider_SliderPressed(this); }; void Signal_SliderReleased() { callbackQAbstractSlider_SliderReleased(this); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void Signal_ValueChanged(int value) { callbackQAbstractSlider_ValueChanged(this, value); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QScrollBar*) Q_DECLARE_METATYPE(MyQScrollBar*) int QScrollBar_QScrollBar_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QScrollBar_NewQScrollBar(void* parent) { return new MyQScrollBar(static_cast(parent)); } void* QScrollBar_NewQScrollBar2(long long orientation, void* parent) { return new MyQScrollBar(static_cast(orientation), static_cast(parent)); } void QScrollBar_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } void QScrollBar_DestroyQScrollBar(void* ptr) { static_cast(ptr)->~QScrollBar(); } void QScrollBar_DestroyQScrollBarDefault(void* ptr) { Q_UNUSED(ptr); } class MyQScroller: public QScroller { public: void ensureVisible(const QRectF & rect, qreal xmargin, qreal ymargin) { callbackQScroller_EnsureVisible(this, const_cast(&rect), xmargin, ymargin); }; void ensureVisible(const QRectF & rect, qreal xmargin, qreal ymargin, int scrollTime) { callbackQScroller_EnsureVisible2(this, const_cast(&rect), xmargin, ymargin, scrollTime); }; void resendPrepareEvent() { callbackQScroller_ResendPrepareEvent(this); }; void scrollTo(const QPointF & pos) { callbackQScroller_ScrollTo(this, const_cast(&pos)); }; void scrollTo(const QPointF & pos, int scrollTime) { callbackQScroller_ScrollTo2(this, const_cast(&pos), scrollTime); }; void Signal_ScrollerPropertiesChanged(const QScrollerProperties & newProperties) { callbackQScroller_ScrollerPropertiesChanged(this, const_cast(&newProperties)); }; void setScrollerProperties(const QScrollerProperties & prop) { callbackQScroller_SetScrollerProperties(this, const_cast(&prop)); }; void Signal_StateChanged(QScroller::State newState) { callbackQScroller_StateChanged(this, newState); }; void childEvent(QChildEvent * event) { callbackQScroller_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQScroller_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQScroller_CustomEvent(this, event); }; void deleteLater() { callbackQScroller_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQScroller_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQScroller_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQScroller_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQScroller_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQScroller_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQScroller_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQScroller_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QScroller*) Q_DECLARE_METATYPE(MyQScroller*) int QScroller_QScroller_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} struct QtWidgets_PackedList QScroller_QScroller_ActiveScrollers() { return ({ QList* tmpValue3b5996 = new QList(QScroller::activeScrollers()); QtWidgets_PackedList { tmpValue3b5996, tmpValue3b5996->size() }; }); } void QScroller_EnsureVisible(void* ptr, void* rect, double xmargin, double ymargin) { QMetaObject::invokeMethod(static_cast(ptr), "ensureVisible", Q_ARG(const QRectF, *static_cast(rect)), Q_ARG(qreal, xmargin), Q_ARG(qreal, ymargin)); } void QScroller_EnsureVisibleDefault(void* ptr, void* rect, double xmargin, double ymargin) { static_cast(ptr)->QScroller::ensureVisible(*static_cast(rect), xmargin, ymargin); } void QScroller_EnsureVisible2(void* ptr, void* rect, double xmargin, double ymargin, int scrollTime) { QMetaObject::invokeMethod(static_cast(ptr), "ensureVisible", Q_ARG(const QRectF, *static_cast(rect)), Q_ARG(qreal, xmargin), Q_ARG(qreal, ymargin), Q_ARG(int, scrollTime)); } void QScroller_EnsureVisible2Default(void* ptr, void* rect, double xmargin, double ymargin, int scrollTime) { static_cast(ptr)->QScroller::ensureVisible(*static_cast(rect), xmargin, ymargin, scrollTime); } void* QScroller_FinalPosition(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->finalPosition(); new QPointF(tmpValue.x(), tmpValue.y()); }); } long long QScroller_QScroller_GrabGesture(void* target, long long scrollGestureType) { if (dynamic_cast(static_cast(target))) { return QScroller::grabGesture(static_cast(target), static_cast(scrollGestureType)); } else if (dynamic_cast(static_cast(target))) { return QScroller::grabGesture(static_cast(target), static_cast(scrollGestureType)); } else if (dynamic_cast(static_cast(target))) { return QScroller::grabGesture(static_cast(target), static_cast(scrollGestureType)); } else if (dynamic_cast(static_cast(target))) { return QScroller::grabGesture(static_cast(target), static_cast(scrollGestureType)); } else { return QScroller::grabGesture(static_cast(target), static_cast(scrollGestureType)); } } long long QScroller_QScroller_GrabbedGesture(void* target) { if (dynamic_cast(static_cast(target))) { return QScroller::grabbedGesture(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::grabbedGesture(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::grabbedGesture(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::grabbedGesture(static_cast(target)); } else { return QScroller::grabbedGesture(static_cast(target)); } } char QScroller_HandleInput(void* ptr, long long input, void* position, long long timestamp) { return static_cast(ptr)->handleInput(static_cast(input), *static_cast(position), timestamp); } char QScroller_QScroller_HasScroller(void* target) { if (dynamic_cast(static_cast(target))) { return QScroller::hasScroller(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::hasScroller(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::hasScroller(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::hasScroller(static_cast(target)); } else { return QScroller::hasScroller(static_cast(target)); } } void* QScroller_PixelPerMeter(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->pixelPerMeter(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QScroller_ResendPrepareEvent(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resendPrepareEvent"); } void QScroller_ResendPrepareEventDefault(void* ptr) { static_cast(ptr)->QScroller::resendPrepareEvent(); } void QScroller_ScrollTo(void* ptr, void* pos) { QMetaObject::invokeMethod(static_cast(ptr), "scrollTo", Q_ARG(const QPointF, *static_cast(pos))); } void QScroller_ScrollToDefault(void* ptr, void* pos) { static_cast(ptr)->QScroller::scrollTo(*static_cast(pos)); } void QScroller_ScrollTo2(void* ptr, void* pos, int scrollTime) { QMetaObject::invokeMethod(static_cast(ptr), "scrollTo", Q_ARG(const QPointF, *static_cast(pos)), Q_ARG(int, scrollTime)); } void QScroller_ScrollTo2Default(void* ptr, void* pos, int scrollTime) { static_cast(ptr)->QScroller::scrollTo(*static_cast(pos), scrollTime); } void* QScroller_QScroller_Scroller(void* target) { if (dynamic_cast(static_cast(target))) { return QScroller::scroller(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::scroller(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::scroller(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { return QScroller::scroller(static_cast(target)); } else { return QScroller::scroller(static_cast(target)); } } void* QScroller_QScroller_Scroller2(void* target) { if (dynamic_cast(static_cast(target))) { return const_cast(QScroller::scroller(static_cast(target))); } else if (dynamic_cast(static_cast(target))) { return const_cast(QScroller::scroller(static_cast(target))); } else if (dynamic_cast(static_cast(target))) { return const_cast(QScroller::scroller(static_cast(target))); } else if (dynamic_cast(static_cast(target))) { return const_cast(QScroller::scroller(static_cast(target))); } else { return const_cast(QScroller::scroller(static_cast(target))); } } void* QScroller_ScrollerProperties(void* ptr) { return new QScrollerProperties(static_cast(ptr)->scrollerProperties()); } void QScroller_ConnectScrollerPropertiesChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QScroller::scrollerPropertiesChanged), static_cast(ptr), static_cast(&MyQScroller::Signal_ScrollerPropertiesChanged), static_cast(t)); } void QScroller_DisconnectScrollerPropertiesChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QScroller::scrollerPropertiesChanged), static_cast(ptr), static_cast(&MyQScroller::Signal_ScrollerPropertiesChanged)); } void QScroller_ScrollerPropertiesChanged(void* ptr, void* newProperties) { static_cast(ptr)->scrollerPropertiesChanged(*static_cast(newProperties)); } void QScroller_SetScrollerProperties(void* ptr, void* prop) { QMetaObject::invokeMethod(static_cast(ptr), "setScrollerProperties", Q_ARG(const QScrollerProperties, *static_cast(prop))); } void QScroller_SetScrollerPropertiesDefault(void* ptr, void* prop) { static_cast(ptr)->QScroller::setScrollerProperties(*static_cast(prop)); } void QScroller_SetSnapPositionsX(void* ptr, void* positions) { static_cast(ptr)->setSnapPositionsX(*static_cast*>(positions)); } void QScroller_SetSnapPositionsX2(void* ptr, double first, double interval) { static_cast(ptr)->setSnapPositionsX(first, interval); } void QScroller_SetSnapPositionsY(void* ptr, void* positions) { static_cast(ptr)->setSnapPositionsY(*static_cast*>(positions)); } void QScroller_SetSnapPositionsY2(void* ptr, double first, double interval) { static_cast(ptr)->setSnapPositionsY(first, interval); } long long QScroller_State(void* ptr) { return static_cast(ptr)->state(); } void QScroller_ConnectStateChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QScroller::stateChanged), static_cast(ptr), static_cast(&MyQScroller::Signal_StateChanged), static_cast(t)); } void QScroller_DisconnectStateChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QScroller::stateChanged), static_cast(ptr), static_cast(&MyQScroller::Signal_StateChanged)); } void QScroller_StateChanged(void* ptr, long long newState) { static_cast(ptr)->stateChanged(static_cast(newState)); } void QScroller_Stop(void* ptr) { static_cast(ptr)->stop(); } void* QScroller_Target(void* ptr) { return static_cast(ptr)->target(); } void QScroller_QScroller_UngrabGesture(void* target) { if (dynamic_cast(static_cast(target))) { QScroller::ungrabGesture(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { QScroller::ungrabGesture(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { QScroller::ungrabGesture(static_cast(target)); } else if (dynamic_cast(static_cast(target))) { QScroller::ungrabGesture(static_cast(target)); } else { QScroller::ungrabGesture(static_cast(target)); } } void* QScroller_Velocity(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->velocity(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void* QScroller___activeScrollers_atList(void* ptr, int i) { return ({QScroller * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QScroller___activeScrollers_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QScroller___activeScrollers_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } double QScroller___setSnapPositionsX_positions_atList(void* ptr, int i) { return ({qreal tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QScroller___setSnapPositionsX_positions_setList(void* ptr, double i) { static_cast*>(ptr)->append(i); } void* QScroller___setSnapPositionsX_positions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } double QScroller___setSnapPositionsY_positions_atList(void* ptr, int i) { return ({qreal tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QScroller___setSnapPositionsY_positions_setList(void* ptr, double i) { static_cast*>(ptr)->append(i); } void* QScroller___setSnapPositionsY_positions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QScroller___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QScroller___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QScroller___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QScroller___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QScroller___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QScroller___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QScroller___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QScroller___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QScroller___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QScroller___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QScroller___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QScroller___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QScroller_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QScroller::childEvent(static_cast(event)); } void QScroller_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QScroller::connectNotify(*static_cast(sign)); } void QScroller_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QScroller::customEvent(static_cast(event)); } void QScroller_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QScroller::deleteLater(); } void QScroller_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QScroller::disconnectNotify(*static_cast(sign)); } char QScroller_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QScroller::event(static_cast(e)); } char QScroller_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScroller::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScroller::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScroller::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScroller::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QScroller::eventFilter(static_cast(watched), static_cast(event)); } } void* QScroller_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QScroller::metaObject()); } void QScroller_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QScroller::timerEvent(static_cast(event)); } class MyQScrollerProperties: public QScrollerProperties { public: MyQScrollerProperties() : QScrollerProperties() {QScrollerProperties_QScrollerProperties_QRegisterMetaType();}; MyQScrollerProperties(const QScrollerProperties &sp) : QScrollerProperties(sp) {QScrollerProperties_QScrollerProperties_QRegisterMetaType();}; ~MyQScrollerProperties() { callbackQScrollerProperties_DestroyQScrollerProperties(this); }; }; Q_DECLARE_METATYPE(QScrollerProperties*) Q_DECLARE_METATYPE(MyQScrollerProperties*) int QScrollerProperties_QScrollerProperties_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QScrollerProperties_NewQScrollerProperties() { return new MyQScrollerProperties(); } void* QScrollerProperties_NewQScrollerProperties2(void* sp) { return new MyQScrollerProperties(*static_cast(sp)); } void* QScrollerProperties_ScrollMetric(void* ptr, long long metric) { return new QVariant(static_cast(ptr)->scrollMetric(static_cast(metric))); } void QScrollerProperties_QScrollerProperties_SetDefaultScrollerProperties(void* sp) { QScrollerProperties::setDefaultScrollerProperties(*static_cast(sp)); } void QScrollerProperties_SetScrollMetric(void* ptr, long long metric, void* value) { static_cast(ptr)->setScrollMetric(static_cast(metric), *static_cast(value)); } void QScrollerProperties_QScrollerProperties_UnsetDefaultScrollerProperties() { QScrollerProperties::unsetDefaultScrollerProperties(); } void QScrollerProperties_DestroyQScrollerProperties(void* ptr) { static_cast(ptr)->~QScrollerProperties(); } void QScrollerProperties_DestroyQScrollerPropertiesDefault(void* ptr) { Q_UNUSED(ptr); } class MyQShortcut: public QShortcut { public: MyQShortcut(QWidget *parent) : QShortcut(parent) {QShortcut_QShortcut_QRegisterMetaType();}; MyQShortcut(const QKeySequence &key, QWidget *parent, const char *member = Q_NULLPTR, const char *ambiguousMember = Q_NULLPTR, Qt::ShortcutContext context = Qt::WindowShortcut) : QShortcut(key, parent, member, ambiguousMember, context) {QShortcut_QShortcut_QRegisterMetaType();}; void Signal_Activated() { callbackQShortcut_Activated(this); }; void Signal_ActivatedAmbiguously() { callbackQShortcut_ActivatedAmbiguously(this); }; ~MyQShortcut() { callbackQShortcut_DestroyQShortcut(this); }; void childEvent(QChildEvent * event) { callbackQShortcut_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQShortcut_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQShortcut_CustomEvent(this, event); }; void deleteLater() { callbackQShortcut_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQShortcut_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQShortcut_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQShortcut_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQShortcut_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQShortcut_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQShortcut_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQShortcut_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QShortcut*) Q_DECLARE_METATYPE(MyQShortcut*) int QShortcut_QShortcut_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QShortcut_NewQShortcut(void* parent) { return new MyQShortcut(static_cast(parent)); } void* QShortcut_NewQShortcut2(void* key, void* parent, char* member, char* ambiguousMember, long long context) { return new MyQShortcut(*static_cast(key), static_cast(parent), const_cast(member), const_cast(ambiguousMember), static_cast(context)); } void QShortcut_ConnectActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QShortcut::activated), static_cast(ptr), static_cast(&MyQShortcut::Signal_Activated), static_cast(t)); } void QShortcut_DisconnectActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QShortcut::activated), static_cast(ptr), static_cast(&MyQShortcut::Signal_Activated)); } void QShortcut_Activated(void* ptr) { static_cast(ptr)->activated(); } void QShortcut_ConnectActivatedAmbiguously(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QShortcut::activatedAmbiguously), static_cast(ptr), static_cast(&MyQShortcut::Signal_ActivatedAmbiguously), static_cast(t)); } void QShortcut_DisconnectActivatedAmbiguously(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QShortcut::activatedAmbiguously), static_cast(ptr), static_cast(&MyQShortcut::Signal_ActivatedAmbiguously)); } void QShortcut_ActivatedAmbiguously(void* ptr) { static_cast(ptr)->activatedAmbiguously(); } char QShortcut_AutoRepeat(void* ptr) { return static_cast(ptr)->autoRepeat(); } long long QShortcut_Context(void* ptr) { return static_cast(ptr)->context(); } int QShortcut_Id(void* ptr) { return static_cast(ptr)->id(); } char QShortcut_IsEnabled(void* ptr) { return static_cast(ptr)->isEnabled(); } void* QShortcut_Key(void* ptr) { return new QKeySequence(static_cast(ptr)->key()); } void* QShortcut_ParentWidget(void* ptr) { return static_cast(ptr)->parentWidget(); } void QShortcut_SetAutoRepeat(void* ptr, char on) { static_cast(ptr)->setAutoRepeat(on != 0); } void QShortcut_SetContext(void* ptr, long long context) { static_cast(ptr)->setContext(static_cast(context)); } void QShortcut_SetEnabled(void* ptr, char enable) { static_cast(ptr)->setEnabled(enable != 0); } void QShortcut_SetKey(void* ptr, void* key) { static_cast(ptr)->setKey(*static_cast(key)); } void QShortcut_SetWhatsThis(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setWhatsThis(QString::fromUtf8(text.data, text.len)); } struct QtWidgets_PackedString QShortcut_WhatsThis(void* ptr) { return ({ QByteArray* t714906 = new QByteArray(static_cast(ptr)->whatsThis().toUtf8()); QtWidgets_PackedString { const_cast(t714906->prepend("WHITESPACE").constData()+10), t714906->size()-10, t714906 }; }); } void QShortcut_DestroyQShortcut(void* ptr) { static_cast(ptr)->~QShortcut(); } void QShortcut_DestroyQShortcutDefault(void* ptr) { Q_UNUSED(ptr); } void* QShortcut___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QShortcut___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QShortcut___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QShortcut___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QShortcut___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QShortcut___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QShortcut___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QShortcut___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QShortcut___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QShortcut___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QShortcut___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QShortcut___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QShortcut_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QShortcut::childEvent(static_cast(event)); } void QShortcut_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QShortcut::connectNotify(*static_cast(sign)); } void QShortcut_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QShortcut::customEvent(static_cast(event)); } void QShortcut_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QShortcut::deleteLater(); } void QShortcut_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QShortcut::disconnectNotify(*static_cast(sign)); } char QShortcut_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QShortcut::event(static_cast(e)); } char QShortcut_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QShortcut::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QShortcut::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QShortcut::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QShortcut::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QShortcut::eventFilter(static_cast(watched), static_cast(event)); } } void* QShortcut_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QShortcut::metaObject()); } void QShortcut_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QShortcut::timerEvent(static_cast(event)); } class MyQSizeGrip: public QSizeGrip { public: MyQSizeGrip(QWidget *parent) : QSizeGrip(parent) {QSizeGrip_QSizeGrip_QRegisterMetaType();}; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; void hideEvent(QHideEvent * hideEvent) { callbackQWidget_HideEvent(this, hideEvent); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * mouseEvent) { callbackQWidget_MouseReleaseEvent(this, mouseEvent); }; void moveEvent(QMoveEvent * moveEvent) { callbackQWidget_MoveEvent(this, moveEvent); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void setVisible(bool visible) { callbackQSizeGrip_SetVisible(this, visible); }; void showEvent(QShowEvent * showEvent) { callbackQWidget_ShowEvent(this, showEvent); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQSizeGrip() { callbackQSizeGrip_DestroyQSizeGrip(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QSizeGrip*) Q_DECLARE_METATYPE(MyQSizeGrip*) int QSizeGrip_QSizeGrip_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QSizeGrip_NewQSizeGrip(void* parent) { return new MyQSizeGrip(static_cast(parent)); } void QSizeGrip_SetVisible(void* ptr, char visible) { static_cast(ptr)->setVisible(visible != 0); } void QSizeGrip_SetVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QSizeGrip::setVisible(visible != 0); } void QSizeGrip_DestroyQSizeGrip(void* ptr) { static_cast(ptr)->~QSizeGrip(); } void QSizeGrip_DestroyQSizeGripDefault(void* ptr) { Q_UNUSED(ptr); } Q_DECLARE_METATYPE(QSizePolicy) Q_DECLARE_METATYPE(QSizePolicy*) void* QSizePolicy_NewQSizePolicy() { return new QSizePolicy(); } void* QSizePolicy_NewQSizePolicy2(long long horizontal, long long vertical, long long ty) { return new QSizePolicy(static_cast(horizontal), static_cast(vertical), static_cast(ty)); } long long QSizePolicy_ControlType(void* ptr) { return static_cast(ptr)->controlType(); } long long QSizePolicy_ExpandingDirections(void* ptr) { return static_cast(ptr)->expandingDirections(); } char QSizePolicy_HasHeightForWidth(void* ptr) { return static_cast(ptr)->hasHeightForWidth(); } char QSizePolicy_HasWidthForHeight(void* ptr) { return static_cast(ptr)->hasWidthForHeight(); } long long QSizePolicy_HorizontalPolicy(void* ptr) { return static_cast(ptr)->horizontalPolicy(); } int QSizePolicy_HorizontalStretch(void* ptr) { return static_cast(ptr)->horizontalStretch(); } char QSizePolicy_RetainSizeWhenHidden(void* ptr) { return static_cast(ptr)->retainSizeWhenHidden(); } void QSizePolicy_SetControlType(void* ptr, long long ty) { static_cast(ptr)->setControlType(static_cast(ty)); } void QSizePolicy_SetHeightForWidth(void* ptr, char dependent) { static_cast(ptr)->setHeightForWidth(dependent != 0); } void QSizePolicy_SetHorizontalPolicy(void* ptr, long long policy) { static_cast(ptr)->setHorizontalPolicy(static_cast(policy)); } void QSizePolicy_SetHorizontalStretch(void* ptr, int stretchFactor) { static_cast(ptr)->setHorizontalStretch(stretchFactor); } void QSizePolicy_SetRetainSizeWhenHidden(void* ptr, char retainSize) { static_cast(ptr)->setRetainSizeWhenHidden(retainSize != 0); } void QSizePolicy_SetVerticalPolicy(void* ptr, long long policy) { static_cast(ptr)->setVerticalPolicy(static_cast(policy)); } void QSizePolicy_SetVerticalStretch(void* ptr, int stretchFactor) { static_cast(ptr)->setVerticalStretch(stretchFactor); } void QSizePolicy_SetWidthForHeight(void* ptr, char dependent) { static_cast(ptr)->setWidthForHeight(dependent != 0); } void QSizePolicy_Transpose(void* ptr) { static_cast(ptr)->transpose(); } void* QSizePolicy_Transposed(void* ptr) { return new QSizePolicy(static_cast(ptr)->transposed()); } long long QSizePolicy_VerticalPolicy(void* ptr) { return static_cast(ptr)->verticalPolicy(); } int QSizePolicy_VerticalStretch(void* ptr) { return static_cast(ptr)->verticalStretch(); } class MyQSlider: public QSlider { public: MyQSlider(QWidget *parent = Q_NULLPTR) : QSlider(parent) {QSlider_QSlider_QRegisterMetaType();}; MyQSlider(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QSlider(orientation, parent) {QSlider_QSlider_QRegisterMetaType();}; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * ev) { callbackQWidget_MouseMoveEvent(this, ev); }; void mousePressEvent(QMouseEvent * ev) { callbackQWidget_MousePressEvent(this, ev); }; void mouseReleaseEvent(QMouseEvent * ev) { callbackQWidget_MouseReleaseEvent(this, ev); }; void paintEvent(QPaintEvent * ev) { callbackQWidget_PaintEvent(this, ev); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQSlider() { callbackQSlider_DestroyQSlider(this); }; void Signal_ActionTriggered(int action) { callbackQAbstractSlider_ActionTriggered(this, action); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); }; void Signal_RangeChanged(int min, int max) { callbackQAbstractSlider_RangeChanged(this, min, max); }; void setOrientation(Qt::Orientation vqt) { callbackQAbstractSlider_SetOrientation(this, vqt); }; void setRange(int min, int max) { callbackQAbstractSlider_SetRange(this, min, max); }; void setValue(int vin) { callbackQAbstractSlider_SetValue(this, vin); }; void sliderChange(QAbstractSlider::SliderChange change) { callbackQAbstractSlider_SliderChange(this, change); }; void Signal_SliderMoved(int value) { callbackQAbstractSlider_SliderMoved(this, value); }; void Signal_SliderPressed() { callbackQAbstractSlider_SliderPressed(this); }; void Signal_SliderReleased() { callbackQAbstractSlider_SliderReleased(this); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void Signal_ValueChanged(int value) { callbackQAbstractSlider_ValueChanged(this, value); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QSlider*) Q_DECLARE_METATYPE(MyQSlider*) int QSlider_QSlider_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QSlider_NewQSlider(void* parent) { return new MyQSlider(static_cast(parent)); } void* QSlider_NewQSlider2(long long orientation, void* parent) { return new MyQSlider(static_cast(orientation), static_cast(parent)); } void QSlider_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } void QSlider_SetTickInterval(void* ptr, int ti) { static_cast(ptr)->setTickInterval(ti); } void QSlider_SetTickPosition(void* ptr, long long position) { static_cast(ptr)->setTickPosition(static_cast(position)); } int QSlider_TickInterval(void* ptr) { return static_cast(ptr)->tickInterval(); } long long QSlider_TickPosition(void* ptr) { return static_cast(ptr)->tickPosition(); } void QSlider_DestroyQSlider(void* ptr) { static_cast(ptr)->~QSlider(); } void QSlider_DestroyQSliderDefault(void* ptr) { Q_UNUSED(ptr); } class MyQSpacerItem: public QSpacerItem { public: MyQSpacerItem(int w, int h, QSizePolicy::Policy hPolicy = QSizePolicy::Minimum, QSizePolicy::Policy vPolicy = QSizePolicy::Minimum) : QSpacerItem(w, h, hPolicy, vPolicy) {QSpacerItem_QSpacerItem_QRegisterMetaType();}; Qt::Orientations expandingDirections() const { return static_cast(callbackQSpacerItem_ExpandingDirections(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQSpacerItem_Geometry(const_cast(static_cast(this)))); }; bool isEmpty() const { return callbackQSpacerItem_IsEmpty(const_cast(static_cast(this))) != 0; }; QSize maximumSize() const { return *static_cast(callbackQSpacerItem_MaximumSize(const_cast(static_cast(this)))); }; QSize minimumSize() const { return *static_cast(callbackQSpacerItem_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & r) { callbackQSpacerItem_SetGeometry(this, const_cast(&r)); }; QSize sizeHint() const { return *static_cast(callbackQSpacerItem_SizeHint(const_cast(static_cast(this)))); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; ~MyQSpacerItem() { callbackQSpacerItem_DestroyQSpacerItem(this); }; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int vin) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), vin); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; }; Q_DECLARE_METATYPE(QSpacerItem*) Q_DECLARE_METATYPE(MyQSpacerItem*) int QSpacerItem_QSpacerItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QSpacerItem_NewQSpacerItem(int w, int h, long long hPolicy, long long vPolicy) { return new MyQSpacerItem(w, h, static_cast(hPolicy), static_cast(vPolicy)); } void QSpacerItem_ChangeSize(void* ptr, int w, int h, long long hPolicy, long long vPolicy) { static_cast(ptr)->changeSize(w, h, static_cast(hPolicy), static_cast(vPolicy)); } long long QSpacerItem_ExpandingDirections(void* ptr) { return static_cast(ptr)->expandingDirections(); } long long QSpacerItem_ExpandingDirectionsDefault(void* ptr) { return static_cast(ptr)->QSpacerItem::expandingDirections(); } void* QSpacerItem_Geometry(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QSpacerItem_GeometryDefault(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->QSpacerItem::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } char QSpacerItem_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } char QSpacerItem_IsEmptyDefault(void* ptr) { return static_cast(ptr)->QSpacerItem::isEmpty(); } void* QSpacerItem_MaximumSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QSpacerItem_MaximumSizeDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QSpacerItem::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QSpacerItem_MinimumSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QSpacerItem_MinimumSizeDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QSpacerItem::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QSpacerItem_SetGeometry(void* ptr, void* r) { static_cast(ptr)->setGeometry(*static_cast(r)); } void QSpacerItem_SetGeometryDefault(void* ptr, void* r) { static_cast(ptr)->QSpacerItem::setGeometry(*static_cast(r)); } void* QSpacerItem_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QSpacerItem_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QSpacerItem::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QSpacerItem_SizePolicy(void* ptr) { return new QSizePolicy(static_cast(ptr)->sizePolicy()); } void QSpacerItem_DestroyQSpacerItem(void* ptr) { static_cast(ptr)->~QSpacerItem(); } void QSpacerItem_DestroyQSpacerItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQSpinBox: public QSpinBox { public: MyQSpinBox(QWidget *parent = Q_NULLPTR) : QSpinBox(parent) {QSpinBox_QSpinBox_QRegisterMetaType();}; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void fixup(QString & input) const { QByteArray* t140f86 = new QByteArray(input.toUtf8()); QtWidgets_PackedString inputPacked = { const_cast(t140f86->prepend("WHITESPACE").constData()+10), t140f86->size()-10, t140f86 };callbackQAbstractSpinBox_Fixup(const_cast(static_cast(this)), inputPacked); }; void setValue(int val) { callbackQSpinBox_SetValue(this, val); }; QString textFromValue(int value) const { return ({ QtWidgets_PackedString tempVal = callbackQSpinBox_TextFromValue(const_cast(static_cast(this)), value); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; QValidator::State validate(QString & text, int & pos) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return static_cast(callbackQAbstractSpinBox_Validate(const_cast(static_cast(this)), textPacked, pos)); }; void Signal_ValueChanged(int i) { callbackQSpinBox_ValueChanged(this, i); }; void Signal_ValueChanged2(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQSpinBox_ValueChanged2(this, textPacked); }; int valueFromText(const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return callbackQSpinBox_ValueFromText(const_cast(static_cast(this)), textPacked); }; ~MyQSpinBox() { callbackQSpinBox_DestroyQSpinBox(this); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void clear() { callbackQAbstractSpinBox_Clear(this); }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void selectAll() { callbackQAbstractSpinBox_SelectAll(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); }; void stepDown() { callbackQAbstractSpinBox_StepDown(this); }; QAbstractSpinBox::StepEnabled stepEnabled() const { return static_cast(callbackQAbstractSpinBox_StepEnabled(const_cast(static_cast(this)))); }; void stepUp() { callbackQAbstractSpinBox_StepUp(this); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QSpinBox*) Q_DECLARE_METATYPE(MyQSpinBox*) int QSpinBox_QSpinBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QSpinBox_NewQSpinBox(void* parent) { return new MyQSpinBox(static_cast(parent)); } struct QtWidgets_PackedString QSpinBox_CleanText(void* ptr) { return ({ QByteArray* t9d04b9 = new QByteArray(static_cast(ptr)->cleanText().toUtf8()); QtWidgets_PackedString { const_cast(t9d04b9->prepend("WHITESPACE").constData()+10), t9d04b9->size()-10, t9d04b9 }; }); } int QSpinBox_DisplayIntegerBase(void* ptr) { return static_cast(ptr)->displayIntegerBase(); } int QSpinBox_Maximum(void* ptr) { return static_cast(ptr)->maximum(); } int QSpinBox_Minimum(void* ptr) { return static_cast(ptr)->minimum(); } struct QtWidgets_PackedString QSpinBox_Prefix(void* ptr) { return ({ QByteArray* t9d23c1 = new QByteArray(static_cast(ptr)->prefix().toUtf8()); QtWidgets_PackedString { const_cast(t9d23c1->prepend("WHITESPACE").constData()+10), t9d23c1->size()-10, t9d23c1 }; }); } void QSpinBox_SetDisplayIntegerBase(void* ptr, int base) { static_cast(ptr)->setDisplayIntegerBase(base); } void QSpinBox_SetMaximum(void* ptr, int max) { static_cast(ptr)->setMaximum(max); } void QSpinBox_SetMinimum(void* ptr, int min) { static_cast(ptr)->setMinimum(min); } void QSpinBox_SetPrefix(void* ptr, struct QtWidgets_PackedString prefix) { static_cast(ptr)->setPrefix(QString::fromUtf8(prefix.data, prefix.len)); } void QSpinBox_SetRange(void* ptr, int minimum, int maximum) { static_cast(ptr)->setRange(minimum, maximum); } void QSpinBox_SetSingleStep(void* ptr, int val) { static_cast(ptr)->setSingleStep(val); } void QSpinBox_SetStepType(void* ptr, long long stepType) { static_cast(ptr)->setStepType(static_cast(stepType)); } void QSpinBox_SetSuffix(void* ptr, struct QtWidgets_PackedString suffix) { static_cast(ptr)->setSuffix(QString::fromUtf8(suffix.data, suffix.len)); } void QSpinBox_SetValue(void* ptr, int val) { QMetaObject::invokeMethod(static_cast(ptr), "setValue", Q_ARG(int, val)); } void QSpinBox_SetValueDefault(void* ptr, int val) { static_cast(ptr)->QSpinBox::setValue(val); } int QSpinBox_SingleStep(void* ptr) { return static_cast(ptr)->singleStep(); } long long QSpinBox_StepType(void* ptr) { return static_cast(ptr)->stepType(); } struct QtWidgets_PackedString QSpinBox_Suffix(void* ptr) { return ({ QByteArray* t38bf82 = new QByteArray(static_cast(ptr)->suffix().toUtf8()); QtWidgets_PackedString { const_cast(t38bf82->prepend("WHITESPACE").constData()+10), t38bf82->size()-10, t38bf82 }; }); } struct QtWidgets_PackedString QSpinBox_TextFromValue(void* ptr, int value) { return ({ QByteArray* tf53a0d = new QByteArray(static_cast(ptr)->textFromValue(value).toUtf8()); QtWidgets_PackedString { const_cast(tf53a0d->prepend("WHITESPACE").constData()+10), tf53a0d->size()-10, tf53a0d }; }); } struct QtWidgets_PackedString QSpinBox_TextFromValueDefault(void* ptr, int value) { return ({ QByteArray* td11815 = new QByteArray(static_cast(ptr)->QSpinBox::textFromValue(value).toUtf8()); QtWidgets_PackedString { const_cast(td11815->prepend("WHITESPACE").constData()+10), td11815->size()-10, td11815 }; }); } int QSpinBox_Value(void* ptr) { return static_cast(ptr)->value(); } void QSpinBox_ConnectValueChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QSpinBox::valueChanged), static_cast(ptr), static_cast(&MyQSpinBox::Signal_ValueChanged), static_cast(t)); } void QSpinBox_DisconnectValueChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSpinBox::valueChanged), static_cast(ptr), static_cast(&MyQSpinBox::Signal_ValueChanged)); } void QSpinBox_ValueChanged(void* ptr, int i) { static_cast(ptr)->valueChanged(i); } void QSpinBox_ConnectValueChanged2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QSpinBox::valueChanged), static_cast(ptr), static_cast(&MyQSpinBox::Signal_ValueChanged2), static_cast(t)); } void QSpinBox_DisconnectValueChanged2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSpinBox::valueChanged), static_cast(ptr), static_cast(&MyQSpinBox::Signal_ValueChanged2)); } void QSpinBox_ValueChanged2(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->valueChanged(QString::fromUtf8(text.data, text.len)); } int QSpinBox_ValueFromText(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->valueFromText(QString::fromUtf8(text.data, text.len)); } int QSpinBox_ValueFromTextDefault(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->QSpinBox::valueFromText(QString::fromUtf8(text.data, text.len)); } void QSpinBox_DestroyQSpinBox(void* ptr) { static_cast(ptr)->~QSpinBox(); } void QSpinBox_DestroyQSpinBoxDefault(void* ptr) { Q_UNUSED(ptr); } class MyQSplashScreen: public QSplashScreen { public: MyQSplashScreen(const QPixmap &pixmap = QPixmap(), Qt::WindowFlags ff = Qt::WindowFlags()) : QSplashScreen(pixmap, ff) {QSplashScreen_QSplashScreen_QRegisterMetaType();}; MyQSplashScreen(QWidget *parent, const QPixmap &pixmap = QPixmap(), Qt::WindowFlags ff = Qt::WindowFlags()) : QSplashScreen(parent, pixmap, ff) {QSplashScreen_QSplashScreen_QRegisterMetaType();}; void clearMessage() { callbackQSplashScreen_ClearMessage(this); }; void drawContents(QPainter * painter) { callbackQSplashScreen_DrawContents(this, painter); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void Signal_MessageChanged(const QString & message) { QByteArray* t6f9b9a = new QByteArray(message.toUtf8()); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a->prepend("WHITESPACE").constData()+10), t6f9b9a->size()-10, t6f9b9a };callbackQSplashScreen_MessageChanged(this, messagePacked); }; void mousePressEvent(QMouseEvent * vqm) { callbackQWidget_MousePressEvent(this, vqm); }; void showMessage(const QString & message, int alignment, const QColor & color) { QByteArray* t6f9b9a = new QByteArray(message.toUtf8()); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a->prepend("WHITESPACE").constData()+10), t6f9b9a->size()-10, t6f9b9a };callbackQSplashScreen_ShowMessage(this, messagePacked, alignment, const_cast(&color)); }; ~MyQSplashScreen() { callbackQSplashScreen_DestroyQSplashScreen(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QSplashScreen*) Q_DECLARE_METATYPE(MyQSplashScreen*) int QSplashScreen_QSplashScreen_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QSplashScreen_NewQSplashScreen(void* pixmap, long long ff) { return new MyQSplashScreen(*static_cast(pixmap), static_cast(ff)); } void* QSplashScreen_NewQSplashScreen2(void* parent, void* pixmap, long long ff) { return new MyQSplashScreen(static_cast(parent), *static_cast(pixmap), static_cast(ff)); } void QSplashScreen_ClearMessage(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clearMessage"); } void QSplashScreen_ClearMessageDefault(void* ptr) { static_cast(ptr)->QSplashScreen::clearMessage(); } void QSplashScreen_DrawContents(void* ptr, void* painter) { static_cast(ptr)->drawContents(static_cast(painter)); } void QSplashScreen_DrawContentsDefault(void* ptr, void* painter) { static_cast(ptr)->QSplashScreen::drawContents(static_cast(painter)); } void QSplashScreen_Finish(void* ptr, void* mainWin) { static_cast(ptr)->finish(static_cast(mainWin)); } struct QtWidgets_PackedString QSplashScreen_Message(void* ptr) { return ({ QByteArray* tbae626 = new QByteArray(static_cast(ptr)->message().toUtf8()); QtWidgets_PackedString { const_cast(tbae626->prepend("WHITESPACE").constData()+10), tbae626->size()-10, tbae626 }; }); } void QSplashScreen_ConnectMessageChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QSplashScreen::messageChanged), static_cast(ptr), static_cast(&MyQSplashScreen::Signal_MessageChanged), static_cast(t)); } void QSplashScreen_DisconnectMessageChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSplashScreen::messageChanged), static_cast(ptr), static_cast(&MyQSplashScreen::Signal_MessageChanged)); } void QSplashScreen_MessageChanged(void* ptr, struct QtWidgets_PackedString message) { static_cast(ptr)->messageChanged(QString::fromUtf8(message.data, message.len)); } void* QSplashScreen_Pixmap(void* ptr) { return new QPixmap(static_cast(ptr)->pixmap()); } void QSplashScreen_Repaint(void* ptr) { static_cast(ptr)->repaint(); } void QSplashScreen_SetPixmap(void* ptr, void* pixmap) { static_cast(ptr)->setPixmap(*static_cast(pixmap)); } void QSplashScreen_ShowMessage(void* ptr, struct QtWidgets_PackedString message, int alignment, void* color) { QMetaObject::invokeMethod(static_cast(ptr), "showMessage", Q_ARG(const QString, QString::fromUtf8(message.data, message.len)), Q_ARG(int, alignment), Q_ARG(const QColor, *static_cast(color))); } void QSplashScreen_ShowMessageDefault(void* ptr, struct QtWidgets_PackedString message, int alignment, void* color) { static_cast(ptr)->QSplashScreen::showMessage(QString::fromUtf8(message.data, message.len), alignment, *static_cast(color)); } void QSplashScreen_DestroyQSplashScreen(void* ptr) { static_cast(ptr)->~QSplashScreen(); } void QSplashScreen_DestroyQSplashScreenDefault(void* ptr) { Q_UNUSED(ptr); } class MyQSplitter: public QSplitter { public: MyQSplitter(QWidget *parent = Q_NULLPTR) : QSplitter(parent) {QSplitter_QSplitter_QRegisterMetaType();}; MyQSplitter(Qt::Orientation orientation, QWidget *parent = Q_NULLPTR) : QSplitter(orientation, parent) {QSplitter_QSplitter_QRegisterMetaType();}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void childEvent(QChildEvent * c) { callbackQWidget_ChildEvent(this, c); }; QSplitterHandle * createHandle() { return static_cast(callbackQSplitter_CreateHandle(this)); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_SplitterMoved(int pos, int index) { callbackQSplitter_SplitterMoved(this, pos, index); }; ~MyQSplitter() { callbackQSplitter_DestroyQSplitter(this); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QSplitter*) Q_DECLARE_METATYPE(MyQSplitter*) int QSplitter_QSplitter_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QSplitter_NewQSplitter(void* parent) { return new MyQSplitter(static_cast(parent)); } void* QSplitter_NewQSplitter2(long long orientation, void* parent) { return new MyQSplitter(static_cast(orientation), static_cast(parent)); } void QSplitter_AddWidget(void* ptr, void* widget) { static_cast(ptr)->addWidget(static_cast(widget)); } char QSplitter_ChildrenCollapsible(void* ptr) { return static_cast(ptr)->childrenCollapsible(); } int QSplitter_ClosestLegalPosition(void* ptr, int pos, int index) { return static_cast(ptr)->closestLegalPosition(pos, index); } int QSplitter_Count(void* ptr) { return static_cast(ptr)->count(); } void* QSplitter_CreateHandle(void* ptr) { return static_cast(ptr)->createHandle(); } void* QSplitter_CreateHandleDefault(void* ptr) { return static_cast(ptr)->QSplitter::createHandle(); } void QSplitter_GetRange(void* ptr, int index, int min, int max) { static_cast(ptr)->getRange(index, &min, &max); } void* QSplitter_Handle(void* ptr, int index) { return static_cast(ptr)->handle(index); } int QSplitter_HandleWidth(void* ptr) { return static_cast(ptr)->handleWidth(); } int QSplitter_IndexOf(void* ptr, void* widget) { return static_cast(ptr)->indexOf(static_cast(widget)); } void QSplitter_InsertWidget(void* ptr, int index, void* widget) { static_cast(ptr)->insertWidget(index, static_cast(widget)); } char QSplitter_IsCollapsible(void* ptr, int index) { return static_cast(ptr)->isCollapsible(index); } void QSplitter_MoveSplitter(void* ptr, int pos, int index) { static_cast(ptr)->moveSplitter(pos, index); } char QSplitter_OpaqueResize(void* ptr) { return static_cast(ptr)->opaqueResize(); } long long QSplitter_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void QSplitter_Refresh(void* ptr) { static_cast(ptr)->refresh(); } void* QSplitter_ReplaceWidget(void* ptr, int index, void* widget) { return static_cast(ptr)->replaceWidget(index, static_cast(widget)); } char QSplitter_RestoreState(void* ptr, void* state) { return static_cast(ptr)->restoreState(*static_cast(state)); } void* QSplitter_SaveState(void* ptr) { return new QByteArray(static_cast(ptr)->saveState()); } void QSplitter_SetChildrenCollapsible(void* ptr, char vbo) { static_cast(ptr)->setChildrenCollapsible(vbo != 0); } void QSplitter_SetCollapsible(void* ptr, int index, char collapse) { static_cast(ptr)->setCollapsible(index, collapse != 0); } void QSplitter_SetHandleWidth(void* ptr, int vin) { static_cast(ptr)->setHandleWidth(vin); } void QSplitter_SetOpaqueResize(void* ptr, char opaque) { static_cast(ptr)->setOpaqueResize(opaque != 0); } void QSplitter_SetOrientation(void* ptr, long long vqt) { static_cast(ptr)->setOrientation(static_cast(vqt)); } void QSplitter_SetRubberBand(void* ptr, int pos) { static_cast(ptr)->setRubberBand(pos); } void QSplitter_SetSizes(void* ptr, void* list) { static_cast(ptr)->setSizes(*static_cast*>(list)); } void QSplitter_SetStretchFactor(void* ptr, int index, int stretch) { static_cast(ptr)->setStretchFactor(index, stretch); } struct QtWidgets_PackedList QSplitter_Sizes(void* ptr) { return ({ QList* tmpValue8bae9b = new QList(static_cast(ptr)->sizes()); QtWidgets_PackedList { tmpValue8bae9b, tmpValue8bae9b->size() }; }); } void QSplitter_ConnectSplitterMoved(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QSplitter::splitterMoved), static_cast(ptr), static_cast(&MyQSplitter::Signal_SplitterMoved), static_cast(t)); } void QSplitter_DisconnectSplitterMoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSplitter::splitterMoved), static_cast(ptr), static_cast(&MyQSplitter::Signal_SplitterMoved)); } void QSplitter_SplitterMoved(void* ptr, int pos, int index) { static_cast(ptr)->splitterMoved(pos, index); } void* QSplitter_Widget(void* ptr, int index) { return static_cast(ptr)->widget(index); } void QSplitter_DestroyQSplitter(void* ptr) { static_cast(ptr)->~QSplitter(); } void QSplitter_DestroyQSplitterDefault(void* ptr) { Q_UNUSED(ptr); } int QSplitter___setSizes_list_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QSplitter___setSizes_list_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QSplitter___setSizes_list_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QSplitter___sizes_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QSplitter___sizes_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QSplitter___sizes_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQSplitterHandle: public QSplitterHandle { public: MyQSplitterHandle(Qt::Orientation orientation, QSplitter *parent) : QSplitterHandle(orientation, parent) {QSplitterHandle_QSplitterHandle_QRegisterMetaType();}; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; ~MyQSplitterHandle() { callbackQSplitterHandle_DestroyQSplitterHandle(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QSplitterHandle*) Q_DECLARE_METATYPE(MyQSplitterHandle*) int QSplitterHandle_QSplitterHandle_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QSplitterHandle_NewQSplitterHandle(long long orientation, void* parent) { return new MyQSplitterHandle(static_cast(orientation), static_cast(parent)); } int QSplitterHandle_ClosestLegalPosition(void* ptr, int pos) { return static_cast(ptr)->closestLegalPosition(pos); } void QSplitterHandle_MoveSplitter(void* ptr, int pos) { static_cast(ptr)->moveSplitter(pos); } char QSplitterHandle_OpaqueResize(void* ptr) { return static_cast(ptr)->opaqueResize(); } long long QSplitterHandle_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void QSplitterHandle_SetOrientation(void* ptr, long long orientation) { static_cast(ptr)->setOrientation(static_cast(orientation)); } void* QSplitterHandle_Splitter(void* ptr) { return static_cast(ptr)->splitter(); } void QSplitterHandle_DestroyQSplitterHandle(void* ptr) { static_cast(ptr)->~QSplitterHandle(); } void QSplitterHandle_DestroyQSplitterHandleDefault(void* ptr) { Q_UNUSED(ptr); } class MyQStackedLayout: public QStackedLayout { public: MyQStackedLayout() : QStackedLayout() {QStackedLayout_QStackedLayout_QRegisterMetaType();}; MyQStackedLayout(QWidget *parent) : QStackedLayout(parent) {QStackedLayout_QStackedLayout_QRegisterMetaType();}; MyQStackedLayout(QLayout *parentLayout) : QStackedLayout(parentLayout) {QStackedLayout_QStackedLayout_QRegisterMetaType();}; void addItem(QLayoutItem * item) { callbackQStackedLayout_AddItem(this, item); }; int count() const { return callbackQStackedLayout_Count(const_cast(static_cast(this))); }; void Signal_CurrentChanged(int index) { callbackQStackedLayout_CurrentChanged(this, index); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int width) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), width); }; QLayoutItem * itemAt(int index) const { return static_cast(callbackQStackedLayout_ItemAt(const_cast(static_cast(this)), index)); }; QSize minimumSize() const { return *static_cast(callbackQLayout_MinimumSize(const_cast(static_cast(this)))); }; void setCurrentIndex(int index) { callbackQStackedLayout_SetCurrentIndex(this, index); }; void setCurrentWidget(QWidget * widget) { callbackQStackedLayout_SetCurrentWidget(this, widget); }; void setGeometry(const QRect & rect) { callbackQLayout_SetGeometry(this, const_cast(&rect)); }; QSize sizeHint() const { return *static_cast(callbackQStackedLayout_SizeHint(const_cast(static_cast(this)))); }; QLayoutItem * takeAt(int index) { return static_cast(callbackQStackedLayout_TakeAt(this, index)); }; void Signal_WidgetRemoved(int index) { callbackQStackedLayout_WidgetRemoved(this, index); }; ~MyQStackedLayout() { callbackQStackedLayout_DestroyQStackedLayout(this); }; void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); }; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQLayout_ExpandingDirections(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQLayout_Geometry(const_cast(static_cast(this)))); }; int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast(static_cast(this)), widget); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast(static_cast(this))) != 0; }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; QSize maximumSize() const { return *static_cast(callbackQLayout_MaximumSize(const_cast(static_cast(this)))); }; void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); }; void deleteLater() { callbackQLayout_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQLayout_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQLayout_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; }; Q_DECLARE_METATYPE(QStackedLayout*) Q_DECLARE_METATYPE(MyQStackedLayout*) int QStackedLayout_QStackedLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QStackedLayout_NewQStackedLayout() { return new MyQStackedLayout(); } void* QStackedLayout_NewQStackedLayout2(void* parent) { return new MyQStackedLayout(static_cast(parent)); } void* QStackedLayout_NewQStackedLayout3(void* parentLayout) { return new MyQStackedLayout(static_cast(parentLayout)); } void QStackedLayout_AddItem(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->addItem(static_cast(item)); } else { static_cast(ptr)->addItem(static_cast(item)); } } void QStackedLayout_AddItemDefault(void* ptr, void* item) { if (dynamic_cast(static_cast(item))) { static_cast(ptr)->QStackedLayout::addItem(static_cast(item)); } else { static_cast(ptr)->QStackedLayout::addItem(static_cast(item)); } } int QStackedLayout_AddWidget(void* ptr, void* widget) { return static_cast(ptr)->addWidget(static_cast(widget)); } int QStackedLayout_Count(void* ptr) { return static_cast(ptr)->count(); } int QStackedLayout_CountDefault(void* ptr) { return static_cast(ptr)->QStackedLayout::count(); } void QStackedLayout_ConnectCurrentChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QStackedLayout::currentChanged), static_cast(ptr), static_cast(&MyQStackedLayout::Signal_CurrentChanged), static_cast(t)); } void QStackedLayout_DisconnectCurrentChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QStackedLayout::currentChanged), static_cast(ptr), static_cast(&MyQStackedLayout::Signal_CurrentChanged)); } void QStackedLayout_CurrentChanged(void* ptr, int index) { static_cast(ptr)->currentChanged(index); } int QStackedLayout_CurrentIndex(void* ptr) { return static_cast(ptr)->currentIndex(); } void* QStackedLayout_CurrentWidget(void* ptr) { return static_cast(ptr)->currentWidget(); } int QStackedLayout_InsertWidget(void* ptr, int index, void* widget) { return static_cast(ptr)->insertWidget(index, static_cast(widget)); } void* QStackedLayout_ItemAt(void* ptr, int index) { return static_cast(ptr)->itemAt(index); } void* QStackedLayout_ItemAtDefault(void* ptr, int index) { return static_cast(ptr)->QStackedLayout::itemAt(index); } void QStackedLayout_SetCurrentIndex(void* ptr, int index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(int, index)); } void QStackedLayout_SetCurrentIndexDefault(void* ptr, int index) { static_cast(ptr)->QStackedLayout::setCurrentIndex(index); } void QStackedLayout_SetCurrentWidget(void* ptr, void* widget) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentWidget", Q_ARG(QWidget*, static_cast(widget))); } void QStackedLayout_SetCurrentWidgetDefault(void* ptr, void* widget) { static_cast(ptr)->QStackedLayout::setCurrentWidget(static_cast(widget)); } void QStackedLayout_SetStackingMode(void* ptr, long long stackingMode) { static_cast(ptr)->setStackingMode(static_cast(stackingMode)); } void* QStackedLayout_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QStackedLayout_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QStackedLayout::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } long long QStackedLayout_StackingMode(void* ptr) { return static_cast(ptr)->stackingMode(); } void* QStackedLayout_TakeAt(void* ptr, int index) { return static_cast(ptr)->takeAt(index); } void* QStackedLayout_TakeAtDefault(void* ptr, int index) { return static_cast(ptr)->QStackedLayout::takeAt(index); } void* QStackedLayout_Widget(void* ptr, int index) { return static_cast(ptr)->widget(index); } void QStackedLayout_ConnectWidgetRemoved(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QStackedLayout::widgetRemoved), static_cast(ptr), static_cast(&MyQStackedLayout::Signal_WidgetRemoved), static_cast(t)); } void QStackedLayout_DisconnectWidgetRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QStackedLayout::widgetRemoved), static_cast(ptr), static_cast(&MyQStackedLayout::Signal_WidgetRemoved)); } void QStackedLayout_WidgetRemoved(void* ptr, int index) { static_cast(ptr)->widgetRemoved(index); } void QStackedLayout_DestroyQStackedLayout(void* ptr) { static_cast(ptr)->~QStackedLayout(); } void QStackedLayout_DestroyQStackedLayoutDefault(void* ptr) { Q_UNUSED(ptr); } class MyQStackedWidget: public QStackedWidget { public: MyQStackedWidget(QWidget *parent = Q_NULLPTR) : QStackedWidget(parent) {QStackedWidget_QStackedWidget_QRegisterMetaType();}; void Signal_CurrentChanged(int index) { callbackQStackedWidget_CurrentChanged(this, index); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void setCurrentIndex(int index) { callbackQStackedWidget_SetCurrentIndex(this, index); }; void setCurrentWidget(QWidget * widget) { callbackQStackedWidget_SetCurrentWidget(this, widget); }; void Signal_WidgetRemoved(int index) { callbackQStackedWidget_WidgetRemoved(this, index); }; ~MyQStackedWidget() { callbackQStackedWidget_DestroyQStackedWidget(this); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QStackedWidget*) Q_DECLARE_METATYPE(MyQStackedWidget*) int QStackedWidget_QStackedWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QStackedWidget_NewQStackedWidget(void* parent) { return new MyQStackedWidget(static_cast(parent)); } int QStackedWidget_AddWidget(void* ptr, void* widget) { return static_cast(ptr)->addWidget(static_cast(widget)); } int QStackedWidget_Count(void* ptr) { return static_cast(ptr)->count(); } void QStackedWidget_ConnectCurrentChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QStackedWidget::currentChanged), static_cast(ptr), static_cast(&MyQStackedWidget::Signal_CurrentChanged), static_cast(t)); } void QStackedWidget_DisconnectCurrentChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QStackedWidget::currentChanged), static_cast(ptr), static_cast(&MyQStackedWidget::Signal_CurrentChanged)); } void QStackedWidget_CurrentChanged(void* ptr, int index) { static_cast(ptr)->currentChanged(index); } int QStackedWidget_CurrentIndex(void* ptr) { return static_cast(ptr)->currentIndex(); } void* QStackedWidget_CurrentWidget(void* ptr) { return static_cast(ptr)->currentWidget(); } int QStackedWidget_IndexOf(void* ptr, void* widget) { return static_cast(ptr)->indexOf(static_cast(widget)); } int QStackedWidget_InsertWidget(void* ptr, int index, void* widget) { return static_cast(ptr)->insertWidget(index, static_cast(widget)); } void QStackedWidget_RemoveWidget(void* ptr, void* widget) { static_cast(ptr)->removeWidget(static_cast(widget)); } void QStackedWidget_SetCurrentIndex(void* ptr, int index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(int, index)); } void QStackedWidget_SetCurrentIndexDefault(void* ptr, int index) { static_cast(ptr)->QStackedWidget::setCurrentIndex(index); } void QStackedWidget_SetCurrentWidget(void* ptr, void* widget) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentWidget", Q_ARG(QWidget*, static_cast(widget))); } void QStackedWidget_SetCurrentWidgetDefault(void* ptr, void* widget) { static_cast(ptr)->QStackedWidget::setCurrentWidget(static_cast(widget)); } void* QStackedWidget_Widget(void* ptr, int index) { return static_cast(ptr)->widget(index); } void QStackedWidget_ConnectWidgetRemoved(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QStackedWidget::widgetRemoved), static_cast(ptr), static_cast(&MyQStackedWidget::Signal_WidgetRemoved), static_cast(t)); } void QStackedWidget_DisconnectWidgetRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QStackedWidget::widgetRemoved), static_cast(ptr), static_cast(&MyQStackedWidget::Signal_WidgetRemoved)); } void QStackedWidget_WidgetRemoved(void* ptr, int index) { static_cast(ptr)->widgetRemoved(index); } void QStackedWidget_DestroyQStackedWidget(void* ptr) { static_cast(ptr)->~QStackedWidget(); } void QStackedWidget_DestroyQStackedWidgetDefault(void* ptr) { Q_UNUSED(ptr); } class MyQStatusBar: public QStatusBar { public: MyQStatusBar(QWidget *parent = Q_NULLPTR) : QStatusBar(parent) {QStatusBar_QStatusBar_QRegisterMetaType();}; void clearMessage() { callbackQStatusBar_ClearMessage(this); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void Signal_MessageChanged(const QString & message) { QByteArray* t6f9b9a = new QByteArray(message.toUtf8()); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a->prepend("WHITESPACE").constData()+10), t6f9b9a->size()-10, t6f9b9a };callbackQStatusBar_MessageChanged(this, messagePacked); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); }; void showMessage(const QString & message, int timeout) { QByteArray* t6f9b9a = new QByteArray(message.toUtf8()); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a->prepend("WHITESPACE").constData()+10), t6f9b9a->size()-10, t6f9b9a };callbackQStatusBar_ShowMessage(this, messagePacked, timeout); }; ~MyQStatusBar() { callbackQStatusBar_DestroyQStatusBar(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QStatusBar*) Q_DECLARE_METATYPE(MyQStatusBar*) int QStatusBar_QStatusBar_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QStatusBar_NewQStatusBar(void* parent) { return new MyQStatusBar(static_cast(parent)); } void QStatusBar_AddPermanentWidget(void* ptr, void* widget, int stretch) { static_cast(ptr)->addPermanentWidget(static_cast(widget), stretch); } void QStatusBar_AddWidget(void* ptr, void* widget, int stretch) { static_cast(ptr)->addWidget(static_cast(widget), stretch); } void QStatusBar_ClearMessage(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clearMessage"); } void QStatusBar_ClearMessageDefault(void* ptr) { static_cast(ptr)->QStatusBar::clearMessage(); } struct QtWidgets_PackedString QStatusBar_CurrentMessage(void* ptr) { return ({ QByteArray* t40367b = new QByteArray(static_cast(ptr)->currentMessage().toUtf8()); QtWidgets_PackedString { const_cast(t40367b->prepend("WHITESPACE").constData()+10), t40367b->size()-10, t40367b }; }); } void QStatusBar_HideOrShow(void* ptr) { static_cast(ptr)->hideOrShow(); } int QStatusBar_InsertPermanentWidget(void* ptr, int index, void* widget, int stretch) { return static_cast(ptr)->insertPermanentWidget(index, static_cast(widget), stretch); } int QStatusBar_InsertWidget(void* ptr, int index, void* widget, int stretch) { return static_cast(ptr)->insertWidget(index, static_cast(widget), stretch); } char QStatusBar_IsSizeGripEnabled(void* ptr) { return static_cast(ptr)->isSizeGripEnabled(); } void QStatusBar_ConnectMessageChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QStatusBar::messageChanged), static_cast(ptr), static_cast(&MyQStatusBar::Signal_MessageChanged), static_cast(t)); } void QStatusBar_DisconnectMessageChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QStatusBar::messageChanged), static_cast(ptr), static_cast(&MyQStatusBar::Signal_MessageChanged)); } void QStatusBar_MessageChanged(void* ptr, struct QtWidgets_PackedString message) { static_cast(ptr)->messageChanged(QString::fromUtf8(message.data, message.len)); } void QStatusBar_Reformat(void* ptr) { static_cast(ptr)->reformat(); } void QStatusBar_RemoveWidget(void* ptr, void* widget) { static_cast(ptr)->removeWidget(static_cast(widget)); } void QStatusBar_SetSizeGripEnabled(void* ptr, char vbo) { static_cast(ptr)->setSizeGripEnabled(vbo != 0); } void QStatusBar_ShowMessage(void* ptr, struct QtWidgets_PackedString message, int timeout) { QMetaObject::invokeMethod(static_cast(ptr), "showMessage", Q_ARG(const QString, QString::fromUtf8(message.data, message.len)), Q_ARG(int, timeout)); } void QStatusBar_ShowMessageDefault(void* ptr, struct QtWidgets_PackedString message, int timeout) { static_cast(ptr)->QStatusBar::showMessage(QString::fromUtf8(message.data, message.len), timeout); } void QStatusBar_DestroyQStatusBar(void* ptr) { static_cast(ptr)->~QStatusBar(); } void QStatusBar_DestroyQStatusBarDefault(void* ptr) { Q_UNUSED(ptr); } class MyQStyle: public QStyle { public: MyQStyle() : QStyle() {QStyle_QStyle_QRegisterMetaType();}; void drawComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex * option, QPainter * painter, const QWidget * widget) const { callbackQStyle_DrawComplexControl(const_cast(static_cast(this)), control, const_cast(option), painter, const_cast(widget)); }; void drawControl(QStyle::ControlElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const { callbackQStyle_DrawControl(const_cast(static_cast(this)), element, const_cast(option), painter, const_cast(widget)); }; void drawItemPixmap(QPainter * painter, const QRect & rectangle, int alignment, const QPixmap & pixmap) const { callbackQStyle_DrawItemPixmap(const_cast(static_cast(this)), painter, const_cast(&rectangle), alignment, const_cast(&pixmap)); }; void drawItemText(QPainter * painter, const QRect & rectangle, int alignment, const QPalette & palette, bool enabled, const QString & text, QPalette::ColorRole textRole) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQStyle_DrawItemText(const_cast(static_cast(this)), painter, const_cast(&rectangle), alignment, const_cast(&palette), enabled, textPacked, textRole); }; void drawPrimitive(QStyle::PrimitiveElement element, const QStyleOption * option, QPainter * painter, const QWidget * widget) const { callbackQStyle_DrawPrimitive(const_cast(static_cast(this)), element, const_cast(option), painter, const_cast(widget)); }; QPixmap generatedIconPixmap(QIcon::Mode iconMode, const QPixmap & pixmap, const QStyleOption * option) const { return *static_cast(callbackQStyle_GeneratedIconPixmap(const_cast(static_cast(this)), iconMode, const_cast(&pixmap), const_cast(option))); }; QStyle::SubControl hitTestComplexControl(QStyle::ComplexControl control, const QStyleOptionComplex * option, const QPoint & position, const QWidget * widget) const { return static_cast(callbackQStyle_HitTestComplexControl(const_cast(static_cast(this)), control, const_cast(option), const_cast(&position), const_cast(widget))); }; QRect itemPixmapRect(const QRect & rectangle, int alignment, const QPixmap & pixmap) const { return *static_cast(callbackQStyle_ItemPixmapRect(const_cast(static_cast(this)), const_cast(&rectangle), alignment, const_cast(&pixmap))); }; QRect itemTextRect(const QFontMetrics & metrics, const QRect & rectangle, int alignment, bool enabled, const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return *static_cast(callbackQStyle_ItemTextRect(const_cast(static_cast(this)), const_cast(&metrics), const_cast(&rectangle), alignment, enabled, textPacked)); }; int layoutSpacing(QSizePolicy::ControlType control1, QSizePolicy::ControlType control2, Qt::Orientation orientation, const QStyleOption * option, const QWidget * widget) const { return callbackQStyle_LayoutSpacing(const_cast(static_cast(this)), control1, control2, orientation, const_cast(option), const_cast(widget)); }; int pixelMetric(QStyle::PixelMetric metric, const QStyleOption * option, const QWidget * widget) const { return callbackQStyle_PixelMetric(const_cast(static_cast(this)), metric, const_cast(option), const_cast(widget)); }; void polish(QWidget * widget) { callbackQStyle_Polish(this, widget); }; void polish(QApplication * application) { callbackQStyle_Polish2(this, application); }; void polish(QPalette & palette) { callbackQStyle_Polish3(this, static_cast(&palette)); }; QSize sizeFromContents(QStyle::ContentsType ty, const QStyleOption * option, const QSize & contentsSize, const QWidget * widget) const { return *static_cast(callbackQStyle_SizeFromContents(const_cast(static_cast(this)), ty, const_cast(option), const_cast(&contentsSize), const_cast(widget))); }; QIcon standardIcon(QStyle::StandardPixmap standardIcon, const QStyleOption * option, const QWidget * widget) const { return *static_cast(callbackQStyle_StandardIcon(const_cast(static_cast(this)), standardIcon, const_cast(option), const_cast(widget))); }; QPalette standardPalette() const { return *static_cast(callbackQStyle_StandardPalette(const_cast(static_cast(this)))); }; int styleHint(QStyle::StyleHint hint, const QStyleOption * option, const QWidget * widget, QStyleHintReturn * returnData) const { return callbackQStyle_StyleHint(const_cast(static_cast(this)), hint, const_cast(option), const_cast(widget), returnData); }; QRect subControlRect(QStyle::ComplexControl control, const QStyleOptionComplex * option, QStyle::SubControl subControl, const QWidget * widget) const { return *static_cast(callbackQStyle_SubControlRect(const_cast(static_cast(this)), control, const_cast(option), subControl, const_cast(widget))); }; QRect subElementRect(QStyle::SubElement element, const QStyleOption * option, const QWidget * widget) const { return *static_cast(callbackQStyle_SubElementRect(const_cast(static_cast(this)), element, const_cast(option), const_cast(widget))); }; void unpolish(QWidget * widget) { callbackQStyle_Unpolish(this, widget); }; void unpolish(QApplication * application) { callbackQStyle_Unpolish2(this, application); }; ~MyQStyle() { callbackQStyle_DestroyQStyle(this); }; QPixmap standardPixmap(QStyle::StandardPixmap standardIcon, const QStyleOption * option, const QWidget * widget) const { return *static_cast(callbackQStyle_StandardPixmap(const_cast(static_cast(this)), standardIcon, const_cast(option), const_cast(widget))); }; void childEvent(QChildEvent * event) { callbackQStyle_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQStyle_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQStyle_CustomEvent(this, event); }; void deleteLater() { callbackQStyle_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQStyle_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQStyle_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQStyle_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQStyle_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQStyle_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQStyle_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQStyle_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QStyle*) Q_DECLARE_METATYPE(MyQStyle*) int QStyle_QStyle_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QStyle_NewQStyle2() { return new MyQStyle(); } void* QStyle_QStyle_AlignedRect(long long direction, long long alignment, void* size, void* rectangle) { return ({ QRect tmpValue = QStyle::alignedRect(static_cast(direction), static_cast(alignment), *static_cast(size), *static_cast(rectangle)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QStyle_CombinedLayoutSpacing(void* ptr, long long controls1, long long controls2, long long orientation, void* option, void* widget) { return static_cast(ptr)->combinedLayoutSpacing(static_cast(controls1), static_cast(controls2), static_cast(orientation), static_cast(option), static_cast(widget)); } void QStyle_DrawComplexControl(void* ptr, long long control, void* option, void* painter, void* widget) { static_cast(ptr)->drawComplexControl(static_cast(control), static_cast(option), static_cast(painter), static_cast(widget)); } void QStyle_DrawControl(void* ptr, long long element, void* option, void* painter, void* widget) { static_cast(ptr)->drawControl(static_cast(element), static_cast(option), static_cast(painter), static_cast(widget)); } void QStyle_DrawItemPixmap(void* ptr, void* painter, void* rectangle, int alignment, void* pixmap) { static_cast(ptr)->drawItemPixmap(static_cast(painter), *static_cast(rectangle), alignment, *static_cast(pixmap)); } void QStyle_DrawItemPixmapDefault(void* ptr, void* painter, void* rectangle, int alignment, void* pixmap) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::drawItemPixmap(static_cast(painter), *static_cast(rectangle), alignment, *static_cast(pixmap)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::drawItemPixmap(static_cast(painter), *static_cast(rectangle), alignment, *static_cast(pixmap)); } else { static_cast(ptr)->QStyle::drawItemPixmap(static_cast(painter), *static_cast(rectangle), alignment, *static_cast(pixmap)); } } void QStyle_DrawItemText(void* ptr, void* painter, void* rectangle, int alignment, void* palette, char enabled, struct QtWidgets_PackedString text, long long textRole) { static_cast(ptr)->drawItemText(static_cast(painter), *static_cast(rectangle), alignment, *static_cast(palette), enabled != 0, QString::fromUtf8(text.data, text.len), static_cast(textRole)); } void QStyle_DrawItemTextDefault(void* ptr, void* painter, void* rectangle, int alignment, void* palette, char enabled, struct QtWidgets_PackedString text, long long textRole) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::drawItemText(static_cast(painter), *static_cast(rectangle), alignment, *static_cast(palette), enabled != 0, QString::fromUtf8(text.data, text.len), static_cast(textRole)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::drawItemText(static_cast(painter), *static_cast(rectangle), alignment, *static_cast(palette), enabled != 0, QString::fromUtf8(text.data, text.len), static_cast(textRole)); } else { static_cast(ptr)->QStyle::drawItemText(static_cast(painter), *static_cast(rectangle), alignment, *static_cast(palette), enabled != 0, QString::fromUtf8(text.data, text.len), static_cast(textRole)); } } void QStyle_DrawPrimitive(void* ptr, long long element, void* option, void* painter, void* widget) { static_cast(ptr)->drawPrimitive(static_cast(element), static_cast(option), static_cast(painter), static_cast(widget)); } void* QStyle_GeneratedIconPixmap(void* ptr, long long iconMode, void* pixmap, void* option) { return new QPixmap(static_cast(ptr)->generatedIconPixmap(static_cast(iconMode), *static_cast(pixmap), static_cast(option))); } long long QStyle_HitTestComplexControl(void* ptr, long long control, void* option, void* position, void* widget) { return static_cast(ptr)->hitTestComplexControl(static_cast(control), static_cast(option), *static_cast(position), static_cast(widget)); } void* QStyle_ItemPixmapRect(void* ptr, void* rectangle, int alignment, void* pixmap) { return ({ QRect tmpValue = static_cast(ptr)->itemPixmapRect(*static_cast(rectangle), alignment, *static_cast(pixmap)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QStyle_ItemPixmapRectDefault(void* ptr, void* rectangle, int alignment, void* pixmap) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QProxyStyle::itemPixmapRect(*static_cast(rectangle), alignment, *static_cast(pixmap)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QCommonStyle::itemPixmapRect(*static_cast(rectangle), alignment, *static_cast(pixmap)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->QStyle::itemPixmapRect(*static_cast(rectangle), alignment, *static_cast(pixmap)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QStyle_ItemTextRect(void* ptr, void* metrics, void* rectangle, int alignment, char enabled, struct QtWidgets_PackedString text) { return ({ QRect tmpValue = static_cast(ptr)->itemTextRect(*static_cast(metrics), *static_cast(rectangle), alignment, enabled != 0, QString::fromUtf8(text.data, text.len)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QStyle_ItemTextRectDefault(void* ptr, void* metrics, void* rectangle, int alignment, char enabled, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QProxyStyle::itemTextRect(*static_cast(metrics), *static_cast(rectangle), alignment, enabled != 0, QString::fromUtf8(text.data, text.len)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QCommonStyle::itemTextRect(*static_cast(metrics), *static_cast(rectangle), alignment, enabled != 0, QString::fromUtf8(text.data, text.len)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->QStyle::itemTextRect(*static_cast(metrics), *static_cast(rectangle), alignment, enabled != 0, QString::fromUtf8(text.data, text.len)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } int QStyle_LayoutSpacing(void* ptr, long long control1, long long control2, long long orientation, void* option, void* widget) { return static_cast(ptr)->layoutSpacing(static_cast(control1), static_cast(control2), static_cast(orientation), static_cast(option), static_cast(widget)); } int QStyle_PixelMetric(void* ptr, long long metric, void* option, void* widget) { return static_cast(ptr)->pixelMetric(static_cast(metric), static_cast(option), static_cast(widget)); } void QStyle_Polish(void* ptr, void* widget) { static_cast(ptr)->polish(static_cast(widget)); } void QStyle_PolishDefault(void* ptr, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::polish(static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::polish(static_cast(widget)); } else { static_cast(ptr)->QStyle::polish(static_cast(widget)); } } void QStyle_Polish2(void* ptr, void* application) { static_cast(ptr)->polish(static_cast(application)); } void QStyle_Polish2Default(void* ptr, void* application) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::polish(static_cast(application)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::polish(static_cast(application)); } else { static_cast(ptr)->QStyle::polish(static_cast(application)); } } void QStyle_Polish3(void* ptr, void* palette) { static_cast(ptr)->polish(*static_cast(palette)); } void QStyle_Polish3Default(void* ptr, void* palette) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::polish(*static_cast(palette)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::polish(*static_cast(palette)); } else { static_cast(ptr)->QStyle::polish(*static_cast(palette)); } } void* QStyle_Proxy(void* ptr) { return const_cast(static_cast(ptr)->proxy()); } void* QStyle_SizeFromContents(void* ptr, long long ty, void* option, void* contentsSize, void* widget) { return ({ QSize tmpValue = static_cast(ptr)->sizeFromContents(static_cast(ty), static_cast(option), *static_cast(contentsSize), static_cast(widget)); new QSize(tmpValue.width(), tmpValue.height()); }); } int QStyle_QStyle_SliderPositionFromValue(int min, int max, int logicalValue, int span, char upsideDown) { return QStyle::sliderPositionFromValue(min, max, logicalValue, span, upsideDown != 0); } int QStyle_QStyle_SliderValueFromPosition(int min, int max, int position, int span, char upsideDown) { return QStyle::sliderValueFromPosition(min, max, position, span, upsideDown != 0); } void* QStyle_StandardIcon(void* ptr, long long standardIcon, void* option, void* widget) { return new QIcon(static_cast(ptr)->standardIcon(static_cast(standardIcon), static_cast(option), static_cast(widget))); } void* QStyle_StandardPalette(void* ptr) { return new QPalette(static_cast(ptr)->standardPalette()); } void* QStyle_StandardPaletteDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return new QPalette(static_cast(ptr)->QProxyStyle::standardPalette()); } else if (dynamic_cast(static_cast(ptr))) { return new QPalette(static_cast(ptr)->QCommonStyle::standardPalette()); } else { return new QPalette(static_cast(ptr)->QStyle::standardPalette()); } } int QStyle_StyleHint(void* ptr, long long hint, void* option, void* widget, void* returnData) { return static_cast(ptr)->styleHint(static_cast(hint), static_cast(option), static_cast(widget), static_cast(returnData)); } void* QStyle_SubControlRect(void* ptr, long long control, void* option, long long subControl, void* widget) { return ({ QRect tmpValue = static_cast(ptr)->subControlRect(static_cast(control), static_cast(option), static_cast(subControl), static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QStyle_SubElementRect(void* ptr, long long element, void* option, void* widget) { return ({ QRect tmpValue = static_cast(ptr)->subElementRect(static_cast(element), static_cast(option), static_cast(widget)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyle_Unpolish(void* ptr, void* widget) { static_cast(ptr)->unpolish(static_cast(widget)); } void QStyle_UnpolishDefault(void* ptr, void* widget) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::unpolish(static_cast(widget)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::unpolish(static_cast(widget)); } else { static_cast(ptr)->QStyle::unpolish(static_cast(widget)); } } void QStyle_Unpolish2(void* ptr, void* application) { static_cast(ptr)->unpolish(static_cast(application)); } void QStyle_Unpolish2Default(void* ptr, void* application) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::unpolish(static_cast(application)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::unpolish(static_cast(application)); } else { static_cast(ptr)->QStyle::unpolish(static_cast(application)); } } long long QStyle_QStyle_VisualAlignment(long long direction, long long alignment) { return QStyle::visualAlignment(static_cast(direction), static_cast(alignment)); } void* QStyle_QStyle_VisualPos(long long direction, void* boundingRectangle, void* logicalPosition) { return ({ QPoint tmpValue = QStyle::visualPos(static_cast(direction), *static_cast(boundingRectangle), *static_cast(logicalPosition)); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QStyle_QStyle_VisualRect(long long direction, void* boundingRectangle, void* logicalRectangle) { return ({ QRect tmpValue = QStyle::visualRect(static_cast(direction), *static_cast(boundingRectangle), *static_cast(logicalRectangle)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyle_DestroyQStyle(void* ptr) { static_cast(ptr)->~QStyle(); } void QStyle_DestroyQStyleDefault(void* ptr) { Q_UNUSED(ptr); } void* QStyle_StandardPixmap(void* ptr, long long standardIcon, void* option, void* widget) { return new QPixmap(static_cast(ptr)->standardPixmap(static_cast(standardIcon), static_cast(option), static_cast(widget))); } void* QStyle___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QStyle___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QStyle___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QStyle___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QStyle___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QStyle___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QStyle___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QStyle___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QStyle___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QStyle___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QStyle___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QStyle___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QStyle_ChildEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::childEvent(static_cast(event)); } else { static_cast(ptr)->QStyle::childEvent(static_cast(event)); } } void QStyle_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QStyle::connectNotify(*static_cast(sign)); } } void QStyle_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::customEvent(static_cast(event)); } else { static_cast(ptr)->QStyle::customEvent(static_cast(event)); } } void QStyle_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::deleteLater(); } else { static_cast(ptr)->QStyle::deleteLater(); } } void QStyle_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QStyle::disconnectNotify(*static_cast(sign)); } } char QStyle_EventDefault(void* ptr, void* e) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProxyStyle::event(static_cast(e)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommonStyle::event(static_cast(e)); } else { return static_cast(ptr)->QStyle::event(static_cast(e)); } } char QStyle_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProxyStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProxyStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProxyStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProxyStyle::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QProxyStyle::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCommonStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCommonStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCommonStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCommonStyle::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QCommonStyle::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStyle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStyle::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QStyle::eventFilter(static_cast(watched), static_cast(event)); } } } void* QStyle_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QProxyStyle::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QCommonStyle::metaObject()); } else { return const_cast(static_cast(ptr)->QStyle::metaObject()); } } void QStyle_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProxyStyle::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommonStyle::timerEvent(static_cast(event)); } else { static_cast(ptr)->QStyle::timerEvent(static_cast(event)); } } void* QStyleFactory_QStyleFactory_Create(struct QtWidgets_PackedString key) { return QStyleFactory::create(QString::fromUtf8(key.data, key.len)); } struct QtWidgets_PackedString QStyleFactory_QStyleFactory_Keys() { return ({ QByteArray* t733aa8 = new QByteArray(QStyleFactory::keys().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t733aa8->prepend("WHITESPACE").constData()+10), t733aa8->size()-10, t733aa8 }; }); } Q_DECLARE_METATYPE(QStyleHintReturn*) void* QStyleHintReturn_NewQStyleHintReturn(int version, int ty) { return new QStyleHintReturn(version, ty); } int QStyleHintReturn_Version(void* ptr) { return static_cast(ptr)->version; } void QStyleHintReturn_SetVersion(void* ptr, int vin) { static_cast(ptr)->version = vin; } int QStyleHintReturn_Type(void* ptr) { return static_cast(ptr)->type; } void QStyleHintReturn_SetType(void* ptr, int vin) { static_cast(ptr)->type = vin; } Q_DECLARE_METATYPE(QStyleHintReturnMask) Q_DECLARE_METATYPE(QStyleHintReturnMask*) void* QStyleHintReturnMask_NewQStyleHintReturnMask() { return new QStyleHintReturnMask(); } void QStyleHintReturnMask_DestroyQStyleHintReturnMask(void* ptr) { static_cast(ptr)->~QStyleHintReturnMask(); } void* QStyleHintReturnMask_Region(void* ptr) { return new QRegion(static_cast(ptr)->region); } void QStyleHintReturnMask_SetRegion(void* ptr, void* vqr) { static_cast(ptr)->region = *static_cast(vqr); } Q_DECLARE_METATYPE(QStyleHintReturnVariant) Q_DECLARE_METATYPE(QStyleHintReturnVariant*) void* QStyleHintReturnVariant_NewQStyleHintReturnVariant() { return new QStyleHintReturnVariant(); } void QStyleHintReturnVariant_DestroyQStyleHintReturnVariant(void* ptr) { static_cast(ptr)->~QStyleHintReturnVariant(); } void* QStyleHintReturnVariant_Variant(void* ptr) { return new QVariant(static_cast(ptr)->variant); } void QStyleHintReturnVariant_SetVariant(void* ptr, void* vqv) { static_cast(ptr)->variant = *static_cast(vqv); } Q_DECLARE_METATYPE(QStyleOption*) void* QStyleOption_NewQStyleOption(int version, int ty) { return new QStyleOption(version, ty); } void* QStyleOption_NewQStyleOption2(void* other) { return new QStyleOption(*static_cast(other)); } void QStyleOption_InitFrom(void* ptr, void* widget) { static_cast(ptr)->initFrom(static_cast(widget)); } void QStyleOption_DestroyQStyleOption(void* ptr) { static_cast(ptr)->~QStyleOption(); } int QStyleOption_Version(void* ptr) { return static_cast(ptr)->version; } void QStyleOption_SetVersion(void* ptr, int vin) { static_cast(ptr)->version = vin; } int QStyleOption_Type(void* ptr) { return static_cast(ptr)->type; } void QStyleOption_SetType(void* ptr, int vin) { static_cast(ptr)->type = vin; } long long QStyleOption_State(void* ptr) { return static_cast(ptr)->state; } void QStyleOption_SetState(void* ptr, long long vqs) { static_cast(ptr)->state = static_cast(vqs); } long long QStyleOption_Direction(void* ptr) { return static_cast(ptr)->direction; } void QStyleOption_SetDirection(void* ptr, long long vqt) { static_cast(ptr)->direction = static_cast(vqt); } void* QStyleOption_Rect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->rect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyleOption_SetRect(void* ptr, void* vqr) { static_cast(ptr)->rect = *static_cast(vqr); } void* QStyleOption_FontMetrics(void* ptr) { return new QFontMetrics(static_cast(ptr)->fontMetrics); } void QStyleOption_SetFontMetrics(void* ptr, void* vqf) { static_cast(ptr)->fontMetrics = *static_cast(vqf); } void* QStyleOption_Palette(void* ptr) { return new QPalette(static_cast(ptr)->palette); } void QStyleOption_SetPalette(void* ptr, void* vqp) { static_cast(ptr)->palette = *static_cast(vqp); } void* QStyleOption_StyleObject(void* ptr) { return static_cast(ptr)->styleObject; } void QStyleOption_SetStyleObject(void* ptr, void* vqo) { static_cast(ptr)->styleObject = static_cast(vqo); } Q_DECLARE_METATYPE(QStyleOptionButton) Q_DECLARE_METATYPE(QStyleOptionButton*) void* QStyleOptionButton_NewQStyleOptionButton() { return new QStyleOptionButton(); } void* QStyleOptionButton_NewQStyleOptionButton2(void* other) { return new QStyleOptionButton(*static_cast(other)); } long long QStyleOptionButton_Features(void* ptr) { return static_cast(ptr)->features; } void QStyleOptionButton_SetFeatures(void* ptr, long long vqs) { static_cast(ptr)->features = static_cast(vqs); } struct QtWidgets_PackedString QStyleOptionButton_Text(void* ptr) { return ({ QByteArray* t3af65e = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(t3af65e->prepend("WHITESPACE").constData()+10), t3af65e->size()-10, t3af65e }; }); } void QStyleOptionButton_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } void* QStyleOptionButton_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon); } void QStyleOptionButton_SetIcon(void* ptr, void* vqi) { static_cast(ptr)->icon = *static_cast(vqi); } void* QStyleOptionButton_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionButton_SetIconSize(void* ptr, void* vqs) { static_cast(ptr)->iconSize = *static_cast(vqs); } Q_DECLARE_METATYPE(QStyleOptionComboBox) Q_DECLARE_METATYPE(QStyleOptionComboBox*) void* QStyleOptionComboBox_NewQStyleOptionComboBox() { return new QStyleOptionComboBox(); } void* QStyleOptionComboBox_NewQStyleOptionComboBox2(void* other) { return new QStyleOptionComboBox(*static_cast(other)); } char QStyleOptionComboBox_Editable(void* ptr) { return static_cast(ptr)->editable; } void QStyleOptionComboBox_SetEditable(void* ptr, char vbo) { static_cast(ptr)->editable = vbo != 0; } void* QStyleOptionComboBox_PopupRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->popupRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyleOptionComboBox_SetPopupRect(void* ptr, void* vqr) { static_cast(ptr)->popupRect = *static_cast(vqr); } char QStyleOptionComboBox_Frame(void* ptr) { return static_cast(ptr)->frame; } void QStyleOptionComboBox_SetFrame(void* ptr, char vbo) { static_cast(ptr)->frame = vbo != 0; } struct QtWidgets_PackedString QStyleOptionComboBox_CurrentText(void* ptr) { return ({ QByteArray* t049c82 = new QByteArray(static_cast(ptr)->currentText.toUtf8()); QtWidgets_PackedString { const_cast(t049c82->prepend("WHITESPACE").constData()+10), t049c82->size()-10, t049c82 }; }); } void QStyleOptionComboBox_SetCurrentText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->currentText = QString::fromUtf8(vqs.data, vqs.len); } void* QStyleOptionComboBox_CurrentIcon(void* ptr) { return new QIcon(static_cast(ptr)->currentIcon); } void QStyleOptionComboBox_SetCurrentIcon(void* ptr, void* vqi) { static_cast(ptr)->currentIcon = *static_cast(vqi); } void* QStyleOptionComboBox_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionComboBox_SetIconSize(void* ptr, void* vqs) { static_cast(ptr)->iconSize = *static_cast(vqs); } Q_DECLARE_METATYPE(QStyleOptionComplex*) void* QStyleOptionComplex_NewQStyleOptionComplex(int version, int ty) { return new QStyleOptionComplex(version, ty); } void* QStyleOptionComplex_NewQStyleOptionComplex2(void* other) { return new QStyleOptionComplex(*static_cast(other)); } long long QStyleOptionComplex_SubControls(void* ptr) { return static_cast(ptr)->subControls; } void QStyleOptionComplex_SetSubControls(void* ptr, long long vqs) { static_cast(ptr)->subControls = static_cast(vqs); } long long QStyleOptionComplex_ActiveSubControls(void* ptr) { return static_cast(ptr)->activeSubControls; } void QStyleOptionComplex_SetActiveSubControls(void* ptr, long long vqs) { static_cast(ptr)->activeSubControls = static_cast(vqs); } Q_DECLARE_METATYPE(QStyleOptionDockWidget) Q_DECLARE_METATYPE(QStyleOptionDockWidget*) void* QStyleOptionDockWidget_NewQStyleOptionDockWidget() { return new QStyleOptionDockWidget(); } void* QStyleOptionDockWidget_NewQStyleOptionDockWidget2(void* other) { return new QStyleOptionDockWidget(*static_cast(other)); } struct QtWidgets_PackedString QStyleOptionDockWidget_Title(void* ptr) { return ({ QByteArray* t0c6191 = new QByteArray(static_cast(ptr)->title.toUtf8()); QtWidgets_PackedString { const_cast(t0c6191->prepend("WHITESPACE").constData()+10), t0c6191->size()-10, t0c6191 }; }); } void QStyleOptionDockWidget_SetTitle(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->title = QString::fromUtf8(vqs.data, vqs.len); } char QStyleOptionDockWidget_Closable(void* ptr) { return static_cast(ptr)->closable; } void QStyleOptionDockWidget_SetClosable(void* ptr, char vbo) { static_cast(ptr)->closable = vbo != 0; } char QStyleOptionDockWidget_Movable(void* ptr) { return static_cast(ptr)->movable; } void QStyleOptionDockWidget_SetMovable(void* ptr, char vbo) { static_cast(ptr)->movable = vbo != 0; } char QStyleOptionDockWidget_Floatable(void* ptr) { return static_cast(ptr)->floatable; } void QStyleOptionDockWidget_SetFloatable(void* ptr, char vbo) { static_cast(ptr)->floatable = vbo != 0; } Q_DECLARE_METATYPE(QStyleOptionFocusRect) Q_DECLARE_METATYPE(QStyleOptionFocusRect*) void* QStyleOptionFocusRect_NewQStyleOptionFocusRect() { return new QStyleOptionFocusRect(); } void* QStyleOptionFocusRect_NewQStyleOptionFocusRect2(void* other) { return new QStyleOptionFocusRect(*static_cast(other)); } void* QStyleOptionFocusRect_BackgroundColor(void* ptr) { return new QColor(static_cast(ptr)->backgroundColor); } void QStyleOptionFocusRect_SetBackgroundColor(void* ptr, void* vqc) { static_cast(ptr)->backgroundColor = *static_cast(vqc); } Q_DECLARE_METATYPE(QStyleOptionFrame) Q_DECLARE_METATYPE(QStyleOptionFrame*) void* QStyleOptionFrame_NewQStyleOptionFrame() { return new QStyleOptionFrame(); } void* QStyleOptionFrame_NewQStyleOptionFrame2(void* other) { return new QStyleOptionFrame(*static_cast(other)); } int QStyleOptionFrame_LineWidth(void* ptr) { return static_cast(ptr)->lineWidth; } void QStyleOptionFrame_SetLineWidth(void* ptr, int vin) { static_cast(ptr)->lineWidth = vin; } int QStyleOptionFrame_MidLineWidth(void* ptr) { return static_cast(ptr)->midLineWidth; } void QStyleOptionFrame_SetMidLineWidth(void* ptr, int vin) { static_cast(ptr)->midLineWidth = vin; } long long QStyleOptionFrame_Features(void* ptr) { return static_cast(ptr)->features; } void QStyleOptionFrame_SetFeatures(void* ptr, long long vqs) { static_cast(ptr)->features = static_cast(vqs); } long long QStyleOptionFrame_FrameShape(void* ptr) { return static_cast(ptr)->frameShape; } void QStyleOptionFrame_SetFrameShape(void* ptr, long long vqf) { static_cast(ptr)->frameShape = static_cast(vqf); } Q_DECLARE_METATYPE(QStyleOptionGraphicsItem) Q_DECLARE_METATYPE(QStyleOptionGraphicsItem*) void* QStyleOptionGraphicsItem_NewQStyleOptionGraphicsItem() { return new QStyleOptionGraphicsItem(); } void* QStyleOptionGraphicsItem_NewQStyleOptionGraphicsItem2(void* other) { return new QStyleOptionGraphicsItem(*static_cast(other)); } double QStyleOptionGraphicsItem_QStyleOptionGraphicsItem_LevelOfDetailFromTransform(void* worldTransform) { return QStyleOptionGraphicsItem::levelOfDetailFromTransform(*static_cast(worldTransform)); } void* QStyleOptionGraphicsItem_ExposedRect(void* ptr) { return ({ QRectF tmpValue = static_cast(ptr)->exposedRect; new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyleOptionGraphicsItem_SetExposedRect(void* ptr, void* vqr) { static_cast(ptr)->exposedRect = *static_cast(vqr); } Q_DECLARE_METATYPE(QStyleOptionGroupBox) Q_DECLARE_METATYPE(QStyleOptionGroupBox*) void* QStyleOptionGroupBox_NewQStyleOptionGroupBox() { return new QStyleOptionGroupBox(); } void* QStyleOptionGroupBox_NewQStyleOptionGroupBox2(void* other) { return new QStyleOptionGroupBox(*static_cast(other)); } long long QStyleOptionGroupBox_Features(void* ptr) { return static_cast(ptr)->features; } void QStyleOptionGroupBox_SetFeatures(void* ptr, long long vqs) { static_cast(ptr)->features = static_cast(vqs); } struct QtWidgets_PackedString QStyleOptionGroupBox_Text(void* ptr) { return ({ QByteArray* t33bfde = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(t33bfde->prepend("WHITESPACE").constData()+10), t33bfde->size()-10, t33bfde }; }); } void QStyleOptionGroupBox_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } long long QStyleOptionGroupBox_TextAlignment(void* ptr) { return static_cast(ptr)->textAlignment; } void QStyleOptionGroupBox_SetTextAlignment(void* ptr, long long vqt) { static_cast(ptr)->textAlignment = static_cast(vqt); } void* QStyleOptionGroupBox_TextColor(void* ptr) { return new QColor(static_cast(ptr)->textColor); } void QStyleOptionGroupBox_SetTextColor(void* ptr, void* vqc) { static_cast(ptr)->textColor = *static_cast(vqc); } int QStyleOptionGroupBox_LineWidth(void* ptr) { return static_cast(ptr)->lineWidth; } void QStyleOptionGroupBox_SetLineWidth(void* ptr, int vin) { static_cast(ptr)->lineWidth = vin; } int QStyleOptionGroupBox_MidLineWidth(void* ptr) { return static_cast(ptr)->midLineWidth; } void QStyleOptionGroupBox_SetMidLineWidth(void* ptr, int vin) { static_cast(ptr)->midLineWidth = vin; } Q_DECLARE_METATYPE(QStyleOptionHeader) Q_DECLARE_METATYPE(QStyleOptionHeader*) void* QStyleOptionHeader_NewQStyleOptionHeader() { return new QStyleOptionHeader(); } void* QStyleOptionHeader_NewQStyleOptionHeader2(void* other) { return new QStyleOptionHeader(*static_cast(other)); } int QStyleOptionHeader_Section(void* ptr) { return static_cast(ptr)->section; } void QStyleOptionHeader_SetSection(void* ptr, int vin) { static_cast(ptr)->section = vin; } struct QtWidgets_PackedString QStyleOptionHeader_Text(void* ptr) { return ({ QByteArray* t8df14e = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(t8df14e->prepend("WHITESPACE").constData()+10), t8df14e->size()-10, t8df14e }; }); } void QStyleOptionHeader_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } long long QStyleOptionHeader_TextAlignment(void* ptr) { return static_cast(ptr)->textAlignment; } void QStyleOptionHeader_SetTextAlignment(void* ptr, long long vqt) { static_cast(ptr)->textAlignment = static_cast(vqt); } void* QStyleOptionHeader_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon); } void QStyleOptionHeader_SetIcon(void* ptr, void* vqi) { static_cast(ptr)->icon = *static_cast(vqi); } long long QStyleOptionHeader_IconAlignment(void* ptr) { return static_cast(ptr)->iconAlignment; } void QStyleOptionHeader_SetIconAlignment(void* ptr, long long vqt) { static_cast(ptr)->iconAlignment = static_cast(vqt); } long long QStyleOptionHeader_Position(void* ptr) { return static_cast(ptr)->position; } void QStyleOptionHeader_SetPosition(void* ptr, long long vqs) { static_cast(ptr)->position = static_cast(vqs); } long long QStyleOptionHeader_SelectedPosition(void* ptr) { return static_cast(ptr)->selectedPosition; } void QStyleOptionHeader_SetSelectedPosition(void* ptr, long long vqs) { static_cast(ptr)->selectedPosition = static_cast(vqs); } long long QStyleOptionHeader_SortIndicator(void* ptr) { return static_cast(ptr)->sortIndicator; } void QStyleOptionHeader_SetSortIndicator(void* ptr, long long vqs) { static_cast(ptr)->sortIndicator = static_cast(vqs); } long long QStyleOptionHeader_Orientation(void* ptr) { return static_cast(ptr)->orientation; } void QStyleOptionHeader_SetOrientation(void* ptr, long long vqt) { static_cast(ptr)->orientation = static_cast(vqt); } Q_DECLARE_METATYPE(QStyleOptionMenuItem) Q_DECLARE_METATYPE(QStyleOptionMenuItem*) void* QStyleOptionMenuItem_NewQStyleOptionMenuItem() { return new QStyleOptionMenuItem(); } void* QStyleOptionMenuItem_NewQStyleOptionMenuItem2(void* other) { return new QStyleOptionMenuItem(*static_cast(other)); } long long QStyleOptionMenuItem_MenuItemType(void* ptr) { return static_cast(ptr)->menuItemType; } void QStyleOptionMenuItem_SetMenuItemType(void* ptr, long long vqs) { static_cast(ptr)->menuItemType = static_cast(vqs); } long long QStyleOptionMenuItem_CheckType(void* ptr) { return static_cast(ptr)->checkType; } void QStyleOptionMenuItem_SetCheckType(void* ptr, long long vqs) { static_cast(ptr)->checkType = static_cast(vqs); } char QStyleOptionMenuItem_Checked(void* ptr) { return static_cast(ptr)->checked; } void QStyleOptionMenuItem_SetChecked(void* ptr, char vbo) { static_cast(ptr)->checked = vbo != 0; } char QStyleOptionMenuItem_MenuHasCheckableItems(void* ptr) { return static_cast(ptr)->menuHasCheckableItems; } void QStyleOptionMenuItem_SetMenuHasCheckableItems(void* ptr, char vbo) { static_cast(ptr)->menuHasCheckableItems = vbo != 0; } void* QStyleOptionMenuItem_MenuRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->menuRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyleOptionMenuItem_SetMenuRect(void* ptr, void* vqr) { static_cast(ptr)->menuRect = *static_cast(vqr); } struct QtWidgets_PackedString QStyleOptionMenuItem_Text(void* ptr) { return ({ QByteArray* t61111c = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(t61111c->prepend("WHITESPACE").constData()+10), t61111c->size()-10, t61111c }; }); } void QStyleOptionMenuItem_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } void* QStyleOptionMenuItem_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon); } void QStyleOptionMenuItem_SetIcon(void* ptr, void* vqi) { static_cast(ptr)->icon = *static_cast(vqi); } int QStyleOptionMenuItem_MaxIconWidth(void* ptr) { return static_cast(ptr)->maxIconWidth; } void QStyleOptionMenuItem_SetMaxIconWidth(void* ptr, int vin) { static_cast(ptr)->maxIconWidth = vin; } int QStyleOptionMenuItem_TabWidth(void* ptr) { return static_cast(ptr)->tabWidth; } void QStyleOptionMenuItem_SetTabWidth(void* ptr, int vin) { static_cast(ptr)->tabWidth = vin; } void* QStyleOptionMenuItem_Font(void* ptr) { return new QFont(static_cast(ptr)->font); } void QStyleOptionMenuItem_SetFont(void* ptr, void* vqf) { static_cast(ptr)->font = *static_cast(vqf); } Q_DECLARE_METATYPE(QStyleOptionProgressBar) Q_DECLARE_METATYPE(QStyleOptionProgressBar*) void* QStyleOptionProgressBar_NewQStyleOptionProgressBar() { return new QStyleOptionProgressBar(); } void* QStyleOptionProgressBar_NewQStyleOptionProgressBar2(void* other) { return new QStyleOptionProgressBar(*static_cast(other)); } int QStyleOptionProgressBar_Minimum(void* ptr) { return static_cast(ptr)->minimum; } void QStyleOptionProgressBar_SetMinimum(void* ptr, int vin) { static_cast(ptr)->minimum = vin; } int QStyleOptionProgressBar_Maximum(void* ptr) { return static_cast(ptr)->maximum; } void QStyleOptionProgressBar_SetMaximum(void* ptr, int vin) { static_cast(ptr)->maximum = vin; } int QStyleOptionProgressBar_Progress(void* ptr) { return static_cast(ptr)->progress; } void QStyleOptionProgressBar_SetProgress(void* ptr, int vin) { static_cast(ptr)->progress = vin; } struct QtWidgets_PackedString QStyleOptionProgressBar_Text(void* ptr) { return ({ QByteArray* tfa5615 = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(tfa5615->prepend("WHITESPACE").constData()+10), tfa5615->size()-10, tfa5615 }; }); } void QStyleOptionProgressBar_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } long long QStyleOptionProgressBar_TextAlignment(void* ptr) { return static_cast(ptr)->textAlignment; } void QStyleOptionProgressBar_SetTextAlignment(void* ptr, long long vqt) { static_cast(ptr)->textAlignment = static_cast(vqt); } char QStyleOptionProgressBar_TextVisible(void* ptr) { return static_cast(ptr)->textVisible; } void QStyleOptionProgressBar_SetTextVisible(void* ptr, char vbo) { static_cast(ptr)->textVisible = vbo != 0; } char QStyleOptionProgressBar_InvertedAppearance(void* ptr) { return static_cast(ptr)->invertedAppearance; } void QStyleOptionProgressBar_SetInvertedAppearance(void* ptr, char vbo) { static_cast(ptr)->invertedAppearance = vbo != 0; } char QStyleOptionProgressBar_BottomToTop(void* ptr) { return static_cast(ptr)->bottomToTop; } void QStyleOptionProgressBar_SetBottomToTop(void* ptr, char vbo) { static_cast(ptr)->bottomToTop = vbo != 0; } Q_DECLARE_METATYPE(QStyleOptionRubberBand) Q_DECLARE_METATYPE(QStyleOptionRubberBand*) void* QStyleOptionRubberBand_NewQStyleOptionRubberBand() { return new QStyleOptionRubberBand(); } void* QStyleOptionRubberBand_NewQStyleOptionRubberBand2(void* other) { return new QStyleOptionRubberBand(*static_cast(other)); } long long QStyleOptionRubberBand_Shape(void* ptr) { return static_cast(ptr)->shape; } void QStyleOptionRubberBand_SetShape(void* ptr, long long vqr) { static_cast(ptr)->shape = static_cast(vqr); } char QStyleOptionRubberBand_Opaque(void* ptr) { return static_cast(ptr)->opaque; } void QStyleOptionRubberBand_SetOpaque(void* ptr, char vbo) { static_cast(ptr)->opaque = vbo != 0; } Q_DECLARE_METATYPE(QStyleOptionSizeGrip) Q_DECLARE_METATYPE(QStyleOptionSizeGrip*) void* QStyleOptionSizeGrip_NewQStyleOptionSizeGrip() { return new QStyleOptionSizeGrip(); } void* QStyleOptionSizeGrip_NewQStyleOptionSizeGrip2(void* other) { return new QStyleOptionSizeGrip(*static_cast(other)); } long long QStyleOptionSizeGrip_Corner(void* ptr) { return static_cast(ptr)->corner; } void QStyleOptionSizeGrip_SetCorner(void* ptr, long long vqt) { static_cast(ptr)->corner = static_cast(vqt); } Q_DECLARE_METATYPE(QStyleOptionSlider) Q_DECLARE_METATYPE(QStyleOptionSlider*) void* QStyleOptionSlider_NewQStyleOptionSlider() { return new QStyleOptionSlider(); } void* QStyleOptionSlider_NewQStyleOptionSlider2(void* other) { return new QStyleOptionSlider(*static_cast(other)); } long long QStyleOptionSlider_Orientation(void* ptr) { return static_cast(ptr)->orientation; } void QStyleOptionSlider_SetOrientation(void* ptr, long long vqt) { static_cast(ptr)->orientation = static_cast(vqt); } int QStyleOptionSlider_Minimum(void* ptr) { return static_cast(ptr)->minimum; } void QStyleOptionSlider_SetMinimum(void* ptr, int vin) { static_cast(ptr)->minimum = vin; } int QStyleOptionSlider_Maximum(void* ptr) { return static_cast(ptr)->maximum; } void QStyleOptionSlider_SetMaximum(void* ptr, int vin) { static_cast(ptr)->maximum = vin; } long long QStyleOptionSlider_TickPosition(void* ptr) { return static_cast(ptr)->tickPosition; } void QStyleOptionSlider_SetTickPosition(void* ptr, long long vqs) { static_cast(ptr)->tickPosition = static_cast(vqs); } int QStyleOptionSlider_TickInterval(void* ptr) { return static_cast(ptr)->tickInterval; } void QStyleOptionSlider_SetTickInterval(void* ptr, int vin) { static_cast(ptr)->tickInterval = vin; } char QStyleOptionSlider_UpsideDown(void* ptr) { return static_cast(ptr)->upsideDown; } void QStyleOptionSlider_SetUpsideDown(void* ptr, char vbo) { static_cast(ptr)->upsideDown = vbo != 0; } int QStyleOptionSlider_SliderPosition(void* ptr) { return static_cast(ptr)->sliderPosition; } void QStyleOptionSlider_SetSliderPosition(void* ptr, int vin) { static_cast(ptr)->sliderPosition = vin; } int QStyleOptionSlider_SliderValue(void* ptr) { return static_cast(ptr)->sliderValue; } void QStyleOptionSlider_SetSliderValue(void* ptr, int vin) { static_cast(ptr)->sliderValue = vin; } int QStyleOptionSlider_SingleStep(void* ptr) { return static_cast(ptr)->singleStep; } void QStyleOptionSlider_SetSingleStep(void* ptr, int vin) { static_cast(ptr)->singleStep = vin; } int QStyleOptionSlider_PageStep(void* ptr) { return static_cast(ptr)->pageStep; } void QStyleOptionSlider_SetPageStep(void* ptr, int vin) { static_cast(ptr)->pageStep = vin; } double QStyleOptionSlider_NotchTarget(void* ptr) { return static_cast(ptr)->notchTarget; } void QStyleOptionSlider_SetNotchTarget(void* ptr, double vqr) { static_cast(ptr)->notchTarget = vqr; } char QStyleOptionSlider_DialWrapping(void* ptr) { return static_cast(ptr)->dialWrapping; } void QStyleOptionSlider_SetDialWrapping(void* ptr, char vbo) { static_cast(ptr)->dialWrapping = vbo != 0; } Q_DECLARE_METATYPE(QStyleOptionSpinBox) Q_DECLARE_METATYPE(QStyleOptionSpinBox*) void* QStyleOptionSpinBox_NewQStyleOptionSpinBox() { return new QStyleOptionSpinBox(); } void* QStyleOptionSpinBox_NewQStyleOptionSpinBox2(void* other) { return new QStyleOptionSpinBox(*static_cast(other)); } long long QStyleOptionSpinBox_ButtonSymbols(void* ptr) { return static_cast(ptr)->buttonSymbols; } void QStyleOptionSpinBox_SetButtonSymbols(void* ptr, long long vqa) { static_cast(ptr)->buttonSymbols = static_cast(vqa); } long long QStyleOptionSpinBox_StepEnabled(void* ptr) { return static_cast(ptr)->stepEnabled; } void QStyleOptionSpinBox_SetStepEnabled(void* ptr, long long vqa) { static_cast(ptr)->stepEnabled = static_cast(vqa); } char QStyleOptionSpinBox_Frame(void* ptr) { return static_cast(ptr)->frame; } void QStyleOptionSpinBox_SetFrame(void* ptr, char vbo) { static_cast(ptr)->frame = vbo != 0; } Q_DECLARE_METATYPE(QStyleOptionTab) Q_DECLARE_METATYPE(QStyleOptionTab*) void* QStyleOptionTab_NewQStyleOptionTab() { return new QStyleOptionTab(); } void* QStyleOptionTab_NewQStyleOptionTab2(void* other) { return new QStyleOptionTab(*static_cast(other)); } long long QStyleOptionTab_Shape(void* ptr) { return static_cast(ptr)->shape; } void QStyleOptionTab_SetShape(void* ptr, long long vqt) { static_cast(ptr)->shape = static_cast(vqt); } struct QtWidgets_PackedString QStyleOptionTab_Text(void* ptr) { return ({ QByteArray* t12932f = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(t12932f->prepend("WHITESPACE").constData()+10), t12932f->size()-10, t12932f }; }); } void QStyleOptionTab_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } void* QStyleOptionTab_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon); } void QStyleOptionTab_SetIcon(void* ptr, void* vqi) { static_cast(ptr)->icon = *static_cast(vqi); } int QStyleOptionTab_Row(void* ptr) { return static_cast(ptr)->row; } void QStyleOptionTab_SetRow(void* ptr, int vin) { static_cast(ptr)->row = vin; } long long QStyleOptionTab_Position(void* ptr) { return static_cast(ptr)->position; } void QStyleOptionTab_SetPosition(void* ptr, long long vqs) { static_cast(ptr)->position = static_cast(vqs); } long long QStyleOptionTab_SelectedPosition(void* ptr) { return static_cast(ptr)->selectedPosition; } void QStyleOptionTab_SetSelectedPosition(void* ptr, long long vqs) { static_cast(ptr)->selectedPosition = static_cast(vqs); } long long QStyleOptionTab_CornerWidgets(void* ptr) { return static_cast(ptr)->cornerWidgets; } void QStyleOptionTab_SetCornerWidgets(void* ptr, long long vqs) { static_cast(ptr)->cornerWidgets = static_cast(vqs); } void* QStyleOptionTab_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTab_SetIconSize(void* ptr, void* vqs) { static_cast(ptr)->iconSize = *static_cast(vqs); } char QStyleOptionTab_DocumentMode(void* ptr) { return static_cast(ptr)->documentMode; } void QStyleOptionTab_SetDocumentMode(void* ptr, char vbo) { static_cast(ptr)->documentMode = vbo != 0; } void* QStyleOptionTab_LeftButtonSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->leftButtonSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTab_SetLeftButtonSize(void* ptr, void* vqs) { static_cast(ptr)->leftButtonSize = *static_cast(vqs); } void* QStyleOptionTab_RightButtonSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->rightButtonSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTab_SetRightButtonSize(void* ptr, void* vqs) { static_cast(ptr)->rightButtonSize = *static_cast(vqs); } Q_DECLARE_METATYPE(QStyleOptionTabBarBase) Q_DECLARE_METATYPE(QStyleOptionTabBarBase*) void* QStyleOptionTabBarBase_NewQStyleOptionTabBarBase() { return new QStyleOptionTabBarBase(); } void* QStyleOptionTabBarBase_NewQStyleOptionTabBarBase2(void* other) { return new QStyleOptionTabBarBase(*static_cast(other)); } long long QStyleOptionTabBarBase_Shape(void* ptr) { return static_cast(ptr)->shape; } void QStyleOptionTabBarBase_SetShape(void* ptr, long long vqt) { static_cast(ptr)->shape = static_cast(vqt); } void* QStyleOptionTabBarBase_TabBarRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->tabBarRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTabBarBase_SetTabBarRect(void* ptr, void* vqr) { static_cast(ptr)->tabBarRect = *static_cast(vqr); } void* QStyleOptionTabBarBase_SelectedTabRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->selectedTabRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTabBarBase_SetSelectedTabRect(void* ptr, void* vqr) { static_cast(ptr)->selectedTabRect = *static_cast(vqr); } char QStyleOptionTabBarBase_DocumentMode(void* ptr) { return static_cast(ptr)->documentMode; } void QStyleOptionTabBarBase_SetDocumentMode(void* ptr, char vbo) { static_cast(ptr)->documentMode = vbo != 0; } Q_DECLARE_METATYPE(QStyleOptionTabWidgetFrame) Q_DECLARE_METATYPE(QStyleOptionTabWidgetFrame*) void* QStyleOptionTabWidgetFrame_NewQStyleOptionTabWidgetFrame() { return new QStyleOptionTabWidgetFrame(); } void* QStyleOptionTabWidgetFrame_NewQStyleOptionTabWidgetFrame2(void* other) { return new QStyleOptionTabWidgetFrame(*static_cast(other)); } int QStyleOptionTabWidgetFrame_LineWidth(void* ptr) { return static_cast(ptr)->lineWidth; } void QStyleOptionTabWidgetFrame_SetLineWidth(void* ptr, int vin) { static_cast(ptr)->lineWidth = vin; } int QStyleOptionTabWidgetFrame_MidLineWidth(void* ptr) { return static_cast(ptr)->midLineWidth; } void QStyleOptionTabWidgetFrame_SetMidLineWidth(void* ptr, int vin) { static_cast(ptr)->midLineWidth = vin; } long long QStyleOptionTabWidgetFrame_Shape(void* ptr) { return static_cast(ptr)->shape; } void QStyleOptionTabWidgetFrame_SetShape(void* ptr, long long vqt) { static_cast(ptr)->shape = static_cast(vqt); } void* QStyleOptionTabWidgetFrame_TabBarSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->tabBarSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTabWidgetFrame_SetTabBarSize(void* ptr, void* vqs) { static_cast(ptr)->tabBarSize = *static_cast(vqs); } void* QStyleOptionTabWidgetFrame_RightCornerWidgetSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->rightCornerWidgetSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTabWidgetFrame_SetRightCornerWidgetSize(void* ptr, void* vqs) { static_cast(ptr)->rightCornerWidgetSize = *static_cast(vqs); } void* QStyleOptionTabWidgetFrame_LeftCornerWidgetSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->leftCornerWidgetSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTabWidgetFrame_SetLeftCornerWidgetSize(void* ptr, void* vqs) { static_cast(ptr)->leftCornerWidgetSize = *static_cast(vqs); } void* QStyleOptionTabWidgetFrame_TabBarRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->tabBarRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTabWidgetFrame_SetTabBarRect(void* ptr, void* vqr) { static_cast(ptr)->tabBarRect = *static_cast(vqr); } void* QStyleOptionTabWidgetFrame_SelectedTabRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->selectedTabRect; new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStyleOptionTabWidgetFrame_SetSelectedTabRect(void* ptr, void* vqr) { static_cast(ptr)->selectedTabRect = *static_cast(vqr); } Q_DECLARE_METATYPE(QStyleOptionTitleBar) Q_DECLARE_METATYPE(QStyleOptionTitleBar*) void* QStyleOptionTitleBar_NewQStyleOptionTitleBar() { return new QStyleOptionTitleBar(); } void* QStyleOptionTitleBar_NewQStyleOptionTitleBar2(void* other) { return new QStyleOptionTitleBar(*static_cast(other)); } struct QtWidgets_PackedString QStyleOptionTitleBar_Text(void* ptr) { return ({ QByteArray* tfebd0b = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(tfebd0b->prepend("WHITESPACE").constData()+10), tfebd0b->size()-10, tfebd0b }; }); } void QStyleOptionTitleBar_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } void* QStyleOptionTitleBar_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon); } void QStyleOptionTitleBar_SetIcon(void* ptr, void* vqi) { static_cast(ptr)->icon = *static_cast(vqi); } int QStyleOptionTitleBar_TitleBarState(void* ptr) { return static_cast(ptr)->titleBarState; } void QStyleOptionTitleBar_SetTitleBarState(void* ptr, int vin) { static_cast(ptr)->titleBarState = vin; } long long QStyleOptionTitleBar_TitleBarFlags(void* ptr) { return static_cast(ptr)->titleBarFlags; } void QStyleOptionTitleBar_SetTitleBarFlags(void* ptr, long long vqt) { static_cast(ptr)->titleBarFlags = static_cast(vqt); } Q_DECLARE_METATYPE(QStyleOptionToolBar) Q_DECLARE_METATYPE(QStyleOptionToolBar*) void* QStyleOptionToolBar_NewQStyleOptionToolBar() { return new QStyleOptionToolBar(); } void* QStyleOptionToolBar_NewQStyleOptionToolBar2(void* other) { return new QStyleOptionToolBar(*static_cast(other)); } long long QStyleOptionToolBar_PositionOfLine(void* ptr) { return static_cast(ptr)->positionOfLine; } void QStyleOptionToolBar_SetPositionOfLine(void* ptr, long long vqs) { static_cast(ptr)->positionOfLine = static_cast(vqs); } long long QStyleOptionToolBar_PositionWithinLine(void* ptr) { return static_cast(ptr)->positionWithinLine; } void QStyleOptionToolBar_SetPositionWithinLine(void* ptr, long long vqs) { static_cast(ptr)->positionWithinLine = static_cast(vqs); } long long QStyleOptionToolBar_ToolBarArea(void* ptr) { return static_cast(ptr)->toolBarArea; } void QStyleOptionToolBar_SetToolBarArea(void* ptr, long long vqt) { static_cast(ptr)->toolBarArea = static_cast(vqt); } long long QStyleOptionToolBar_Features(void* ptr) { return static_cast(ptr)->features; } void QStyleOptionToolBar_SetFeatures(void* ptr, long long vqs) { static_cast(ptr)->features = static_cast(vqs); } int QStyleOptionToolBar_LineWidth(void* ptr) { return static_cast(ptr)->lineWidth; } void QStyleOptionToolBar_SetLineWidth(void* ptr, int vin) { static_cast(ptr)->lineWidth = vin; } int QStyleOptionToolBar_MidLineWidth(void* ptr) { return static_cast(ptr)->midLineWidth; } void QStyleOptionToolBar_SetMidLineWidth(void* ptr, int vin) { static_cast(ptr)->midLineWidth = vin; } Q_DECLARE_METATYPE(QStyleOptionToolBox) Q_DECLARE_METATYPE(QStyleOptionToolBox*) void* QStyleOptionToolBox_NewQStyleOptionToolBox() { return new QStyleOptionToolBox(); } void* QStyleOptionToolBox_NewQStyleOptionToolBox2(void* other) { return new QStyleOptionToolBox(*static_cast(other)); } struct QtWidgets_PackedString QStyleOptionToolBox_Text(void* ptr) { return ({ QByteArray* t86be6c = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(t86be6c->prepend("WHITESPACE").constData()+10), t86be6c->size()-10, t86be6c }; }); } void QStyleOptionToolBox_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } void* QStyleOptionToolBox_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon); } void QStyleOptionToolBox_SetIcon(void* ptr, void* vqi) { static_cast(ptr)->icon = *static_cast(vqi); } long long QStyleOptionToolBox_SelectedPosition(void* ptr) { return static_cast(ptr)->selectedPosition; } void QStyleOptionToolBox_SetSelectedPosition(void* ptr, long long vqs) { static_cast(ptr)->selectedPosition = static_cast(vqs); } Q_DECLARE_METATYPE(QStyleOptionToolButton) Q_DECLARE_METATYPE(QStyleOptionToolButton*) void* QStyleOptionToolButton_NewQStyleOptionToolButton() { return new QStyleOptionToolButton(); } void* QStyleOptionToolButton_NewQStyleOptionToolButton2(void* other) { return new QStyleOptionToolButton(*static_cast(other)); } long long QStyleOptionToolButton_Features(void* ptr) { return static_cast(ptr)->features; } void QStyleOptionToolButton_SetFeatures(void* ptr, long long vqs) { static_cast(ptr)->features = static_cast(vqs); } void* QStyleOptionToolButton_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon); } void QStyleOptionToolButton_SetIcon(void* ptr, void* vqi) { static_cast(ptr)->icon = *static_cast(vqi); } void* QStyleOptionToolButton_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionToolButton_SetIconSize(void* ptr, void* vqs) { static_cast(ptr)->iconSize = *static_cast(vqs); } struct QtWidgets_PackedString QStyleOptionToolButton_Text(void* ptr) { return ({ QByteArray* t245424 = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(t245424->prepend("WHITESPACE").constData()+10), t245424->size()-10, t245424 }; }); } void QStyleOptionToolButton_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } long long QStyleOptionToolButton_ArrowType(void* ptr) { return static_cast(ptr)->arrowType; } void QStyleOptionToolButton_SetArrowType(void* ptr, long long vqt) { static_cast(ptr)->arrowType = static_cast(vqt); } long long QStyleOptionToolButton_ToolButtonStyle(void* ptr) { return static_cast(ptr)->toolButtonStyle; } void QStyleOptionToolButton_SetToolButtonStyle(void* ptr, long long vqt) { static_cast(ptr)->toolButtonStyle = static_cast(vqt); } void* QStyleOptionToolButton_Pos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->pos; new QPoint(tmpValue.x(), tmpValue.y()); }); } void QStyleOptionToolButton_SetPos(void* ptr, void* vqp) { static_cast(ptr)->pos = *static_cast(vqp); } void* QStyleOptionToolButton_Font(void* ptr) { return new QFont(static_cast(ptr)->font); } void QStyleOptionToolButton_SetFont(void* ptr, void* vqf) { static_cast(ptr)->font = *static_cast(vqf); } Q_DECLARE_METATYPE(QStyleOptionViewItem) Q_DECLARE_METATYPE(QStyleOptionViewItem*) void* QStyleOptionViewItem_NewQStyleOptionViewItem() { return new QStyleOptionViewItem(); } void* QStyleOptionViewItem_NewQStyleOptionViewItem2(void* other) { return new QStyleOptionViewItem(*static_cast(other)); } long long QStyleOptionViewItem_DisplayAlignment(void* ptr) { return static_cast(ptr)->displayAlignment; } void QStyleOptionViewItem_SetDisplayAlignment(void* ptr, long long vqt) { static_cast(ptr)->displayAlignment = static_cast(vqt); } long long QStyleOptionViewItem_DecorationAlignment(void* ptr) { return static_cast(ptr)->decorationAlignment; } void QStyleOptionViewItem_SetDecorationAlignment(void* ptr, long long vqt) { static_cast(ptr)->decorationAlignment = static_cast(vqt); } long long QStyleOptionViewItem_TextElideMode(void* ptr) { return static_cast(ptr)->textElideMode; } void QStyleOptionViewItem_SetTextElideMode(void* ptr, long long vqt) { static_cast(ptr)->textElideMode = static_cast(vqt); } long long QStyleOptionViewItem_DecorationPosition(void* ptr) { return static_cast(ptr)->decorationPosition; } void QStyleOptionViewItem_SetDecorationPosition(void* ptr, long long vqs) { static_cast(ptr)->decorationPosition = static_cast(vqs); } void* QStyleOptionViewItem_DecorationSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->decorationSize; new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyleOptionViewItem_SetDecorationSize(void* ptr, void* vqs) { static_cast(ptr)->decorationSize = *static_cast(vqs); } void* QStyleOptionViewItem_Font(void* ptr) { return new QFont(static_cast(ptr)->font); } void QStyleOptionViewItem_SetFont(void* ptr, void* vqf) { static_cast(ptr)->font = *static_cast(vqf); } char QStyleOptionViewItem_ShowDecorationSelected(void* ptr) { return static_cast(ptr)->showDecorationSelected; } void QStyleOptionViewItem_SetShowDecorationSelected(void* ptr, char vbo) { static_cast(ptr)->showDecorationSelected = vbo != 0; } long long QStyleOptionViewItem_Features(void* ptr) { return static_cast(ptr)->features; } void QStyleOptionViewItem_SetFeatures(void* ptr, long long vqs) { static_cast(ptr)->features = static_cast(vqs); } void* QStyleOptionViewItem_Index(void* ptr) { return new QModelIndex(static_cast(ptr)->index); } void QStyleOptionViewItem_SetIndex(void* ptr, void* vqm) { static_cast(ptr)->index = *static_cast(vqm); } long long QStyleOptionViewItem_CheckState(void* ptr) { return static_cast(ptr)->checkState; } void QStyleOptionViewItem_SetCheckState(void* ptr, long long vqt) { static_cast(ptr)->checkState = static_cast(vqt); } void* QStyleOptionViewItem_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon); } void QStyleOptionViewItem_SetIcon(void* ptr, void* vqi) { static_cast(ptr)->icon = *static_cast(vqi); } struct QtWidgets_PackedString QStyleOptionViewItem_Text(void* ptr) { return ({ QByteArray* t3c2585 = new QByteArray(static_cast(ptr)->text.toUtf8()); QtWidgets_PackedString { const_cast(t3c2585->prepend("WHITESPACE").constData()+10), t3c2585->size()-10, t3c2585 }; }); } void QStyleOptionViewItem_SetText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->text = QString::fromUtf8(vqs.data, vqs.len); } long long QStyleOptionViewItem_ViewItemPosition(void* ptr) { return static_cast(ptr)->viewItemPosition; } void QStyleOptionViewItem_SetViewItemPosition(void* ptr, long long vqs) { static_cast(ptr)->viewItemPosition = static_cast(vqs); } void* QStyleOptionViewItem_BackgroundBrush(void* ptr) { return new QBrush(static_cast(ptr)->backgroundBrush); } void QStyleOptionViewItem_SetBackgroundBrush(void* ptr, void* vqb) { static_cast(ptr)->backgroundBrush = *static_cast(vqb); } Q_DECLARE_METATYPE(QStylePainter*) void* QStylePainter_NewQStylePainter() { return new QStylePainter(); } void* QStylePainter_NewQStylePainter2(void* widget) { return new QStylePainter(static_cast(widget)); } void* QStylePainter_NewQStylePainter3(void* pd, void* widget) { if (dynamic_cast(static_cast(pd))) { return new QStylePainter(static_cast(pd), static_cast(widget)); } else if (dynamic_cast(static_cast(pd))) { return new QStylePainter(static_cast(pd), static_cast(widget)); } else if (dynamic_cast(static_cast(pd))) { return new QStylePainter(static_cast(pd), static_cast(widget)); } else { return new QStylePainter(static_cast(pd), static_cast(widget)); } } char QStylePainter_Begin(void* ptr, void* widget) { return static_cast(ptr)->begin(static_cast(widget)); } char QStylePainter_Begin2(void* ptr, void* pd, void* widget) { if (dynamic_cast(static_cast(pd))) { return static_cast(ptr)->begin(static_cast(pd), static_cast(widget)); } else { return static_cast(ptr)->begin(static_cast(pd), static_cast(widget)); } } void QStylePainter_DrawComplexControl(void* ptr, long long cc, void* option) { static_cast(ptr)->drawComplexControl(static_cast(cc), *static_cast(option)); } void QStylePainter_DrawControl(void* ptr, long long ce, void* option) { static_cast(ptr)->drawControl(static_cast(ce), *static_cast(option)); } void QStylePainter_DrawItemPixmap(void* ptr, void* rect, int flags, void* pixmap) { static_cast(ptr)->drawItemPixmap(*static_cast(rect), flags, *static_cast(pixmap)); } void QStylePainter_DrawItemText(void* ptr, void* rect, int flags, void* pal, char enabled, struct QtWidgets_PackedString text, long long textRole) { static_cast(ptr)->drawItemText(*static_cast(rect), flags, *static_cast(pal), enabled != 0, QString::fromUtf8(text.data, text.len), static_cast(textRole)); } void QStylePainter_DrawPrimitive(void* ptr, long long pe, void* option) { static_cast(ptr)->drawPrimitive(static_cast(pe), *static_cast(option)); } void* QStylePainter_Style(void* ptr) { return static_cast(ptr)->style(); } void* QStylePainter___drawLines_lines_atList2(void* ptr, int i) { return ({ QLineF tmpValue = ({QLineF tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); new QLineF(tmpValue.p1(), tmpValue.p2()); }); } void QStylePainter___drawLines_lines_setList2(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QStylePainter___drawLines_lines_newList2(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QStylePainter___drawLines_pointPairs_atList4(void* ptr, int i) { return ({ QPointF tmpValue = ({QPointF tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QStylePainter___drawLines_pointPairs_setList4(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QStylePainter___drawLines_pointPairs_newList4(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QStylePainter___drawLines_lines_atList6(void* ptr, int i) { return ({ QLine tmpValue = ({QLine tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); new QLine(tmpValue.p1(), tmpValue.p2()); }); } void QStylePainter___drawLines_lines_setList6(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QStylePainter___drawLines_lines_newList6(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QStylePainter___drawLines_pointPairs_atList8(void* ptr, int i) { return ({ QPoint tmpValue = ({QPoint tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); new QPoint(tmpValue.x(), tmpValue.y()); }); } void QStylePainter___drawLines_pointPairs_setList8(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QStylePainter___drawLines_pointPairs_newList8(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QStylePainter___drawRects_rectangles_atList2(void* ptr, int i) { return ({ QRectF tmpValue = ({QRectF tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); new QRectF(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStylePainter___drawRects_rectangles_setList2(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QStylePainter___drawRects_rectangles_newList2(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QStylePainter___drawRects_rectangles_atList4(void* ptr, int i) { return ({ QRect tmpValue = ({QRect tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QVector(); free(ptr); }; tmp; }); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QStylePainter___drawRects_rectangles_setList4(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QStylePainter___drawRects_rectangles_newList4(void* ptr) { Q_UNUSED(ptr); return new QVector(); } class MyQStylePlugin: public QStylePlugin { public: MyQStylePlugin(QObject *parent = Q_NULLPTR) : QStylePlugin(parent) {QStylePlugin_QStylePlugin_QRegisterMetaType();}; QStyle * create(const QString & key) { QByteArray* ta62f22 = new QByteArray(key.toUtf8()); QtWidgets_PackedString keyPacked = { const_cast(ta62f22->prepend("WHITESPACE").constData()+10), ta62f22->size()-10, ta62f22 };return static_cast(callbackQStylePlugin_Create(this, keyPacked)); }; ~MyQStylePlugin() { callbackQStylePlugin_DestroyQStylePlugin(this); }; void childEvent(QChildEvent * event) { callbackQStylePlugin_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQStylePlugin_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQStylePlugin_CustomEvent(this, event); }; void deleteLater() { callbackQStylePlugin_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQStylePlugin_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQStylePlugin_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQStylePlugin_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQStylePlugin_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQStylePlugin_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQStylePlugin_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQStylePlugin_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QStylePlugin*) Q_DECLARE_METATYPE(MyQStylePlugin*) int QStylePlugin_QStylePlugin_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QStylePlugin_NewQStylePlugin(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStylePlugin(static_cast(parent)); } else { return new MyQStylePlugin(static_cast(parent)); } } void* QStylePlugin_Create(void* ptr, struct QtWidgets_PackedString key) { return static_cast(ptr)->create(QString::fromUtf8(key.data, key.len)); } void QStylePlugin_DestroyQStylePlugin(void* ptr) { static_cast(ptr)->~QStylePlugin(); } void QStylePlugin_DestroyQStylePluginDefault(void* ptr) { Q_UNUSED(ptr); } void* QStylePlugin___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QStylePlugin___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QStylePlugin___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QStylePlugin___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QStylePlugin___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QStylePlugin___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QStylePlugin___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QStylePlugin___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QStylePlugin___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QStylePlugin___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QStylePlugin___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QStylePlugin___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QStylePlugin_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QStylePlugin::childEvent(static_cast(event)); } void QStylePlugin_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QStylePlugin::connectNotify(*static_cast(sign)); } void QStylePlugin_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QStylePlugin::customEvent(static_cast(event)); } void QStylePlugin_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QStylePlugin::deleteLater(); } void QStylePlugin_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QStylePlugin::disconnectNotify(*static_cast(sign)); } char QStylePlugin_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QStylePlugin::event(static_cast(e)); } char QStylePlugin_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStylePlugin::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStylePlugin::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStylePlugin::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStylePlugin::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QStylePlugin::eventFilter(static_cast(watched), static_cast(event)); } } void* QStylePlugin_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QStylePlugin::metaObject()); } void QStylePlugin_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QStylePlugin::timerEvent(static_cast(event)); } class MyQStyledItemDelegate: public QStyledItemDelegate { public: MyQStyledItemDelegate(QObject *parent = Q_NULLPTR) : QStyledItemDelegate(parent) {QStyledItemDelegate_QStyledItemDelegate_QRegisterMetaType();}; QWidget * createEditor(QWidget * parent, const QStyleOptionViewItem & option, const QModelIndex & index) const { return static_cast(callbackQAbstractItemDelegate_CreateEditor(const_cast(static_cast(this)), parent, const_cast(&option), const_cast(&index))); }; QString displayText(const QVariant & value, const QLocale & locale) const { return ({ QtWidgets_PackedString tempVal = callbackQStyledItemDelegate_DisplayText(const_cast(static_cast(this)), const_cast(&value), const_cast(&locale)); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; bool editorEvent(QEvent * event, QAbstractItemModel * model, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_EditorEvent(this, event, model, const_cast(&option), const_cast(&index)) != 0; }; bool eventFilter(QObject * editor, QEvent * event) { return callbackQAbstractItemDelegate_EventFilter(this, editor, event) != 0; }; void initStyleOption(QStyleOptionViewItem * option, const QModelIndex & index) const { callbackQStyledItemDelegate_InitStyleOption(const_cast(static_cast(this)), option, const_cast(&index)); }; void paint(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQStyledItemDelegate_Paint(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&index)); }; void setEditorData(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetEditorData(const_cast(static_cast(this)), editor, const_cast(&index)); }; void setModelData(QWidget * editor, QAbstractItemModel * model, const QModelIndex & index) const { callbackQAbstractItemDelegate_SetModelData(const_cast(static_cast(this)), editor, model, const_cast(&index)); }; QSize sizeHint(const QStyleOptionViewItem & option, const QModelIndex & index) const { return *static_cast(callbackQStyledItemDelegate_SizeHint(const_cast(static_cast(this)), const_cast(&option), const_cast(&index))); }; void updateEditorGeometry(QWidget * editor, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQAbstractItemDelegate_UpdateEditorGeometry(const_cast(static_cast(this)), editor, const_cast(&option), const_cast(&index)); }; ~MyQStyledItemDelegate() { callbackQStyledItemDelegate_DestroyQStyledItemDelegate(this); }; void Signal_CloseEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemDelegate_CloseEditor(this, editor, hint); }; void Signal_CommitData(QWidget * editor) { callbackQAbstractItemDelegate_CommitData(this, editor); }; void destroyEditor(QWidget * editor, const QModelIndex & index) const { callbackQAbstractItemDelegate_DestroyEditor(const_cast(static_cast(this)), editor, const_cast(&index)); }; bool helpEvent(QHelpEvent * event, QAbstractItemView * view, const QStyleOptionViewItem & option, const QModelIndex & index) { return callbackQAbstractItemDelegate_HelpEvent(this, event, view, const_cast(&option), const_cast(&index)) != 0; }; void Signal_SizeHintChanged(const QModelIndex & index) { callbackQAbstractItemDelegate_SizeHintChanged(this, const_cast(&index)); }; void childEvent(QChildEvent * event) { callbackQAbstractItemDelegate_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQAbstractItemDelegate_CustomEvent(this, event); }; void deleteLater() { callbackQAbstractItemDelegate_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQAbstractItemDelegate_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAbstractItemDelegate_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQAbstractItemDelegate_Event(this, e) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQAbstractItemDelegate_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQAbstractItemDelegate_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQAbstractItemDelegate_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QStyledItemDelegate*) Q_DECLARE_METATYPE(MyQStyledItemDelegate*) int QStyledItemDelegate_QStyledItemDelegate_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QStyledItemDelegate_NewQStyledItemDelegate(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQStyledItemDelegate(static_cast(parent)); } else { return new MyQStyledItemDelegate(static_cast(parent)); } } struct QtWidgets_PackedString QStyledItemDelegate_DisplayText(void* ptr, void* value, void* locale) { return ({ QByteArray* t4b31fe = new QByteArray(static_cast(ptr)->displayText(*static_cast(value), *static_cast(locale)).toUtf8()); QtWidgets_PackedString { const_cast(t4b31fe->prepend("WHITESPACE").constData()+10), t4b31fe->size()-10, t4b31fe }; }); } struct QtWidgets_PackedString QStyledItemDelegate_DisplayTextDefault(void* ptr, void* value, void* locale) { return ({ QByteArray* tfa980a = new QByteArray(static_cast(ptr)->QStyledItemDelegate::displayText(*static_cast(value), *static_cast(locale)).toUtf8()); QtWidgets_PackedString { const_cast(tfa980a->prepend("WHITESPACE").constData()+10), tfa980a->size()-10, tfa980a }; }); } void QStyledItemDelegate_InitStyleOption(void* ptr, void* option, void* index) { static_cast(ptr)->initStyleOption(static_cast(option), *static_cast(index)); } void QStyledItemDelegate_InitStyleOptionDefault(void* ptr, void* option, void* index) { static_cast(ptr)->QStyledItemDelegate::initStyleOption(static_cast(option), *static_cast(index)); } void* QStyledItemDelegate_ItemEditorFactory(void* ptr) { return static_cast(ptr)->itemEditorFactory(); } void QStyledItemDelegate_Paint(void* ptr, void* painter, void* option, void* index) { static_cast(ptr)->paint(static_cast(painter), *static_cast(option), *static_cast(index)); } void QStyledItemDelegate_PaintDefault(void* ptr, void* painter, void* option, void* index) { static_cast(ptr)->QStyledItemDelegate::paint(static_cast(painter), *static_cast(option), *static_cast(index)); } void QStyledItemDelegate_SetItemEditorFactory(void* ptr, void* factory) { static_cast(ptr)->setItemEditorFactory(static_cast(factory)); } void* QStyledItemDelegate_SizeHint(void* ptr, void* option, void* index) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(*static_cast(option), *static_cast(index)); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QStyledItemDelegate_SizeHintDefault(void* ptr, void* option, void* index) { return ({ QSize tmpValue = static_cast(ptr)->QStyledItemDelegate::sizeHint(*static_cast(option), *static_cast(index)); new QSize(tmpValue.width(), tmpValue.height()); }); } void QStyledItemDelegate_DestroyQStyledItemDelegate(void* ptr) { static_cast(ptr)->~QStyledItemDelegate(); } void QStyledItemDelegate_DestroyQStyledItemDelegateDefault(void* ptr) { Q_UNUSED(ptr); } class MyQSwipeGesture: public QSwipeGesture { public: ~MyQSwipeGesture() { callbackQSwipeGesture_DestroyQSwipeGesture(this); }; void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); }; void deleteLater() { callbackQGesture_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGesture_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGesture_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QSwipeGesture*) Q_DECLARE_METATYPE(MyQSwipeGesture*) int QSwipeGesture_QSwipeGesture_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} long long QSwipeGesture_HorizontalDirection(void* ptr) { return static_cast(ptr)->horizontalDirection(); } void QSwipeGesture_SetSwipeAngle(void* ptr, double value) { static_cast(ptr)->setSwipeAngle(value); } double QSwipeGesture_SwipeAngle(void* ptr) { return static_cast(ptr)->swipeAngle(); } long long QSwipeGesture_VerticalDirection(void* ptr) { return static_cast(ptr)->verticalDirection(); } void QSwipeGesture_DestroyQSwipeGesture(void* ptr) { static_cast(ptr)->~QSwipeGesture(); } void QSwipeGesture_DestroyQSwipeGestureDefault(void* ptr) { Q_UNUSED(ptr); } class MyQSystemTrayIcon: public QSystemTrayIcon { public: MyQSystemTrayIcon(QObject *parent = Q_NULLPTR) : QSystemTrayIcon(parent) {QSystemTrayIcon_QSystemTrayIcon_QRegisterMetaType();}; MyQSystemTrayIcon(const QIcon &icon, QObject *parent = Q_NULLPTR) : QSystemTrayIcon(icon, parent) {QSystemTrayIcon_QSystemTrayIcon_QRegisterMetaType();}; void Signal_Activated(QSystemTrayIcon::ActivationReason reason) { callbackQSystemTrayIcon_Activated(this, reason); }; bool event(QEvent * e) { return callbackQSystemTrayIcon_Event(this, e) != 0; }; void hide() { callbackQSystemTrayIcon_Hide(this); }; void Signal_MessageClicked() { callbackQSystemTrayIcon_MessageClicked(this); }; void setVisible(bool visible) { callbackQSystemTrayIcon_SetVisible(this, visible); }; void show() { callbackQSystemTrayIcon_Show(this); }; void showMessage(const QString & title, const QString & message, QSystemTrayIcon::MessageIcon icon, int millisecondsTimeoutHint) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };QByteArray* t6f9b9a = new QByteArray(message.toUtf8()); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a->prepend("WHITESPACE").constData()+10), t6f9b9a->size()-10, t6f9b9a };callbackQSystemTrayIcon_ShowMessage(this, titlePacked, messagePacked, icon, millisecondsTimeoutHint); }; void showMessage(const QString & title, const QString & message, const QIcon & icon, int millisecondsTimeoutHint) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };QByteArray* t6f9b9a = new QByteArray(message.toUtf8()); QtWidgets_PackedString messagePacked = { const_cast(t6f9b9a->prepend("WHITESPACE").constData()+10), t6f9b9a->size()-10, t6f9b9a };callbackQSystemTrayIcon_ShowMessage2(this, titlePacked, messagePacked, const_cast(&icon), millisecondsTimeoutHint); }; ~MyQSystemTrayIcon() { callbackQSystemTrayIcon_DestroyQSystemTrayIcon(this); }; void childEvent(QChildEvent * event) { callbackQSystemTrayIcon_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQSystemTrayIcon_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQSystemTrayIcon_CustomEvent(this, event); }; void deleteLater() { callbackQSystemTrayIcon_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQSystemTrayIcon_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQSystemTrayIcon_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQSystemTrayIcon_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQSystemTrayIcon_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQSystemTrayIcon_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQSystemTrayIcon_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QSystemTrayIcon*) Q_DECLARE_METATYPE(MyQSystemTrayIcon*) int QSystemTrayIcon_QSystemTrayIcon_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QSystemTrayIcon_NewQSystemTrayIcon(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(static_cast(parent)); } else { return new MyQSystemTrayIcon(static_cast(parent)); } } void* QSystemTrayIcon_NewQSystemTrayIcon2(void* icon, void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } else { return new MyQSystemTrayIcon(*static_cast(icon), static_cast(parent)); } } void QSystemTrayIcon_ConnectActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QSystemTrayIcon::activated), static_cast(ptr), static_cast(&MyQSystemTrayIcon::Signal_Activated), static_cast(t)); } void QSystemTrayIcon_DisconnectActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSystemTrayIcon::activated), static_cast(ptr), static_cast(&MyQSystemTrayIcon::Signal_Activated)); } void QSystemTrayIcon_Activated(void* ptr, long long reason) { static_cast(ptr)->activated(static_cast(reason)); } void* QSystemTrayIcon_ContextMenu(void* ptr) { return static_cast(ptr)->contextMenu(); } char QSystemTrayIcon_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QSystemTrayIcon::event(static_cast(e)); } void* QSystemTrayIcon_Geometry(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QSystemTrayIcon_Hide(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "hide"); } void QSystemTrayIcon_HideDefault(void* ptr) { static_cast(ptr)->QSystemTrayIcon::hide(); } void* QSystemTrayIcon_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon()); } char QSystemTrayIcon_QSystemTrayIcon_IsSystemTrayAvailable() { return QSystemTrayIcon::isSystemTrayAvailable(); } char QSystemTrayIcon_IsVisible(void* ptr) { return static_cast(ptr)->isVisible(); } void QSystemTrayIcon_ConnectMessageClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QSystemTrayIcon::messageClicked), static_cast(ptr), static_cast(&MyQSystemTrayIcon::Signal_MessageClicked), static_cast(t)); } void QSystemTrayIcon_DisconnectMessageClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QSystemTrayIcon::messageClicked), static_cast(ptr), static_cast(&MyQSystemTrayIcon::Signal_MessageClicked)); } void QSystemTrayIcon_MessageClicked(void* ptr) { static_cast(ptr)->messageClicked(); } void QSystemTrayIcon_SetContextMenu(void* ptr, void* menu) { static_cast(ptr)->setContextMenu(static_cast(menu)); } void QSystemTrayIcon_SetIcon(void* ptr, void* icon) { static_cast(ptr)->setIcon(*static_cast(icon)); } void QSystemTrayIcon_SetToolTip(void* ptr, struct QtWidgets_PackedString tip) { static_cast(ptr)->setToolTip(QString::fromUtf8(tip.data, tip.len)); } void QSystemTrayIcon_SetVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, visible != 0)); } void QSystemTrayIcon_SetVisibleDefault(void* ptr, char visible) { static_cast(ptr)->QSystemTrayIcon::setVisible(visible != 0); } void QSystemTrayIcon_Show(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "show"); } void QSystemTrayIcon_ShowDefault(void* ptr) { static_cast(ptr)->QSystemTrayIcon::show(); } void QSystemTrayIcon_ShowMessage(void* ptr, struct QtWidgets_PackedString title, struct QtWidgets_PackedString message, long long icon, int millisecondsTimeoutHint) { QMetaObject::invokeMethod(static_cast(ptr), "showMessage", Q_ARG(const QString, QString::fromUtf8(title.data, title.len)), Q_ARG(const QString, QString::fromUtf8(message.data, message.len)), Q_ARG(QSystemTrayIcon::MessageIcon, static_cast(icon)), Q_ARG(int, millisecondsTimeoutHint)); } void QSystemTrayIcon_ShowMessageDefault(void* ptr, struct QtWidgets_PackedString title, struct QtWidgets_PackedString message, long long icon, int millisecondsTimeoutHint) { static_cast(ptr)->QSystemTrayIcon::showMessage(QString::fromUtf8(title.data, title.len), QString::fromUtf8(message.data, message.len), static_cast(icon), millisecondsTimeoutHint); } void QSystemTrayIcon_ShowMessage2(void* ptr, struct QtWidgets_PackedString title, struct QtWidgets_PackedString message, void* icon, int millisecondsTimeoutHint) { QMetaObject::invokeMethod(static_cast(ptr), "showMessage", Q_ARG(const QString, QString::fromUtf8(title.data, title.len)), Q_ARG(const QString, QString::fromUtf8(message.data, message.len)), Q_ARG(const QIcon, *static_cast(icon)), Q_ARG(int, millisecondsTimeoutHint)); } void QSystemTrayIcon_ShowMessage2Default(void* ptr, struct QtWidgets_PackedString title, struct QtWidgets_PackedString message, void* icon, int millisecondsTimeoutHint) { static_cast(ptr)->QSystemTrayIcon::showMessage(QString::fromUtf8(title.data, title.len), QString::fromUtf8(message.data, message.len), *static_cast(icon), millisecondsTimeoutHint); } char QSystemTrayIcon_QSystemTrayIcon_SupportsMessages() { return QSystemTrayIcon::supportsMessages(); } struct QtWidgets_PackedString QSystemTrayIcon_ToolTip(void* ptr) { return ({ QByteArray* t27041f = new QByteArray(static_cast(ptr)->toolTip().toUtf8()); QtWidgets_PackedString { const_cast(t27041f->prepend("WHITESPACE").constData()+10), t27041f->size()-10, t27041f }; }); } void QSystemTrayIcon_DestroyQSystemTrayIcon(void* ptr) { static_cast(ptr)->~QSystemTrayIcon(); } void QSystemTrayIcon_DestroyQSystemTrayIconDefault(void* ptr) { Q_UNUSED(ptr); } void* QSystemTrayIcon___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QSystemTrayIcon___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QSystemTrayIcon___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QSystemTrayIcon___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QSystemTrayIcon___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QSystemTrayIcon___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QSystemTrayIcon___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QSystemTrayIcon___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QSystemTrayIcon___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QSystemTrayIcon___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QSystemTrayIcon___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QSystemTrayIcon___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QSystemTrayIcon_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QSystemTrayIcon::childEvent(static_cast(event)); } void QSystemTrayIcon_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSystemTrayIcon::connectNotify(*static_cast(sign)); } void QSystemTrayIcon_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QSystemTrayIcon::customEvent(static_cast(event)); } void QSystemTrayIcon_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QSystemTrayIcon::deleteLater(); } void QSystemTrayIcon_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QSystemTrayIcon::disconnectNotify(*static_cast(sign)); } char QSystemTrayIcon_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSystemTrayIcon::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSystemTrayIcon::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSystemTrayIcon::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSystemTrayIcon::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QSystemTrayIcon::eventFilter(static_cast(watched), static_cast(event)); } } void* QSystemTrayIcon_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QSystemTrayIcon::metaObject()); } void QSystemTrayIcon_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QSystemTrayIcon::timerEvent(static_cast(event)); } class MyQTabBar: public QTabBar { public: MyQTabBar(QWidget *parent = Q_NULLPTR) : QTabBar(parent) {QTabBar_QTabBar_QRegisterMetaType();}; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void Signal_CurrentChanged(int index) { callbackQTabBar_CurrentChanged(this, index); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void hideEvent(QHideEvent * vqh) { callbackQWidget_HideEvent(this, vqh); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; QSize minimumTabSizeHint(int index) const { return *static_cast(callbackQTabBar_MinimumTabSizeHint(const_cast(static_cast(this)), index)); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; void resizeEvent(QResizeEvent * vqr) { callbackQWidget_ResizeEvent(this, vqr); }; void setCurrentIndex(int index) { callbackQTabBar_SetCurrentIndex(this, index); }; void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_TabBarClicked(int index) { callbackQTabBar_TabBarClicked(this, index); }; void Signal_TabBarDoubleClicked(int index) { callbackQTabBar_TabBarDoubleClicked(this, index); }; void Signal_TabCloseRequested(int index) { callbackQTabBar_TabCloseRequested(this, index); }; void tabInserted(int index) { callbackQTabBar_TabInserted(this, index); }; void tabLayoutChange() { callbackQTabBar_TabLayoutChange(this); }; void Signal_TabMoved(int from, int to) { callbackQTabBar_TabMoved(this, from, to); }; void tabRemoved(int index) { callbackQTabBar_TabRemoved(this, index); }; QSize tabSizeHint(int index) const { return *static_cast(callbackQTabBar_TabSizeHint(const_cast(static_cast(this)), index)); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; ~MyQTabBar() { callbackQTabBar_DestroyQTabBar(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QTabBar*) Q_DECLARE_METATYPE(MyQTabBar*) int QTabBar_QTabBar_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTabBar_NewQTabBar(void* parent) { return new MyQTabBar(static_cast(parent)); } struct QtWidgets_PackedString QTabBar_AccessibleTabName(void* ptr, int index) { return ({ QByteArray* tfff4ba = new QByteArray(static_cast(ptr)->accessibleTabName(index).toUtf8()); QtWidgets_PackedString { const_cast(tfff4ba->prepend("WHITESPACE").constData()+10), tfff4ba->size()-10, tfff4ba }; }); } int QTabBar_AddTab(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->addTab(QString::fromUtf8(text.data, text.len)); } int QTabBar_AddTab2(void* ptr, void* icon, struct QtWidgets_PackedString text) { return static_cast(ptr)->addTab(*static_cast(icon), QString::fromUtf8(text.data, text.len)); } char QTabBar_AutoHide(void* ptr) { return static_cast(ptr)->autoHide(); } char QTabBar_ChangeCurrentOnDrag(void* ptr) { return static_cast(ptr)->changeCurrentOnDrag(); } int QTabBar_Count(void* ptr) { return static_cast(ptr)->count(); } void QTabBar_ConnectCurrentChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabBar::currentChanged), static_cast(ptr), static_cast(&MyQTabBar::Signal_CurrentChanged), static_cast(t)); } void QTabBar_DisconnectCurrentChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabBar::currentChanged), static_cast(ptr), static_cast(&MyQTabBar::Signal_CurrentChanged)); } void QTabBar_CurrentChanged(void* ptr, int index) { static_cast(ptr)->currentChanged(index); } int QTabBar_CurrentIndex(void* ptr) { return static_cast(ptr)->currentIndex(); } char QTabBar_DocumentMode(void* ptr) { return static_cast(ptr)->documentMode(); } char QTabBar_DrawBase(void* ptr) { return static_cast(ptr)->drawBase(); } long long QTabBar_ElideMode(void* ptr) { return static_cast(ptr)->elideMode(); } char QTabBar_Expanding(void* ptr) { return static_cast(ptr)->expanding(); } void* QTabBar_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QTabBar_InitStyleOption(void* ptr, void* option, int tabIndex) { static_cast(ptr)->initStyleOption(static_cast(option), tabIndex); } int QTabBar_InsertTab(void* ptr, int index, struct QtWidgets_PackedString text) { return static_cast(ptr)->insertTab(index, QString::fromUtf8(text.data, text.len)); } int QTabBar_InsertTab2(void* ptr, int index, void* icon, struct QtWidgets_PackedString text) { return static_cast(ptr)->insertTab(index, *static_cast(icon), QString::fromUtf8(text.data, text.len)); } char QTabBar_IsMovable(void* ptr) { return static_cast(ptr)->isMovable(); } char QTabBar_IsTabEnabled(void* ptr, int index) { return static_cast(ptr)->isTabEnabled(index); } void* QTabBar_MinimumTabSizeHint(void* ptr, int index) { return ({ QSize tmpValue = static_cast(ptr)->minimumTabSizeHint(index); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QTabBar_MinimumTabSizeHintDefault(void* ptr, int index) { return ({ QSize tmpValue = static_cast(ptr)->QTabBar::minimumTabSizeHint(index); new QSize(tmpValue.width(), tmpValue.height()); }); } void QTabBar_MoveTab(void* ptr, int from, int to) { static_cast(ptr)->moveTab(from, to); } void QTabBar_RemoveTab(void* ptr, int index) { static_cast(ptr)->removeTab(index); } long long QTabBar_SelectionBehaviorOnRemove(void* ptr) { return static_cast(ptr)->selectionBehaviorOnRemove(); } void QTabBar_SetAccessibleTabName(void* ptr, int index, struct QtWidgets_PackedString name) { static_cast(ptr)->setAccessibleTabName(index, QString::fromUtf8(name.data, name.len)); } void QTabBar_SetAutoHide(void* ptr, char hide) { static_cast(ptr)->setAutoHide(hide != 0); } void QTabBar_SetChangeCurrentOnDrag(void* ptr, char change) { static_cast(ptr)->setChangeCurrentOnDrag(change != 0); } void QTabBar_SetCurrentIndex(void* ptr, int index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(int, index)); } void QTabBar_SetCurrentIndexDefault(void* ptr, int index) { static_cast(ptr)->QTabBar::setCurrentIndex(index); } void QTabBar_SetDocumentMode(void* ptr, char set) { static_cast(ptr)->setDocumentMode(set != 0); } void QTabBar_SetDrawBase(void* ptr, char drawTheBase) { static_cast(ptr)->setDrawBase(drawTheBase != 0); } void QTabBar_SetElideMode(void* ptr, long long vqt) { static_cast(ptr)->setElideMode(static_cast(vqt)); } void QTabBar_SetExpanding(void* ptr, char enabled) { static_cast(ptr)->setExpanding(enabled != 0); } void QTabBar_SetIconSize(void* ptr, void* size) { static_cast(ptr)->setIconSize(*static_cast(size)); } void QTabBar_SetMovable(void* ptr, char movable) { static_cast(ptr)->setMovable(movable != 0); } void QTabBar_SetSelectionBehaviorOnRemove(void* ptr, long long behavior) { static_cast(ptr)->setSelectionBehaviorOnRemove(static_cast(behavior)); } void QTabBar_SetShape(void* ptr, long long shape) { static_cast(ptr)->setShape(static_cast(shape)); } void QTabBar_SetTabButton(void* ptr, int index, long long position, void* widget) { static_cast(ptr)->setTabButton(index, static_cast(position), static_cast(widget)); } void QTabBar_SetTabData(void* ptr, int index, void* data) { static_cast(ptr)->setTabData(index, *static_cast(data)); } void QTabBar_SetTabEnabled(void* ptr, int index, char enabled) { static_cast(ptr)->setTabEnabled(index, enabled != 0); } void QTabBar_SetTabIcon(void* ptr, int index, void* icon) { static_cast(ptr)->setTabIcon(index, *static_cast(icon)); } void QTabBar_SetTabText(void* ptr, int index, struct QtWidgets_PackedString text) { static_cast(ptr)->setTabText(index, QString::fromUtf8(text.data, text.len)); } void QTabBar_SetTabTextColor(void* ptr, int index, void* color) { static_cast(ptr)->setTabTextColor(index, *static_cast(color)); } void QTabBar_SetTabToolTip(void* ptr, int index, struct QtWidgets_PackedString tip) { static_cast(ptr)->setTabToolTip(index, QString::fromUtf8(tip.data, tip.len)); } void QTabBar_SetTabWhatsThis(void* ptr, int index, struct QtWidgets_PackedString text) { static_cast(ptr)->setTabWhatsThis(index, QString::fromUtf8(text.data, text.len)); } void QTabBar_SetTabsClosable(void* ptr, char closable) { static_cast(ptr)->setTabsClosable(closable != 0); } void QTabBar_SetUsesScrollButtons(void* ptr, char useButtons) { static_cast(ptr)->setUsesScrollButtons(useButtons != 0); } long long QTabBar_Shape(void* ptr) { return static_cast(ptr)->shape(); } int QTabBar_TabAt(void* ptr, void* position) { return static_cast(ptr)->tabAt(*static_cast(position)); } void QTabBar_ConnectTabBarClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabBar::tabBarClicked), static_cast(ptr), static_cast(&MyQTabBar::Signal_TabBarClicked), static_cast(t)); } void QTabBar_DisconnectTabBarClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabBar::tabBarClicked), static_cast(ptr), static_cast(&MyQTabBar::Signal_TabBarClicked)); } void QTabBar_TabBarClicked(void* ptr, int index) { static_cast(ptr)->tabBarClicked(index); } void QTabBar_ConnectTabBarDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabBar::tabBarDoubleClicked), static_cast(ptr), static_cast(&MyQTabBar::Signal_TabBarDoubleClicked), static_cast(t)); } void QTabBar_DisconnectTabBarDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabBar::tabBarDoubleClicked), static_cast(ptr), static_cast(&MyQTabBar::Signal_TabBarDoubleClicked)); } void QTabBar_TabBarDoubleClicked(void* ptr, int index) { static_cast(ptr)->tabBarDoubleClicked(index); } void* QTabBar_TabButton(void* ptr, int index, long long position) { return static_cast(ptr)->tabButton(index, static_cast(position)); } void QTabBar_ConnectTabCloseRequested(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabBar::tabCloseRequested), static_cast(ptr), static_cast(&MyQTabBar::Signal_TabCloseRequested), static_cast(t)); } void QTabBar_DisconnectTabCloseRequested(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabBar::tabCloseRequested), static_cast(ptr), static_cast(&MyQTabBar::Signal_TabCloseRequested)); } void QTabBar_TabCloseRequested(void* ptr, int index) { static_cast(ptr)->tabCloseRequested(index); } void* QTabBar_TabData(void* ptr, int index) { return new QVariant(static_cast(ptr)->tabData(index)); } void* QTabBar_TabIcon(void* ptr, int index) { return new QIcon(static_cast(ptr)->tabIcon(index)); } void QTabBar_TabInserted(void* ptr, int index) { static_cast(ptr)->tabInserted(index); } void QTabBar_TabInsertedDefault(void* ptr, int index) { static_cast(ptr)->QTabBar::tabInserted(index); } void QTabBar_TabLayoutChange(void* ptr) { static_cast(ptr)->tabLayoutChange(); } void QTabBar_TabLayoutChangeDefault(void* ptr) { static_cast(ptr)->QTabBar::tabLayoutChange(); } void QTabBar_ConnectTabMoved(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabBar::tabMoved), static_cast(ptr), static_cast(&MyQTabBar::Signal_TabMoved), static_cast(t)); } void QTabBar_DisconnectTabMoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabBar::tabMoved), static_cast(ptr), static_cast(&MyQTabBar::Signal_TabMoved)); } void QTabBar_TabMoved(void* ptr, int from, int to) { static_cast(ptr)->tabMoved(from, to); } void* QTabBar_TabRect(void* ptr, int index) { return ({ QRect tmpValue = static_cast(ptr)->tabRect(index); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QTabBar_TabRemoved(void* ptr, int index) { static_cast(ptr)->tabRemoved(index); } void QTabBar_TabRemovedDefault(void* ptr, int index) { static_cast(ptr)->QTabBar::tabRemoved(index); } void* QTabBar_TabSizeHint(void* ptr, int index) { return ({ QSize tmpValue = static_cast(ptr)->tabSizeHint(index); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QTabBar_TabSizeHintDefault(void* ptr, int index) { return ({ QSize tmpValue = static_cast(ptr)->QTabBar::tabSizeHint(index); new QSize(tmpValue.width(), tmpValue.height()); }); } struct QtWidgets_PackedString QTabBar_TabText(void* ptr, int index) { return ({ QByteArray* t67599e = new QByteArray(static_cast(ptr)->tabText(index).toUtf8()); QtWidgets_PackedString { const_cast(t67599e->prepend("WHITESPACE").constData()+10), t67599e->size()-10, t67599e }; }); } void* QTabBar_TabTextColor(void* ptr, int index) { return new QColor(static_cast(ptr)->tabTextColor(index)); } struct QtWidgets_PackedString QTabBar_TabToolTip(void* ptr, int index) { return ({ QByteArray* t1438d1 = new QByteArray(static_cast(ptr)->tabToolTip(index).toUtf8()); QtWidgets_PackedString { const_cast(t1438d1->prepend("WHITESPACE").constData()+10), t1438d1->size()-10, t1438d1 }; }); } struct QtWidgets_PackedString QTabBar_TabWhatsThis(void* ptr, int index) { return ({ QByteArray* t61711f = new QByteArray(static_cast(ptr)->tabWhatsThis(index).toUtf8()); QtWidgets_PackedString { const_cast(t61711f->prepend("WHITESPACE").constData()+10), t61711f->size()-10, t61711f }; }); } char QTabBar_TabsClosable(void* ptr) { return static_cast(ptr)->tabsClosable(); } char QTabBar_UsesScrollButtons(void* ptr) { return static_cast(ptr)->usesScrollButtons(); } void QTabBar_DestroyQTabBar(void* ptr) { static_cast(ptr)->~QTabBar(); } void QTabBar_DestroyQTabBarDefault(void* ptr) { Q_UNUSED(ptr); } class MyQTabWidget: public QTabWidget { public: MyQTabWidget(QWidget *parent = Q_NULLPTR) : QTabWidget(parent) {QTabWidget_QTabWidget_QRegisterMetaType();}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void Signal_CurrentChanged(int index) { callbackQTabWidget_CurrentChanged(this, index); }; bool event(QEvent * ev) { return callbackQWidget_Event(this, ev) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int width) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), width); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void setCurrentIndex(int index) { callbackQTabWidget_SetCurrentIndex(this, index); }; void setCurrentWidget(QWidget * widget) { callbackQTabWidget_SetCurrentWidget(this, widget); }; void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void Signal_TabBarClicked(int index) { callbackQTabWidget_TabBarClicked(this, index); }; void Signal_TabBarDoubleClicked(int index) { callbackQTabWidget_TabBarDoubleClicked(this, index); }; void Signal_TabCloseRequested(int index) { callbackQTabWidget_TabCloseRequested(this, index); }; void tabInserted(int index) { callbackQTabWidget_TabInserted(this, index); }; void tabRemoved(int index) { callbackQTabWidget_TabRemoved(this, index); }; ~MyQTabWidget() { callbackQTabWidget_DestroyQTabWidget(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QTabWidget*) Q_DECLARE_METATYPE(MyQTabWidget*) int QTabWidget_QTabWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTabWidget_NewQTabWidget(void* parent) { return new MyQTabWidget(static_cast(parent)); } int QTabWidget_AddTab(void* ptr, void* page, struct QtWidgets_PackedString label) { return static_cast(ptr)->addTab(static_cast(page), QString::fromUtf8(label.data, label.len)); } int QTabWidget_AddTab2(void* ptr, void* page, void* icon, struct QtWidgets_PackedString label) { return static_cast(ptr)->addTab(static_cast(page), *static_cast(icon), QString::fromUtf8(label.data, label.len)); } void QTabWidget_Clear(void* ptr) { static_cast(ptr)->clear(); } void* QTabWidget_CornerWidget(void* ptr, long long corner) { return static_cast(ptr)->cornerWidget(static_cast(corner)); } int QTabWidget_Count(void* ptr) { return static_cast(ptr)->count(); } void QTabWidget_ConnectCurrentChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabWidget::currentChanged), static_cast(ptr), static_cast(&MyQTabWidget::Signal_CurrentChanged), static_cast(t)); } void QTabWidget_DisconnectCurrentChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabWidget::currentChanged), static_cast(ptr), static_cast(&MyQTabWidget::Signal_CurrentChanged)); } void QTabWidget_CurrentChanged(void* ptr, int index) { static_cast(ptr)->currentChanged(index); } int QTabWidget_CurrentIndex(void* ptr) { return static_cast(ptr)->currentIndex(); } void* QTabWidget_CurrentWidget(void* ptr) { return static_cast(ptr)->currentWidget(); } char QTabWidget_DocumentMode(void* ptr) { return static_cast(ptr)->documentMode(); } long long QTabWidget_ElideMode(void* ptr) { return static_cast(ptr)->elideMode(); } void* QTabWidget_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } int QTabWidget_IndexOf(void* ptr, void* w) { return static_cast(ptr)->indexOf(static_cast(w)); } void QTabWidget_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } int QTabWidget_InsertTab(void* ptr, int index, void* page, struct QtWidgets_PackedString label) { return static_cast(ptr)->insertTab(index, static_cast(page), QString::fromUtf8(label.data, label.len)); } int QTabWidget_InsertTab2(void* ptr, int index, void* page, void* icon, struct QtWidgets_PackedString label) { return static_cast(ptr)->insertTab(index, static_cast(page), *static_cast(icon), QString::fromUtf8(label.data, label.len)); } char QTabWidget_IsMovable(void* ptr) { return static_cast(ptr)->isMovable(); } char QTabWidget_IsTabEnabled(void* ptr, int index) { return static_cast(ptr)->isTabEnabled(index); } void QTabWidget_RemoveTab(void* ptr, int index) { static_cast(ptr)->removeTab(index); } void QTabWidget_SetCornerWidget(void* ptr, void* widget, long long corner) { static_cast(ptr)->setCornerWidget(static_cast(widget), static_cast(corner)); } void QTabWidget_SetCurrentIndex(void* ptr, int index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(int, index)); } void QTabWidget_SetCurrentIndexDefault(void* ptr, int index) { static_cast(ptr)->QTabWidget::setCurrentIndex(index); } void QTabWidget_SetCurrentWidget(void* ptr, void* widget) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentWidget", Q_ARG(QWidget*, static_cast(widget))); } void QTabWidget_SetCurrentWidgetDefault(void* ptr, void* widget) { static_cast(ptr)->QTabWidget::setCurrentWidget(static_cast(widget)); } void QTabWidget_SetDocumentMode(void* ptr, char set) { static_cast(ptr)->setDocumentMode(set != 0); } void QTabWidget_SetElideMode(void* ptr, long long vqt) { static_cast(ptr)->setElideMode(static_cast(vqt)); } void QTabWidget_SetIconSize(void* ptr, void* size) { static_cast(ptr)->setIconSize(*static_cast(size)); } void QTabWidget_SetMovable(void* ptr, char movable) { static_cast(ptr)->setMovable(movable != 0); } void QTabWidget_SetTabBar(void* ptr, void* tb) { static_cast(ptr)->setTabBar(static_cast(tb)); } void QTabWidget_SetTabBarAutoHide(void* ptr, char enabled) { static_cast(ptr)->setTabBarAutoHide(enabled != 0); } void QTabWidget_SetTabEnabled(void* ptr, int index, char enable) { static_cast(ptr)->setTabEnabled(index, enable != 0); } void QTabWidget_SetTabIcon(void* ptr, int index, void* icon) { static_cast(ptr)->setTabIcon(index, *static_cast(icon)); } void QTabWidget_SetTabPosition(void* ptr, long long vqt) { static_cast(ptr)->setTabPosition(static_cast(vqt)); } void QTabWidget_SetTabShape(void* ptr, long long s) { static_cast(ptr)->setTabShape(static_cast(s)); } void QTabWidget_SetTabText(void* ptr, int index, struct QtWidgets_PackedString label) { static_cast(ptr)->setTabText(index, QString::fromUtf8(label.data, label.len)); } void QTabWidget_SetTabToolTip(void* ptr, int index, struct QtWidgets_PackedString tip) { static_cast(ptr)->setTabToolTip(index, QString::fromUtf8(tip.data, tip.len)); } void QTabWidget_SetTabWhatsThis(void* ptr, int index, struct QtWidgets_PackedString text) { static_cast(ptr)->setTabWhatsThis(index, QString::fromUtf8(text.data, text.len)); } void QTabWidget_SetTabsClosable(void* ptr, char closeable) { static_cast(ptr)->setTabsClosable(closeable != 0); } void QTabWidget_SetUsesScrollButtons(void* ptr, char useButtons) { static_cast(ptr)->setUsesScrollButtons(useButtons != 0); } void* QTabWidget_TabBar(void* ptr) { return static_cast(ptr)->tabBar(); } char QTabWidget_TabBarAutoHide(void* ptr) { return static_cast(ptr)->tabBarAutoHide(); } void QTabWidget_ConnectTabBarClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabWidget::tabBarClicked), static_cast(ptr), static_cast(&MyQTabWidget::Signal_TabBarClicked), static_cast(t)); } void QTabWidget_DisconnectTabBarClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabWidget::tabBarClicked), static_cast(ptr), static_cast(&MyQTabWidget::Signal_TabBarClicked)); } void QTabWidget_TabBarClicked(void* ptr, int index) { static_cast(ptr)->tabBarClicked(index); } void QTabWidget_ConnectTabBarDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabWidget::tabBarDoubleClicked), static_cast(ptr), static_cast(&MyQTabWidget::Signal_TabBarDoubleClicked), static_cast(t)); } void QTabWidget_DisconnectTabBarDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabWidget::tabBarDoubleClicked), static_cast(ptr), static_cast(&MyQTabWidget::Signal_TabBarDoubleClicked)); } void QTabWidget_TabBarDoubleClicked(void* ptr, int index) { static_cast(ptr)->tabBarDoubleClicked(index); } void QTabWidget_ConnectTabCloseRequested(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTabWidget::tabCloseRequested), static_cast(ptr), static_cast(&MyQTabWidget::Signal_TabCloseRequested), static_cast(t)); } void QTabWidget_DisconnectTabCloseRequested(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTabWidget::tabCloseRequested), static_cast(ptr), static_cast(&MyQTabWidget::Signal_TabCloseRequested)); } void QTabWidget_TabCloseRequested(void* ptr, int index) { static_cast(ptr)->tabCloseRequested(index); } void* QTabWidget_TabIcon(void* ptr, int index) { return new QIcon(static_cast(ptr)->tabIcon(index)); } void QTabWidget_TabInserted(void* ptr, int index) { static_cast(ptr)->tabInserted(index); } void QTabWidget_TabInsertedDefault(void* ptr, int index) { static_cast(ptr)->QTabWidget::tabInserted(index); } long long QTabWidget_TabPosition(void* ptr) { return static_cast(ptr)->tabPosition(); } void QTabWidget_TabRemoved(void* ptr, int index) { static_cast(ptr)->tabRemoved(index); } void QTabWidget_TabRemovedDefault(void* ptr, int index) { static_cast(ptr)->QTabWidget::tabRemoved(index); } long long QTabWidget_TabShape(void* ptr) { return static_cast(ptr)->tabShape(); } struct QtWidgets_PackedString QTabWidget_TabText(void* ptr, int index) { return ({ QByteArray* t5dcd8a = new QByteArray(static_cast(ptr)->tabText(index).toUtf8()); QtWidgets_PackedString { const_cast(t5dcd8a->prepend("WHITESPACE").constData()+10), t5dcd8a->size()-10, t5dcd8a }; }); } struct QtWidgets_PackedString QTabWidget_TabToolTip(void* ptr, int index) { return ({ QByteArray* t2994f0 = new QByteArray(static_cast(ptr)->tabToolTip(index).toUtf8()); QtWidgets_PackedString { const_cast(t2994f0->prepend("WHITESPACE").constData()+10), t2994f0->size()-10, t2994f0 }; }); } struct QtWidgets_PackedString QTabWidget_TabWhatsThis(void* ptr, int index) { return ({ QByteArray* ta4a3c3 = new QByteArray(static_cast(ptr)->tabWhatsThis(index).toUtf8()); QtWidgets_PackedString { const_cast(ta4a3c3->prepend("WHITESPACE").constData()+10), ta4a3c3->size()-10, ta4a3c3 }; }); } char QTabWidget_TabsClosable(void* ptr) { return static_cast(ptr)->tabsClosable(); } char QTabWidget_UsesScrollButtons(void* ptr) { return static_cast(ptr)->usesScrollButtons(); } void* QTabWidget_Widget(void* ptr, int index) { return static_cast(ptr)->widget(index); } void QTabWidget_DestroyQTabWidget(void* ptr) { static_cast(ptr)->~QTabWidget(); } void QTabWidget_DestroyQTabWidgetDefault(void* ptr) { Q_UNUSED(ptr); } class MyQTableView: public QTableView { public: MyQTableView(QWidget *parent = Q_NULLPTR) : QTableView(parent) {QTableView_QTableView_QRegisterMetaType();}; void columnCountChanged(int oldCount, int newCount) { callbackQTableView_ColumnCountChanged(this, oldCount, newCount); }; void columnMoved(int column, int oldIndex, int newIndex) { callbackQTableView_ColumnMoved(this, column, oldIndex, newIndex); }; void columnResized(int column, int oldWidth, int newWidth) { callbackQTableView_ColumnResized(this, column, oldWidth, newWidth); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQTableView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void hideColumn(int column) { callbackQTableView_HideColumn(this, column); }; void hideRow(int row) { callbackQTableView_HideRow(this, row); }; int horizontalOffset() const { return callbackQTableView_HorizontalOffset(const_cast(static_cast(this))); }; QModelIndex indexAt(const QPoint & pos) const { return *static_cast(callbackQTableView_IndexAt(const_cast(static_cast(this)), const_cast(&pos))); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQTableView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQTableView_MoveCursor(this, cursorAction, modifiers)); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeColumnToContents(int column) { callbackQTableView_ResizeColumnToContents(this, column); }; void resizeColumnsToContents() { callbackQTableView_ResizeColumnsToContents(this); }; void resizeRowToContents(int row) { callbackQTableView_ResizeRowToContents(this, row); }; void resizeRowsToContents() { callbackQTableView_ResizeRowsToContents(this); }; void rowCountChanged(int oldCount, int newCount) { callbackQTableView_RowCountChanged(this, oldCount, newCount); }; void rowMoved(int row, int oldIndex, int newIndex) { callbackQTableView_RowMoved(this, row, oldIndex, newIndex); }; void rowResized(int row, int oldHeight, int newHeight) { callbackQTableView_RowResized(this, row, oldHeight, newHeight); }; void selectColumn(int column) { callbackQTableView_SelectColumn(this, column); }; void selectRow(int row) { callbackQTableView_SelectRow(this, row); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQTableView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQTableView_SetRootIndex(this, const_cast(&index)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags flags) { callbackQTableView_SetSelection(this, const_cast(&rect), flags); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; void setShowGrid(bool show) { callbackQTableView_SetShowGrid(this, show); }; void showColumn(int column) { callbackQTableView_ShowColumn(this, column); }; void showRow(int row) { callbackQTableView_ShowRow(this, row); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void sortByColumn(int column, Qt::SortOrder order) { callbackQTableView_SortByColumn(this, column, order); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void updateGeometries() { callbackQTableView_UpdateGeometries(this); }; int verticalOffset() const { return callbackQTableView_VerticalOffset(const_cast(static_cast(this))); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; ~MyQTableView() { callbackQTableView_DestroyQTableView(this); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQAbstractItemView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void reset() { callbackQAbstractItemView_Reset(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsInserted(this, const_cast(&parent), start, end); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQTableView_ScrollTo(this, const_cast(&index), hint); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; void selectAll() { callbackQAbstractItemView_SelectAll(this); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQTableView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQTableView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QTableView*) Q_DECLARE_METATYPE(MyQTableView*) int QTableView_QTableView_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTableView_NewQTableView(void* parent) { return new MyQTableView(static_cast(parent)); } void QTableView_ClearSpans(void* ptr) { static_cast(ptr)->clearSpans(); } int QTableView_ColumnAt(void* ptr, int x) { return static_cast(ptr)->columnAt(x); } void QTableView_ColumnCountChanged(void* ptr, int oldCount, int newCount) { QMetaObject::invokeMethod(static_cast(ptr), "columnCountChanged", Q_ARG(int, oldCount), Q_ARG(int, newCount)); } void QTableView_ColumnCountChangedDefault(void* ptr, int oldCount, int newCount) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::columnCountChanged(oldCount, newCount); } else { static_cast(ptr)->QTableView::columnCountChanged(oldCount, newCount); } } void QTableView_ColumnMoved(void* ptr, int column, int oldIndex, int newIndex) { QMetaObject::invokeMethod(static_cast(ptr), "columnMoved", Q_ARG(int, column), Q_ARG(int, oldIndex), Q_ARG(int, newIndex)); } void QTableView_ColumnMovedDefault(void* ptr, int column, int oldIndex, int newIndex) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::columnMoved(column, oldIndex, newIndex); } else { static_cast(ptr)->QTableView::columnMoved(column, oldIndex, newIndex); } } void QTableView_ColumnResized(void* ptr, int column, int oldWidth, int newWidth) { QMetaObject::invokeMethod(static_cast(ptr), "columnResized", Q_ARG(int, column), Q_ARG(int, oldWidth), Q_ARG(int, newWidth)); } void QTableView_ColumnResizedDefault(void* ptr, int column, int oldWidth, int newWidth) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::columnResized(column, oldWidth, newWidth); } else { static_cast(ptr)->QTableView::columnResized(column, oldWidth, newWidth); } } int QTableView_ColumnSpan(void* ptr, int row, int column) { return static_cast(ptr)->columnSpan(row, column); } int QTableView_ColumnViewportPosition(void* ptr, int column) { return static_cast(ptr)->columnViewportPosition(column); } int QTableView_ColumnWidth(void* ptr, int column) { return static_cast(ptr)->columnWidth(column); } void QTableView_CurrentChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentChanged(*static_cast(current), *static_cast(previous)); } void QTableView_CurrentChangedDefault(void* ptr, void* current, void* previous) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::currentChanged(*static_cast(current), *static_cast(previous)); } else { static_cast(ptr)->QTableView::currentChanged(*static_cast(current), *static_cast(previous)); } } long long QTableView_GridStyle(void* ptr) { return static_cast(ptr)->gridStyle(); } void QTableView_HideColumn(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "hideColumn", Q_ARG(int, column)); } void QTableView_HideColumnDefault(void* ptr, int column) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::hideColumn(column); } else { static_cast(ptr)->QTableView::hideColumn(column); } } void QTableView_HideRow(void* ptr, int row) { QMetaObject::invokeMethod(static_cast(ptr), "hideRow", Q_ARG(int, row)); } void QTableView_HideRowDefault(void* ptr, int row) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::hideRow(row); } else { static_cast(ptr)->QTableView::hideRow(row); } } void* QTableView_HorizontalHeader(void* ptr) { return static_cast(ptr)->horizontalHeader(); } int QTableView_HorizontalOffset(void* ptr) { return static_cast(ptr)->horizontalOffset(); } int QTableView_HorizontalOffsetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::horizontalOffset(); } else { return static_cast(ptr)->QTableView::horizontalOffset(); } } void* QTableView_IndexAt(void* ptr, void* pos) { return new QModelIndex(static_cast(ptr)->indexAt(*static_cast(pos))); } void* QTableView_IndexAtDefault(void* ptr, void* pos) { if (dynamic_cast(static_cast(ptr))) { return new QModelIndex(static_cast(ptr)->QTableWidget::indexAt(*static_cast(pos))); } else { return new QModelIndex(static_cast(ptr)->QTableView::indexAt(*static_cast(pos))); } } char QTableView_IsColumnHidden(void* ptr, int column) { return static_cast(ptr)->isColumnHidden(column); } char QTableView_IsCornerButtonEnabled(void* ptr) { return static_cast(ptr)->isCornerButtonEnabled(); } char QTableView_IsIndexHidden(void* ptr, void* index) { return static_cast(ptr)->isIndexHidden(*static_cast(index)); } char QTableView_IsIndexHiddenDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::isIndexHidden(*static_cast(index)); } else { return static_cast(ptr)->QTableView::isIndexHidden(*static_cast(index)); } } char QTableView_IsRowHidden(void* ptr, int row) { return static_cast(ptr)->isRowHidden(row); } char QTableView_IsSortingEnabled(void* ptr) { return static_cast(ptr)->isSortingEnabled(); } void* QTableView_MoveCursor(void* ptr, long long cursorAction, long long modifiers) { return new QModelIndex(static_cast(ptr)->moveCursor(static_cast(cursorAction), static_cast(modifiers))); } void* QTableView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers) { if (dynamic_cast(static_cast(ptr))) { return new QModelIndex(static_cast(ptr)->QTableWidget::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } else { return new QModelIndex(static_cast(ptr)->QTableView::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } } void QTableView_ResizeColumnToContents(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "resizeColumnToContents", Q_ARG(int, column)); } void QTableView_ResizeColumnToContentsDefault(void* ptr, int column) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::resizeColumnToContents(column); } else { static_cast(ptr)->QTableView::resizeColumnToContents(column); } } void QTableView_ResizeColumnsToContents(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resizeColumnsToContents"); } void QTableView_ResizeColumnsToContentsDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::resizeColumnsToContents(); } else { static_cast(ptr)->QTableView::resizeColumnsToContents(); } } void QTableView_ResizeRowToContents(void* ptr, int row) { QMetaObject::invokeMethod(static_cast(ptr), "resizeRowToContents", Q_ARG(int, row)); } void QTableView_ResizeRowToContentsDefault(void* ptr, int row) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::resizeRowToContents(row); } else { static_cast(ptr)->QTableView::resizeRowToContents(row); } } void QTableView_ResizeRowsToContents(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resizeRowsToContents"); } void QTableView_ResizeRowsToContentsDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::resizeRowsToContents(); } else { static_cast(ptr)->QTableView::resizeRowsToContents(); } } int QTableView_RowAt(void* ptr, int y) { return static_cast(ptr)->rowAt(y); } void QTableView_RowCountChanged(void* ptr, int oldCount, int newCount) { QMetaObject::invokeMethod(static_cast(ptr), "rowCountChanged", Q_ARG(int, oldCount), Q_ARG(int, newCount)); } void QTableView_RowCountChangedDefault(void* ptr, int oldCount, int newCount) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::rowCountChanged(oldCount, newCount); } else { static_cast(ptr)->QTableView::rowCountChanged(oldCount, newCount); } } int QTableView_RowHeight(void* ptr, int row) { return static_cast(ptr)->rowHeight(row); } void QTableView_RowMoved(void* ptr, int row, int oldIndex, int newIndex) { QMetaObject::invokeMethod(static_cast(ptr), "rowMoved", Q_ARG(int, row), Q_ARG(int, oldIndex), Q_ARG(int, newIndex)); } void QTableView_RowMovedDefault(void* ptr, int row, int oldIndex, int newIndex) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::rowMoved(row, oldIndex, newIndex); } else { static_cast(ptr)->QTableView::rowMoved(row, oldIndex, newIndex); } } void QTableView_RowResized(void* ptr, int row, int oldHeight, int newHeight) { QMetaObject::invokeMethod(static_cast(ptr), "rowResized", Q_ARG(int, row), Q_ARG(int, oldHeight), Q_ARG(int, newHeight)); } void QTableView_RowResizedDefault(void* ptr, int row, int oldHeight, int newHeight) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::rowResized(row, oldHeight, newHeight); } else { static_cast(ptr)->QTableView::rowResized(row, oldHeight, newHeight); } } int QTableView_RowSpan(void* ptr, int row, int column) { return static_cast(ptr)->rowSpan(row, column); } int QTableView_RowViewportPosition(void* ptr, int row) { return static_cast(ptr)->rowViewportPosition(row); } void QTableView_SelectColumn(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "selectColumn", Q_ARG(int, column)); } void QTableView_SelectColumnDefault(void* ptr, int column) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::selectColumn(column); } else { static_cast(ptr)->QTableView::selectColumn(column); } } void QTableView_SelectRow(void* ptr, int row) { QMetaObject::invokeMethod(static_cast(ptr), "selectRow", Q_ARG(int, row)); } void QTableView_SelectRowDefault(void* ptr, int row) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::selectRow(row); } else { static_cast(ptr)->QTableView::selectRow(row); } } void QTableView_SelectionChanged(void* ptr, void* selected, void* deselected) { static_cast(ptr)->selectionChanged(*static_cast(selected), *static_cast(deselected)); } void QTableView_SelectionChangedDefault(void* ptr, void* selected, void* deselected) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else { static_cast(ptr)->QTableView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } } void QTableView_SetColumnHidden(void* ptr, int column, char hide) { static_cast(ptr)->setColumnHidden(column, hide != 0); } void QTableView_SetColumnWidth(void* ptr, int column, int width) { static_cast(ptr)->setColumnWidth(column, width); } void QTableView_SetCornerButtonEnabled(void* ptr, char enable) { static_cast(ptr)->setCornerButtonEnabled(enable != 0); } void QTableView_SetGridStyle(void* ptr, long long style) { static_cast(ptr)->setGridStyle(static_cast(style)); } void QTableView_SetHorizontalHeader(void* ptr, void* header) { static_cast(ptr)->setHorizontalHeader(static_cast(header)); } void QTableView_SetRootIndex(void* ptr, void* index) { static_cast(ptr)->setRootIndex(*static_cast(index)); } void QTableView_SetRootIndexDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setRootIndex(*static_cast(index)); } else { static_cast(ptr)->QTableView::setRootIndex(*static_cast(index)); } } void QTableView_SetRowHeight(void* ptr, int row, int height) { static_cast(ptr)->setRowHeight(row, height); } void QTableView_SetRowHidden(void* ptr, int row, char hide) { static_cast(ptr)->setRowHidden(row, hide != 0); } void QTableView_SetSelection(void* ptr, void* rect, long long flags) { static_cast(ptr)->setSelection(*static_cast(rect), static_cast(flags)); } void QTableView_SetSelectionDefault(void* ptr, void* rect, long long flags) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setSelection(*static_cast(rect), static_cast(flags)); } else { static_cast(ptr)->QTableView::setSelection(*static_cast(rect), static_cast(flags)); } } void QTableView_SetShowGrid(void* ptr, char show) { QMetaObject::invokeMethod(static_cast(ptr), "setShowGrid", Q_ARG(bool, show != 0)); } void QTableView_SetShowGridDefault(void* ptr, char show) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setShowGrid(show != 0); } else { static_cast(ptr)->QTableView::setShowGrid(show != 0); } } void QTableView_SetSortingEnabled(void* ptr, char enable) { static_cast(ptr)->setSortingEnabled(enable != 0); } void QTableView_SetSpan(void* ptr, int row, int column, int rowSpanCount, int columnSpanCount) { static_cast(ptr)->setSpan(row, column, rowSpanCount, columnSpanCount); } void QTableView_SetVerticalHeader(void* ptr, void* header) { static_cast(ptr)->setVerticalHeader(static_cast(header)); } void QTableView_SetWordWrap(void* ptr, char on) { static_cast(ptr)->setWordWrap(on != 0); } void QTableView_ShowColumn(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "showColumn", Q_ARG(int, column)); } void QTableView_ShowColumnDefault(void* ptr, int column) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::showColumn(column); } else { static_cast(ptr)->QTableView::showColumn(column); } } char QTableView_ShowGrid(void* ptr) { return static_cast(ptr)->showGrid(); } void QTableView_ShowRow(void* ptr, int row) { QMetaObject::invokeMethod(static_cast(ptr), "showRow", Q_ARG(int, row)); } void QTableView_ShowRowDefault(void* ptr, int row) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::showRow(row); } else { static_cast(ptr)->QTableView::showRow(row); } } void QTableView_SortByColumn(void* ptr, int column, long long order) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "sortByColumn", Q_ARG(int, column), Q_ARG(Qt::SortOrder, static_cast(order))); } void QTableView_SortByColumnDefault(void* ptr, int column, long long order) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::sortByColumn(column, static_cast(order)); } else { static_cast(ptr)->QTableView::sortByColumn(column, static_cast(order)); } } void QTableView_UpdateGeometries(void* ptr) { static_cast(ptr)->updateGeometries(); } void QTableView_UpdateGeometriesDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::updateGeometries(); } else { static_cast(ptr)->QTableView::updateGeometries(); } } void* QTableView_VerticalHeader(void* ptr) { return static_cast(ptr)->verticalHeader(); } int QTableView_VerticalOffset(void* ptr) { return static_cast(ptr)->verticalOffset(); } int QTableView_VerticalOffsetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::verticalOffset(); } else { return static_cast(ptr)->QTableView::verticalOffset(); } } char QTableView_WordWrap(void* ptr) { return static_cast(ptr)->wordWrap(); } void QTableView_DestroyQTableView(void* ptr) { static_cast(ptr)->~QTableView(); } void QTableView_DestroyQTableViewDefault(void* ptr) { Q_UNUSED(ptr); } void QTableView_ScrollTo(void* ptr, void* index, long long hint) { static_cast(ptr)->scrollTo(*static_cast(index), static_cast(hint)); } void QTableView_ScrollToDefault(void* ptr, void* index, long long hint) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::scrollTo(*static_cast(index), static_cast(hint)); } else { static_cast(ptr)->QTableView::scrollTo(*static_cast(index), static_cast(hint)); } } void* QTableView_VisualRect(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QTableView_VisualRectDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QTableWidget::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->QTableView::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QTableView_VisualRegionForSelection(void* ptr, void* selection) { return new QRegion(static_cast(ptr)->visualRegionForSelection(*static_cast(selection))); } void* QTableView_VisualRegionForSelectionDefault(void* ptr, void* selection) { if (dynamic_cast(static_cast(ptr))) { return new QRegion(static_cast(ptr)->QTableWidget::visualRegionForSelection(*static_cast(selection))); } else { return new QRegion(static_cast(ptr)->QTableView::visualRegionForSelection(*static_cast(selection))); } } class MyQTableWidget: public QTableWidget { public: MyQTableWidget(QWidget *parent = Q_NULLPTR) : QTableWidget(parent) {QTableWidget_QTableWidget_QRegisterMetaType();}; MyQTableWidget(int rows, int columns, QWidget *parent = Q_NULLPTR) : QTableWidget(rows, columns, parent) {QTableWidget_QTableWidget_QRegisterMetaType();}; void Signal_CellActivated(int row, int column) { callbackQTableWidget_CellActivated(this, row, column); }; void Signal_CellChanged(int row, int column) { callbackQTableWidget_CellChanged(this, row, column); }; void Signal_CellClicked(int row, int column) { callbackQTableWidget_CellClicked(this, row, column); }; void Signal_CellDoubleClicked(int row, int column) { callbackQTableWidget_CellDoubleClicked(this, row, column); }; void Signal_CellEntered(int row, int column) { callbackQTableWidget_CellEntered(this, row, column); }; void Signal_CellPressed(int row, int column) { callbackQTableWidget_CellPressed(this, row, column); }; void clear() { callbackQTableWidget_Clear(this); }; void clearContents() { callbackQTableWidget_ClearContents(this); }; void Signal_CurrentCellChanged(int currentRow, int currentColumn, int previousRow, int previousColumn) { callbackQTableWidget_CurrentCellChanged(this, currentRow, currentColumn, previousRow, previousColumn); }; void Signal_CurrentItemChanged(QTableWidgetItem * current, QTableWidgetItem * previous) { callbackQTableWidget_CurrentItemChanged(this, current, previous); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; bool dropMimeData(int row, int column, const QMimeData * data, Qt::DropAction action) { return callbackQTableWidget_DropMimeData(this, row, column, const_cast(data), action) != 0; }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void insertColumn(int column) { callbackQTableWidget_InsertColumn(this, column); }; void insertRow(int row) { callbackQTableWidget_InsertRow(this, row); }; void Signal_ItemActivated(QTableWidgetItem * item) { callbackQTableWidget_ItemActivated(this, item); }; void Signal_ItemChanged(QTableWidgetItem * item) { callbackQTableWidget_ItemChanged(this, item); }; void Signal_ItemClicked(QTableWidgetItem * item) { callbackQTableWidget_ItemClicked(this, item); }; void Signal_ItemDoubleClicked(QTableWidgetItem * item) { callbackQTableWidget_ItemDoubleClicked(this, item); }; void Signal_ItemEntered(QTableWidgetItem * item) { callbackQTableWidget_ItemEntered(this, item); }; void Signal_ItemPressed(QTableWidgetItem * item) { callbackQTableWidget_ItemPressed(this, item); }; void Signal_ItemSelectionChanged() { callbackQTableWidget_ItemSelectionChanged(this); }; QMimeData * mimeData(const QList items) const { return static_cast(callbackQTableWidget_MimeData(const_cast(static_cast(this)), ({ QList* tmpValue7316c8 = new QList(items); QtWidgets_PackedList { tmpValue7316c8, tmpValue7316c8->size() }; }))); }; QStringList mimeTypes() const { return ({ QtWidgets_PackedString tempVal = callbackQTableWidget_MimeTypes(const_cast(static_cast(this))); QStringList ret = QString::fromUtf8(tempVal.data, tempVal.len).split("¡¦!", QString::SkipEmptyParts); free(tempVal.data); ret; }); }; void removeColumn(int column) { callbackQTableWidget_RemoveColumn(this, column); }; void removeRow(int row) { callbackQTableWidget_RemoveRow(this, row); }; void scrollToItem(const QTableWidgetItem * item, QAbstractItemView::ScrollHint hint) { callbackQTableWidget_ScrollToItem(this, const_cast(item), hint); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQTableWidget_SupportedDropActions(const_cast(static_cast(this)))); }; ~MyQTableWidget() { callbackQTableWidget_DestroyQTableWidget(this); }; void columnCountChanged(int oldCount, int newCount) { callbackQTableView_ColumnCountChanged(this, oldCount, newCount); }; void columnMoved(int column, int oldIndex, int newIndex) { callbackQTableView_ColumnMoved(this, column, oldIndex, newIndex); }; void columnResized(int column, int oldWidth, int newWidth) { callbackQTableView_ColumnResized(this, column, oldWidth, newWidth); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQTableView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void hideColumn(int column) { callbackQTableView_HideColumn(this, column); }; void hideRow(int row) { callbackQTableView_HideRow(this, row); }; int horizontalOffset() const { return callbackQTableView_HorizontalOffset(const_cast(static_cast(this))); }; QModelIndex indexAt(const QPoint & pos) const { return *static_cast(callbackQTableView_IndexAt(const_cast(static_cast(this)), const_cast(&pos))); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQTableView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQTableView_MoveCursor(this, cursorAction, modifiers)); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeColumnToContents(int column) { callbackQTableView_ResizeColumnToContents(this, column); }; void resizeColumnsToContents() { callbackQTableView_ResizeColumnsToContents(this); }; void resizeRowToContents(int row) { callbackQTableView_ResizeRowToContents(this, row); }; void resizeRowsToContents() { callbackQTableView_ResizeRowsToContents(this); }; void rowCountChanged(int oldCount, int newCount) { callbackQTableView_RowCountChanged(this, oldCount, newCount); }; void rowMoved(int row, int oldIndex, int newIndex) { callbackQTableView_RowMoved(this, row, oldIndex, newIndex); }; void rowResized(int row, int oldHeight, int newHeight) { callbackQTableView_RowResized(this, row, oldHeight, newHeight); }; void selectColumn(int column) { callbackQTableView_SelectColumn(this, column); }; void selectRow(int row) { callbackQTableView_SelectRow(this, row); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQTableView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQTableView_SetRootIndex(this, const_cast(&index)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags flags) { callbackQTableView_SetSelection(this, const_cast(&rect), flags); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; void setShowGrid(bool show) { callbackQTableView_SetShowGrid(this, show); }; void showColumn(int column) { callbackQTableView_ShowColumn(this, column); }; void showRow(int row) { callbackQTableView_ShowRow(this, row); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void sortByColumn(int column, Qt::SortOrder order) { callbackQTableView_SortByColumn(this, column, order); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void updateGeometries() { callbackQTableView_UpdateGeometries(this); }; int verticalOffset() const { return callbackQTableView_VerticalOffset(const_cast(static_cast(this))); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQAbstractItemView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void reset() { callbackQAbstractItemView_Reset(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQAbstractItemView_RowsInserted(this, const_cast(&parent), start, end); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQTableView_ScrollTo(this, const_cast(&index), hint); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; void selectAll() { callbackQAbstractItemView_SelectAll(this); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQTableView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQTableView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QTableWidget*) Q_DECLARE_METATYPE(MyQTableWidget*) int QTableWidget_QTableWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTableWidget_NewQTableWidget(void* parent) { return new MyQTableWidget(static_cast(parent)); } void* QTableWidget_NewQTableWidget2(int rows, int columns, void* parent) { return new MyQTableWidget(rows, columns, static_cast(parent)); } void QTableWidget_ConnectCellActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::cellActivated), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellActivated), static_cast(t)); } void QTableWidget_DisconnectCellActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::cellActivated), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellActivated)); } void QTableWidget_CellActivated(void* ptr, int row, int column) { static_cast(ptr)->cellActivated(row, column); } void QTableWidget_ConnectCellChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::cellChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellChanged), static_cast(t)); } void QTableWidget_DisconnectCellChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::cellChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellChanged)); } void QTableWidget_CellChanged(void* ptr, int row, int column) { static_cast(ptr)->cellChanged(row, column); } void QTableWidget_ConnectCellClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::cellClicked), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellClicked), static_cast(t)); } void QTableWidget_DisconnectCellClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::cellClicked), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellClicked)); } void QTableWidget_CellClicked(void* ptr, int row, int column) { static_cast(ptr)->cellClicked(row, column); } void QTableWidget_ConnectCellDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::cellDoubleClicked), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellDoubleClicked), static_cast(t)); } void QTableWidget_DisconnectCellDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::cellDoubleClicked), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellDoubleClicked)); } void QTableWidget_CellDoubleClicked(void* ptr, int row, int column) { static_cast(ptr)->cellDoubleClicked(row, column); } void QTableWidget_ConnectCellEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::cellEntered), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellEntered), static_cast(t)); } void QTableWidget_DisconnectCellEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::cellEntered), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellEntered)); } void QTableWidget_CellEntered(void* ptr, int row, int column) { static_cast(ptr)->cellEntered(row, column); } void QTableWidget_ConnectCellPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::cellPressed), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellPressed), static_cast(t)); } void QTableWidget_DisconnectCellPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::cellPressed), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CellPressed)); } void QTableWidget_CellPressed(void* ptr, int row, int column) { static_cast(ptr)->cellPressed(row, column); } void* QTableWidget_CellWidget(void* ptr, int row, int column) { return static_cast(ptr)->cellWidget(row, column); } void QTableWidget_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QTableWidget_ClearDefault(void* ptr) { static_cast(ptr)->QTableWidget::clear(); } void QTableWidget_ClearContents(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clearContents"); } void QTableWidget_ClearContentsDefault(void* ptr) { static_cast(ptr)->QTableWidget::clearContents(); } void QTableWidget_ClosePersistentEditor(void* ptr, void* item) { static_cast(ptr)->closePersistentEditor(static_cast(item)); } int QTableWidget_Column(void* ptr, void* item) { return static_cast(ptr)->column(static_cast(item)); } int QTableWidget_ColumnCount(void* ptr) { return static_cast(ptr)->columnCount(); } void QTableWidget_ConnectCurrentCellChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::currentCellChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CurrentCellChanged), static_cast(t)); } void QTableWidget_DisconnectCurrentCellChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::currentCellChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CurrentCellChanged)); } void QTableWidget_CurrentCellChanged(void* ptr, int currentRow, int currentColumn, int previousRow, int previousColumn) { static_cast(ptr)->currentCellChanged(currentRow, currentColumn, previousRow, previousColumn); } int QTableWidget_CurrentColumn(void* ptr) { return static_cast(ptr)->currentColumn(); } void* QTableWidget_CurrentItem(void* ptr) { return static_cast(ptr)->currentItem(); } void QTableWidget_ConnectCurrentItemChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::currentItemChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CurrentItemChanged), static_cast(t)); } void QTableWidget_DisconnectCurrentItemChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::currentItemChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_CurrentItemChanged)); } void QTableWidget_CurrentItemChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentItemChanged(static_cast(current), static_cast(previous)); } int QTableWidget_CurrentRow(void* ptr) { return static_cast(ptr)->currentRow(); } char QTableWidget_DropMimeData(void* ptr, int row, int column, void* data, long long action) { return static_cast(ptr)->dropMimeData(row, column, static_cast(data), static_cast(action)); } char QTableWidget_DropMimeDataDefault(void* ptr, int row, int column, void* data, long long action) { return static_cast(ptr)->QTableWidget::dropMimeData(row, column, static_cast(data), static_cast(action)); } void QTableWidget_EditItem(void* ptr, void* item) { static_cast(ptr)->editItem(static_cast(item)); } struct QtWidgets_PackedList QTableWidget_FindItems(void* ptr, struct QtWidgets_PackedString text, long long flags) { return ({ QList* tmpValue51a284 = new QList(static_cast(ptr)->findItems(QString::fromUtf8(text.data, text.len), static_cast(flags))); QtWidgets_PackedList { tmpValue51a284, tmpValue51a284->size() }; }); } void* QTableWidget_HorizontalHeaderItem(void* ptr, int column) { return static_cast(ptr)->horizontalHeaderItem(column); } void* QTableWidget_IndexFromItem(void* ptr, void* item) { return new QModelIndex(static_cast(ptr)->indexFromItem(static_cast(item))); } void QTableWidget_InsertColumn(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "insertColumn", Q_ARG(int, column)); } void QTableWidget_InsertColumnDefault(void* ptr, int column) { static_cast(ptr)->QTableWidget::insertColumn(column); } void QTableWidget_InsertRow(void* ptr, int row) { QMetaObject::invokeMethod(static_cast(ptr), "insertRow", Q_ARG(int, row)); } void QTableWidget_InsertRowDefault(void* ptr, int row) { static_cast(ptr)->QTableWidget::insertRow(row); } char QTableWidget_IsPersistentEditorOpen(void* ptr, void* item) { return static_cast(ptr)->isPersistentEditorOpen(static_cast(item)); } void* QTableWidget_Item(void* ptr, int row, int column) { return static_cast(ptr)->item(row, column); } void QTableWidget_ConnectItemActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::itemActivated), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemActivated), static_cast(t)); } void QTableWidget_DisconnectItemActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::itemActivated), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemActivated)); } void QTableWidget_ItemActivated(void* ptr, void* item) { static_cast(ptr)->itemActivated(static_cast(item)); } void* QTableWidget_ItemAt(void* ptr, void* point) { return static_cast(ptr)->itemAt(*static_cast(point)); } void* QTableWidget_ItemAt2(void* ptr, int ax, int ay) { return static_cast(ptr)->itemAt(ax, ay); } void QTableWidget_ConnectItemChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::itemChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemChanged), static_cast(t)); } void QTableWidget_DisconnectItemChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::itemChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemChanged)); } void QTableWidget_ItemChanged(void* ptr, void* item) { static_cast(ptr)->itemChanged(static_cast(item)); } void QTableWidget_ConnectItemClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::itemClicked), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemClicked), static_cast(t)); } void QTableWidget_DisconnectItemClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::itemClicked), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemClicked)); } void QTableWidget_ItemClicked(void* ptr, void* item) { static_cast(ptr)->itemClicked(static_cast(item)); } void QTableWidget_ConnectItemDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::itemDoubleClicked), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemDoubleClicked), static_cast(t)); } void QTableWidget_DisconnectItemDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::itemDoubleClicked), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemDoubleClicked)); } void QTableWidget_ItemDoubleClicked(void* ptr, void* item) { static_cast(ptr)->itemDoubleClicked(static_cast(item)); } void QTableWidget_ConnectItemEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::itemEntered), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemEntered), static_cast(t)); } void QTableWidget_DisconnectItemEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::itemEntered), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemEntered)); } void QTableWidget_ItemEntered(void* ptr, void* item) { static_cast(ptr)->itemEntered(static_cast(item)); } void* QTableWidget_ItemFromIndex(void* ptr, void* index) { return static_cast(ptr)->itemFromIndex(*static_cast(index)); } void QTableWidget_ConnectItemPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::itemPressed), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemPressed), static_cast(t)); } void QTableWidget_DisconnectItemPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::itemPressed), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemPressed)); } void QTableWidget_ItemPressed(void* ptr, void* item) { static_cast(ptr)->itemPressed(static_cast(item)); } void* QTableWidget_ItemPrototype(void* ptr) { return const_cast(static_cast(ptr)->itemPrototype()); } void QTableWidget_ConnectItemSelectionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTableWidget::itemSelectionChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemSelectionChanged), static_cast(t)); } void QTableWidget_DisconnectItemSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTableWidget::itemSelectionChanged), static_cast(ptr), static_cast(&MyQTableWidget::Signal_ItemSelectionChanged)); } void QTableWidget_ItemSelectionChanged(void* ptr) { static_cast(ptr)->itemSelectionChanged(); } struct QtWidgets_PackedList QTableWidget_Items(void* ptr, void* data) { return ({ QList* tmpValueeca21d = new QList(static_cast(ptr)->items(static_cast(data))); QtWidgets_PackedList { tmpValueeca21d, tmpValueeca21d->size() }; }); } void* QTableWidget_MimeData(void* ptr, void* items) { return static_cast(ptr)->mimeData(*static_cast*>(items)); } void* QTableWidget_MimeDataDefault(void* ptr, void* items) { return static_cast(ptr)->QTableWidget::mimeData(*static_cast*>(items)); } struct QtWidgets_PackedString QTableWidget_MimeTypes(void* ptr) { return ({ QByteArray* t94a601 = new QByteArray(static_cast(ptr)->mimeTypes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t94a601->prepend("WHITESPACE").constData()+10), t94a601->size()-10, t94a601 }; }); } struct QtWidgets_PackedString QTableWidget_MimeTypesDefault(void* ptr) { return ({ QByteArray* t43ec64 = new QByteArray(static_cast(ptr)->QTableWidget::mimeTypes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t43ec64->prepend("WHITESPACE").constData()+10), t43ec64->size()-10, t43ec64 }; }); } void QTableWidget_OpenPersistentEditor(void* ptr, void* item) { static_cast(ptr)->openPersistentEditor(static_cast(item)); } void QTableWidget_RemoveCellWidget(void* ptr, int row, int column) { static_cast(ptr)->removeCellWidget(row, column); } void QTableWidget_RemoveColumn(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "removeColumn", Q_ARG(int, column)); } void QTableWidget_RemoveColumnDefault(void* ptr, int column) { static_cast(ptr)->QTableWidget::removeColumn(column); } void QTableWidget_RemoveRow(void* ptr, int row) { QMetaObject::invokeMethod(static_cast(ptr), "removeRow", Q_ARG(int, row)); } void QTableWidget_RemoveRowDefault(void* ptr, int row) { static_cast(ptr)->QTableWidget::removeRow(row); } int QTableWidget_Row(void* ptr, void* item) { return static_cast(ptr)->row(static_cast(item)); } int QTableWidget_RowCount(void* ptr) { return static_cast(ptr)->rowCount(); } void QTableWidget_ScrollToItem(void* ptr, void* item, long long hint) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "scrollToItem", Q_ARG(const QTableWidgetItem*, static_cast(item)), Q_ARG(QAbstractItemView::ScrollHint, static_cast(hint))); } void QTableWidget_ScrollToItemDefault(void* ptr, void* item, long long hint) { static_cast(ptr)->QTableWidget::scrollToItem(static_cast(item), static_cast(hint)); } struct QtWidgets_PackedList QTableWidget_SelectedItems(void* ptr) { return ({ QList* tmpValue1524d7 = new QList(static_cast(ptr)->selectedItems()); QtWidgets_PackedList { tmpValue1524d7, tmpValue1524d7->size() }; }); } struct QtWidgets_PackedList QTableWidget_SelectedRanges(void* ptr) { return ({ QList* tmpValue3fc18a = new QList(static_cast(ptr)->selectedRanges()); QtWidgets_PackedList { tmpValue3fc18a, tmpValue3fc18a->size() }; }); } void QTableWidget_SetCellWidget(void* ptr, int row, int column, void* widget) { static_cast(ptr)->setCellWidget(row, column, static_cast(widget)); } void QTableWidget_SetColumnCount(void* ptr, int columns) { static_cast(ptr)->setColumnCount(columns); } void QTableWidget_SetCurrentCell(void* ptr, int row, int column) { static_cast(ptr)->setCurrentCell(row, column); } void QTableWidget_SetCurrentCell2(void* ptr, int row, int column, long long command) { static_cast(ptr)->setCurrentCell(row, column, static_cast(command)); } void QTableWidget_SetCurrentItem(void* ptr, void* item) { static_cast(ptr)->setCurrentItem(static_cast(item)); } void QTableWidget_SetCurrentItem2(void* ptr, void* item, long long command) { static_cast(ptr)->setCurrentItem(static_cast(item), static_cast(command)); } void QTableWidget_SetHorizontalHeaderItem(void* ptr, int column, void* item) { static_cast(ptr)->setHorizontalHeaderItem(column, static_cast(item)); } void QTableWidget_SetHorizontalHeaderLabels(void* ptr, struct QtWidgets_PackedString labels) { static_cast(ptr)->setHorizontalHeaderLabels(QString::fromUtf8(labels.data, labels.len).split("¡¦!", QString::SkipEmptyParts)); } void QTableWidget_SetItem(void* ptr, int row, int column, void* item) { static_cast(ptr)->setItem(row, column, static_cast(item)); } void QTableWidget_SetItemPrototype(void* ptr, void* item) { static_cast(ptr)->setItemPrototype(static_cast(item)); } void QTableWidget_SetRangeSelected(void* ptr, void* ran, char sele) { static_cast(ptr)->setRangeSelected(*static_cast(ran), sele != 0); } void QTableWidget_SetRowCount(void* ptr, int rows) { static_cast(ptr)->setRowCount(rows); } void QTableWidget_SetVerticalHeaderItem(void* ptr, int row, void* item) { static_cast(ptr)->setVerticalHeaderItem(row, static_cast(item)); } void QTableWidget_SetVerticalHeaderLabels(void* ptr, struct QtWidgets_PackedString labels) { static_cast(ptr)->setVerticalHeaderLabels(QString::fromUtf8(labels.data, labels.len).split("¡¦!", QString::SkipEmptyParts)); } void QTableWidget_SortItems(void* ptr, int column, long long order) { static_cast(ptr)->sortItems(column, static_cast(order)); } long long QTableWidget_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } long long QTableWidget_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QTableWidget::supportedDropActions(); } void* QTableWidget_TakeHorizontalHeaderItem(void* ptr, int column) { return static_cast(ptr)->takeHorizontalHeaderItem(column); } void* QTableWidget_TakeItem(void* ptr, int row, int column) { return static_cast(ptr)->takeItem(row, column); } void* QTableWidget_TakeVerticalHeaderItem(void* ptr, int row) { return static_cast(ptr)->takeVerticalHeaderItem(row); } void* QTableWidget_VerticalHeaderItem(void* ptr, int row) { return static_cast(ptr)->verticalHeaderItem(row); } int QTableWidget_VisualColumn(void* ptr, int logicalColumn) { return static_cast(ptr)->visualColumn(logicalColumn); } void* QTableWidget_VisualItemRect(void* ptr, void* item) { return ({ QRect tmpValue = static_cast(ptr)->visualItemRect(static_cast(item)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QTableWidget_VisualRow(void* ptr, int logicalRow) { return static_cast(ptr)->visualRow(logicalRow); } void QTableWidget_DestroyQTableWidget(void* ptr) { static_cast(ptr)->~QTableWidget(); } void QTableWidget_DestroyQTableWidgetDefault(void* ptr) { Q_UNUSED(ptr); } void* QTableWidget___findItems_atList(void* ptr, int i) { return ({QTableWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTableWidget___findItems_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTableWidget___findItems_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTableWidget___items_atList(void* ptr, int i) { return ({QTableWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTableWidget___items_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTableWidget___items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTableWidget___mimeData_items_atList(void* ptr, int i) { return ({QTableWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTableWidget___mimeData_items_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTableWidget___mimeData_items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTableWidget___selectedItems_atList(void* ptr, int i) { return ({QTableWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTableWidget___selectedItems_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTableWidget___selectedItems_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTableWidget___selectedRanges_atList(void* ptr, int i) { return new QTableWidgetSelectionRange(({QTableWidgetSelectionRange tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QTableWidget___selectedRanges_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QTableWidget___selectedRanges_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQTableWidgetItem: public QTableWidgetItem { public: MyQTableWidgetItem(int ty = Type) : QTableWidgetItem(ty) {QTableWidgetItem_QTableWidgetItem_QRegisterMetaType();}; MyQTableWidgetItem(const QString &text, int ty = Type) : QTableWidgetItem(text, ty) {QTableWidgetItem_QTableWidgetItem_QRegisterMetaType();}; MyQTableWidgetItem(const QIcon &icon, const QString &text, int ty = Type) : QTableWidgetItem(icon, text, ty) {QTableWidgetItem_QTableWidgetItem_QRegisterMetaType();}; MyQTableWidgetItem(const QTableWidgetItem &other) : QTableWidgetItem(other) {QTableWidgetItem_QTableWidgetItem_QRegisterMetaType();}; QTableWidgetItem * clone() const { return static_cast(callbackQTableWidgetItem_Clone(const_cast(static_cast(this)))); }; QVariant data(int role) const { return *static_cast(callbackQTableWidgetItem_Data(const_cast(static_cast(this)), role)); }; void read(QDataStream & in) { callbackQTableWidgetItem_Read(this, static_cast(&in)); }; void setData(int role, const QVariant & value) { callbackQTableWidgetItem_SetData(this, role, const_cast(&value)); }; void write(QDataStream & out) const { callbackQTableWidgetItem_Write(const_cast(static_cast(this)), static_cast(&out)); }; ~MyQTableWidgetItem() { callbackQTableWidgetItem_DestroyQTableWidgetItem(this); }; }; Q_DECLARE_METATYPE(QTableWidgetItem*) Q_DECLARE_METATYPE(MyQTableWidgetItem*) int QTableWidgetItem_QTableWidgetItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTableWidgetItem_NewQTableWidgetItem(int ty) { return new MyQTableWidgetItem(ty); } void* QTableWidgetItem_NewQTableWidgetItem2(struct QtWidgets_PackedString text, int ty) { return new MyQTableWidgetItem(QString::fromUtf8(text.data, text.len), ty); } void* QTableWidgetItem_NewQTableWidgetItem3(void* icon, struct QtWidgets_PackedString text, int ty) { return new MyQTableWidgetItem(*static_cast(icon), QString::fromUtf8(text.data, text.len), ty); } void* QTableWidgetItem_NewQTableWidgetItem4(void* other) { return new MyQTableWidgetItem(*static_cast(other)); } void* QTableWidgetItem_Background(void* ptr) { return new QBrush(static_cast(ptr)->background()); } long long QTableWidgetItem_CheckState(void* ptr) { return static_cast(ptr)->checkState(); } void* QTableWidgetItem_Clone(void* ptr) { return static_cast(ptr)->clone(); } void* QTableWidgetItem_CloneDefault(void* ptr) { return static_cast(ptr)->QTableWidgetItem::clone(); } int QTableWidgetItem_Column(void* ptr) { return static_cast(ptr)->column(); } void* QTableWidgetItem_Data(void* ptr, int role) { return new QVariant(static_cast(ptr)->data(role)); } void* QTableWidgetItem_DataDefault(void* ptr, int role) { return new QVariant(static_cast(ptr)->QTableWidgetItem::data(role)); } long long QTableWidgetItem_Flags(void* ptr) { return static_cast(ptr)->flags(); } void* QTableWidgetItem_Font(void* ptr) { return new QFont(static_cast(ptr)->font()); } void* QTableWidgetItem_Foreground(void* ptr) { return new QBrush(static_cast(ptr)->foreground()); } void* QTableWidgetItem_Icon(void* ptr) { return new QIcon(static_cast(ptr)->icon()); } char QTableWidgetItem_IsSelected(void* ptr) { return static_cast(ptr)->isSelected(); } void QTableWidgetItem_Read(void* ptr, void* in) { static_cast(ptr)->read(*static_cast(in)); } void QTableWidgetItem_ReadDefault(void* ptr, void* in) { static_cast(ptr)->QTableWidgetItem::read(*static_cast(in)); } int QTableWidgetItem_Row(void* ptr) { return static_cast(ptr)->row(); } void QTableWidgetItem_SetBackground(void* ptr, void* brush) { static_cast(ptr)->setBackground(*static_cast(brush)); } void QTableWidgetItem_SetCheckState(void* ptr, long long state) { static_cast(ptr)->setCheckState(static_cast(state)); } void QTableWidgetItem_SetData(void* ptr, int role, void* value) { static_cast(ptr)->setData(role, *static_cast(value)); } void QTableWidgetItem_SetDataDefault(void* ptr, int role, void* value) { static_cast(ptr)->QTableWidgetItem::setData(role, *static_cast(value)); } void QTableWidgetItem_SetFlags(void* ptr, long long flags) { static_cast(ptr)->setFlags(static_cast(flags)); } void QTableWidgetItem_SetFont(void* ptr, void* font) { static_cast(ptr)->setFont(*static_cast(font)); } void QTableWidgetItem_SetForeground(void* ptr, void* brush) { static_cast(ptr)->setForeground(*static_cast(brush)); } void QTableWidgetItem_SetIcon(void* ptr, void* icon) { static_cast(ptr)->setIcon(*static_cast(icon)); } void QTableWidgetItem_SetSelected(void* ptr, char sele) { static_cast(ptr)->setSelected(sele != 0); } void QTableWidgetItem_SetSizeHint(void* ptr, void* size) { static_cast(ptr)->setSizeHint(*static_cast(size)); } void QTableWidgetItem_SetStatusTip(void* ptr, struct QtWidgets_PackedString statusTip) { static_cast(ptr)->setStatusTip(QString::fromUtf8(statusTip.data, statusTip.len)); } void QTableWidgetItem_SetText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(QString::fromUtf8(text.data, text.len)); } void QTableWidgetItem_SetTextAlignment(void* ptr, int alignment) { static_cast(ptr)->setTextAlignment(alignment); } void QTableWidgetItem_SetToolTip(void* ptr, struct QtWidgets_PackedString toolTip) { static_cast(ptr)->setToolTip(QString::fromUtf8(toolTip.data, toolTip.len)); } void QTableWidgetItem_SetWhatsThis(void* ptr, struct QtWidgets_PackedString whatsThis) { static_cast(ptr)->setWhatsThis(QString::fromUtf8(whatsThis.data, whatsThis.len)); } void* QTableWidgetItem_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } struct QtWidgets_PackedString QTableWidgetItem_StatusTip(void* ptr) { return ({ QByteArray* t934149 = new QByteArray(static_cast(ptr)->statusTip().toUtf8()); QtWidgets_PackedString { const_cast(t934149->prepend("WHITESPACE").constData()+10), t934149->size()-10, t934149 }; }); } void* QTableWidgetItem_TableWidget(void* ptr) { return static_cast(ptr)->tableWidget(); } struct QtWidgets_PackedString QTableWidgetItem_Text(void* ptr) { return ({ QByteArray* tbdfc6c = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(tbdfc6c->prepend("WHITESPACE").constData()+10), tbdfc6c->size()-10, tbdfc6c }; }); } int QTableWidgetItem_TextAlignment(void* ptr) { return static_cast(ptr)->textAlignment(); } struct QtWidgets_PackedString QTableWidgetItem_ToolTip(void* ptr) { return ({ QByteArray* t8fa9fe = new QByteArray(static_cast(ptr)->toolTip().toUtf8()); QtWidgets_PackedString { const_cast(t8fa9fe->prepend("WHITESPACE").constData()+10), t8fa9fe->size()-10, t8fa9fe }; }); } int QTableWidgetItem_Type(void* ptr) { return static_cast(ptr)->type(); } struct QtWidgets_PackedString QTableWidgetItem_WhatsThis(void* ptr) { return ({ QByteArray* t4664fc = new QByteArray(static_cast(ptr)->whatsThis().toUtf8()); QtWidgets_PackedString { const_cast(t4664fc->prepend("WHITESPACE").constData()+10), t4664fc->size()-10, t4664fc }; }); } void QTableWidgetItem_Write(void* ptr, void* out) { static_cast(ptr)->write(*static_cast(out)); } void QTableWidgetItem_WriteDefault(void* ptr, void* out) { static_cast(ptr)->QTableWidgetItem::write(*static_cast(out)); } void QTableWidgetItem_DestroyQTableWidgetItem(void* ptr) { static_cast(ptr)->~QTableWidgetItem(); } void QTableWidgetItem_DestroyQTableWidgetItemDefault(void* ptr) { Q_UNUSED(ptr); } void* QTableWidgetItem___values_newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } void* QTableWidgetItem___setValues__newList(void* ptr) { Q_UNUSED(ptr); return new QVector(); } Q_DECLARE_METATYPE(QTableWidgetSelectionRange) Q_DECLARE_METATYPE(QTableWidgetSelectionRange*) void* QTableWidgetSelectionRange_NewQTableWidgetSelectionRange() { return new QTableWidgetSelectionRange(); } void* QTableWidgetSelectionRange_NewQTableWidgetSelectionRange2(int top, int left, int bottom, int right) { return new QTableWidgetSelectionRange(top, left, bottom, right); } void* QTableWidgetSelectionRange_NewQTableWidgetSelectionRange3(void* other) { return new QTableWidgetSelectionRange(*static_cast(other)); } int QTableWidgetSelectionRange_BottomRow(void* ptr) { return static_cast(ptr)->bottomRow(); } int QTableWidgetSelectionRange_ColumnCount(void* ptr) { return static_cast(ptr)->columnCount(); } int QTableWidgetSelectionRange_LeftColumn(void* ptr) { return static_cast(ptr)->leftColumn(); } int QTableWidgetSelectionRange_RightColumn(void* ptr) { return static_cast(ptr)->rightColumn(); } int QTableWidgetSelectionRange_RowCount(void* ptr) { return static_cast(ptr)->rowCount(); } int QTableWidgetSelectionRange_TopRow(void* ptr) { return static_cast(ptr)->topRow(); } void QTableWidgetSelectionRange_DestroyQTableWidgetSelectionRange(void* ptr) { static_cast(ptr)->~QTableWidgetSelectionRange(); } class MyQTapAndHoldGesture: public QTapAndHoldGesture { public: ~MyQTapAndHoldGesture() { callbackQTapAndHoldGesture_DestroyQTapAndHoldGesture(this); }; void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); }; void deleteLater() { callbackQGesture_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGesture_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGesture_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QTapAndHoldGesture*) Q_DECLARE_METATYPE(MyQTapAndHoldGesture*) int QTapAndHoldGesture_QTapAndHoldGesture_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTapAndHoldGesture_Position(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->position(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QTapAndHoldGesture_SetPosition(void* ptr, void* pos) { static_cast(ptr)->setPosition(*static_cast(pos)); } void QTapAndHoldGesture_QTapAndHoldGesture_SetTimeout(int msecs) { QTapAndHoldGesture::setTimeout(msecs); } int QTapAndHoldGesture_QTapAndHoldGesture_Timeout() { return QTapAndHoldGesture::timeout(); } void QTapAndHoldGesture_DestroyQTapAndHoldGesture(void* ptr) { static_cast(ptr)->~QTapAndHoldGesture(); } void QTapAndHoldGesture_DestroyQTapAndHoldGestureDefault(void* ptr) { Q_UNUSED(ptr); } class MyQTapGesture: public QTapGesture { public: ~MyQTapGesture() { callbackQTapGesture_DestroyQTapGesture(this); }; void childEvent(QChildEvent * event) { callbackQGesture_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQGesture_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQGesture_CustomEvent(this, event); }; void deleteLater() { callbackQGesture_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQGesture_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQGesture_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQGesture_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQGesture_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQGesture_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQGesture_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQGesture_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QTapGesture*) Q_DECLARE_METATYPE(MyQTapGesture*) int QTapGesture_QTapGesture_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTapGesture_Position(void* ptr) { return ({ QPointF tmpValue = static_cast(ptr)->position(); new QPointF(tmpValue.x(), tmpValue.y()); }); } void QTapGesture_SetPosition(void* ptr, void* pos) { static_cast(ptr)->setPosition(*static_cast(pos)); } void QTapGesture_DestroyQTapGesture(void* ptr) { static_cast(ptr)->~QTapGesture(); } void QTapGesture_DestroyQTapGestureDefault(void* ptr) { Q_UNUSED(ptr); } class MyQTextBrowser: public QTextBrowser { public: MyQTextBrowser(QWidget *parent = Q_NULLPTR) : QTextBrowser(parent) {QTextBrowser_QTextBrowser_QRegisterMetaType();}; void Signal_AnchorClicked(const QUrl & link) { callbackQTextBrowser_AnchorClicked(this, const_cast(&link)); }; void backward() { callbackQTextBrowser_Backward(this); }; void Signal_BackwardAvailable(bool available) { callbackQTextBrowser_BackwardAvailable(this, available); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * ev) { callbackQWidget_FocusOutEvent(this, ev); }; void forward() { callbackQTextBrowser_Forward(this); }; void Signal_ForwardAvailable(bool available) { callbackQTextBrowser_ForwardAvailable(this, available); }; void Signal_Highlighted(const QUrl & link) { callbackQTextBrowser_Highlighted(this, const_cast(&link)); }; void Signal_Highlighted2(const QString & link) { QByteArray* t4f0aa5 = new QByteArray(link.toUtf8()); QtWidgets_PackedString linkPacked = { const_cast(t4f0aa5->prepend("WHITESPACE").constData()+10), t4f0aa5->size()-10, t4f0aa5 };callbackQTextBrowser_Highlighted2(this, linkPacked); }; void Signal_HistoryChanged() { callbackQTextBrowser_HistoryChanged(this); }; void home() { callbackQTextBrowser_Home(this); }; void keyPressEvent(QKeyEvent * ev) { callbackQWidget_KeyPressEvent(this, ev); }; QVariant loadResource(int ty, const QUrl & name) { return *static_cast(callbackQTextEdit_LoadResource(this, ty, const_cast(&name))); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void reload() { callbackQTextBrowser_Reload(this); }; void setSource(const QUrl & name) { callbackQTextBrowser_SetSource(this, const_cast(&name)); }; void Signal_SourceChanged(const QUrl & src) { callbackQTextBrowser_SourceChanged(this, const_cast(&src)); }; void append(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_Append(this, textPacked); }; bool canInsertFromMimeData(const QMimeData * source) const { return callbackQTextEdit_CanInsertFromMimeData(const_cast(static_cast(this)), const_cast(source)) != 0; }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void clear() { callbackQTextEdit_Clear(this); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void copy() { callbackQTextEdit_Copy(this); }; void Signal_CopyAvailable(bool yes) { callbackQTextEdit_CopyAvailable(this, yes); }; QMimeData * createMimeDataFromSelection() const { return static_cast(callbackQTextEdit_CreateMimeDataFromSelection(const_cast(static_cast(this)))); }; void Signal_CurrentCharFormatChanged(const QTextCharFormat & ff) { callbackQTextEdit_CurrentCharFormatChanged(this, const_cast(&ff)); }; void Signal_CursorPositionChanged() { callbackQTextEdit_CursorPositionChanged(this); }; void cut() { callbackQTextEdit_Cut(this); }; void dragEnterEvent(QDragEnterEvent * e) { callbackQWidget_DragEnterEvent(this, e); }; void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); }; void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); }; void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); }; QVariant inputMethodQuery(Qt::InputMethodQuery property) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), property)); }; void insertFromMimeData(const QMimeData * source) { callbackQTextEdit_InsertFromMimeData(this, const_cast(source)); }; void insertHtml(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_InsertHtml(this, textPacked); }; void insertPlainText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_InsertPlainText(this, textPacked); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); }; void paste() { callbackQTextEdit_Paste(this); }; void redo() { callbackQTextEdit_Redo(this); }; void Signal_RedoAvailable(bool available) { callbackQTextEdit_RedoAvailable(this, available); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void scrollToAnchor(const QString & name) { QByteArray* t6ae999 = new QByteArray(name.toUtf8()); QtWidgets_PackedString namePacked = { const_cast(t6ae999->prepend("WHITESPACE").constData()+10), t6ae999->size()-10, t6ae999 };callbackQTextEdit_ScrollToAnchor(this, namePacked); }; void selectAll() { callbackQTextEdit_SelectAll(this); }; void Signal_SelectionChanged() { callbackQTextEdit_SelectionChanged(this); }; void setAlignment(Qt::Alignment a) { callbackQTextEdit_SetAlignment(this, a); }; void setCurrentFont(const QFont & ff) { callbackQTextEdit_SetCurrentFont(this, const_cast(&ff)); }; void setFontFamily(const QString & fontFamily) { QByteArray* t5db177 = new QByteArray(fontFamily.toUtf8()); QtWidgets_PackedString fontFamilyPacked = { const_cast(t5db177->prepend("WHITESPACE").constData()+10), t5db177->size()-10, t5db177 };callbackQTextEdit_SetFontFamily(this, fontFamilyPacked); }; void setFontItalic(bool italic) { callbackQTextEdit_SetFontItalic(this, italic); }; void setFontPointSize(qreal s) { callbackQTextEdit_SetFontPointSize(this, s); }; void setFontUnderline(bool underline) { callbackQTextEdit_SetFontUnderline(this, underline); }; void setFontWeight(int weight) { callbackQTextEdit_SetFontWeight(this, weight); }; void setHtml(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_SetHtml(this, textPacked); }; void setPlainText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_SetPlainText(this, textPacked); }; void setText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_SetText(this, textPacked); }; void setTextBackgroundColor(const QColor & c) { callbackQTextEdit_SetTextBackgroundColor(this, const_cast(&c)); }; void setTextColor(const QColor & c) { callbackQTextEdit_SetTextColor(this, const_cast(&c)); }; void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); }; void Signal_TextChanged() { callbackQTextEdit_TextChanged(this); }; void undo() { callbackQTextEdit_Undo(this); }; void Signal_UndoAvailable(bool available) { callbackQTextEdit_UndoAvailable(this, available); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void zoomIn(int ran) { callbackQTextEdit_ZoomIn(this, ran); }; void zoomOut(int ran) { callbackQTextEdit_ZoomOut(this, ran); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QTextBrowser*) Q_DECLARE_METATYPE(MyQTextBrowser*) int QTextBrowser_QTextBrowser_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTextBrowser_NewQTextBrowser(void* parent) { return new MyQTextBrowser(static_cast(parent)); } void QTextBrowser_ConnectAnchorClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextBrowser::anchorClicked), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_AnchorClicked), static_cast(t)); } void QTextBrowser_DisconnectAnchorClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextBrowser::anchorClicked), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_AnchorClicked)); } void QTextBrowser_AnchorClicked(void* ptr, void* link) { static_cast(ptr)->anchorClicked(*static_cast(link)); } void QTextBrowser_Backward(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "backward"); } void QTextBrowser_BackwardDefault(void* ptr) { static_cast(ptr)->QTextBrowser::backward(); } void QTextBrowser_ConnectBackwardAvailable(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextBrowser::backwardAvailable), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_BackwardAvailable), static_cast(t)); } void QTextBrowser_DisconnectBackwardAvailable(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextBrowser::backwardAvailable), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_BackwardAvailable)); } void QTextBrowser_BackwardAvailable(void* ptr, char available) { static_cast(ptr)->backwardAvailable(available != 0); } int QTextBrowser_BackwardHistoryCount(void* ptr) { return static_cast(ptr)->backwardHistoryCount(); } void QTextBrowser_ClearHistory(void* ptr) { static_cast(ptr)->clearHistory(); } void QTextBrowser_Forward(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "forward"); } void QTextBrowser_ForwardDefault(void* ptr) { static_cast(ptr)->QTextBrowser::forward(); } void QTextBrowser_ConnectForwardAvailable(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextBrowser::forwardAvailable), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_ForwardAvailable), static_cast(t)); } void QTextBrowser_DisconnectForwardAvailable(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextBrowser::forwardAvailable), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_ForwardAvailable)); } void QTextBrowser_ForwardAvailable(void* ptr, char available) { static_cast(ptr)->forwardAvailable(available != 0); } int QTextBrowser_ForwardHistoryCount(void* ptr) { return static_cast(ptr)->forwardHistoryCount(); } void QTextBrowser_ConnectHighlighted(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextBrowser::highlighted), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_Highlighted), static_cast(t)); } void QTextBrowser_DisconnectHighlighted(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextBrowser::highlighted), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_Highlighted)); } void QTextBrowser_Highlighted(void* ptr, void* link) { static_cast(ptr)->highlighted(*static_cast(link)); } void QTextBrowser_ConnectHighlighted2(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextBrowser::highlighted), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_Highlighted2), static_cast(t)); } void QTextBrowser_DisconnectHighlighted2(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextBrowser::highlighted), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_Highlighted2)); } void QTextBrowser_Highlighted2(void* ptr, struct QtWidgets_PackedString link) { static_cast(ptr)->highlighted(QString::fromUtf8(link.data, link.len)); } void QTextBrowser_ConnectHistoryChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextBrowser::historyChanged), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_HistoryChanged), static_cast(t)); } void QTextBrowser_DisconnectHistoryChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextBrowser::historyChanged), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_HistoryChanged)); } void QTextBrowser_HistoryChanged(void* ptr) { static_cast(ptr)->historyChanged(); } struct QtWidgets_PackedString QTextBrowser_HistoryTitle(void* ptr, int i) { return ({ QByteArray* tc73fc4 = new QByteArray(static_cast(ptr)->historyTitle(i).toUtf8()); QtWidgets_PackedString { const_cast(tc73fc4->prepend("WHITESPACE").constData()+10), tc73fc4->size()-10, tc73fc4 }; }); } void* QTextBrowser_HistoryUrl(void* ptr, int i) { return new QUrl(static_cast(ptr)->historyUrl(i)); } void QTextBrowser_Home(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "home"); } void QTextBrowser_HomeDefault(void* ptr) { static_cast(ptr)->QTextBrowser::home(); } char QTextBrowser_IsBackwardAvailable(void* ptr) { return static_cast(ptr)->isBackwardAvailable(); } char QTextBrowser_IsForwardAvailable(void* ptr) { return static_cast(ptr)->isForwardAvailable(); } char QTextBrowser_OpenExternalLinks(void* ptr) { return static_cast(ptr)->openExternalLinks(); } char QTextBrowser_OpenLinks(void* ptr) { return static_cast(ptr)->openLinks(); } void QTextBrowser_Reload(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "reload"); } void QTextBrowser_ReloadDefault(void* ptr) { static_cast(ptr)->QTextBrowser::reload(); } struct QtWidgets_PackedString QTextBrowser_SearchPaths(void* ptr) { return ({ QByteArray* t6868fa = new QByteArray(static_cast(ptr)->searchPaths().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t6868fa->prepend("WHITESPACE").constData()+10), t6868fa->size()-10, t6868fa }; }); } void QTextBrowser_SetOpenExternalLinks(void* ptr, char open) { static_cast(ptr)->setOpenExternalLinks(open != 0); } void QTextBrowser_SetOpenLinks(void* ptr, char open) { static_cast(ptr)->setOpenLinks(open != 0); } void QTextBrowser_SetSearchPaths(void* ptr, struct QtWidgets_PackedString paths) { static_cast(ptr)->setSearchPaths(QString::fromUtf8(paths.data, paths.len).split("¡¦!", QString::SkipEmptyParts)); } void QTextBrowser_SetSource(void* ptr, void* name) { QMetaObject::invokeMethod(static_cast(ptr), "setSource", Q_ARG(const QUrl, *static_cast(name))); } void QTextBrowser_SetSourceDefault(void* ptr, void* name) { static_cast(ptr)->QTextBrowser::setSource(*static_cast(name)); } void* QTextBrowser_Source(void* ptr) { return new QUrl(static_cast(ptr)->source()); } void QTextBrowser_ConnectSourceChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextBrowser::sourceChanged), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_SourceChanged), static_cast(t)); } void QTextBrowser_DisconnectSourceChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextBrowser::sourceChanged), static_cast(ptr), static_cast(&MyQTextBrowser::Signal_SourceChanged)); } void QTextBrowser_SourceChanged(void* ptr, void* src) { static_cast(ptr)->sourceChanged(*static_cast(src)); } char QTextBrowser_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } void QTextBrowser_SetReadOnly(void* ptr, char readOnly) { static_cast(ptr)->setReadOnly(readOnly != 0); } char QTextBrowser_IsUndoRedoEnabled(void* ptr) { return static_cast(ptr)->isUndoRedoEnabled(); } void QTextBrowser_SetUndoRedoEnabled(void* ptr, char undoRedoEnabled) { static_cast(ptr)->setUndoRedoEnabled(undoRedoEnabled != 0); } class MyQTextEdit: public QTextEdit { public: MyQTextEdit(QWidget *parent = Q_NULLPTR) : QTextEdit(parent) {QTextEdit_QTextEdit_QRegisterMetaType();}; MyQTextEdit(const QString &text, QWidget *parent = Q_NULLPTR) : QTextEdit(text, parent) {QTextEdit_QTextEdit_QRegisterMetaType();}; void append(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_Append(this, textPacked); }; bool canInsertFromMimeData(const QMimeData * source) const { return callbackQTextEdit_CanInsertFromMimeData(const_cast(static_cast(this)), const_cast(source)) != 0; }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void clear() { callbackQTextEdit_Clear(this); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void copy() { callbackQTextEdit_Copy(this); }; void Signal_CopyAvailable(bool yes) { callbackQTextEdit_CopyAvailable(this, yes); }; QMimeData * createMimeDataFromSelection() const { return static_cast(callbackQTextEdit_CreateMimeDataFromSelection(const_cast(static_cast(this)))); }; void Signal_CurrentCharFormatChanged(const QTextCharFormat & ff) { callbackQTextEdit_CurrentCharFormatChanged(this, const_cast(&ff)); }; void Signal_CursorPositionChanged() { callbackQTextEdit_CursorPositionChanged(this); }; void cut() { callbackQTextEdit_Cut(this); }; void dragEnterEvent(QDragEnterEvent * e) { callbackQWidget_DragEnterEvent(this, e); }; void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); }; void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); }; void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void inputMethodEvent(QInputMethodEvent * e) { callbackQWidget_InputMethodEvent(this, e); }; QVariant inputMethodQuery(Qt::InputMethodQuery property) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), property)); }; void insertFromMimeData(const QMimeData * source) { callbackQTextEdit_InsertFromMimeData(this, const_cast(source)); }; void insertHtml(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_InsertHtml(this, textPacked); }; void insertPlainText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_InsertPlainText(this, textPacked); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; QVariant loadResource(int ty, const QUrl & name) { return *static_cast(callbackQTextEdit_LoadResource(this, ty, const_cast(&name))); }; void mouseDoubleClickEvent(QMouseEvent * e) { callbackQWidget_MouseDoubleClickEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void paste() { callbackQTextEdit_Paste(this); }; void redo() { callbackQTextEdit_Redo(this); }; void Signal_RedoAvailable(bool available) { callbackQTextEdit_RedoAvailable(this, available); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void scrollToAnchor(const QString & name) { QByteArray* t6ae999 = new QByteArray(name.toUtf8()); QtWidgets_PackedString namePacked = { const_cast(t6ae999->prepend("WHITESPACE").constData()+10), t6ae999->size()-10, t6ae999 };callbackQTextEdit_ScrollToAnchor(this, namePacked); }; void selectAll() { callbackQTextEdit_SelectAll(this); }; void Signal_SelectionChanged() { callbackQTextEdit_SelectionChanged(this); }; void setAlignment(Qt::Alignment a) { callbackQTextEdit_SetAlignment(this, a); }; void setCurrentFont(const QFont & ff) { callbackQTextEdit_SetCurrentFont(this, const_cast(&ff)); }; void setFontFamily(const QString & fontFamily) { QByteArray* t5db177 = new QByteArray(fontFamily.toUtf8()); QtWidgets_PackedString fontFamilyPacked = { const_cast(t5db177->prepend("WHITESPACE").constData()+10), t5db177->size()-10, t5db177 };callbackQTextEdit_SetFontFamily(this, fontFamilyPacked); }; void setFontItalic(bool italic) { callbackQTextEdit_SetFontItalic(this, italic); }; void setFontPointSize(qreal s) { callbackQTextEdit_SetFontPointSize(this, s); }; void setFontUnderline(bool underline) { callbackQTextEdit_SetFontUnderline(this, underline); }; void setFontWeight(int weight) { callbackQTextEdit_SetFontWeight(this, weight); }; void setHtml(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_SetHtml(this, textPacked); }; void setPlainText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_SetPlainText(this, textPacked); }; void setText(const QString & text) { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };callbackQTextEdit_SetText(this, textPacked); }; void setTextBackgroundColor(const QColor & c) { callbackQTextEdit_SetTextBackgroundColor(this, const_cast(&c)); }; void setTextColor(const QColor & c) { callbackQTextEdit_SetTextColor(this, const_cast(&c)); }; void showEvent(QShowEvent * vqs) { callbackQWidget_ShowEvent(this, vqs); }; void Signal_TextChanged() { callbackQTextEdit_TextChanged(this); }; void undo() { callbackQTextEdit_Undo(this); }; void Signal_UndoAvailable(bool available) { callbackQTextEdit_UndoAvailable(this, available); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void zoomIn(int ran) { callbackQTextEdit_ZoomIn(this, ran); }; void zoomOut(int ran) { callbackQTextEdit_ZoomOut(this, ran); }; ~MyQTextEdit() { callbackQTextEdit_DestroyQTextEdit(this); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QTextEdit*) Q_DECLARE_METATYPE(MyQTextEdit*) int QTextEdit_QTextEdit_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTextEdit_NewQTextEdit(void* parent) { return new MyQTextEdit(static_cast(parent)); } void* QTextEdit_NewQTextEdit2(struct QtWidgets_PackedString text, void* parent) { return new MyQTextEdit(QString::fromUtf8(text.data, text.len), static_cast(parent)); } char QTextEdit_AcceptRichText(void* ptr) { return static_cast(ptr)->acceptRichText(); } long long QTextEdit_Alignment(void* ptr) { return static_cast(ptr)->alignment(); } struct QtWidgets_PackedString QTextEdit_AnchorAt(void* ptr, void* pos) { return ({ QByteArray* t883a22 = new QByteArray(static_cast(ptr)->anchorAt(*static_cast(pos)).toUtf8()); QtWidgets_PackedString { const_cast(t883a22->prepend("WHITESPACE").constData()+10), t883a22->size()-10, t883a22 }; }); } void QTextEdit_Append(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "append", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QTextEdit_AppendDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::append(QString::fromUtf8(text.data, text.len)); } else { static_cast(ptr)->QTextEdit::append(QString::fromUtf8(text.data, text.len)); } } long long QTextEdit_AutoFormatting(void* ptr) { return static_cast(ptr)->autoFormatting(); } char QTextEdit_CanInsertFromMimeData(void* ptr, void* source) { return static_cast(ptr)->canInsertFromMimeData(static_cast(source)); } char QTextEdit_CanInsertFromMimeDataDefault(void* ptr, void* source) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::canInsertFromMimeData(static_cast(source)); } else { return static_cast(ptr)->QTextEdit::canInsertFromMimeData(static_cast(source)); } } char QTextEdit_CanPaste(void* ptr) { return static_cast(ptr)->canPaste(); } void QTextEdit_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QTextEdit_ClearDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::clear(); } else { static_cast(ptr)->QTextEdit::clear(); } } void QTextEdit_Copy(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "copy"); } void QTextEdit_CopyDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::copy(); } else { static_cast(ptr)->QTextEdit::copy(); } } void QTextEdit_ConnectCopyAvailable(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextEdit::copyAvailable), static_cast(ptr), static_cast(&MyQTextEdit::Signal_CopyAvailable), static_cast(t)); } void QTextEdit_DisconnectCopyAvailable(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextEdit::copyAvailable), static_cast(ptr), static_cast(&MyQTextEdit::Signal_CopyAvailable)); } void QTextEdit_CopyAvailable(void* ptr, char yes) { static_cast(ptr)->copyAvailable(yes != 0); } void* QTextEdit_CreateMimeDataFromSelection(void* ptr) { return static_cast(ptr)->createMimeDataFromSelection(); } void* QTextEdit_CreateMimeDataFromSelectionDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::createMimeDataFromSelection(); } else { return static_cast(ptr)->QTextEdit::createMimeDataFromSelection(); } } void* QTextEdit_CreateStandardContextMenu(void* ptr) { return static_cast(ptr)->createStandardContextMenu(); } void* QTextEdit_CreateStandardContextMenu2(void* ptr, void* position) { return static_cast(ptr)->createStandardContextMenu(*static_cast(position)); } void* QTextEdit_CurrentCharFormat(void* ptr) { return new QTextCharFormat(static_cast(ptr)->currentCharFormat()); } void QTextEdit_ConnectCurrentCharFormatChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextEdit::currentCharFormatChanged), static_cast(ptr), static_cast(&MyQTextEdit::Signal_CurrentCharFormatChanged), static_cast(t)); } void QTextEdit_DisconnectCurrentCharFormatChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextEdit::currentCharFormatChanged), static_cast(ptr), static_cast(&MyQTextEdit::Signal_CurrentCharFormatChanged)); } void QTextEdit_CurrentCharFormatChanged(void* ptr, void* ff) { static_cast(ptr)->currentCharFormatChanged(*static_cast(ff)); } void* QTextEdit_CurrentFont(void* ptr) { return new QFont(static_cast(ptr)->currentFont()); } void* QTextEdit_CursorForPosition(void* ptr, void* pos) { return new QTextCursor(static_cast(ptr)->cursorForPosition(*static_cast(pos))); } void QTextEdit_ConnectCursorPositionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextEdit::cursorPositionChanged), static_cast(ptr), static_cast(&MyQTextEdit::Signal_CursorPositionChanged), static_cast(t)); } void QTextEdit_DisconnectCursorPositionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextEdit::cursorPositionChanged), static_cast(ptr), static_cast(&MyQTextEdit::Signal_CursorPositionChanged)); } void QTextEdit_CursorPositionChanged(void* ptr) { static_cast(ptr)->cursorPositionChanged(); } void* QTextEdit_CursorRect(void* ptr, void* cursor) { return ({ QRect tmpValue = static_cast(ptr)->cursorRect(*static_cast(cursor)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QTextEdit_CursorRect2(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->cursorRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } int QTextEdit_CursorWidth(void* ptr) { return static_cast(ptr)->cursorWidth(); } void QTextEdit_Cut(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "cut"); } void QTextEdit_CutDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::cut(); } else { static_cast(ptr)->QTextEdit::cut(); } } void* QTextEdit_Document(void* ptr) { return static_cast(ptr)->document(); } struct QtWidgets_PackedString QTextEdit_DocumentTitle(void* ptr) { return ({ QByteArray* td339b8 = new QByteArray(static_cast(ptr)->documentTitle().toUtf8()); QtWidgets_PackedString { const_cast(td339b8->prepend("WHITESPACE").constData()+10), td339b8->size()-10, td339b8 }; }); } void QTextEdit_EnsureCursorVisible(void* ptr) { static_cast(ptr)->ensureCursorVisible(); } char QTextEdit_Find(void* ptr, struct QtWidgets_PackedString exp, long long options) { return static_cast(ptr)->find(QString::fromUtf8(exp.data, exp.len), static_cast(options)); } char QTextEdit_Find2(void* ptr, void* exp, long long options) { return static_cast(ptr)->find(*static_cast(exp), static_cast(options)); } char QTextEdit_Find3(void* ptr, void* exp, long long options) { return static_cast(ptr)->find(*static_cast(exp), static_cast(options)); } struct QtWidgets_PackedString QTextEdit_FontFamily(void* ptr) { return ({ QByteArray* tf50401 = new QByteArray(static_cast(ptr)->fontFamily().toUtf8()); QtWidgets_PackedString { const_cast(tf50401->prepend("WHITESPACE").constData()+10), tf50401->size()-10, tf50401 }; }); } char QTextEdit_FontItalic(void* ptr) { return static_cast(ptr)->fontItalic(); } double QTextEdit_FontPointSize(void* ptr) { return static_cast(ptr)->fontPointSize(); } char QTextEdit_FontUnderline(void* ptr) { return static_cast(ptr)->fontUnderline(); } int QTextEdit_FontWeight(void* ptr) { return static_cast(ptr)->fontWeight(); } void QTextEdit_InsertFromMimeData(void* ptr, void* source) { static_cast(ptr)->insertFromMimeData(static_cast(source)); } void QTextEdit_InsertFromMimeDataDefault(void* ptr, void* source) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::insertFromMimeData(static_cast(source)); } else { static_cast(ptr)->QTextEdit::insertFromMimeData(static_cast(source)); } } void QTextEdit_InsertHtml(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "insertHtml", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QTextEdit_InsertHtmlDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::insertHtml(QString::fromUtf8(text.data, text.len)); } else { static_cast(ptr)->QTextEdit::insertHtml(QString::fromUtf8(text.data, text.len)); } } void QTextEdit_InsertPlainText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "insertPlainText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QTextEdit_InsertPlainTextDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::insertPlainText(QString::fromUtf8(text.data, text.len)); } else { static_cast(ptr)->QTextEdit::insertPlainText(QString::fromUtf8(text.data, text.len)); } } char QTextEdit_IsReadOnly(void* ptr) { return static_cast(ptr)->isReadOnly(); } char QTextEdit_IsUndoRedoEnabled(void* ptr) { return static_cast(ptr)->isUndoRedoEnabled(); } int QTextEdit_LineWrapColumnOrWidth(void* ptr) { return static_cast(ptr)->lineWrapColumnOrWidth(); } long long QTextEdit_LineWrapMode(void* ptr) { return static_cast(ptr)->lineWrapMode(); } void* QTextEdit_LoadResource(void* ptr, int ty, void* name) { return new QVariant(static_cast(ptr)->loadResource(ty, *static_cast(name))); } void* QTextEdit_LoadResourceDefault(void* ptr, int ty, void* name) { if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTextBrowser::loadResource(ty, *static_cast(name))); } else { return new QVariant(static_cast(ptr)->QTextEdit::loadResource(ty, *static_cast(name))); } } void QTextEdit_MergeCurrentCharFormat(void* ptr, void* modifier) { static_cast(ptr)->mergeCurrentCharFormat(*static_cast(modifier)); } void QTextEdit_MoveCursor(void* ptr, long long operation, long long mode) { static_cast(ptr)->moveCursor(static_cast(operation), static_cast(mode)); } char QTextEdit_OverwriteMode(void* ptr) { return static_cast(ptr)->overwriteMode(); } void QTextEdit_Paste(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "paste"); } void QTextEdit_PasteDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::paste(); } else { static_cast(ptr)->QTextEdit::paste(); } } struct QtWidgets_PackedString QTextEdit_PlaceholderText(void* ptr) { return ({ QByteArray* t79a2c0 = new QByteArray(static_cast(ptr)->placeholderText().toUtf8()); QtWidgets_PackedString { const_cast(t79a2c0->prepend("WHITESPACE").constData()+10), t79a2c0->size()-10, t79a2c0 }; }); } void QTextEdit_Print(void* ptr, void* printer) { #ifndef Q_OS_IOS static_cast(ptr)->print(static_cast(printer)); #endif } void QTextEdit_Redo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "redo"); } void QTextEdit_RedoDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::redo(); } else { static_cast(ptr)->QTextEdit::redo(); } } void QTextEdit_ConnectRedoAvailable(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextEdit::redoAvailable), static_cast(ptr), static_cast(&MyQTextEdit::Signal_RedoAvailable), static_cast(t)); } void QTextEdit_DisconnectRedoAvailable(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextEdit::redoAvailable), static_cast(ptr), static_cast(&MyQTextEdit::Signal_RedoAvailable)); } void QTextEdit_RedoAvailable(void* ptr, char available) { static_cast(ptr)->redoAvailable(available != 0); } void QTextEdit_ScrollToAnchor(void* ptr, struct QtWidgets_PackedString name) { QMetaObject::invokeMethod(static_cast(ptr), "scrollToAnchor", Q_ARG(const QString, QString::fromUtf8(name.data, name.len))); } void QTextEdit_ScrollToAnchorDefault(void* ptr, struct QtWidgets_PackedString name) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::scrollToAnchor(QString::fromUtf8(name.data, name.len)); } else { static_cast(ptr)->QTextEdit::scrollToAnchor(QString::fromUtf8(name.data, name.len)); } } void QTextEdit_SelectAll(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "selectAll"); } void QTextEdit_SelectAllDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::selectAll(); } else { static_cast(ptr)->QTextEdit::selectAll(); } } void QTextEdit_ConnectSelectionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextEdit::selectionChanged), static_cast(ptr), static_cast(&MyQTextEdit::Signal_SelectionChanged), static_cast(t)); } void QTextEdit_DisconnectSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextEdit::selectionChanged), static_cast(ptr), static_cast(&MyQTextEdit::Signal_SelectionChanged)); } void QTextEdit_SelectionChanged(void* ptr) { static_cast(ptr)->selectionChanged(); } void QTextEdit_SetAcceptRichText(void* ptr, char accept) { static_cast(ptr)->setAcceptRichText(accept != 0); } void QTextEdit_SetAlignment(void* ptr, long long a) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "setAlignment", Q_ARG(Qt::Alignment, static_cast(static_cast(a)))); } void QTextEdit_SetAlignmentDefault(void* ptr, long long a) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setAlignment(static_cast(a)); } else { static_cast(ptr)->QTextEdit::setAlignment(static_cast(a)); } } void QTextEdit_SetAutoFormatting(void* ptr, long long features) { static_cast(ptr)->setAutoFormatting(static_cast(features)); } void QTextEdit_SetCurrentCharFormat(void* ptr, void* format) { static_cast(ptr)->setCurrentCharFormat(*static_cast(format)); } void QTextEdit_SetCurrentFont(void* ptr, void* ff) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentFont", Q_ARG(const QFont, *static_cast(ff))); } void QTextEdit_SetCurrentFontDefault(void* ptr, void* ff) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setCurrentFont(*static_cast(ff)); } else { static_cast(ptr)->QTextEdit::setCurrentFont(*static_cast(ff)); } } void QTextEdit_SetCursorWidth(void* ptr, int width) { static_cast(ptr)->setCursorWidth(width); } void QTextEdit_SetDocument(void* ptr, void* document) { static_cast(ptr)->setDocument(static_cast(document)); } void QTextEdit_SetDocumentTitle(void* ptr, struct QtWidgets_PackedString title) { static_cast(ptr)->setDocumentTitle(QString::fromUtf8(title.data, title.len)); } void QTextEdit_SetFontFamily(void* ptr, struct QtWidgets_PackedString fontFamily) { QMetaObject::invokeMethod(static_cast(ptr), "setFontFamily", Q_ARG(const QString, QString::fromUtf8(fontFamily.data, fontFamily.len))); } void QTextEdit_SetFontFamilyDefault(void* ptr, struct QtWidgets_PackedString fontFamily) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setFontFamily(QString::fromUtf8(fontFamily.data, fontFamily.len)); } else { static_cast(ptr)->QTextEdit::setFontFamily(QString::fromUtf8(fontFamily.data, fontFamily.len)); } } void QTextEdit_SetFontItalic(void* ptr, char italic) { QMetaObject::invokeMethod(static_cast(ptr), "setFontItalic", Q_ARG(bool, italic != 0)); } void QTextEdit_SetFontItalicDefault(void* ptr, char italic) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setFontItalic(italic != 0); } else { static_cast(ptr)->QTextEdit::setFontItalic(italic != 0); } } void QTextEdit_SetFontPointSize(void* ptr, double s) { QMetaObject::invokeMethod(static_cast(ptr), "setFontPointSize", Q_ARG(qreal, s)); } void QTextEdit_SetFontPointSizeDefault(void* ptr, double s) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setFontPointSize(s); } else { static_cast(ptr)->QTextEdit::setFontPointSize(s); } } void QTextEdit_SetFontUnderline(void* ptr, char underline) { QMetaObject::invokeMethod(static_cast(ptr), "setFontUnderline", Q_ARG(bool, underline != 0)); } void QTextEdit_SetFontUnderlineDefault(void* ptr, char underline) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setFontUnderline(underline != 0); } else { static_cast(ptr)->QTextEdit::setFontUnderline(underline != 0); } } void QTextEdit_SetFontWeight(void* ptr, int weight) { QMetaObject::invokeMethod(static_cast(ptr), "setFontWeight", Q_ARG(int, weight)); } void QTextEdit_SetFontWeightDefault(void* ptr, int weight) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setFontWeight(weight); } else { static_cast(ptr)->QTextEdit::setFontWeight(weight); } } void QTextEdit_SetHtml(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "setHtml", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QTextEdit_SetHtmlDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setHtml(QString::fromUtf8(text.data, text.len)); } else { static_cast(ptr)->QTextEdit::setHtml(QString::fromUtf8(text.data, text.len)); } } void QTextEdit_SetLineWrapColumnOrWidth(void* ptr, int w) { static_cast(ptr)->setLineWrapColumnOrWidth(w); } void QTextEdit_SetLineWrapMode(void* ptr, long long mode) { static_cast(ptr)->setLineWrapMode(static_cast(mode)); } void QTextEdit_SetOverwriteMode(void* ptr, char overwrite) { static_cast(ptr)->setOverwriteMode(overwrite != 0); } void QTextEdit_SetPlaceholderText(void* ptr, struct QtWidgets_PackedString placeholderText) { static_cast(ptr)->setPlaceholderText(QString::fromUtf8(placeholderText.data, placeholderText.len)); } void QTextEdit_SetPlainText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "setPlainText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QTextEdit_SetPlainTextDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setPlainText(QString::fromUtf8(text.data, text.len)); } else { static_cast(ptr)->QTextEdit::setPlainText(QString::fromUtf8(text.data, text.len)); } } void QTextEdit_SetReadOnly(void* ptr, char ro) { static_cast(ptr)->setReadOnly(ro != 0); } void QTextEdit_SetTabChangesFocus(void* ptr, char b) { static_cast(ptr)->setTabChangesFocus(b != 0); } void QTextEdit_SetTabStopDistance(void* ptr, double distance) { static_cast(ptr)->setTabStopDistance(distance); } void QTextEdit_SetTabStopWidth(void* ptr, int width) { static_cast(ptr)->setTabStopWidth(width); } void QTextEdit_SetText(void* ptr, struct QtWidgets_PackedString text) { QMetaObject::invokeMethod(static_cast(ptr), "setText", Q_ARG(const QString, QString::fromUtf8(text.data, text.len))); } void QTextEdit_SetTextDefault(void* ptr, struct QtWidgets_PackedString text) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setText(QString::fromUtf8(text.data, text.len)); } else { static_cast(ptr)->QTextEdit::setText(QString::fromUtf8(text.data, text.len)); } } void QTextEdit_SetTextBackgroundColor(void* ptr, void* c) { QMetaObject::invokeMethod(static_cast(ptr), "setTextBackgroundColor", Q_ARG(const QColor, *static_cast(c))); } void QTextEdit_SetTextBackgroundColorDefault(void* ptr, void* c) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setTextBackgroundColor(*static_cast(c)); } else { static_cast(ptr)->QTextEdit::setTextBackgroundColor(*static_cast(c)); } } void QTextEdit_SetTextColor(void* ptr, void* c) { QMetaObject::invokeMethod(static_cast(ptr), "setTextColor", Q_ARG(const QColor, *static_cast(c))); } void QTextEdit_SetTextColorDefault(void* ptr, void* c) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setTextColor(*static_cast(c)); } else { static_cast(ptr)->QTextEdit::setTextColor(*static_cast(c)); } } void QTextEdit_SetTextCursor(void* ptr, void* cursor) { static_cast(ptr)->setTextCursor(*static_cast(cursor)); } void QTextEdit_SetTextInteractionFlags(void* ptr, long long flags) { static_cast(ptr)->setTextInteractionFlags(static_cast(flags)); } void QTextEdit_SetUndoRedoEnabled(void* ptr, char enable) { static_cast(ptr)->setUndoRedoEnabled(enable != 0); } void QTextEdit_SetWordWrapMode(void* ptr, long long policy) { static_cast(ptr)->setWordWrapMode(static_cast(policy)); } char QTextEdit_TabChangesFocus(void* ptr) { return static_cast(ptr)->tabChangesFocus(); } double QTextEdit_TabStopDistance(void* ptr) { return static_cast(ptr)->tabStopDistance(); } int QTextEdit_TabStopWidth(void* ptr) { return static_cast(ptr)->tabStopWidth(); } void* QTextEdit_TextBackgroundColor(void* ptr) { return new QColor(static_cast(ptr)->textBackgroundColor()); } void QTextEdit_ConnectTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextEdit::textChanged), static_cast(ptr), static_cast(&MyQTextEdit::Signal_TextChanged), static_cast(t)); } void QTextEdit_DisconnectTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextEdit::textChanged), static_cast(ptr), static_cast(&MyQTextEdit::Signal_TextChanged)); } void QTextEdit_TextChanged(void* ptr) { static_cast(ptr)->textChanged(); } void* QTextEdit_TextColor(void* ptr) { return new QColor(static_cast(ptr)->textColor()); } void* QTextEdit_TextCursor(void* ptr) { return new QTextCursor(static_cast(ptr)->textCursor()); } long long QTextEdit_TextInteractionFlags(void* ptr) { return static_cast(ptr)->textInteractionFlags(); } struct QtWidgets_PackedString QTextEdit_ToHtml(void* ptr) { return ({ QByteArray* t9adf2b = new QByteArray(static_cast(ptr)->toHtml().toUtf8()); QtWidgets_PackedString { const_cast(t9adf2b->prepend("WHITESPACE").constData()+10), t9adf2b->size()-10, t9adf2b }; }); } struct QtWidgets_PackedString QTextEdit_ToPlainText(void* ptr) { return ({ QByteArray* te62381 = new QByteArray(static_cast(ptr)->toPlainText().toUtf8()); QtWidgets_PackedString { const_cast(te62381->prepend("WHITESPACE").constData()+10), te62381->size()-10, te62381 }; }); } void QTextEdit_Undo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "undo"); } void QTextEdit_UndoDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::undo(); } else { static_cast(ptr)->QTextEdit::undo(); } } void QTextEdit_ConnectUndoAvailable(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTextEdit::undoAvailable), static_cast(ptr), static_cast(&MyQTextEdit::Signal_UndoAvailable), static_cast(t)); } void QTextEdit_DisconnectUndoAvailable(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTextEdit::undoAvailable), static_cast(ptr), static_cast(&MyQTextEdit::Signal_UndoAvailable)); } void QTextEdit_UndoAvailable(void* ptr, char available) { static_cast(ptr)->undoAvailable(available != 0); } long long QTextEdit_WordWrapMode(void* ptr) { return static_cast(ptr)->wordWrapMode(); } void QTextEdit_ZoomIn(void* ptr, int ran) { QMetaObject::invokeMethod(static_cast(ptr), "zoomIn", Q_ARG(int, ran)); } void QTextEdit_ZoomInDefault(void* ptr, int ran) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::zoomIn(ran); } else { static_cast(ptr)->QTextEdit::zoomIn(ran); } } void QTextEdit_ZoomOut(void* ptr, int ran) { QMetaObject::invokeMethod(static_cast(ptr), "zoomOut", Q_ARG(int, ran)); } void QTextEdit_ZoomOutDefault(void* ptr, int ran) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::zoomOut(ran); } else { static_cast(ptr)->QTextEdit::zoomOut(ran); } } void QTextEdit_DestroyQTextEdit(void* ptr) { static_cast(ptr)->~QTextEdit(); } void QTextEdit_DestroyQTextEditDefault(void* ptr) { Q_UNUSED(ptr); } Q_DECLARE_METATYPE(QTileRules*) void* QTileRules_NewQTileRules(long long horizontalRule, long long verticalRule) { return new QTileRules(static_cast(horizontalRule), static_cast(verticalRule)); } void* QTileRules_NewQTileRules2(long long rule) { return new QTileRules(static_cast(rule)); } class MyQTimeEdit: public QTimeEdit { public: MyQTimeEdit(QWidget *parent = Q_NULLPTR) : QTimeEdit(parent) {QTimeEdit_QTimeEdit_QRegisterMetaType();}; MyQTimeEdit(const QTime &ti, QWidget *parent = Q_NULLPTR) : QTimeEdit(ti, parent) {QTimeEdit_QTimeEdit_QRegisterMetaType();}; ~MyQTimeEdit() { callbackQTimeEdit_DestroyQTimeEdit(this); }; void clear() { callbackQDateTimeEdit_Clear(this); }; void Signal_DateChanged(const QDate & date) { callbackQDateTimeEdit_DateChanged(this, const_cast(&date)); }; void Signal_DateTimeChanged(const QDateTime & datetime) { callbackQDateTimeEdit_DateTimeChanged(this, const_cast(&datetime)); }; QDateTime dateTimeFromText(const QString & text) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return *static_cast(callbackQDateTimeEdit_DateTimeFromText(const_cast(static_cast(this)), textPacked)); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void fixup(QString & input) const { QByteArray* t140f86 = new QByteArray(input.toUtf8()); QtWidgets_PackedString inputPacked = { const_cast(t140f86->prepend("WHITESPACE").constData()+10), t140f86->size()-10, t140f86 };callbackQAbstractSpinBox_Fixup(const_cast(static_cast(this)), inputPacked); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void setDate(const QDate & date) { callbackQDateTimeEdit_SetDate(this, const_cast(&date)); }; void setDateTime(const QDateTime & dateTime) { callbackQDateTimeEdit_SetDateTime(this, const_cast(&dateTime)); }; void setTime(const QTime & ti) { callbackQDateTimeEdit_SetTime(this, const_cast(&ti)); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void stepBy(int steps) { callbackQAbstractSpinBox_StepBy(this, steps); }; QAbstractSpinBox::StepEnabled stepEnabled() const { return static_cast(callbackQAbstractSpinBox_StepEnabled(const_cast(static_cast(this)))); }; QString textFromDateTime(const QDateTime & dateTime) const { return ({ QtWidgets_PackedString tempVal = callbackQDateTimeEdit_TextFromDateTime(const_cast(static_cast(this)), const_cast(&dateTime)); QString ret = QString::fromUtf8(tempVal.data, tempVal.len); free(tempVal.data); ret; }); }; void Signal_TimeChanged(const QTime & ti) { callbackQDateTimeEdit_TimeChanged(this, const_cast(&ti)); }; QValidator::State validate(QString & text, int & pos) const { QByteArray* t372ea0 = new QByteArray(text.toUtf8()); QtWidgets_PackedString textPacked = { const_cast(t372ea0->prepend("WHITESPACE").constData()+10), t372ea0->size()-10, t372ea0 };return static_cast(callbackQAbstractSpinBox_Validate(const_cast(static_cast(this)), textPacked, pos)); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_EditingFinished() { callbackQAbstractSpinBox_EditingFinished(this); }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void selectAll() { callbackQAbstractSpinBox_SelectAll(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void stepDown() { callbackQAbstractSpinBox_StepDown(this); }; void stepUp() { callbackQAbstractSpinBox_StepUp(this); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QTimeEdit*) Q_DECLARE_METATYPE(MyQTimeEdit*) int QTimeEdit_QTimeEdit_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTimeEdit_NewQTimeEdit(void* parent) { return new MyQTimeEdit(static_cast(parent)); } void* QTimeEdit_NewQTimeEdit2(void* ti, void* parent) { return new MyQTimeEdit(*static_cast(ti), static_cast(parent)); } void QTimeEdit_DestroyQTimeEdit(void* ptr) { static_cast(ptr)->~QTimeEdit(); } void QTimeEdit_DestroyQTimeEditDefault(void* ptr) { Q_UNUSED(ptr); } class MyQToolBar: public QToolBar { public: MyQToolBar(const QString &title, QWidget *parent = Q_NULLPTR) : QToolBar(title, parent) {QToolBar_QToolBar_QRegisterMetaType();}; MyQToolBar(QWidget *parent = Q_NULLPTR) : QToolBar(parent) {QToolBar_QToolBar_QRegisterMetaType();}; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void Signal_ActionTriggered(QAction * action) { callbackQToolBar_ActionTriggered(this, action); }; void Signal_AllowedAreasChanged(Qt::ToolBarAreas allowedAreas) { callbackQToolBar_AllowedAreasChanged(this, allowedAreas); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void Signal_IconSizeChanged(const QSize & iconSize) { callbackQToolBar_IconSizeChanged(this, const_cast(&iconSize)); }; void Signal_MovableChanged(bool movable) { callbackQToolBar_MovableChanged(this, movable); }; void Signal_OrientationChanged(Qt::Orientation orientation) { callbackQToolBar_OrientationChanged(this, orientation); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void setIconSize(const QSize & iconSize) { callbackQToolBar_SetIconSize(this, const_cast(&iconSize)); }; void setToolButtonStyle(Qt::ToolButtonStyle toolButtonStyle) { callbackQToolBar_SetToolButtonStyle(this, toolButtonStyle); }; void Signal_ToolButtonStyleChanged(Qt::ToolButtonStyle toolButtonStyle) { callbackQToolBar_ToolButtonStyleChanged(this, toolButtonStyle); }; void Signal_TopLevelChanged(bool topLevel) { callbackQToolBar_TopLevelChanged(this, topLevel); }; void Signal_VisibilityChanged(bool visible) { callbackQToolBar_VisibilityChanged(this, visible); }; ~MyQToolBar() { callbackQToolBar_DestroyQToolBar(this); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QToolBar*) Q_DECLARE_METATYPE(MyQToolBar*) int QToolBar_QToolBar_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QToolBar_NewQToolBar(struct QtWidgets_PackedString title, void* parent) { return new MyQToolBar(QString::fromUtf8(title.data, title.len), static_cast(parent)); } void* QToolBar_NewQToolBar2(void* parent) { return new MyQToolBar(static_cast(parent)); } void* QToolBar_ActionAt(void* ptr, void* p) { return static_cast(ptr)->actionAt(*static_cast(p)); } void* QToolBar_ActionAt2(void* ptr, int x, int y) { return static_cast(ptr)->actionAt(x, y); } void QToolBar_ConnectActionTriggered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QToolBar::actionTriggered), static_cast(ptr), static_cast(&MyQToolBar::Signal_ActionTriggered), static_cast(t)); } void QToolBar_DisconnectActionTriggered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBar::actionTriggered), static_cast(ptr), static_cast(&MyQToolBar::Signal_ActionTriggered)); } void QToolBar_ActionTriggered(void* ptr, void* action) { static_cast(ptr)->actionTriggered(static_cast(action)); } void* QToolBar_AddAction(void* ptr, struct QtWidgets_PackedString text) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len)); } void* QToolBar_AddAction2(void* ptr, void* icon, struct QtWidgets_PackedString text) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len)); } void* QToolBar_AddAction3(void* ptr, struct QtWidgets_PackedString text, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else { return static_cast(ptr)->addAction(QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } } void* QToolBar_AddAction4(void* ptr, void* icon, struct QtWidgets_PackedString text, void* receiver, char* member) { if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else if (dynamic_cast(static_cast(receiver))) { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } else { return static_cast(ptr)->addAction(*static_cast(icon), QString::fromUtf8(text.data, text.len), static_cast(receiver), const_cast(member)); } } void* QToolBar_AddSeparator(void* ptr) { return static_cast(ptr)->addSeparator(); } void* QToolBar_AddWidget(void* ptr, void* widget) { return static_cast(ptr)->addWidget(static_cast(widget)); } long long QToolBar_AllowedAreas(void* ptr) { return static_cast(ptr)->allowedAreas(); } void QToolBar_ConnectAllowedAreasChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QToolBar::allowedAreasChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_AllowedAreasChanged), static_cast(t)); } void QToolBar_DisconnectAllowedAreasChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBar::allowedAreasChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_AllowedAreasChanged)); } void QToolBar_AllowedAreasChanged(void* ptr, long long allowedAreas) { static_cast(ptr)->allowedAreasChanged(static_cast(allowedAreas)); } void QToolBar_Clear(void* ptr) { static_cast(ptr)->clear(); } void* QToolBar_IconSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->iconSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QToolBar_ConnectIconSizeChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QToolBar::iconSizeChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_IconSizeChanged), static_cast(t)); } void QToolBar_DisconnectIconSizeChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBar::iconSizeChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_IconSizeChanged)); } void QToolBar_IconSizeChanged(void* ptr, void* iconSize) { static_cast(ptr)->iconSizeChanged(*static_cast(iconSize)); } void* QToolBar_InsertSeparator(void* ptr, void* before) { return static_cast(ptr)->insertSeparator(static_cast(before)); } void* QToolBar_InsertWidget(void* ptr, void* before, void* widget) { return static_cast(ptr)->insertWidget(static_cast(before), static_cast(widget)); } char QToolBar_IsAreaAllowed(void* ptr, long long area) { return static_cast(ptr)->isAreaAllowed(static_cast(area)); } char QToolBar_IsFloatable(void* ptr) { return static_cast(ptr)->isFloatable(); } char QToolBar_IsFloating(void* ptr) { return static_cast(ptr)->isFloating(); } char QToolBar_IsMovable(void* ptr) { return static_cast(ptr)->isMovable(); } void QToolBar_ConnectMovableChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QToolBar::movableChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_MovableChanged), static_cast(t)); } void QToolBar_DisconnectMovableChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBar::movableChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_MovableChanged)); } void QToolBar_MovableChanged(void* ptr, char movable) { static_cast(ptr)->movableChanged(movable != 0); } long long QToolBar_Orientation(void* ptr) { return static_cast(ptr)->orientation(); } void QToolBar_ConnectOrientationChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QToolBar::orientationChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_OrientationChanged), static_cast(t)); } void QToolBar_DisconnectOrientationChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBar::orientationChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_OrientationChanged)); } void QToolBar_OrientationChanged(void* ptr, long long orientation) { static_cast(ptr)->orientationChanged(static_cast(orientation)); } void QToolBar_SetAllowedAreas(void* ptr, long long areas) { static_cast(ptr)->setAllowedAreas(static_cast(areas)); } void QToolBar_SetFloatable(void* ptr, char floatable) { static_cast(ptr)->setFloatable(floatable != 0); } void QToolBar_SetIconSize(void* ptr, void* iconSize) { QMetaObject::invokeMethod(static_cast(ptr), "setIconSize", Q_ARG(const QSize, *static_cast(iconSize))); } void QToolBar_SetIconSizeDefault(void* ptr, void* iconSize) { static_cast(ptr)->QToolBar::setIconSize(*static_cast(iconSize)); } void QToolBar_SetMovable(void* ptr, char movable) { static_cast(ptr)->setMovable(movable != 0); } void QToolBar_SetOrientation(void* ptr, long long orientation) { static_cast(ptr)->setOrientation(static_cast(orientation)); } void QToolBar_SetToolButtonStyle(void* ptr, long long toolButtonStyle) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "setToolButtonStyle", Q_ARG(Qt::ToolButtonStyle, static_cast(toolButtonStyle))); } void QToolBar_SetToolButtonStyleDefault(void* ptr, long long toolButtonStyle) { static_cast(ptr)->QToolBar::setToolButtonStyle(static_cast(toolButtonStyle)); } void* QToolBar_ToggleViewAction(void* ptr) { return static_cast(ptr)->toggleViewAction(); } long long QToolBar_ToolButtonStyle(void* ptr) { return static_cast(ptr)->toolButtonStyle(); } void QToolBar_ConnectToolButtonStyleChanged(void* ptr, long long t) { qRegisterMetaType(); QObject::connect(static_cast(ptr), static_cast(&QToolBar::toolButtonStyleChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_ToolButtonStyleChanged), static_cast(t)); } void QToolBar_DisconnectToolButtonStyleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBar::toolButtonStyleChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_ToolButtonStyleChanged)); } void QToolBar_ToolButtonStyleChanged(void* ptr, long long toolButtonStyle) { static_cast(ptr)->toolButtonStyleChanged(static_cast(toolButtonStyle)); } void QToolBar_ConnectTopLevelChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QToolBar::topLevelChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_TopLevelChanged), static_cast(t)); } void QToolBar_DisconnectTopLevelChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBar::topLevelChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_TopLevelChanged)); } void QToolBar_TopLevelChanged(void* ptr, char topLevel) { static_cast(ptr)->topLevelChanged(topLevel != 0); } void QToolBar_ConnectVisibilityChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QToolBar::visibilityChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_VisibilityChanged), static_cast(t)); } void QToolBar_DisconnectVisibilityChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBar::visibilityChanged), static_cast(ptr), static_cast(&MyQToolBar::Signal_VisibilityChanged)); } void QToolBar_VisibilityChanged(void* ptr, char visible) { static_cast(ptr)->visibilityChanged(visible != 0); } void* QToolBar_WidgetForAction(void* ptr, void* action) { return static_cast(ptr)->widgetForAction(static_cast(action)); } void QToolBar_DestroyQToolBar(void* ptr) { static_cast(ptr)->~QToolBar(); } void QToolBar_DestroyQToolBarDefault(void* ptr) { Q_UNUSED(ptr); } class MyQToolBox: public QToolBox { public: MyQToolBox(QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QToolBox(parent, ff) {QToolBox_QToolBox_QRegisterMetaType();}; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void Signal_CurrentChanged(int index) { callbackQToolBox_CurrentChanged(this, index); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void itemInserted(int index) { callbackQToolBox_ItemInserted(this, index); }; void itemRemoved(int index) { callbackQToolBox_ItemRemoved(this, index); }; void setCurrentIndex(int index) { callbackQToolBox_SetCurrentIndex(this, index); }; void setCurrentWidget(QWidget * widget) { callbackQToolBox_SetCurrentWidget(this, widget); }; void showEvent(QShowEvent * e) { callbackQWidget_ShowEvent(this, e); }; ~MyQToolBox() { callbackQToolBox_DestroyQToolBox(this); }; void paintEvent(QPaintEvent * vqp) { callbackQWidget_PaintEvent(this, vqp); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QToolBox*) Q_DECLARE_METATYPE(MyQToolBox*) int QToolBox_QToolBox_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QToolBox_NewQToolBox(void* parent, long long ff) { return new MyQToolBox(static_cast(parent), static_cast(ff)); } int QToolBox_AddItem(void* ptr, void* widget, void* iconSet, struct QtWidgets_PackedString text) { return static_cast(ptr)->addItem(static_cast(widget), *static_cast(iconSet), QString::fromUtf8(text.data, text.len)); } int QToolBox_AddItem2(void* ptr, void* w, struct QtWidgets_PackedString text) { return static_cast(ptr)->addItem(static_cast(w), QString::fromUtf8(text.data, text.len)); } int QToolBox_Count(void* ptr) { return static_cast(ptr)->count(); } void QToolBox_ConnectCurrentChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QToolBox::currentChanged), static_cast(ptr), static_cast(&MyQToolBox::Signal_CurrentChanged), static_cast(t)); } void QToolBox_DisconnectCurrentChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolBox::currentChanged), static_cast(ptr), static_cast(&MyQToolBox::Signal_CurrentChanged)); } void QToolBox_CurrentChanged(void* ptr, int index) { static_cast(ptr)->currentChanged(index); } int QToolBox_CurrentIndex(void* ptr) { return static_cast(ptr)->currentIndex(); } void* QToolBox_CurrentWidget(void* ptr) { return static_cast(ptr)->currentWidget(); } int QToolBox_IndexOf(void* ptr, void* widget) { return static_cast(ptr)->indexOf(static_cast(widget)); } int QToolBox_InsertItem(void* ptr, int index, void* widget, void* icon, struct QtWidgets_PackedString text) { return static_cast(ptr)->insertItem(index, static_cast(widget), *static_cast(icon), QString::fromUtf8(text.data, text.len)); } int QToolBox_InsertItem2(void* ptr, int index, void* widget, struct QtWidgets_PackedString text) { return static_cast(ptr)->insertItem(index, static_cast(widget), QString::fromUtf8(text.data, text.len)); } char QToolBox_IsItemEnabled(void* ptr, int index) { return static_cast(ptr)->isItemEnabled(index); } void* QToolBox_ItemIcon(void* ptr, int index) { return new QIcon(static_cast(ptr)->itemIcon(index)); } void QToolBox_ItemInserted(void* ptr, int index) { static_cast(ptr)->itemInserted(index); } void QToolBox_ItemInsertedDefault(void* ptr, int index) { static_cast(ptr)->QToolBox::itemInserted(index); } void QToolBox_ItemRemoved(void* ptr, int index) { static_cast(ptr)->itemRemoved(index); } void QToolBox_ItemRemovedDefault(void* ptr, int index) { static_cast(ptr)->QToolBox::itemRemoved(index); } struct QtWidgets_PackedString QToolBox_ItemText(void* ptr, int index) { return ({ QByteArray* tbfa329 = new QByteArray(static_cast(ptr)->itemText(index).toUtf8()); QtWidgets_PackedString { const_cast(tbfa329->prepend("WHITESPACE").constData()+10), tbfa329->size()-10, tbfa329 }; }); } struct QtWidgets_PackedString QToolBox_ItemToolTip(void* ptr, int index) { return ({ QByteArray* ta445d4 = new QByteArray(static_cast(ptr)->itemToolTip(index).toUtf8()); QtWidgets_PackedString { const_cast(ta445d4->prepend("WHITESPACE").constData()+10), ta445d4->size()-10, ta445d4 }; }); } void QToolBox_RemoveItem(void* ptr, int index) { static_cast(ptr)->removeItem(index); } void QToolBox_SetCurrentIndex(void* ptr, int index) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentIndex", Q_ARG(int, index)); } void QToolBox_SetCurrentIndexDefault(void* ptr, int index) { static_cast(ptr)->QToolBox::setCurrentIndex(index); } void QToolBox_SetCurrentWidget(void* ptr, void* widget) { QMetaObject::invokeMethod(static_cast(ptr), "setCurrentWidget", Q_ARG(QWidget*, static_cast(widget))); } void QToolBox_SetCurrentWidgetDefault(void* ptr, void* widget) { static_cast(ptr)->QToolBox::setCurrentWidget(static_cast(widget)); } void QToolBox_SetItemEnabled(void* ptr, int index, char enabled) { static_cast(ptr)->setItemEnabled(index, enabled != 0); } void QToolBox_SetItemIcon(void* ptr, int index, void* icon) { static_cast(ptr)->setItemIcon(index, *static_cast(icon)); } void QToolBox_SetItemText(void* ptr, int index, struct QtWidgets_PackedString text) { static_cast(ptr)->setItemText(index, QString::fromUtf8(text.data, text.len)); } void QToolBox_SetItemToolTip(void* ptr, int index, struct QtWidgets_PackedString toolTip) { static_cast(ptr)->setItemToolTip(index, QString::fromUtf8(toolTip.data, toolTip.len)); } void* QToolBox_Widget(void* ptr, int index) { return static_cast(ptr)->widget(index); } void QToolBox_DestroyQToolBox(void* ptr) { static_cast(ptr)->~QToolBox(); } void QToolBox_DestroyQToolBoxDefault(void* ptr) { Q_UNUSED(ptr); } class MyQToolButton: public QToolButton { public: MyQToolButton(QWidget *parent = Q_NULLPTR) : QToolButton(parent) {QToolButton_QToolButton_QRegisterMetaType();}; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * e) { callbackQWidget_ChangeEvent(this, e); }; void enterEvent(QEvent * e) { callbackQWidget_EnterEvent(this, e); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool hitButton(const QPoint & pos) const { return callbackQAbstractButton_HitButton(const_cast(static_cast(this)), const_cast(&pos)) != 0; }; void leaveEvent(QEvent * e) { callbackQWidget_LeaveEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mousePressEvent(QMouseEvent * e) { callbackQWidget_MousePressEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; void nextCheckState() { callbackQAbstractButton_NextCheckState(this); }; void paintEvent(QPaintEvent * event) { callbackQToolButton_PaintEvent(this, event); }; void setDefaultAction(QAction * action) { callbackQToolButton_SetDefaultAction(this, action); }; void setToolButtonStyle(Qt::ToolButtonStyle style) { callbackQToolButton_SetToolButtonStyle(this, style); }; void showMenu() { callbackQToolButton_ShowMenu(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void Signal_Triggered(QAction * action) { callbackQToolButton_Triggered(this, action); }; ~MyQToolButton() { callbackQToolButton_DestroyQToolButton(this); }; void animateClick(int msec) { callbackQAbstractButton_AnimateClick(this, msec); }; void checkStateSet() { callbackQAbstractButton_CheckStateSet(this); }; void click() { callbackQAbstractButton_Click(this); }; void Signal_Clicked(bool checked) { callbackQAbstractButton_Clicked(this, checked); }; void focusInEvent(QFocusEvent * e) { callbackQWidget_FocusInEvent(this, e); }; void focusOutEvent(QFocusEvent * e) { callbackQWidget_FocusOutEvent(this, e); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; void keyReleaseEvent(QKeyEvent * e) { callbackQWidget_KeyReleaseEvent(this, e); }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void Signal_Pressed() { callbackQAbstractButton_Pressed(this); }; void Signal_Released() { callbackQAbstractButton_Released(this); }; void setChecked(bool vbo) { callbackQAbstractButton_SetChecked(this, vbo); }; void setIconSize(const QSize & size) { callbackQAbstractButton_SetIconSize(this, const_cast(&size)); }; void toggle() { callbackQAbstractButton_Toggle(this); }; void Signal_Toggled(bool checked) { callbackQAbstractButton_Toggled(this, checked); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QToolButton*) Q_DECLARE_METATYPE(MyQToolButton*) int QToolButton_QToolButton_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QToolButton_NewQToolButton(void* parent) { return new MyQToolButton(static_cast(parent)); } long long QToolButton_ArrowType(void* ptr) { return static_cast(ptr)->arrowType(); } char QToolButton_AutoRaise(void* ptr) { return static_cast(ptr)->autoRaise(); } void* QToolButton_DefaultAction(void* ptr) { return static_cast(ptr)->defaultAction(); } void QToolButton_InitStyleOption(void* ptr, void* option) { static_cast(ptr)->initStyleOption(static_cast(option)); } void* QToolButton_Menu(void* ptr) { return static_cast(ptr)->menu(); } void QToolButton_PaintEvent(void* ptr, void* event) { static_cast(ptr)->paintEvent(static_cast(event)); } void QToolButton_PaintEventDefault(void* ptr, void* event) { static_cast(ptr)->QToolButton::paintEvent(static_cast(event)); } long long QToolButton_PopupMode(void* ptr) { return static_cast(ptr)->popupMode(); } void QToolButton_SetArrowType(void* ptr, long long ty) { static_cast(ptr)->setArrowType(static_cast(ty)); } void QToolButton_SetAutoRaise(void* ptr, char enable) { static_cast(ptr)->setAutoRaise(enable != 0); } void QToolButton_SetDefaultAction(void* ptr, void* action) { QMetaObject::invokeMethod(static_cast(ptr), "setDefaultAction", Q_ARG(QAction*, static_cast(action))); } void QToolButton_SetDefaultActionDefault(void* ptr, void* action) { static_cast(ptr)->QToolButton::setDefaultAction(static_cast(action)); } void QToolButton_SetMenu(void* ptr, void* menu) { static_cast(ptr)->setMenu(static_cast(menu)); } void QToolButton_SetPopupMode(void* ptr, long long mode) { static_cast(ptr)->setPopupMode(static_cast(mode)); } void QToolButton_SetToolButtonStyle(void* ptr, long long style) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "setToolButtonStyle", Q_ARG(Qt::ToolButtonStyle, static_cast(style))); } void QToolButton_SetToolButtonStyleDefault(void* ptr, long long style) { static_cast(ptr)->QToolButton::setToolButtonStyle(static_cast(style)); } void QToolButton_ShowMenu(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMenu"); } void QToolButton_ShowMenuDefault(void* ptr) { static_cast(ptr)->QToolButton::showMenu(); } long long QToolButton_ToolButtonStyle(void* ptr) { return static_cast(ptr)->toolButtonStyle(); } void QToolButton_ConnectTriggered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QToolButton::triggered), static_cast(ptr), static_cast(&MyQToolButton::Signal_Triggered), static_cast(t)); } void QToolButton_DisconnectTriggered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QToolButton::triggered), static_cast(ptr), static_cast(&MyQToolButton::Signal_Triggered)); } void QToolButton_Triggered(void* ptr, void* action) { static_cast(ptr)->triggered(static_cast(action)); } void QToolButton_DestroyQToolButton(void* ptr) { static_cast(ptr)->~QToolButton(); } void QToolButton_DestroyQToolButtonDefault(void* ptr) { Q_UNUSED(ptr); } void* QToolTip_QToolTip_Font() { return new QFont(QToolTip::font()); } void QToolTip_QToolTip_HideText() { QToolTip::hideText(); } char QToolTip_QToolTip_IsVisible() { return QToolTip::isVisible(); } void* QToolTip_QToolTip_Palette() { return new QPalette(QToolTip::palette()); } void QToolTip_QToolTip_SetFont(void* font) { QToolTip::setFont(*static_cast(font)); } void QToolTip_QToolTip_SetPalette(void* palette) { QToolTip::setPalette(*static_cast(palette)); } void QToolTip_QToolTip_ShowText(void* pos, struct QtWidgets_PackedString text, void* w, void* rect) { QToolTip::showText(*static_cast(pos), QString::fromUtf8(text.data, text.len), static_cast(w), *static_cast(rect)); } void QToolTip_QToolTip_ShowText2(void* pos, struct QtWidgets_PackedString text, void* w) { QToolTip::showText(*static_cast(pos), QString::fromUtf8(text.data, text.len), static_cast(w)); } void QToolTip_QToolTip_ShowText3(void* pos, struct QtWidgets_PackedString text, void* w, void* rect, int msecDisplayTime) { QToolTip::showText(*static_cast(pos), QString::fromUtf8(text.data, text.len), static_cast(w), *static_cast(rect), msecDisplayTime); } struct QtWidgets_PackedString QToolTip_QToolTip_Text() { return ({ QByteArray* tdd5458 = new QByteArray(QToolTip::text().toUtf8()); QtWidgets_PackedString { const_cast(tdd5458->prepend("WHITESPACE").constData()+10), tdd5458->size()-10, tdd5458 }; }); } class MyQTreeView: public QTreeView { public: MyQTreeView(QWidget *parent = Q_NULLPTR) : QTreeView(parent) {QTreeView_QTreeView_QRegisterMetaType();}; void collapse(const QModelIndex & index) { callbackQTreeView_Collapse(this, const_cast(&index)); }; void collapseAll() { callbackQTreeView_CollapseAll(this); }; void Signal_Collapsed(const QModelIndex & index) { callbackQTreeView_Collapsed(this, const_cast(&index)); }; void columnCountChanged(int oldCount, int newCount) { callbackQTreeView_ColumnCountChanged(this, oldCount, newCount); }; void columnMoved() { callbackQTreeView_ColumnMoved(this); }; void columnResized(int column, int oldSize, int newSize) { callbackQTreeView_ColumnResized(this, column, oldSize, newSize); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQTreeView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQTreeView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void drawBranches(QPainter * painter, const QRect & rect, const QModelIndex & index) const { callbackQTreeView_DrawBranches(const_cast(static_cast(this)), painter, const_cast(&rect), const_cast(&index)); }; void drawRow(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQTreeView_DrawRow(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&index)); }; void expand(const QModelIndex & index) { callbackQTreeView_Expand(this, const_cast(&index)); }; void expandAll() { callbackQTreeView_ExpandAll(this); }; void expandRecursively(const QModelIndex & index, int depth) { callbackQTreeView_ExpandRecursively(this, const_cast(&index), depth); }; void expandToDepth(int depth) { callbackQTreeView_ExpandToDepth(this, depth); }; void Signal_Expanded(const QModelIndex & index) { callbackQTreeView_Expanded(this, const_cast(&index)); }; void hideColumn(int column) { callbackQTreeView_HideColumn(this, column); }; int horizontalOffset() const { return callbackQTreeView_HorizontalOffset(const_cast(static_cast(this))); }; QModelIndex indexAt(const QPoint & point) const { return *static_cast(callbackQTreeView_IndexAt(const_cast(static_cast(this)), const_cast(&point))); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQTreeView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQTreeView_MoveCursor(this, cursorAction, modifiers)); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void reset() { callbackQTreeView_Reset(this); }; void resizeColumnToContents(int column) { callbackQTreeView_ResizeColumnToContents(this, column); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsInserted(this, const_cast(&parent), start, end); }; void rowsRemoved(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsRemoved(this, const_cast(&parent), start, end); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQTreeView_ScrollTo(this, const_cast(&index), hint); }; void selectAll() { callbackQTreeView_SelectAll(this); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQTreeView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQTreeView_SetRootIndex(this, const_cast(&index)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQTreeView_SetSelection(this, const_cast(&rect), command); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; void showColumn(int column) { callbackQTreeView_ShowColumn(this, column); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; void sortByColumn(int column, Qt::SortOrder order) { callbackQTreeView_SortByColumn(this, column, order); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void updateGeometries() { callbackQTreeView_UpdateGeometries(this); }; int verticalOffset() const { return callbackQTreeView_VerticalOffset(const_cast(static_cast(this))); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQTreeView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQTreeView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; ~MyQTreeView() { callbackQTreeView_DestroyQTreeView(this); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QTreeView*) Q_DECLARE_METATYPE(MyQTreeView*) int QTreeView_QTreeView_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTreeView_NewQTreeView(void* parent) { return new MyQTreeView(static_cast(parent)); } char QTreeView_AllColumnsShowFocus(void* ptr) { return static_cast(ptr)->allColumnsShowFocus(); } int QTreeView_AutoExpandDelay(void* ptr) { return static_cast(ptr)->autoExpandDelay(); } void QTreeView_Collapse(void* ptr, void* index) { QMetaObject::invokeMethod(static_cast(ptr), "collapse", Q_ARG(const QModelIndex, *static_cast(index))); } void QTreeView_CollapseDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::collapse(*static_cast(index)); } else { static_cast(ptr)->QTreeView::collapse(*static_cast(index)); } } void QTreeView_CollapseAll(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "collapseAll"); } void QTreeView_CollapseAllDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::collapseAll(); } else { static_cast(ptr)->QTreeView::collapseAll(); } } void QTreeView_ConnectCollapsed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeView::collapsed), static_cast(ptr), static_cast(&MyQTreeView::Signal_Collapsed), static_cast(t)); } void QTreeView_DisconnectCollapsed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeView::collapsed), static_cast(ptr), static_cast(&MyQTreeView::Signal_Collapsed)); } void QTreeView_Collapsed(void* ptr, void* index) { static_cast(ptr)->collapsed(*static_cast(index)); } int QTreeView_ColumnAt(void* ptr, int x) { return static_cast(ptr)->columnAt(x); } void QTreeView_ColumnCountChanged(void* ptr, int oldCount, int newCount) { QMetaObject::invokeMethod(static_cast(ptr), "columnCountChanged", Q_ARG(int, oldCount), Q_ARG(int, newCount)); } void QTreeView_ColumnCountChangedDefault(void* ptr, int oldCount, int newCount) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::columnCountChanged(oldCount, newCount); } else { static_cast(ptr)->QTreeView::columnCountChanged(oldCount, newCount); } } void QTreeView_ColumnMoved(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "columnMoved"); } void QTreeView_ColumnMovedDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::columnMoved(); } else { static_cast(ptr)->QTreeView::columnMoved(); } } void QTreeView_ColumnResized(void* ptr, int column, int oldSize, int newSize) { QMetaObject::invokeMethod(static_cast(ptr), "columnResized", Q_ARG(int, column), Q_ARG(int, oldSize), Q_ARG(int, newSize)); } void QTreeView_ColumnResizedDefault(void* ptr, int column, int oldSize, int newSize) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::columnResized(column, oldSize, newSize); } else { static_cast(ptr)->QTreeView::columnResized(column, oldSize, newSize); } } int QTreeView_ColumnViewportPosition(void* ptr, int column) { return static_cast(ptr)->columnViewportPosition(column); } int QTreeView_ColumnWidth(void* ptr, int column) { return static_cast(ptr)->columnWidth(column); } void QTreeView_CurrentChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentChanged(*static_cast(current), *static_cast(previous)); } void QTreeView_CurrentChangedDefault(void* ptr, void* current, void* previous) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::currentChanged(*static_cast(current), *static_cast(previous)); } else { static_cast(ptr)->QTreeView::currentChanged(*static_cast(current), *static_cast(previous)); } } void QTreeView_DataChanged(void* ptr, void* topLeft, void* bottomRight, void* roles) { static_cast(ptr)->dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } void QTreeView_DataChangedDefault(void* ptr, void* topLeft, void* bottomRight, void* roles) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } else { static_cast(ptr)->QTreeView::dataChanged(*static_cast(topLeft), *static_cast(bottomRight), *static_cast*>(roles)); } } void QTreeView_DrawBranches(void* ptr, void* painter, void* rect, void* index) { static_cast(ptr)->drawBranches(static_cast(painter), *static_cast(rect), *static_cast(index)); } void QTreeView_DrawBranchesDefault(void* ptr, void* painter, void* rect, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::drawBranches(static_cast(painter), *static_cast(rect), *static_cast(index)); } else { static_cast(ptr)->QTreeView::drawBranches(static_cast(painter), *static_cast(rect), *static_cast(index)); } } void QTreeView_DrawRow(void* ptr, void* painter, void* option, void* index) { static_cast(ptr)->drawRow(static_cast(painter), *static_cast(option), *static_cast(index)); } void QTreeView_DrawRowDefault(void* ptr, void* painter, void* option, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::drawRow(static_cast(painter), *static_cast(option), *static_cast(index)); } else { static_cast(ptr)->QTreeView::drawRow(static_cast(painter), *static_cast(option), *static_cast(index)); } } void QTreeView_DrawTree(void* ptr, void* painter, void* region) { static_cast(ptr)->drawTree(static_cast(painter), *static_cast(region)); } void QTreeView_Expand(void* ptr, void* index) { QMetaObject::invokeMethod(static_cast(ptr), "expand", Q_ARG(const QModelIndex, *static_cast(index))); } void QTreeView_ExpandDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::expand(*static_cast(index)); } else { static_cast(ptr)->QTreeView::expand(*static_cast(index)); } } void QTreeView_ExpandAll(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "expandAll"); } void QTreeView_ExpandAllDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::expandAll(); } else { static_cast(ptr)->QTreeView::expandAll(); } } void QTreeView_ExpandRecursively(void* ptr, void* index, int depth) { QMetaObject::invokeMethod(static_cast(ptr), "expandRecursively", Q_ARG(const QModelIndex, *static_cast(index)), Q_ARG(int, depth)); } void QTreeView_ExpandRecursivelyDefault(void* ptr, void* index, int depth) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::expandRecursively(*static_cast(index), depth); } else { static_cast(ptr)->QTreeView::expandRecursively(*static_cast(index), depth); } } void QTreeView_ExpandToDepth(void* ptr, int depth) { QMetaObject::invokeMethod(static_cast(ptr), "expandToDepth", Q_ARG(int, depth)); } void QTreeView_ExpandToDepthDefault(void* ptr, int depth) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::expandToDepth(depth); } else { static_cast(ptr)->QTreeView::expandToDepth(depth); } } void QTreeView_ConnectExpanded(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeView::expanded), static_cast(ptr), static_cast(&MyQTreeView::Signal_Expanded), static_cast(t)); } void QTreeView_DisconnectExpanded(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeView::expanded), static_cast(ptr), static_cast(&MyQTreeView::Signal_Expanded)); } void QTreeView_Expanded(void* ptr, void* index) { static_cast(ptr)->expanded(*static_cast(index)); } char QTreeView_ExpandsOnDoubleClick(void* ptr) { return static_cast(ptr)->expandsOnDoubleClick(); } void* QTreeView_Header(void* ptr) { return static_cast(ptr)->header(); } void QTreeView_HideColumn(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "hideColumn", Q_ARG(int, column)); } void QTreeView_HideColumnDefault(void* ptr, int column) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::hideColumn(column); } else { static_cast(ptr)->QTreeView::hideColumn(column); } } int QTreeView_HorizontalOffset(void* ptr) { return static_cast(ptr)->horizontalOffset(); } int QTreeView_HorizontalOffsetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::horizontalOffset(); } else { return static_cast(ptr)->QTreeView::horizontalOffset(); } } int QTreeView_Indentation(void* ptr) { return static_cast(ptr)->indentation(); } void* QTreeView_IndexAbove(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->indexAbove(*static_cast(index))); } void* QTreeView_IndexAt(void* ptr, void* point) { return new QModelIndex(static_cast(ptr)->indexAt(*static_cast(point))); } void* QTreeView_IndexAtDefault(void* ptr, void* point) { if (dynamic_cast(static_cast(ptr))) { return new QModelIndex(static_cast(ptr)->QTreeWidget::indexAt(*static_cast(point))); } else { return new QModelIndex(static_cast(ptr)->QTreeView::indexAt(*static_cast(point))); } } void* QTreeView_IndexBelow(void* ptr, void* index) { return new QModelIndex(static_cast(ptr)->indexBelow(*static_cast(index))); } int QTreeView_IndexRowSizeHint(void* ptr, void* index) { return static_cast(ptr)->indexRowSizeHint(*static_cast(index)); } char QTreeView_IsAnimated(void* ptr) { return static_cast(ptr)->isAnimated(); } char QTreeView_IsColumnHidden(void* ptr, int column) { return static_cast(ptr)->isColumnHidden(column); } char QTreeView_IsExpanded(void* ptr, void* index) { return static_cast(ptr)->isExpanded(*static_cast(index)); } char QTreeView_IsFirstColumnSpanned(void* ptr, int row, void* parent) { return static_cast(ptr)->isFirstColumnSpanned(row, *static_cast(parent)); } char QTreeView_IsHeaderHidden(void* ptr) { return static_cast(ptr)->isHeaderHidden(); } char QTreeView_IsIndexHidden(void* ptr, void* index) { return static_cast(ptr)->isIndexHidden(*static_cast(index)); } char QTreeView_IsIndexHiddenDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::isIndexHidden(*static_cast(index)); } else { return static_cast(ptr)->QTreeView::isIndexHidden(*static_cast(index)); } } char QTreeView_IsRowHidden(void* ptr, int row, void* parent) { return static_cast(ptr)->isRowHidden(row, *static_cast(parent)); } char QTreeView_IsSortingEnabled(void* ptr) { return static_cast(ptr)->isSortingEnabled(); } char QTreeView_ItemsExpandable(void* ptr) { return static_cast(ptr)->itemsExpandable(); } void* QTreeView_MoveCursor(void* ptr, long long cursorAction, long long modifiers) { return new QModelIndex(static_cast(ptr)->moveCursor(static_cast(cursorAction), static_cast(modifiers))); } void* QTreeView_MoveCursorDefault(void* ptr, long long cursorAction, long long modifiers) { if (dynamic_cast(static_cast(ptr))) { return new QModelIndex(static_cast(ptr)->QTreeWidget::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } else { return new QModelIndex(static_cast(ptr)->QTreeView::moveCursor(static_cast(cursorAction), static_cast(modifiers))); } } void QTreeView_Reset(void* ptr) { static_cast(ptr)->reset(); } void QTreeView_ResetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::reset(); } else { static_cast(ptr)->QTreeView::reset(); } } void QTreeView_ResetIndentation(void* ptr) { static_cast(ptr)->resetIndentation(); } void QTreeView_ResizeColumnToContents(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "resizeColumnToContents", Q_ARG(int, column)); } void QTreeView_ResizeColumnToContentsDefault(void* ptr, int column) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::resizeColumnToContents(column); } else { static_cast(ptr)->QTreeView::resizeColumnToContents(column); } } char QTreeView_RootIsDecorated(void* ptr) { return static_cast(ptr)->rootIsDecorated(); } int QTreeView_RowHeight(void* ptr, void* index) { return static_cast(ptr)->rowHeight(*static_cast(index)); } void QTreeView_RowsAboutToBeRemoved(void* ptr, void* parent, int start, int end) { static_cast(ptr)->rowsAboutToBeRemoved(*static_cast(parent), start, end); } void QTreeView_RowsAboutToBeRemovedDefault(void* ptr, void* parent, int start, int end) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::rowsAboutToBeRemoved(*static_cast(parent), start, end); } else { static_cast(ptr)->QTreeView::rowsAboutToBeRemoved(*static_cast(parent), start, end); } } void QTreeView_RowsInserted(void* ptr, void* parent, int start, int end) { static_cast(ptr)->rowsInserted(*static_cast(parent), start, end); } void QTreeView_RowsInsertedDefault(void* ptr, void* parent, int start, int end) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::rowsInserted(*static_cast(parent), start, end); } else { static_cast(ptr)->QTreeView::rowsInserted(*static_cast(parent), start, end); } } void QTreeView_RowsRemoved(void* ptr, void* parent, int start, int end) { QMetaObject::invokeMethod(static_cast(ptr), "rowsRemoved", Q_ARG(const QModelIndex, *static_cast(parent)), Q_ARG(int, start), Q_ARG(int, end)); } void QTreeView_RowsRemovedDefault(void* ptr, void* parent, int start, int end) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::rowsRemoved(*static_cast(parent), start, end); } else { static_cast(ptr)->QTreeView::rowsRemoved(*static_cast(parent), start, end); } } void QTreeView_ScrollTo(void* ptr, void* index, long long hint) { static_cast(ptr)->scrollTo(*static_cast(index), static_cast(hint)); } void QTreeView_ScrollToDefault(void* ptr, void* index, long long hint) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::scrollTo(*static_cast(index), static_cast(hint)); } else { static_cast(ptr)->QTreeView::scrollTo(*static_cast(index), static_cast(hint)); } } void QTreeView_SelectAll(void* ptr) { static_cast(ptr)->selectAll(); } void QTreeView_SelectAllDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::selectAll(); } else { static_cast(ptr)->QTreeView::selectAll(); } } void QTreeView_SelectionChanged(void* ptr, void* selected, void* deselected) { static_cast(ptr)->selectionChanged(*static_cast(selected), *static_cast(deselected)); } void QTreeView_SelectionChangedDefault(void* ptr, void* selected, void* deselected) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::selectionChanged(*static_cast(selected), *static_cast(deselected)); } else { static_cast(ptr)->QTreeView::selectionChanged(*static_cast(selected), *static_cast(deselected)); } } void QTreeView_SetAllColumnsShowFocus(void* ptr, char enable) { static_cast(ptr)->setAllColumnsShowFocus(enable != 0); } void QTreeView_SetAnimated(void* ptr, char enable) { static_cast(ptr)->setAnimated(enable != 0); } void QTreeView_SetAutoExpandDelay(void* ptr, int delay) { static_cast(ptr)->setAutoExpandDelay(delay); } void QTreeView_SetColumnHidden(void* ptr, int column, char hide) { static_cast(ptr)->setColumnHidden(column, hide != 0); } void QTreeView_SetColumnWidth(void* ptr, int column, int width) { static_cast(ptr)->setColumnWidth(column, width); } void QTreeView_SetExpanded(void* ptr, void* index, char expanded) { static_cast(ptr)->setExpanded(*static_cast(index), expanded != 0); } void QTreeView_SetExpandsOnDoubleClick(void* ptr, char enable) { static_cast(ptr)->setExpandsOnDoubleClick(enable != 0); } void QTreeView_SetFirstColumnSpanned(void* ptr, int row, void* parent, char span) { static_cast(ptr)->setFirstColumnSpanned(row, *static_cast(parent), span != 0); } void QTreeView_SetHeader(void* ptr, void* header) { static_cast(ptr)->setHeader(static_cast(header)); } void QTreeView_SetHeaderHidden(void* ptr, char hide) { static_cast(ptr)->setHeaderHidden(hide != 0); } void QTreeView_SetIndentation(void* ptr, int i) { static_cast(ptr)->setIndentation(i); } void QTreeView_SetItemsExpandable(void* ptr, char enable) { static_cast(ptr)->setItemsExpandable(enable != 0); } void QTreeView_SetRootIndex(void* ptr, void* index) { static_cast(ptr)->setRootIndex(*static_cast(index)); } void QTreeView_SetRootIndexDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setRootIndex(*static_cast(index)); } else { static_cast(ptr)->QTreeView::setRootIndex(*static_cast(index)); } } void QTreeView_SetRootIsDecorated(void* ptr, char show) { static_cast(ptr)->setRootIsDecorated(show != 0); } void QTreeView_SetRowHidden(void* ptr, int row, void* parent, char hide) { static_cast(ptr)->setRowHidden(row, *static_cast(parent), hide != 0); } void QTreeView_SetSelection(void* ptr, void* rect, long long command) { static_cast(ptr)->setSelection(*static_cast(rect), static_cast(command)); } void QTreeView_SetSelectionDefault(void* ptr, void* rect, long long command) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setSelection(*static_cast(rect), static_cast(command)); } else { static_cast(ptr)->QTreeView::setSelection(*static_cast(rect), static_cast(command)); } } void QTreeView_SetSortingEnabled(void* ptr, char enable) { static_cast(ptr)->setSortingEnabled(enable != 0); } void QTreeView_SetTreePosition(void* ptr, int index) { static_cast(ptr)->setTreePosition(index); } void QTreeView_SetUniformRowHeights(void* ptr, char uniform) { static_cast(ptr)->setUniformRowHeights(uniform != 0); } void QTreeView_SetWordWrap(void* ptr, char on) { static_cast(ptr)->setWordWrap(on != 0); } void QTreeView_ShowColumn(void* ptr, int column) { QMetaObject::invokeMethod(static_cast(ptr), "showColumn", Q_ARG(int, column)); } void QTreeView_ShowColumnDefault(void* ptr, int column) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::showColumn(column); } else { static_cast(ptr)->QTreeView::showColumn(column); } } void QTreeView_SortByColumn(void* ptr, int column, long long order) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "sortByColumn", Q_ARG(int, column), Q_ARG(Qt::SortOrder, static_cast(order))); } void QTreeView_SortByColumnDefault(void* ptr, int column, long long order) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::sortByColumn(column, static_cast(order)); } else { static_cast(ptr)->QTreeView::sortByColumn(column, static_cast(order)); } } int QTreeView_TreePosition(void* ptr) { return static_cast(ptr)->treePosition(); } char QTreeView_UniformRowHeights(void* ptr) { return static_cast(ptr)->uniformRowHeights(); } void QTreeView_UpdateGeometries(void* ptr) { static_cast(ptr)->updateGeometries(); } void QTreeView_UpdateGeometriesDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::updateGeometries(); } else { static_cast(ptr)->QTreeView::updateGeometries(); } } int QTreeView_VerticalOffset(void* ptr) { return static_cast(ptr)->verticalOffset(); } int QTreeView_VerticalOffsetDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::verticalOffset(); } else { return static_cast(ptr)->QTreeView::verticalOffset(); } } void* QTreeView_VisualRect(void* ptr, void* index) { return ({ QRect tmpValue = static_cast(ptr)->visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QTreeView_VisualRectDefault(void* ptr, void* index) { if (dynamic_cast(static_cast(ptr))) { return ({ QRect tmpValue = static_cast(ptr)->QTreeWidget::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } else { return ({ QRect tmpValue = static_cast(ptr)->QTreeView::visualRect(*static_cast(index)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } } void* QTreeView_VisualRegionForSelection(void* ptr, void* selection) { return new QRegion(static_cast(ptr)->visualRegionForSelection(*static_cast(selection))); } void* QTreeView_VisualRegionForSelectionDefault(void* ptr, void* selection) { if (dynamic_cast(static_cast(ptr))) { return new QRegion(static_cast(ptr)->QTreeWidget::visualRegionForSelection(*static_cast(selection))); } else { return new QRegion(static_cast(ptr)->QTreeView::visualRegionForSelection(*static_cast(selection))); } } char QTreeView_WordWrap(void* ptr) { return static_cast(ptr)->wordWrap(); } void QTreeView_DestroyQTreeView(void* ptr) { static_cast(ptr)->~QTreeView(); } void QTreeView_DestroyQTreeViewDefault(void* ptr) { Q_UNUSED(ptr); } class MyQTreeWidget: public QTreeWidget { public: MyQTreeWidget(QWidget *parent = Q_NULLPTR) : QTreeWidget(parent) {QTreeWidget_QTreeWidget_QRegisterMetaType();}; void clear() { callbackQTreeWidget_Clear(this); }; void collapseItem(const QTreeWidgetItem * item) { callbackQTreeWidget_CollapseItem(this, const_cast(item)); }; void Signal_CurrentItemChanged(QTreeWidgetItem * current, QTreeWidgetItem * previous) { callbackQTreeWidget_CurrentItemChanged(this, current, previous); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; bool dropMimeData(QTreeWidgetItem * parent, int index, const QMimeData * data, Qt::DropAction action) { return callbackQTreeWidget_DropMimeData(this, parent, index, const_cast(data), action) != 0; }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; void expandItem(const QTreeWidgetItem * item) { callbackQTreeWidget_ExpandItem(this, const_cast(item)); }; void Signal_ItemActivated(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemActivated(this, item, column); }; void Signal_ItemChanged(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemChanged(this, item, column); }; void Signal_ItemClicked(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemClicked(this, item, column); }; void Signal_ItemCollapsed(QTreeWidgetItem * item) { callbackQTreeWidget_ItemCollapsed(this, item); }; void Signal_ItemDoubleClicked(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemDoubleClicked(this, item, column); }; void Signal_ItemEntered(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemEntered(this, item, column); }; void Signal_ItemExpanded(QTreeWidgetItem * item) { callbackQTreeWidget_ItemExpanded(this, item); }; void Signal_ItemPressed(QTreeWidgetItem * item, int column) { callbackQTreeWidget_ItemPressed(this, item, column); }; void Signal_ItemSelectionChanged() { callbackQTreeWidget_ItemSelectionChanged(this); }; QMimeData * mimeData(const QList items) const { return static_cast(callbackQTreeWidget_MimeData(const_cast(static_cast(this)), ({ QList* tmpValue7316c8 = new QList(items); QtWidgets_PackedList { tmpValue7316c8, tmpValue7316c8->size() }; }))); }; QStringList mimeTypes() const { return ({ QtWidgets_PackedString tempVal = callbackQTreeWidget_MimeTypes(const_cast(static_cast(this))); QStringList ret = QString::fromUtf8(tempVal.data, tempVal.len).split("¡¦!", QString::SkipEmptyParts); free(tempVal.data); ret; }); }; void scrollToItem(const QTreeWidgetItem * item, QAbstractItemView::ScrollHint hint) { callbackQTreeWidget_ScrollToItem(this, const_cast(item), hint); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; Qt::DropActions supportedDropActions() const { return static_cast(callbackQTreeWidget_SupportedDropActions(const_cast(static_cast(this)))); }; ~MyQTreeWidget() { callbackQTreeWidget_DestroyQTreeWidget(this); }; void collapse(const QModelIndex & index) { callbackQTreeView_Collapse(this, const_cast(&index)); }; void collapseAll() { callbackQTreeView_CollapseAll(this); }; void Signal_Collapsed(const QModelIndex & index) { callbackQTreeView_Collapsed(this, const_cast(&index)); }; void columnCountChanged(int oldCount, int newCount) { callbackQTreeView_ColumnCountChanged(this, oldCount, newCount); }; void columnMoved() { callbackQTreeView_ColumnMoved(this); }; void columnResized(int column, int oldSize, int newSize) { callbackQTreeView_ColumnResized(this, column, oldSize, newSize); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQTreeView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQTreeView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void drawBranches(QPainter * painter, const QRect & rect, const QModelIndex & index) const { callbackQTreeView_DrawBranches(const_cast(static_cast(this)), painter, const_cast(&rect), const_cast(&index)); }; void drawRow(QPainter * painter, const QStyleOptionViewItem & option, const QModelIndex & index) const { callbackQTreeView_DrawRow(const_cast(static_cast(this)), painter, const_cast(&option), const_cast(&index)); }; void expand(const QModelIndex & index) { callbackQTreeView_Expand(this, const_cast(&index)); }; void expandAll() { callbackQTreeView_ExpandAll(this); }; void expandRecursively(const QModelIndex & index, int depth) { callbackQTreeView_ExpandRecursively(this, const_cast(&index), depth); }; void expandToDepth(int depth) { callbackQTreeView_ExpandToDepth(this, depth); }; void Signal_Expanded(const QModelIndex & index) { callbackQTreeView_Expanded(this, const_cast(&index)); }; void hideColumn(int column) { callbackQTreeView_HideColumn(this, column); }; int horizontalOffset() const { return callbackQTreeView_HorizontalOffset(const_cast(static_cast(this))); }; QModelIndex indexAt(const QPoint & point) const { return *static_cast(callbackQTreeView_IndexAt(const_cast(static_cast(this)), const_cast(&point))); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQTreeView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQTreeView_MoveCursor(this, cursorAction, modifiers)); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void reset() { callbackQTreeView_Reset(this); }; void resizeColumnToContents(int column) { callbackQTreeView_ResizeColumnToContents(this, column); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsInserted(this, const_cast(&parent), start, end); }; void rowsRemoved(const QModelIndex & parent, int start, int end) { callbackQTreeView_RowsRemoved(this, const_cast(&parent), start, end); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQTreeView_ScrollTo(this, const_cast(&index), hint); }; void selectAll() { callbackQTreeView_SelectAll(this); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQTreeView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQTreeView_SetRootIndex(this, const_cast(&index)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQTreeView_SetSelection(this, const_cast(&rect), command); }; void showColumn(int column) { callbackQTreeView_ShowColumn(this, column); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; void sortByColumn(int column, Qt::SortOrder order) { callbackQTreeView_SortByColumn(this, column, order); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; void updateGeometries() { callbackQTreeView_UpdateGeometries(this); }; int verticalOffset() const { return callbackQTreeView_VerticalOffset(const_cast(static_cast(this))); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQTreeView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQTreeView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QTreeWidget*) Q_DECLARE_METATYPE(MyQTreeWidget*) int QTreeWidget_QTreeWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTreeWidget_NewQTreeWidget(void* parent) { return new MyQTreeWidget(static_cast(parent)); } void QTreeWidget_AddTopLevelItem(void* ptr, void* item) { static_cast(ptr)->addTopLevelItem(static_cast(item)); } void QTreeWidget_AddTopLevelItems(void* ptr, void* items) { static_cast(ptr)->addTopLevelItems(*static_cast*>(items)); } void QTreeWidget_Clear(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "clear"); } void QTreeWidget_ClearDefault(void* ptr) { static_cast(ptr)->QTreeWidget::clear(); } void QTreeWidget_ClosePersistentEditor(void* ptr, void* item, int column) { static_cast(ptr)->closePersistentEditor(static_cast(item), column); } void QTreeWidget_CollapseItem(void* ptr, void* item) { QMetaObject::invokeMethod(static_cast(ptr), "collapseItem", Q_ARG(const QTreeWidgetItem*, static_cast(item))); } void QTreeWidget_CollapseItemDefault(void* ptr, void* item) { static_cast(ptr)->QTreeWidget::collapseItem(static_cast(item)); } int QTreeWidget_ColumnCount(void* ptr) { return static_cast(ptr)->columnCount(); } int QTreeWidget_CurrentColumn(void* ptr) { return static_cast(ptr)->currentColumn(); } void* QTreeWidget_CurrentItem(void* ptr) { return static_cast(ptr)->currentItem(); } void QTreeWidget_ConnectCurrentItemChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::currentItemChanged), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_CurrentItemChanged), static_cast(t)); } void QTreeWidget_DisconnectCurrentItemChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::currentItemChanged), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_CurrentItemChanged)); } void QTreeWidget_CurrentItemChanged(void* ptr, void* current, void* previous) { static_cast(ptr)->currentItemChanged(static_cast(current), static_cast(previous)); } char QTreeWidget_DropMimeData(void* ptr, void* parent, int index, void* data, long long action) { return static_cast(ptr)->dropMimeData(static_cast(parent), index, static_cast(data), static_cast(action)); } char QTreeWidget_DropMimeDataDefault(void* ptr, void* parent, int index, void* data, long long action) { return static_cast(ptr)->QTreeWidget::dropMimeData(static_cast(parent), index, static_cast(data), static_cast(action)); } void QTreeWidget_EditItem(void* ptr, void* item, int column) { static_cast(ptr)->editItem(static_cast(item), column); } void QTreeWidget_ExpandItem(void* ptr, void* item) { QMetaObject::invokeMethod(static_cast(ptr), "expandItem", Q_ARG(const QTreeWidgetItem*, static_cast(item))); } void QTreeWidget_ExpandItemDefault(void* ptr, void* item) { static_cast(ptr)->QTreeWidget::expandItem(static_cast(item)); } struct QtWidgets_PackedList QTreeWidget_FindItems(void* ptr, struct QtWidgets_PackedString text, long long flags, int column) { return ({ QList* tmpValue92012a = new QList(static_cast(ptr)->findItems(QString::fromUtf8(text.data, text.len), static_cast(flags), column)); QtWidgets_PackedList { tmpValue92012a, tmpValue92012a->size() }; }); } void* QTreeWidget_HeaderItem(void* ptr) { return static_cast(ptr)->headerItem(); } void* QTreeWidget_IndexFromItem(void* ptr, void* item, int column) { return new QModelIndex(static_cast(ptr)->indexFromItem(static_cast(item), column)); } int QTreeWidget_IndexOfTopLevelItem(void* ptr, void* item) { return static_cast(ptr)->indexOfTopLevelItem(static_cast(item)); } void QTreeWidget_InsertTopLevelItem(void* ptr, int index, void* item) { static_cast(ptr)->insertTopLevelItem(index, static_cast(item)); } void QTreeWidget_InsertTopLevelItems(void* ptr, int index, void* items) { static_cast(ptr)->insertTopLevelItems(index, *static_cast*>(items)); } void* QTreeWidget_InvisibleRootItem(void* ptr) { return static_cast(ptr)->invisibleRootItem(); } char QTreeWidget_IsPersistentEditorOpen(void* ptr, void* item, int column) { return static_cast(ptr)->isPersistentEditorOpen(static_cast(item), column); } void* QTreeWidget_ItemAbove(void* ptr, void* item) { return static_cast(ptr)->itemAbove(static_cast(item)); } void QTreeWidget_ConnectItemActivated(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemActivated), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemActivated), static_cast(t)); } void QTreeWidget_DisconnectItemActivated(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemActivated), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemActivated)); } void QTreeWidget_ItemActivated(void* ptr, void* item, int column) { static_cast(ptr)->itemActivated(static_cast(item), column); } void* QTreeWidget_ItemAt(void* ptr, void* p) { return static_cast(ptr)->itemAt(*static_cast(p)); } void* QTreeWidget_ItemAt2(void* ptr, int x, int y) { return static_cast(ptr)->itemAt(x, y); } void* QTreeWidget_ItemBelow(void* ptr, void* item) { return static_cast(ptr)->itemBelow(static_cast(item)); } void QTreeWidget_ConnectItemChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemChanged), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemChanged), static_cast(t)); } void QTreeWidget_DisconnectItemChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemChanged), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemChanged)); } void QTreeWidget_ItemChanged(void* ptr, void* item, int column) { static_cast(ptr)->itemChanged(static_cast(item), column); } void QTreeWidget_ConnectItemClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemClicked), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemClicked), static_cast(t)); } void QTreeWidget_DisconnectItemClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemClicked), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemClicked)); } void QTreeWidget_ItemClicked(void* ptr, void* item, int column) { static_cast(ptr)->itemClicked(static_cast(item), column); } void QTreeWidget_ConnectItemCollapsed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemCollapsed), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemCollapsed), static_cast(t)); } void QTreeWidget_DisconnectItemCollapsed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemCollapsed), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemCollapsed)); } void QTreeWidget_ItemCollapsed(void* ptr, void* item) { static_cast(ptr)->itemCollapsed(static_cast(item)); } void QTreeWidget_ConnectItemDoubleClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemDoubleClicked), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemDoubleClicked), static_cast(t)); } void QTreeWidget_DisconnectItemDoubleClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemDoubleClicked), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemDoubleClicked)); } void QTreeWidget_ItemDoubleClicked(void* ptr, void* item, int column) { static_cast(ptr)->itemDoubleClicked(static_cast(item), column); } void QTreeWidget_ConnectItemEntered(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemEntered), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemEntered), static_cast(t)); } void QTreeWidget_DisconnectItemEntered(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemEntered), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemEntered)); } void QTreeWidget_ItemEntered(void* ptr, void* item, int column) { static_cast(ptr)->itemEntered(static_cast(item), column); } void QTreeWidget_ConnectItemExpanded(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemExpanded), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemExpanded), static_cast(t)); } void QTreeWidget_DisconnectItemExpanded(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemExpanded), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemExpanded)); } void QTreeWidget_ItemExpanded(void* ptr, void* item) { static_cast(ptr)->itemExpanded(static_cast(item)); } void* QTreeWidget_ItemFromIndex(void* ptr, void* index) { return static_cast(ptr)->itemFromIndex(*static_cast(index)); } void QTreeWidget_ConnectItemPressed(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemPressed), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemPressed), static_cast(t)); } void QTreeWidget_DisconnectItemPressed(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemPressed), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemPressed)); } void QTreeWidget_ItemPressed(void* ptr, void* item, int column) { static_cast(ptr)->itemPressed(static_cast(item), column); } void QTreeWidget_ConnectItemSelectionChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QTreeWidget::itemSelectionChanged), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemSelectionChanged), static_cast(t)); } void QTreeWidget_DisconnectItemSelectionChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QTreeWidget::itemSelectionChanged), static_cast(ptr), static_cast(&MyQTreeWidget::Signal_ItemSelectionChanged)); } void QTreeWidget_ItemSelectionChanged(void* ptr) { static_cast(ptr)->itemSelectionChanged(); } void* QTreeWidget_ItemWidget(void* ptr, void* item, int column) { return static_cast(ptr)->itemWidget(static_cast(item), column); } void* QTreeWidget_MimeData(void* ptr, void* items) { return static_cast(ptr)->mimeData(*static_cast*>(items)); } void* QTreeWidget_MimeDataDefault(void* ptr, void* items) { return static_cast(ptr)->QTreeWidget::mimeData(*static_cast*>(items)); } struct QtWidgets_PackedString QTreeWidget_MimeTypes(void* ptr) { return ({ QByteArray* t212f68 = new QByteArray(static_cast(ptr)->mimeTypes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(t212f68->prepend("WHITESPACE").constData()+10), t212f68->size()-10, t212f68 }; }); } struct QtWidgets_PackedString QTreeWidget_MimeTypesDefault(void* ptr) { return ({ QByteArray* te2438e = new QByteArray(static_cast(ptr)->QTreeWidget::mimeTypes().join("¡¦!").toUtf8()); QtWidgets_PackedString { const_cast(te2438e->prepend("WHITESPACE").constData()+10), te2438e->size()-10, te2438e }; }); } void QTreeWidget_OpenPersistentEditor(void* ptr, void* item, int column) { static_cast(ptr)->openPersistentEditor(static_cast(item), column); } void QTreeWidget_RemoveItemWidget(void* ptr, void* item, int column) { static_cast(ptr)->removeItemWidget(static_cast(item), column); } void QTreeWidget_ScrollToItem(void* ptr, void* item, long long hint) { qRegisterMetaType(); QMetaObject::invokeMethod(static_cast(ptr), "scrollToItem", Q_ARG(const QTreeWidgetItem*, static_cast(item)), Q_ARG(QAbstractItemView::ScrollHint, static_cast(hint))); } void QTreeWidget_ScrollToItemDefault(void* ptr, void* item, long long hint) { static_cast(ptr)->QTreeWidget::scrollToItem(static_cast(item), static_cast(hint)); } struct QtWidgets_PackedList QTreeWidget_SelectedItems(void* ptr) { return ({ QList* tmpValueb64487 = new QList(static_cast(ptr)->selectedItems()); QtWidgets_PackedList { tmpValueb64487, tmpValueb64487->size() }; }); } void QTreeWidget_SetColumnCount(void* ptr, int columns) { static_cast(ptr)->setColumnCount(columns); } void QTreeWidget_SetCurrentItem(void* ptr, void* item) { static_cast(ptr)->setCurrentItem(static_cast(item)); } void QTreeWidget_SetCurrentItem2(void* ptr, void* item, int column) { static_cast(ptr)->setCurrentItem(static_cast(item), column); } void QTreeWidget_SetCurrentItem3(void* ptr, void* item, int column, long long command) { static_cast(ptr)->setCurrentItem(static_cast(item), column, static_cast(command)); } void QTreeWidget_SetHeaderItem(void* ptr, void* item) { static_cast(ptr)->setHeaderItem(static_cast(item)); } void QTreeWidget_SetHeaderLabel(void* ptr, struct QtWidgets_PackedString label) { static_cast(ptr)->setHeaderLabel(QString::fromUtf8(label.data, label.len)); } void QTreeWidget_SetHeaderLabels(void* ptr, struct QtWidgets_PackedString labels) { static_cast(ptr)->setHeaderLabels(QString::fromUtf8(labels.data, labels.len).split("¡¦!", QString::SkipEmptyParts)); } void QTreeWidget_SetItemWidget(void* ptr, void* item, int column, void* widget) { static_cast(ptr)->setItemWidget(static_cast(item), column, static_cast(widget)); } int QTreeWidget_SortColumn(void* ptr) { return static_cast(ptr)->sortColumn(); } void QTreeWidget_SortItems(void* ptr, int column, long long order) { static_cast(ptr)->sortItems(column, static_cast(order)); } long long QTreeWidget_SupportedDropActions(void* ptr) { return static_cast(ptr)->supportedDropActions(); } long long QTreeWidget_SupportedDropActionsDefault(void* ptr) { return static_cast(ptr)->QTreeWidget::supportedDropActions(); } void* QTreeWidget_TakeTopLevelItem(void* ptr, int index) { return static_cast(ptr)->takeTopLevelItem(index); } void* QTreeWidget_TopLevelItem(void* ptr, int index) { return static_cast(ptr)->topLevelItem(index); } int QTreeWidget_TopLevelItemCount(void* ptr) { return static_cast(ptr)->topLevelItemCount(); } void* QTreeWidget_VisualItemRect(void* ptr, void* item) { return ({ QRect tmpValue = static_cast(ptr)->visualItemRect(static_cast(item)); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QTreeWidget_DestroyQTreeWidget(void* ptr) { static_cast(ptr)->~QTreeWidget(); } void QTreeWidget_DestroyQTreeWidgetDefault(void* ptr) { Q_UNUSED(ptr); } void* QTreeWidget___addTopLevelItems_items_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidget___addTopLevelItems_items_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidget___addTopLevelItems_items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidget___findItems_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidget___findItems_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidget___findItems_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidget___insertTopLevelItems_items_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidget___insertTopLevelItems_items_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidget___insertTopLevelItems_items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidget___items_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidget___items_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidget___items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidget___mimeData_items_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidget___mimeData_items_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidget___mimeData_items_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidget___selectedItems_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidget___selectedItems_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidget___selectedItems_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQTreeWidgetItem: public QTreeWidgetItem { public: MyQTreeWidgetItem(int ty = Type) : QTreeWidgetItem(ty) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; MyQTreeWidgetItem(const QStringList &strin, int ty = Type) : QTreeWidgetItem(strin, ty) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; MyQTreeWidgetItem(QTreeWidget *parent, int ty = Type) : QTreeWidgetItem(parent, ty) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; MyQTreeWidgetItem(QTreeWidget *parent, const QStringList &strin, int ty = Type) : QTreeWidgetItem(parent, strin, ty) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; MyQTreeWidgetItem(QTreeWidget *parent, QTreeWidgetItem *preceding, int ty = Type) : QTreeWidgetItem(parent, preceding, ty) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; MyQTreeWidgetItem(QTreeWidgetItem *parent, int ty = Type) : QTreeWidgetItem(parent, ty) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; MyQTreeWidgetItem(QTreeWidgetItem *parent, const QStringList &strin, int ty = Type) : QTreeWidgetItem(parent, strin, ty) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; MyQTreeWidgetItem(QTreeWidgetItem *parent, QTreeWidgetItem *preceding, int ty = Type) : QTreeWidgetItem(parent, preceding, ty) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; MyQTreeWidgetItem(const QTreeWidgetItem &other) : QTreeWidgetItem(other) {QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType();}; QTreeWidgetItem * clone() const { return static_cast(callbackQTreeWidgetItem_Clone(const_cast(static_cast(this)))); }; QVariant data(int column, int role) const { return *static_cast(callbackQTreeWidgetItem_Data(const_cast(static_cast(this)), column, role)); }; void read(QDataStream & in) { callbackQTreeWidgetItem_Read(this, static_cast(&in)); }; void setData(int column, int role, const QVariant & value) { callbackQTreeWidgetItem_SetData(this, column, role, const_cast(&value)); }; void write(QDataStream & out) const { callbackQTreeWidgetItem_Write(const_cast(static_cast(this)), static_cast(&out)); }; ~MyQTreeWidgetItem() { callbackQTreeWidgetItem_DestroyQTreeWidgetItem(this); }; }; Q_DECLARE_METATYPE(QTreeWidgetItem*) Q_DECLARE_METATYPE(MyQTreeWidgetItem*) int QTreeWidgetItem_QTreeWidgetItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QTreeWidgetItem_NewQTreeWidgetItem(int ty) { return new MyQTreeWidgetItem(ty); } void* QTreeWidgetItem_NewQTreeWidgetItem2(struct QtWidgets_PackedString strin, int ty) { return new MyQTreeWidgetItem(QString::fromUtf8(strin.data, strin.len).split("¡¦!", QString::SkipEmptyParts), ty); } void* QTreeWidgetItem_NewQTreeWidgetItem3(void* parent, int ty) { return new MyQTreeWidgetItem(static_cast(parent), ty); } void* QTreeWidgetItem_NewQTreeWidgetItem4(void* parent, struct QtWidgets_PackedString strin, int ty) { return new MyQTreeWidgetItem(static_cast(parent), QString::fromUtf8(strin.data, strin.len).split("¡¦!", QString::SkipEmptyParts), ty); } void* QTreeWidgetItem_NewQTreeWidgetItem5(void* parent, void* preceding, int ty) { return new MyQTreeWidgetItem(static_cast(parent), static_cast(preceding), ty); } void* QTreeWidgetItem_NewQTreeWidgetItem6(void* parent, int ty) { return new MyQTreeWidgetItem(static_cast(parent), ty); } void* QTreeWidgetItem_NewQTreeWidgetItem7(void* parent, struct QtWidgets_PackedString strin, int ty) { return new MyQTreeWidgetItem(static_cast(parent), QString::fromUtf8(strin.data, strin.len).split("¡¦!", QString::SkipEmptyParts), ty); } void* QTreeWidgetItem_NewQTreeWidgetItem8(void* parent, void* preceding, int ty) { return new MyQTreeWidgetItem(static_cast(parent), static_cast(preceding), ty); } void* QTreeWidgetItem_NewQTreeWidgetItem9(void* other) { return new MyQTreeWidgetItem(*static_cast(other)); } void QTreeWidgetItem_AddChild(void* ptr, void* child) { static_cast(ptr)->addChild(static_cast(child)); } void QTreeWidgetItem_AddChildren(void* ptr, void* children) { static_cast(ptr)->addChildren(*static_cast*>(children)); } void* QTreeWidgetItem_Background(void* ptr, int column) { return new QBrush(static_cast(ptr)->background(column)); } long long QTreeWidgetItem_CheckState(void* ptr, int column) { return static_cast(ptr)->checkState(column); } void* QTreeWidgetItem_Child(void* ptr, int index) { return static_cast(ptr)->child(index); } int QTreeWidgetItem_ChildCount(void* ptr) { return static_cast(ptr)->childCount(); } long long QTreeWidgetItem_ChildIndicatorPolicy(void* ptr) { return static_cast(ptr)->childIndicatorPolicy(); } void* QTreeWidgetItem_Clone(void* ptr) { return static_cast(ptr)->clone(); } void* QTreeWidgetItem_CloneDefault(void* ptr) { return static_cast(ptr)->QTreeWidgetItem::clone(); } int QTreeWidgetItem_ColumnCount(void* ptr) { return static_cast(ptr)->columnCount(); } void* QTreeWidgetItem_Data(void* ptr, int column, int role) { return new QVariant(static_cast(ptr)->data(column, role)); } void* QTreeWidgetItem_DataDefault(void* ptr, int column, int role) { return new QVariant(static_cast(ptr)->QTreeWidgetItem::data(column, role)); } void QTreeWidgetItem_EmitDataChanged(void* ptr) { static_cast(ptr)->emitDataChanged(); } long long QTreeWidgetItem_Flags(void* ptr) { return static_cast(ptr)->flags(); } void* QTreeWidgetItem_Font(void* ptr, int column) { return new QFont(static_cast(ptr)->font(column)); } void* QTreeWidgetItem_Foreground(void* ptr, int column) { return new QBrush(static_cast(ptr)->foreground(column)); } void* QTreeWidgetItem_Icon(void* ptr, int column) { return new QIcon(static_cast(ptr)->icon(column)); } int QTreeWidgetItem_IndexOfChild(void* ptr, void* child) { return static_cast(ptr)->indexOfChild(static_cast(child)); } void QTreeWidgetItem_InsertChild(void* ptr, int index, void* child) { static_cast(ptr)->insertChild(index, static_cast(child)); } void QTreeWidgetItem_InsertChildren(void* ptr, int index, void* children) { static_cast(ptr)->insertChildren(index, *static_cast*>(children)); } char QTreeWidgetItem_IsDisabled(void* ptr) { return static_cast(ptr)->isDisabled(); } char QTreeWidgetItem_IsExpanded(void* ptr) { return static_cast(ptr)->isExpanded(); } char QTreeWidgetItem_IsFirstColumnSpanned(void* ptr) { return static_cast(ptr)->isFirstColumnSpanned(); } char QTreeWidgetItem_IsHidden(void* ptr) { return static_cast(ptr)->isHidden(); } char QTreeWidgetItem_IsSelected(void* ptr) { return static_cast(ptr)->isSelected(); } void* QTreeWidgetItem_Parent(void* ptr) { return static_cast(ptr)->parent(); } void QTreeWidgetItem_Read(void* ptr, void* in) { static_cast(ptr)->read(*static_cast(in)); } void QTreeWidgetItem_ReadDefault(void* ptr, void* in) { static_cast(ptr)->QTreeWidgetItem::read(*static_cast(in)); } void QTreeWidgetItem_RemoveChild(void* ptr, void* child) { static_cast(ptr)->removeChild(static_cast(child)); } void QTreeWidgetItem_SetBackground(void* ptr, int column, void* brush) { static_cast(ptr)->setBackground(column, *static_cast(brush)); } void QTreeWidgetItem_SetCheckState(void* ptr, int column, long long state) { static_cast(ptr)->setCheckState(column, static_cast(state)); } void QTreeWidgetItem_SetChildIndicatorPolicy(void* ptr, long long policy) { static_cast(ptr)->setChildIndicatorPolicy(static_cast(policy)); } void QTreeWidgetItem_SetData(void* ptr, int column, int role, void* value) { static_cast(ptr)->setData(column, role, *static_cast(value)); } void QTreeWidgetItem_SetDataDefault(void* ptr, int column, int role, void* value) { static_cast(ptr)->QTreeWidgetItem::setData(column, role, *static_cast(value)); } void QTreeWidgetItem_SetDisabled(void* ptr, char disabled) { static_cast(ptr)->setDisabled(disabled != 0); } void QTreeWidgetItem_SetExpanded(void* ptr, char expand) { static_cast(ptr)->setExpanded(expand != 0); } void QTreeWidgetItem_SetFirstColumnSpanned(void* ptr, char span) { static_cast(ptr)->setFirstColumnSpanned(span != 0); } void QTreeWidgetItem_SetFlags(void* ptr, long long flags) { static_cast(ptr)->setFlags(static_cast(flags)); } void QTreeWidgetItem_SetFont(void* ptr, int column, void* font) { static_cast(ptr)->setFont(column, *static_cast(font)); } void QTreeWidgetItem_SetForeground(void* ptr, int column, void* brush) { static_cast(ptr)->setForeground(column, *static_cast(brush)); } void QTreeWidgetItem_SetHidden(void* ptr, char hide) { static_cast(ptr)->setHidden(hide != 0); } void QTreeWidgetItem_SetIcon(void* ptr, int column, void* icon) { static_cast(ptr)->setIcon(column, *static_cast(icon)); } void QTreeWidgetItem_SetSelected(void* ptr, char sele) { static_cast(ptr)->setSelected(sele != 0); } void QTreeWidgetItem_SetSizeHint(void* ptr, int column, void* size) { static_cast(ptr)->setSizeHint(column, *static_cast(size)); } void QTreeWidgetItem_SetStatusTip(void* ptr, int column, struct QtWidgets_PackedString statusTip) { static_cast(ptr)->setStatusTip(column, QString::fromUtf8(statusTip.data, statusTip.len)); } void QTreeWidgetItem_SetText(void* ptr, int column, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(column, QString::fromUtf8(text.data, text.len)); } void QTreeWidgetItem_SetTextAlignment(void* ptr, int column, int alignment) { static_cast(ptr)->setTextAlignment(column, alignment); } void QTreeWidgetItem_SetToolTip(void* ptr, int column, struct QtWidgets_PackedString toolTip) { static_cast(ptr)->setToolTip(column, QString::fromUtf8(toolTip.data, toolTip.len)); } void QTreeWidgetItem_SetWhatsThis(void* ptr, int column, struct QtWidgets_PackedString whatsThis) { static_cast(ptr)->setWhatsThis(column, QString::fromUtf8(whatsThis.data, whatsThis.len)); } void* QTreeWidgetItem_SizeHint(void* ptr, int column) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(column); new QSize(tmpValue.width(), tmpValue.height()); }); } void QTreeWidgetItem_SortChildren(void* ptr, int column, long long order) { static_cast(ptr)->sortChildren(column, static_cast(order)); } struct QtWidgets_PackedString QTreeWidgetItem_StatusTip(void* ptr, int column) { return ({ QByteArray* t848a1d = new QByteArray(static_cast(ptr)->statusTip(column).toUtf8()); QtWidgets_PackedString { const_cast(t848a1d->prepend("WHITESPACE").constData()+10), t848a1d->size()-10, t848a1d }; }); } void* QTreeWidgetItem_TakeChild(void* ptr, int index) { return static_cast(ptr)->takeChild(index); } struct QtWidgets_PackedList QTreeWidgetItem_TakeChildren(void* ptr) { return ({ QList* tmpValue517109 = new QList(static_cast(ptr)->takeChildren()); QtWidgets_PackedList { tmpValue517109, tmpValue517109->size() }; }); } struct QtWidgets_PackedString QTreeWidgetItem_Text(void* ptr, int column) { return ({ QByteArray* t0b76f8 = new QByteArray(static_cast(ptr)->text(column).toUtf8()); QtWidgets_PackedString { const_cast(t0b76f8->prepend("WHITESPACE").constData()+10), t0b76f8->size()-10, t0b76f8 }; }); } int QTreeWidgetItem_TextAlignment(void* ptr, int column) { return static_cast(ptr)->textAlignment(column); } struct QtWidgets_PackedString QTreeWidgetItem_ToolTip(void* ptr, int column) { return ({ QByteArray* tdec4c7 = new QByteArray(static_cast(ptr)->toolTip(column).toUtf8()); QtWidgets_PackedString { const_cast(tdec4c7->prepend("WHITESPACE").constData()+10), tdec4c7->size()-10, tdec4c7 }; }); } void* QTreeWidgetItem_TreeWidget(void* ptr) { return static_cast(ptr)->treeWidget(); } int QTreeWidgetItem_Type(void* ptr) { return static_cast(ptr)->type(); } struct QtWidgets_PackedString QTreeWidgetItem_WhatsThis(void* ptr, int column) { return ({ QByteArray* te93ad0 = new QByteArray(static_cast(ptr)->whatsThis(column).toUtf8()); QtWidgets_PackedString { const_cast(te93ad0->prepend("WHITESPACE").constData()+10), te93ad0->size()-10, te93ad0 }; }); } void QTreeWidgetItem_Write(void* ptr, void* out) { static_cast(ptr)->write(*static_cast(out)); } void QTreeWidgetItem_WriteDefault(void* ptr, void* out) { static_cast(ptr)->QTreeWidgetItem::write(*static_cast(out)); } void QTreeWidgetItem_DestroyQTreeWidgetItem(void* ptr) { static_cast(ptr)->~QTreeWidgetItem(); } void QTreeWidgetItem_DestroyQTreeWidgetItemDefault(void* ptr) { Q_UNUSED(ptr); } void* QTreeWidgetItem___addChildren_children_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidgetItem___addChildren_children_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidgetItem___addChildren_children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidgetItem___insertChildren_children_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidgetItem___insertChildren_children_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidgetItem___insertChildren_children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidgetItem___takeChildren_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidgetItem___takeChildren_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidgetItem___takeChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidgetItem___children_atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidgetItem___children_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidgetItem___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QTreeWidgetItem___setChildren__atList(void* ptr, int i) { return ({QTreeWidgetItem * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QTreeWidgetItem___setChildren__setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QTreeWidgetItem___setChildren__newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQUndoCommand: public QUndoCommand { public: MyQUndoCommand(QUndoCommand *parent = Q_NULLPTR) : QUndoCommand(parent) {QUndoCommand_QUndoCommand_QRegisterMetaType();}; MyQUndoCommand(const QString &text, QUndoCommand *parent = Q_NULLPTR) : QUndoCommand(text, parent) {QUndoCommand_QUndoCommand_QRegisterMetaType();}; int id() const { return callbackQUndoCommand_Id(const_cast(static_cast(this))); }; bool mergeWith(const QUndoCommand * command) { return callbackQUndoCommand_MergeWith(this, const_cast(command)) != 0; }; void redo() { callbackQUndoCommand_Redo(this); }; void undo() { callbackQUndoCommand_Undo(this); }; ~MyQUndoCommand() { callbackQUndoCommand_DestroyQUndoCommand(this); }; }; Q_DECLARE_METATYPE(QUndoCommand*) Q_DECLARE_METATYPE(MyQUndoCommand*) int QUndoCommand_QUndoCommand_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QUndoCommand_NewQUndoCommand(void* parent) { return new MyQUndoCommand(static_cast(parent)); } void* QUndoCommand_NewQUndoCommand2(struct QtWidgets_PackedString text, void* parent) { return new MyQUndoCommand(QString::fromUtf8(text.data, text.len), static_cast(parent)); } struct QtWidgets_PackedString QUndoCommand_ActionText(void* ptr) { return ({ QByteArray* t4cb828 = new QByteArray(static_cast(ptr)->actionText().toUtf8()); QtWidgets_PackedString { const_cast(t4cb828->prepend("WHITESPACE").constData()+10), t4cb828->size()-10, t4cb828 }; }); } void* QUndoCommand_Child(void* ptr, int index) { return const_cast(static_cast(ptr)->child(index)); } int QUndoCommand_ChildCount(void* ptr) { return static_cast(ptr)->childCount(); } int QUndoCommand_Id(void* ptr) { return static_cast(ptr)->id(); } int QUndoCommand_IdDefault(void* ptr) { return static_cast(ptr)->QUndoCommand::id(); } char QUndoCommand_IsObsolete(void* ptr) { return static_cast(ptr)->isObsolete(); } char QUndoCommand_MergeWith(void* ptr, void* command) { return static_cast(ptr)->mergeWith(static_cast(command)); } char QUndoCommand_MergeWithDefault(void* ptr, void* command) { return static_cast(ptr)->QUndoCommand::mergeWith(static_cast(command)); } void QUndoCommand_Redo(void* ptr) { static_cast(ptr)->redo(); } void QUndoCommand_RedoDefault(void* ptr) { static_cast(ptr)->QUndoCommand::redo(); } void QUndoCommand_SetObsolete(void* ptr, char obsolete) { static_cast(ptr)->setObsolete(obsolete != 0); } void QUndoCommand_SetText(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->setText(QString::fromUtf8(text.data, text.len)); } struct QtWidgets_PackedString QUndoCommand_Text(void* ptr) { return ({ QByteArray* t68d93e = new QByteArray(static_cast(ptr)->text().toUtf8()); QtWidgets_PackedString { const_cast(t68d93e->prepend("WHITESPACE").constData()+10), t68d93e->size()-10, t68d93e }; }); } void QUndoCommand_Undo(void* ptr) { static_cast(ptr)->undo(); } void QUndoCommand_UndoDefault(void* ptr) { static_cast(ptr)->QUndoCommand::undo(); } void QUndoCommand_DestroyQUndoCommand(void* ptr) { static_cast(ptr)->~QUndoCommand(); } void QUndoCommand_DestroyQUndoCommandDefault(void* ptr) { Q_UNUSED(ptr); } class MyQUndoGroup: public QUndoGroup { public: MyQUndoGroup(QObject *parent = Q_NULLPTR) : QUndoGroup(parent) {QUndoGroup_QUndoGroup_QRegisterMetaType();}; void Signal_ActiveStackChanged(QUndoStack * stack) { callbackQUndoGroup_ActiveStackChanged(this, stack); }; void Signal_CanRedoChanged(bool canRedo) { callbackQUndoGroup_CanRedoChanged(this, canRedo); }; void Signal_CanUndoChanged(bool canUndo) { callbackQUndoGroup_CanUndoChanged(this, canUndo); }; void Signal_CleanChanged(bool clean) { callbackQUndoGroup_CleanChanged(this, clean); }; void Signal_IndexChanged(int idx) { callbackQUndoGroup_IndexChanged(this, idx); }; void redo() { callbackQUndoGroup_Redo(this); }; void Signal_RedoTextChanged(const QString & redoText) { QByteArray* te82275 = new QByteArray(redoText.toUtf8()); QtWidgets_PackedString redoTextPacked = { const_cast(te82275->prepend("WHITESPACE").constData()+10), te82275->size()-10, te82275 };callbackQUndoGroup_RedoTextChanged(this, redoTextPacked); }; void setActiveStack(QUndoStack * stack) { callbackQUndoGroup_SetActiveStack(this, stack); }; void undo() { callbackQUndoGroup_Undo(this); }; void Signal_UndoTextChanged(const QString & undoText) { QByteArray* t66d0aa = new QByteArray(undoText.toUtf8()); QtWidgets_PackedString undoTextPacked = { const_cast(t66d0aa->prepend("WHITESPACE").constData()+10), t66d0aa->size()-10, t66d0aa };callbackQUndoGroup_UndoTextChanged(this, undoTextPacked); }; ~MyQUndoGroup() { callbackQUndoGroup_DestroyQUndoGroup(this); }; void childEvent(QChildEvent * event) { callbackQUndoGroup_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQUndoGroup_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQUndoGroup_CustomEvent(this, event); }; void deleteLater() { callbackQUndoGroup_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQUndoGroup_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQUndoGroup_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQUndoGroup_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQUndoGroup_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQUndoGroup_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQUndoGroup_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQUndoGroup_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QUndoGroup*) Q_DECLARE_METATYPE(MyQUndoGroup*) int QUndoGroup_QUndoGroup_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QUndoGroup_NewQUndoGroup(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoGroup(static_cast(parent)); } else { return new MyQUndoGroup(static_cast(parent)); } } void* QUndoGroup_ActiveStack(void* ptr) { return static_cast(ptr)->activeStack(); } void QUndoGroup_ConnectActiveStackChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoGroup::activeStackChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_ActiveStackChanged), static_cast(t)); } void QUndoGroup_DisconnectActiveStackChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoGroup::activeStackChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_ActiveStackChanged)); } void QUndoGroup_ActiveStackChanged(void* ptr, void* stack) { static_cast(ptr)->activeStackChanged(static_cast(stack)); } void QUndoGroup_AddStack(void* ptr, void* stack) { static_cast(ptr)->addStack(static_cast(stack)); } char QUndoGroup_CanRedo(void* ptr) { return static_cast(ptr)->canRedo(); } void QUndoGroup_ConnectCanRedoChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoGroup::canRedoChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_CanRedoChanged), static_cast(t)); } void QUndoGroup_DisconnectCanRedoChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoGroup::canRedoChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_CanRedoChanged)); } void QUndoGroup_CanRedoChanged(void* ptr, char canRedo) { static_cast(ptr)->canRedoChanged(canRedo != 0); } char QUndoGroup_CanUndo(void* ptr) { return static_cast(ptr)->canUndo(); } void QUndoGroup_ConnectCanUndoChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoGroup::canUndoChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_CanUndoChanged), static_cast(t)); } void QUndoGroup_DisconnectCanUndoChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoGroup::canUndoChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_CanUndoChanged)); } void QUndoGroup_CanUndoChanged(void* ptr, char canUndo) { static_cast(ptr)->canUndoChanged(canUndo != 0); } void QUndoGroup_ConnectCleanChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoGroup::cleanChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_CleanChanged), static_cast(t)); } void QUndoGroup_DisconnectCleanChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoGroup::cleanChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_CleanChanged)); } void QUndoGroup_CleanChanged(void* ptr, char clean) { static_cast(ptr)->cleanChanged(clean != 0); } void* QUndoGroup_CreateRedoAction(void* ptr, void* parent, struct QtWidgets_PackedString prefix) { if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } } void* QUndoGroup_CreateUndoAction(void* ptr, void* parent, struct QtWidgets_PackedString prefix) { if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } } void QUndoGroup_ConnectIndexChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoGroup::indexChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_IndexChanged), static_cast(t)); } void QUndoGroup_DisconnectIndexChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoGroup::indexChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_IndexChanged)); } void QUndoGroup_IndexChanged(void* ptr, int idx) { static_cast(ptr)->indexChanged(idx); } char QUndoGroup_IsClean(void* ptr) { return static_cast(ptr)->isClean(); } void QUndoGroup_Redo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "redo"); } void QUndoGroup_RedoDefault(void* ptr) { static_cast(ptr)->QUndoGroup::redo(); } struct QtWidgets_PackedString QUndoGroup_RedoText(void* ptr) { return ({ QByteArray* tafd4da = new QByteArray(static_cast(ptr)->redoText().toUtf8()); QtWidgets_PackedString { const_cast(tafd4da->prepend("WHITESPACE").constData()+10), tafd4da->size()-10, tafd4da }; }); } void QUndoGroup_ConnectRedoTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoGroup::redoTextChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_RedoTextChanged), static_cast(t)); } void QUndoGroup_DisconnectRedoTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoGroup::redoTextChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_RedoTextChanged)); } void QUndoGroup_RedoTextChanged(void* ptr, struct QtWidgets_PackedString redoText) { static_cast(ptr)->redoTextChanged(QString::fromUtf8(redoText.data, redoText.len)); } void QUndoGroup_RemoveStack(void* ptr, void* stack) { static_cast(ptr)->removeStack(static_cast(stack)); } void QUndoGroup_SetActiveStack(void* ptr, void* stack) { QMetaObject::invokeMethod(static_cast(ptr), "setActiveStack", Q_ARG(QUndoStack*, static_cast(stack))); } void QUndoGroup_SetActiveStackDefault(void* ptr, void* stack) { static_cast(ptr)->QUndoGroup::setActiveStack(static_cast(stack)); } struct QtWidgets_PackedList QUndoGroup_Stacks(void* ptr) { return ({ QList* tmpValueeb3ecf = new QList(static_cast(ptr)->stacks()); QtWidgets_PackedList { tmpValueeb3ecf, tmpValueeb3ecf->size() }; }); } void QUndoGroup_Undo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "undo"); } void QUndoGroup_UndoDefault(void* ptr) { static_cast(ptr)->QUndoGroup::undo(); } struct QtWidgets_PackedString QUndoGroup_UndoText(void* ptr) { return ({ QByteArray* t39b3cc = new QByteArray(static_cast(ptr)->undoText().toUtf8()); QtWidgets_PackedString { const_cast(t39b3cc->prepend("WHITESPACE").constData()+10), t39b3cc->size()-10, t39b3cc }; }); } void QUndoGroup_ConnectUndoTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoGroup::undoTextChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_UndoTextChanged), static_cast(t)); } void QUndoGroup_DisconnectUndoTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoGroup::undoTextChanged), static_cast(ptr), static_cast(&MyQUndoGroup::Signal_UndoTextChanged)); } void QUndoGroup_UndoTextChanged(void* ptr, struct QtWidgets_PackedString undoText) { static_cast(ptr)->undoTextChanged(QString::fromUtf8(undoText.data, undoText.len)); } void QUndoGroup_DestroyQUndoGroup(void* ptr) { static_cast(ptr)->~QUndoGroup(); } void QUndoGroup_DestroyQUndoGroupDefault(void* ptr) { Q_UNUSED(ptr); } void* QUndoGroup___stacks_atList(void* ptr, int i) { return ({QUndoStack * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QUndoGroup___stacks_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QUndoGroup___stacks_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QUndoGroup___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QUndoGroup___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QUndoGroup___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QUndoGroup___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QUndoGroup___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QUndoGroup___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QUndoGroup___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QUndoGroup___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QUndoGroup___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QUndoGroup___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QUndoGroup___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QUndoGroup___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QUndoGroup_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QUndoGroup::childEvent(static_cast(event)); } void QUndoGroup_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QUndoGroup::connectNotify(*static_cast(sign)); } void QUndoGroup_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QUndoGroup::customEvent(static_cast(event)); } void QUndoGroup_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QUndoGroup::deleteLater(); } void QUndoGroup_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QUndoGroup::disconnectNotify(*static_cast(sign)); } char QUndoGroup_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QUndoGroup::event(static_cast(e)); } char QUndoGroup_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoGroup::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoGroup::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QUndoGroup::eventFilter(static_cast(watched), static_cast(event)); } } void* QUndoGroup_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QUndoGroup::metaObject()); } void QUndoGroup_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QUndoGroup::timerEvent(static_cast(event)); } class MyQUndoStack: public QUndoStack { public: MyQUndoStack(QObject *parent = Q_NULLPTR) : QUndoStack(parent) {QUndoStack_QUndoStack_QRegisterMetaType();}; void Signal_CanRedoChanged(bool canRedo) { callbackQUndoStack_CanRedoChanged(this, canRedo); }; void Signal_CanUndoChanged(bool canUndo) { callbackQUndoStack_CanUndoChanged(this, canUndo); }; void Signal_CleanChanged(bool clean) { callbackQUndoStack_CleanChanged(this, clean); }; void Signal_IndexChanged(int idx) { callbackQUndoStack_IndexChanged(this, idx); }; void redo() { callbackQUndoStack_Redo(this); }; void Signal_RedoTextChanged(const QString & redoText) { QByteArray* te82275 = new QByteArray(redoText.toUtf8()); QtWidgets_PackedString redoTextPacked = { const_cast(te82275->prepend("WHITESPACE").constData()+10), te82275->size()-10, te82275 };callbackQUndoStack_RedoTextChanged(this, redoTextPacked); }; void resetClean() { callbackQUndoStack_ResetClean(this); }; void setActive(bool active) { callbackQUndoStack_SetActive(this, active); }; void setClean() { callbackQUndoStack_SetClean(this); }; void setIndex(int idx) { callbackQUndoStack_SetIndex(this, idx); }; void undo() { callbackQUndoStack_Undo(this); }; void Signal_UndoTextChanged(const QString & undoText) { QByteArray* t66d0aa = new QByteArray(undoText.toUtf8()); QtWidgets_PackedString undoTextPacked = { const_cast(t66d0aa->prepend("WHITESPACE").constData()+10), t66d0aa->size()-10, t66d0aa };callbackQUndoStack_UndoTextChanged(this, undoTextPacked); }; ~MyQUndoStack() { callbackQUndoStack_DestroyQUndoStack(this); }; void childEvent(QChildEvent * event) { callbackQUndoStack_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQUndoStack_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQUndoStack_CustomEvent(this, event); }; void deleteLater() { callbackQUndoStack_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQUndoStack_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQUndoStack_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQUndoStack_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQUndoStack_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQUndoStack_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQUndoStack_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQUndoStack_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QUndoStack*) Q_DECLARE_METATYPE(MyQUndoStack*) int QUndoStack_QUndoStack_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QUndoStack_NewQUndoStack(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQUndoStack(static_cast(parent)); } else { return new MyQUndoStack(static_cast(parent)); } } void QUndoStack_BeginMacro(void* ptr, struct QtWidgets_PackedString text) { static_cast(ptr)->beginMacro(QString::fromUtf8(text.data, text.len)); } char QUndoStack_CanRedo(void* ptr) { return static_cast(ptr)->canRedo(); } void QUndoStack_ConnectCanRedoChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoStack::canRedoChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_CanRedoChanged), static_cast(t)); } void QUndoStack_DisconnectCanRedoChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoStack::canRedoChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_CanRedoChanged)); } void QUndoStack_CanRedoChanged(void* ptr, char canRedo) { static_cast(ptr)->canRedoChanged(canRedo != 0); } char QUndoStack_CanUndo(void* ptr) { return static_cast(ptr)->canUndo(); } void QUndoStack_ConnectCanUndoChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoStack::canUndoChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_CanUndoChanged), static_cast(t)); } void QUndoStack_DisconnectCanUndoChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoStack::canUndoChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_CanUndoChanged)); } void QUndoStack_CanUndoChanged(void* ptr, char canUndo) { static_cast(ptr)->canUndoChanged(canUndo != 0); } void QUndoStack_ConnectCleanChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoStack::cleanChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_CleanChanged), static_cast(t)); } void QUndoStack_DisconnectCleanChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoStack::cleanChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_CleanChanged)); } void QUndoStack_CleanChanged(void* ptr, char clean) { static_cast(ptr)->cleanChanged(clean != 0); } int QUndoStack_CleanIndex(void* ptr) { return static_cast(ptr)->cleanIndex(); } void QUndoStack_Clear(void* ptr) { static_cast(ptr)->clear(); } void* QUndoStack_Command(void* ptr, int index) { return const_cast(static_cast(ptr)->command(index)); } int QUndoStack_Count(void* ptr) { return static_cast(ptr)->count(); } void* QUndoStack_CreateRedoAction(void* ptr, void* parent, struct QtWidgets_PackedString prefix) { if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else { return static_cast(ptr)->createRedoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } } void* QUndoStack_CreateUndoAction(void* ptr, void* parent, struct QtWidgets_PackedString prefix) { if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else if (dynamic_cast(static_cast(parent))) { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } else { return static_cast(ptr)->createUndoAction(static_cast(parent), QString::fromUtf8(prefix.data, prefix.len)); } } void QUndoStack_EndMacro(void* ptr) { static_cast(ptr)->endMacro(); } int QUndoStack_Index(void* ptr) { return static_cast(ptr)->index(); } void QUndoStack_ConnectIndexChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoStack::indexChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_IndexChanged), static_cast(t)); } void QUndoStack_DisconnectIndexChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoStack::indexChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_IndexChanged)); } void QUndoStack_IndexChanged(void* ptr, int idx) { static_cast(ptr)->indexChanged(idx); } char QUndoStack_IsActive(void* ptr) { return static_cast(ptr)->isActive(); } char QUndoStack_IsClean(void* ptr) { return static_cast(ptr)->isClean(); } void QUndoStack_Push(void* ptr, void* cmd) { static_cast(ptr)->push(static_cast(cmd)); } void QUndoStack_Redo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "redo"); } void QUndoStack_RedoDefault(void* ptr) { static_cast(ptr)->QUndoStack::redo(); } struct QtWidgets_PackedString QUndoStack_RedoText(void* ptr) { return ({ QByteArray* t792834 = new QByteArray(static_cast(ptr)->redoText().toUtf8()); QtWidgets_PackedString { const_cast(t792834->prepend("WHITESPACE").constData()+10), t792834->size()-10, t792834 }; }); } void QUndoStack_ConnectRedoTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoStack::redoTextChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_RedoTextChanged), static_cast(t)); } void QUndoStack_DisconnectRedoTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoStack::redoTextChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_RedoTextChanged)); } void QUndoStack_RedoTextChanged(void* ptr, struct QtWidgets_PackedString redoText) { static_cast(ptr)->redoTextChanged(QString::fromUtf8(redoText.data, redoText.len)); } void QUndoStack_ResetClean(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "resetClean"); } void QUndoStack_ResetCleanDefault(void* ptr) { static_cast(ptr)->QUndoStack::resetClean(); } void QUndoStack_SetActive(void* ptr, char active) { QMetaObject::invokeMethod(static_cast(ptr), "setActive", Q_ARG(bool, active != 0)); } void QUndoStack_SetActiveDefault(void* ptr, char active) { static_cast(ptr)->QUndoStack::setActive(active != 0); } void QUndoStack_SetClean(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setClean"); } void QUndoStack_SetCleanDefault(void* ptr) { static_cast(ptr)->QUndoStack::setClean(); } void QUndoStack_SetIndex(void* ptr, int idx) { QMetaObject::invokeMethod(static_cast(ptr), "setIndex", Q_ARG(int, idx)); } void QUndoStack_SetIndexDefault(void* ptr, int idx) { static_cast(ptr)->QUndoStack::setIndex(idx); } void QUndoStack_SetUndoLimit(void* ptr, int limit) { static_cast(ptr)->setUndoLimit(limit); } struct QtWidgets_PackedString QUndoStack_Text(void* ptr, int idx) { return ({ QByteArray* t2bc9dc = new QByteArray(static_cast(ptr)->text(idx).toUtf8()); QtWidgets_PackedString { const_cast(t2bc9dc->prepend("WHITESPACE").constData()+10), t2bc9dc->size()-10, t2bc9dc }; }); } void QUndoStack_Undo(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "undo"); } void QUndoStack_UndoDefault(void* ptr) { static_cast(ptr)->QUndoStack::undo(); } int QUndoStack_UndoLimit(void* ptr) { return static_cast(ptr)->undoLimit(); } struct QtWidgets_PackedString QUndoStack_UndoText(void* ptr) { return ({ QByteArray* t399a88 = new QByteArray(static_cast(ptr)->undoText().toUtf8()); QtWidgets_PackedString { const_cast(t399a88->prepend("WHITESPACE").constData()+10), t399a88->size()-10, t399a88 }; }); } void QUndoStack_ConnectUndoTextChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QUndoStack::undoTextChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_UndoTextChanged), static_cast(t)); } void QUndoStack_DisconnectUndoTextChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QUndoStack::undoTextChanged), static_cast(ptr), static_cast(&MyQUndoStack::Signal_UndoTextChanged)); } void QUndoStack_UndoTextChanged(void* ptr, struct QtWidgets_PackedString undoText) { static_cast(ptr)->undoTextChanged(QString::fromUtf8(undoText.data, undoText.len)); } void QUndoStack_DestroyQUndoStack(void* ptr) { static_cast(ptr)->~QUndoStack(); } void QUndoStack_DestroyQUndoStackDefault(void* ptr) { Q_UNUSED(ptr); } void* QUndoStack___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QUndoStack___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QUndoStack___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QUndoStack___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QUndoStack___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QUndoStack___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QUndoStack___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QUndoStack___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QUndoStack___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QUndoStack___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QUndoStack___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QUndoStack___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QUndoStack_ChildEventDefault(void* ptr, void* event) { static_cast(ptr)->QUndoStack::childEvent(static_cast(event)); } void QUndoStack_ConnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QUndoStack::connectNotify(*static_cast(sign)); } void QUndoStack_CustomEventDefault(void* ptr, void* event) { static_cast(ptr)->QUndoStack::customEvent(static_cast(event)); } void QUndoStack_DeleteLaterDefault(void* ptr) { static_cast(ptr)->QUndoStack::deleteLater(); } void QUndoStack_DisconnectNotifyDefault(void* ptr, void* sign) { static_cast(ptr)->QUndoStack::disconnectNotify(*static_cast(sign)); } char QUndoStack_EventDefault(void* ptr, void* e) { return static_cast(ptr)->QUndoStack::event(static_cast(e)); } char QUndoStack_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoStack::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoStack::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoStack::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoStack::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QUndoStack::eventFilter(static_cast(watched), static_cast(event)); } } void* QUndoStack_MetaObjectDefault(void* ptr) { return const_cast(static_cast(ptr)->QUndoStack::metaObject()); } void QUndoStack_TimerEventDefault(void* ptr, void* event) { static_cast(ptr)->QUndoStack::timerEvent(static_cast(event)); } class MyQUndoView: public QUndoView { public: MyQUndoView(QWidget *parent = Q_NULLPTR) : QUndoView(parent) {QUndoView_QUndoView_QRegisterMetaType();}; MyQUndoView(QUndoStack *stack, QWidget *parent = Q_NULLPTR) : QUndoView(stack, parent) {QUndoView_QUndoView_QRegisterMetaType();}; MyQUndoView(QUndoGroup *group, QWidget *parent = Q_NULLPTR) : QUndoView(group, parent) {QUndoView_QUndoView_QRegisterMetaType();}; void setGroup(QUndoGroup * group) { callbackQUndoView_SetGroup(this, group); }; void setStack(QUndoStack * stack) { callbackQUndoView_SetStack(this, stack); }; ~MyQUndoView() { callbackQUndoView_DestroyQUndoView(this); }; void currentChanged(const QModelIndex & current, const QModelIndex & previous) { callbackQListView_CurrentChanged(this, const_cast(¤t), const_cast(&previous)); }; void dataChanged(const QModelIndex & topLeft, const QModelIndex & bottomRight, const QVector & roles) { callbackQListView_DataChanged(this, const_cast(&topLeft), const_cast(&bottomRight), ({ QVector* tmpValue037c88 = new QVector(roles); QtWidgets_PackedList { tmpValue037c88, tmpValue037c88->size() }; })); }; void dragLeaveEvent(QDragLeaveEvent * e) { callbackQWidget_DragLeaveEvent(this, e); }; void dragMoveEvent(QDragMoveEvent * e) { callbackQWidget_DragMoveEvent(this, e); }; void dropEvent(QDropEvent * e) { callbackQWidget_DropEvent(this, e); }; bool event(QEvent * e) { return callbackQWidget_Event(this, e) != 0; }; int horizontalOffset() const { return callbackQListView_HorizontalOffset(const_cast(static_cast(this))); }; QModelIndex indexAt(const QPoint & p) const { return *static_cast(callbackQListView_IndexAt(const_cast(static_cast(this)), const_cast(&p))); }; bool isIndexHidden(const QModelIndex & index) const { return callbackQListView_IsIndexHidden(const_cast(static_cast(this)), const_cast(&index)) != 0; }; void mouseMoveEvent(QMouseEvent * e) { callbackQWidget_MouseMoveEvent(this, e); }; void mouseReleaseEvent(QMouseEvent * e) { callbackQWidget_MouseReleaseEvent(this, e); }; QModelIndex moveCursor(QAbstractItemView::CursorAction cursorAction, Qt::KeyboardModifiers modifiers) { return *static_cast(callbackQListView_MoveCursor(this, cursorAction, modifiers)); }; void paintEvent(QPaintEvent * e) { callbackQWidget_PaintEvent(this, e); }; void resizeEvent(QResizeEvent * e) { callbackQWidget_ResizeEvent(this, e); }; void rowsAboutToBeRemoved(const QModelIndex & parent, int start, int end) { callbackQListView_RowsAboutToBeRemoved(this, const_cast(&parent), start, end); }; void rowsInserted(const QModelIndex & parent, int start, int end) { callbackQListView_RowsInserted(this, const_cast(&parent), start, end); }; void scrollTo(const QModelIndex & index, QAbstractItemView::ScrollHint hint) { callbackQListView_ScrollTo(this, const_cast(&index), hint); }; QList selectedIndexes() const { return ({ QList* tmpP = static_cast*>(callbackQAbstractItemView_SelectedIndexes(const_cast(static_cast(this)))); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; }); }; void selectionChanged(const QItemSelection & selected, const QItemSelection & deselected) { callbackQListView_SelectionChanged(this, const_cast(&selected), const_cast(&deselected)); }; void setSelection(const QRect & rect, QItemSelectionModel::SelectionFlags command) { callbackQListView_SetSelection(this, const_cast(&rect), command); }; void startDrag(Qt::DropActions supportedActions) { callbackQAbstractItemView_StartDrag(this, supportedActions); }; void timerEvent(QTimerEvent * e) { callbackQWidget_TimerEvent(this, e); }; void updateGeometries() { callbackQListView_UpdateGeometries(this); }; int verticalOffset() const { return callbackQListView_VerticalOffset(const_cast(static_cast(this))); }; QStyleOptionViewItem viewOptions() const { return *static_cast(callbackQAbstractItemView_ViewOptions(const_cast(static_cast(this)))); }; QSize viewportSizeHint() const { return *static_cast(callbackQAbstractScrollArea_ViewportSizeHint(const_cast(static_cast(this)))); }; QRect visualRect(const QModelIndex & index) const { return *static_cast(callbackQListView_VisualRect(const_cast(static_cast(this)), const_cast(&index))); }; QRegion visualRegionForSelection(const QItemSelection & selection) const { return *static_cast(callbackQListView_VisualRegionForSelection(const_cast(static_cast(this)), const_cast(&selection))); }; void wheelEvent(QWheelEvent * e) { callbackQWidget_WheelEvent(this, e); }; void Signal_Activated(const QModelIndex & index) { callbackQAbstractItemView_Activated(this, const_cast(&index)); }; void clearSelection() { callbackQAbstractItemView_ClearSelection(this); }; void Signal_Clicked(const QModelIndex & index) { callbackQAbstractItemView_Clicked(this, const_cast(&index)); }; void closeEditor(QWidget * editor, QAbstractItemDelegate::EndEditHint hint) { callbackQAbstractItemView_CloseEditor(this, editor, hint); }; void commitData(QWidget * editor) { callbackQAbstractItemView_CommitData(this, editor); }; void Signal_DoubleClicked(const QModelIndex & index) { callbackQAbstractItemView_DoubleClicked(this, const_cast(&index)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void edit(const QModelIndex & index) { callbackQAbstractItemView_Edit(this, const_cast(&index)); }; bool edit(const QModelIndex & index, QAbstractItemView::EditTrigger trigger, QEvent * event) { return callbackQAbstractItemView_Edit2(this, const_cast(&index), trigger, event) != 0; }; void editorDestroyed(QObject * editor) { callbackQAbstractItemView_EditorDestroyed(this, editor); }; void Signal_Entered(const QModelIndex & index) { callbackQAbstractItemView_Entered(this, const_cast(&index)); }; bool eventFilter(QObject * object, QEvent * event) { return callbackQWidget_EventFilter(this, object, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; void Signal_IconSizeChanged(const QSize & size) { callbackQAbstractItemView_IconSizeChanged(this, const_cast(&size)); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyboardSearch(const QString & search) { QByteArray* t3559d7 = new QByteArray(search.toUtf8()); QtWidgets_PackedString searchPacked = { const_cast(t3559d7->prepend("WHITESPACE").constData()+10), t3559d7->size()-10, t3559d7 };callbackQAbstractItemView_KeyboardSearch(this, searchPacked); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void Signal_Pressed(const QModelIndex & index) { callbackQAbstractItemView_Pressed(this, const_cast(&index)); }; void reset() { callbackQAbstractItemView_Reset(this); }; void scrollToBottom() { callbackQAbstractItemView_ScrollToBottom(this); }; void scrollToTop() { callbackQAbstractItemView_ScrollToTop(this); }; void selectAll() { callbackQAbstractItemView_SelectAll(this); }; QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex & index, const QEvent * event) const { return static_cast(callbackQAbstractItemView_SelectionCommand(const_cast(static_cast(this)), const_cast(&index), const_cast(event))); }; void setCurrentIndex(const QModelIndex & index) { callbackQAbstractItemView_SetCurrentIndex(this, const_cast(&index)); }; void setModel(QAbstractItemModel * model) { callbackQAbstractItemView_SetModel(this, model); }; void setRootIndex(const QModelIndex & index) { callbackQAbstractItemView_SetRootIndex(this, const_cast(&index)); }; void setSelectionModel(QItemSelectionModel * selectionModel) { callbackQAbstractItemView_SetSelectionModel(this, selectionModel); }; int sizeHintForColumn(int column) const { return callbackQAbstractItemView_SizeHintForColumn(const_cast(static_cast(this)), column); }; int sizeHintForRow(int row) const { return callbackQAbstractItemView_SizeHintForRow(const_cast(static_cast(this)), row); }; void update(const QModelIndex & index) { callbackQAbstractItemView_Update(this, const_cast(&index)); }; void Signal_ViewportEntered() { callbackQAbstractItemView_ViewportEntered(this); }; bool viewportEvent(QEvent * event) { return callbackQAbstractScrollArea_ViewportEvent(this, event) != 0; }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void scrollContentsBy(int dx, int dy) { callbackQAbstractScrollArea_ScrollContentsBy(this, dx, dy); }; void setupViewport(QWidget * viewport) { callbackQAbstractScrollArea_SetupViewport(this, viewport); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void changeEvent(QEvent * ev) { callbackQWidget_ChangeEvent(this, ev); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; }; Q_DECLARE_METATYPE(QUndoView*) Q_DECLARE_METATYPE(MyQUndoView*) int QUndoView_QUndoView_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QUndoView_NewQUndoView(void* parent) { return new MyQUndoView(static_cast(parent)); } void* QUndoView_NewQUndoView2(void* stack, void* parent) { return new MyQUndoView(static_cast(stack), static_cast(parent)); } void* QUndoView_NewQUndoView3(void* group, void* parent) { return new MyQUndoView(static_cast(group), static_cast(parent)); } void* QUndoView_CleanIcon(void* ptr) { return new QIcon(static_cast(ptr)->cleanIcon()); } struct QtWidgets_PackedString QUndoView_EmptyLabel(void* ptr) { return ({ QByteArray* tc33a41 = new QByteArray(static_cast(ptr)->emptyLabel().toUtf8()); QtWidgets_PackedString { const_cast(tc33a41->prepend("WHITESPACE").constData()+10), tc33a41->size()-10, tc33a41 }; }); } void* QUndoView_Group(void* ptr) { return static_cast(ptr)->group(); } void QUndoView_SetCleanIcon(void* ptr, void* icon) { static_cast(ptr)->setCleanIcon(*static_cast(icon)); } void QUndoView_SetEmptyLabel(void* ptr, struct QtWidgets_PackedString label) { static_cast(ptr)->setEmptyLabel(QString::fromUtf8(label.data, label.len)); } void QUndoView_SetGroup(void* ptr, void* group) { QMetaObject::invokeMethod(static_cast(ptr), "setGroup", Q_ARG(QUndoGroup*, static_cast(group))); } void QUndoView_SetGroupDefault(void* ptr, void* group) { static_cast(ptr)->QUndoView::setGroup(static_cast(group)); } void QUndoView_SetStack(void* ptr, void* stack) { QMetaObject::invokeMethod(static_cast(ptr), "setStack", Q_ARG(QUndoStack*, static_cast(stack))); } void QUndoView_SetStackDefault(void* ptr, void* stack) { static_cast(ptr)->QUndoView::setStack(static_cast(stack)); } void* QUndoView_Stack(void* ptr) { return static_cast(ptr)->stack(); } void QUndoView_DestroyQUndoView(void* ptr) { static_cast(ptr)->~QUndoView(); } void QUndoView_DestroyQUndoViewDefault(void* ptr) { Q_UNUSED(ptr); } class MyQVBoxLayout: public QVBoxLayout { public: MyQVBoxLayout() : QVBoxLayout() {QVBoxLayout_QVBoxLayout_QRegisterMetaType();}; MyQVBoxLayout(QWidget *parent) : QVBoxLayout(parent) {QVBoxLayout_QVBoxLayout_QRegisterMetaType();}; ~MyQVBoxLayout() { callbackQVBoxLayout_DestroyQVBoxLayout(this); }; void addItem(QLayoutItem * item) { callbackQBoxLayout_AddItem(this, item); }; int count() const { return callbackQBoxLayout_Count(const_cast(static_cast(this))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQLayout_ExpandingDirections(const_cast(static_cast(this)))); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), w); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; QLayoutItem * itemAt(int index) const { return static_cast(callbackQBoxLayout_ItemAt(const_cast(static_cast(this)), index)); }; QSize maximumSize() const { return *static_cast(callbackQLayout_MaximumSize(const_cast(static_cast(this)))); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSize minimumSize() const { return *static_cast(callbackQLayout_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & r) { callbackQLayout_SetGeometry(this, const_cast(&r)); }; QSize sizeHint() const { return *static_cast(callbackQBoxLayout_SizeHint(const_cast(static_cast(this)))); }; QLayoutItem * takeAt(int index) { return static_cast(callbackQBoxLayout_TakeAt(this, index)); }; void childEvent(QChildEvent * e) { callbackQLayout_ChildEvent(this, e); }; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQLayout_Geometry(const_cast(static_cast(this)))); }; int indexOf(QWidget * widget) const { return callbackQLayout_IndexOf(const_cast(static_cast(this)), widget); }; bool isEmpty() const { return callbackQLayout_IsEmpty(const_cast(static_cast(this))) != 0; }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; void connectNotify(const QMetaMethod & sign) { callbackQLayout_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQLayout_CustomEvent(this, event); }; void deleteLater() { callbackQLayout_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQLayout_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQLayout_DisconnectNotify(this, const_cast(&sign)); }; bool event(QEvent * e) { return callbackQLayout_Event(this, e) != 0; }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQLayout_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQLayout_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQLayout_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQLayout_TimerEvent(this, event); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; }; Q_DECLARE_METATYPE(QVBoxLayout*) Q_DECLARE_METATYPE(MyQVBoxLayout*) int QVBoxLayout_QVBoxLayout_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QVBoxLayout_NewQVBoxLayout() { return new MyQVBoxLayout(); } void* QVBoxLayout_NewQVBoxLayout2(void* parent) { return new MyQVBoxLayout(static_cast(parent)); } void QVBoxLayout_DestroyQVBoxLayout(void* ptr) { static_cast(ptr)->~QVBoxLayout(); } void QVBoxLayout_DestroyQVBoxLayoutDefault(void* ptr) { Q_UNUSED(ptr); } void* QWhatsThis_QWhatsThis_CreateAction(void* parent) { if (dynamic_cast(static_cast(parent))) { return QWhatsThis::createAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return QWhatsThis::createAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return QWhatsThis::createAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return QWhatsThis::createAction(static_cast(parent)); } else { return QWhatsThis::createAction(static_cast(parent)); } } void QWhatsThis_QWhatsThis_EnterWhatsThisMode() { QWhatsThis::enterWhatsThisMode(); } void QWhatsThis_QWhatsThis_HideText() { QWhatsThis::hideText(); } char QWhatsThis_QWhatsThis_InWhatsThisMode() { return QWhatsThis::inWhatsThisMode(); } void QWhatsThis_QWhatsThis_LeaveWhatsThisMode() { QWhatsThis::leaveWhatsThisMode(); } void QWhatsThis_QWhatsThis_ShowText(void* pos, struct QtWidgets_PackedString text, void* w) { QWhatsThis::showText(*static_cast(pos), QString::fromUtf8(text.data, text.len), static_cast(w)); } class MyQWidget: public QWidget { public: MyQWidget(QWidget *parent = Q_NULLPTR, Qt::WindowFlags ff = Qt::WindowFlags()) : QWidget(parent, ff) {QWidget_QWidget_QRegisterMetaType();}; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; ~MyQWidget() { callbackQWidget_DestroyQWidget(this); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QWidget*) Q_DECLARE_METATYPE(MyQWidget*) int QWidget_QWidget_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QWidget_NewQWidget(void* parent, long long ff) { return new MyQWidget(static_cast(parent), static_cast(ff)); } char QWidget_AcceptDrops(void* ptr) { return static_cast(ptr)->acceptDrops(); } struct QtWidgets_PackedString QWidget_AccessibleDescription(void* ptr) { return ({ QByteArray* tb88bc9 = new QByteArray(static_cast(ptr)->accessibleDescription().toUtf8()); QtWidgets_PackedString { const_cast(tb88bc9->prepend("WHITESPACE").constData()+10), tb88bc9->size()-10, tb88bc9 }; }); } struct QtWidgets_PackedString QWidget_AccessibleName(void* ptr) { return ({ QByteArray* t32cbb8 = new QByteArray(static_cast(ptr)->accessibleName().toUtf8()); QtWidgets_PackedString { const_cast(t32cbb8->prepend("WHITESPACE").constData()+10), t32cbb8->size()-10, t32cbb8 }; }); } void QWidget_ActionEvent(void* ptr, void* event) { static_cast(ptr)->actionEvent(static_cast(event)); } void QWidget_ActionEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::actionEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::actionEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::actionEvent(static_cast(event)); } } struct QtWidgets_PackedList QWidget_Actions(void* ptr) { return ({ QList* tmpValue268e58 = new QList(static_cast(ptr)->actions()); QtWidgets_PackedList { tmpValue268e58, tmpValue268e58->size() }; }); } void QWidget_ActivateWindow(void* ptr) { static_cast(ptr)->activateWindow(); } void QWidget_AddAction(void* ptr, void* action) { static_cast(ptr)->addAction(static_cast(action)); } void QWidget_AddActions(void* ptr, void* actions) { static_cast(ptr)->addActions(({ QList* tmpP = static_cast*>(actions); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; })); } void QWidget_AdjustSize(void* ptr) { static_cast(ptr)->adjustSize(); } char QWidget_AutoFillBackground(void* ptr) { return static_cast(ptr)->autoFillBackground(); } long long QWidget_BackgroundRole(void* ptr) { return static_cast(ptr)->backgroundRole(); } void* QWidget_BackingStore(void* ptr) { return static_cast(ptr)->backingStore(); } void* QWidget_BaseSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->baseSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QWidget_ChangeEvent(void* ptr, void* event) { static_cast(ptr)->changeEvent(static_cast(event)); } void QWidget_ChangeEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::changeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::changeEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::changeEvent(static_cast(event)); } } void* QWidget_ChildAt(void* ptr, int x, int y) { return static_cast(ptr)->childAt(x, y); } void* QWidget_ChildAt2(void* ptr, void* p) { return static_cast(ptr)->childAt(*static_cast(p)); } void* QWidget_ChildrenRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->childrenRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QWidget_ChildrenRegion(void* ptr) { return new QRegion(static_cast(ptr)->childrenRegion()); } void QWidget_ClearFocus(void* ptr) { static_cast(ptr)->clearFocus(); } void QWidget_ClearMask(void* ptr) { static_cast(ptr)->clearMask(); } char QWidget_Close(void* ptr) { bool returnArg; QMetaObject::invokeMethod(static_cast(ptr), "close", Q_RETURN_ARG(bool, returnArg)); return returnArg; } char QWidget_CloseDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizardPage::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBar::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStatusBar::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitterHandle::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplashScreen::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSizeGrip::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QOpenGLWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenuBar::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenu::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiSubWindow::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMainWindow::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QKeySequenceEdit::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLineEdit::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGroupBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressBar::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFocusFrame::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDockWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialogButtonBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDesktopWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontComboBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QComboBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialog::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCalendarWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitter::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLCDNumber::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLabel::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractScrollArea::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFrame::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRubberBand::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabBar::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollBar::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDial::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSlider::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSlider::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSpinBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabWidget::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::close(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractButton::close(); } else { return static_cast(ptr)->QWidget::close(); } } void QWidget_CloseEvent(void* ptr, void* event) { static_cast(ptr)->closeEvent(static_cast(event)); } void QWidget_CloseEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::closeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::closeEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::closeEvent(static_cast(event)); } } void* QWidget_ContentsMargins(void* ptr) { return ({ QMargins tmpValue = static_cast(ptr)->contentsMargins(); new QMargins(tmpValue.left(), tmpValue.top(), tmpValue.right(), tmpValue.bottom()); }); } void* QWidget_ContentsRect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->contentsRect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QWidget_ContextMenuEvent(void* ptr, void* event) { static_cast(ptr)->contextMenuEvent(static_cast(event)); } void QWidget_ContextMenuEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::contextMenuEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::contextMenuEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::contextMenuEvent(static_cast(event)); } } long long QWidget_ContextMenuPolicy(void* ptr) { return static_cast(ptr)->contextMenuPolicy(); } void QWidget_Create(void* ptr, uintptr_t window, char initializeWindow, char destroyOldWindow) { static_cast(ptr)->create(window, initializeWindow != 0, destroyOldWindow != 0); } void* QWidget_QWidget_CreateWindowContainer(void* window, void* parent, long long flags) { return QWidget::createWindowContainer(static_cast(window), static_cast(parent), static_cast(flags)); } void* QWidget_Cursor(void* ptr) { return new QCursor(static_cast(ptr)->cursor()); } void QWidget_ConnectCustomContextMenuRequested(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWidget::customContextMenuRequested), static_cast(ptr), static_cast(&MyQWidget::Signal_CustomContextMenuRequested), static_cast(t)); } void QWidget_DisconnectCustomContextMenuRequested(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWidget::customContextMenuRequested), static_cast(ptr), static_cast(&MyQWidget::Signal_CustomContextMenuRequested)); } void QWidget_CustomContextMenuRequested(void* ptr, void* pos) { static_cast(ptr)->customContextMenuRequested(*static_cast(pos)); } void QWidget_Destroy(void* ptr, char destroyWindow, char destroySubWindows) { static_cast(ptr)->destroy(destroyWindow != 0, destroySubWindows != 0); } void QWidget_DragEnterEvent(void* ptr, void* event) { static_cast(ptr)->dragEnterEvent(static_cast(event)); } void QWidget_DragEnterEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::dragEnterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::dragEnterEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::dragEnterEvent(static_cast(event)); } } void QWidget_DragLeaveEvent(void* ptr, void* event) { static_cast(ptr)->dragLeaveEvent(static_cast(event)); } void QWidget_DragLeaveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::dragLeaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::dragLeaveEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::dragLeaveEvent(static_cast(event)); } } void QWidget_DragMoveEvent(void* ptr, void* event) { static_cast(ptr)->dragMoveEvent(static_cast(event)); } void QWidget_DragMoveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::dragMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::dragMoveEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::dragMoveEvent(static_cast(event)); } } void QWidget_DropEvent(void* ptr, void* event) { static_cast(ptr)->dropEvent(static_cast(event)); } void QWidget_DropEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::dropEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::dropEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::dropEvent(static_cast(event)); } } uintptr_t QWidget_EffectiveWinId(void* ptr) { return static_cast(ptr)->effectiveWinId(); } void QWidget_EnsurePolished(void* ptr) { static_cast(ptr)->ensurePolished(); } void QWidget_EnterEvent(void* ptr, void* event) { static_cast(ptr)->enterEvent(static_cast(event)); } void QWidget_EnterEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::enterEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::enterEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::enterEvent(static_cast(event)); } } char QWidget_Event(void* ptr, void* event) { return static_cast(ptr)->event(static_cast(event)); } char QWidget_EventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizardPage::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBar::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStatusBar::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitterHandle::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplashScreen::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSizeGrip::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QOpenGLWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenuBar::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenu::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiSubWindow::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMainWindow::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QKeySequenceEdit::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLineEdit::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGroupBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressBar::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFocusFrame::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDockWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialogButtonBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDesktopWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontComboBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QComboBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialog::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCalendarWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitter::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLCDNumber::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLabel::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractScrollArea::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFrame::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRubberBand::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabBar::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollBar::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDial::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSlider::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSlider::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSpinBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabWidget::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::event(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractButton::event(static_cast(event)); } else { return static_cast(ptr)->QWidget::event(static_cast(event)); } } void* QWidget_QWidget_Find(uintptr_t id) { return QWidget::find(id); } void QWidget_FocusInEvent(void* ptr, void* event) { static_cast(ptr)->focusInEvent(static_cast(event)); } void QWidget_FocusInEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::focusInEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::focusInEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::focusInEvent(static_cast(event)); } } char QWidget_FocusNextChild(void* ptr) { return static_cast(ptr)->focusNextChild(); } char QWidget_FocusNextPrevChild(void* ptr, char next) { return static_cast(ptr)->focusNextPrevChild(next != 0); } char QWidget_FocusNextPrevChildDefault(void* ptr, char next) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizardPage::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBar::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStatusBar::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitterHandle::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplashScreen::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSizeGrip::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QOpenGLWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenuBar::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenu::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiSubWindow::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMainWindow::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QKeySequenceEdit::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLineEdit::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGroupBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressBar::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFocusFrame::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDockWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialogButtonBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDesktopWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontComboBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QComboBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialog::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCalendarWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitter::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLCDNumber::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLabel::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractScrollArea::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFrame::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRubberBand::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabBar::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollBar::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDial::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSlider::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSlider::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSpinBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabWidget::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::focusNextPrevChild(next != 0); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractButton::focusNextPrevChild(next != 0); } else { return static_cast(ptr)->QWidget::focusNextPrevChild(next != 0); } } void QWidget_FocusOutEvent(void* ptr, void* event) { static_cast(ptr)->focusOutEvent(static_cast(event)); } void QWidget_FocusOutEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::focusOutEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::focusOutEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::focusOutEvent(static_cast(event)); } } long long QWidget_FocusPolicy(void* ptr) { return static_cast(ptr)->focusPolicy(); } char QWidget_FocusPreviousChild(void* ptr) { return static_cast(ptr)->focusPreviousChild(); } void* QWidget_FocusProxy(void* ptr) { return static_cast(ptr)->focusProxy(); } void* QWidget_FocusWidget(void* ptr) { return static_cast(ptr)->focusWidget(); } void* QWidget_Font(void* ptr) { return const_cast(&static_cast(ptr)->font()); } void* QWidget_FontInfo(void* ptr) { return new QFontInfo(static_cast(ptr)->fontInfo()); } void* QWidget_FontMetrics(void* ptr) { return new QFontMetrics(static_cast(ptr)->fontMetrics()); } long long QWidget_ForegroundRole(void* ptr) { return static_cast(ptr)->foregroundRole(); } void* QWidget_FrameGeometry(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->frameGeometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QWidget_FrameSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->frameSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidget_Geometry(void* ptr) { return const_cast(&static_cast(ptr)->geometry()); } void QWidget_GetContentsMargins(void* ptr, int left, int top, int right, int bottom) { static_cast(ptr)->getContentsMargins(&left, &top, &right, &bottom); } void* QWidget_Grab(void* ptr, void* rectangle) { return new QPixmap(static_cast(ptr)->grab(*static_cast(rectangle))); } void QWidget_GrabGesture(void* ptr, long long gesture, long long flags) { static_cast(ptr)->grabGesture(static_cast(gesture), static_cast(flags)); } void QWidget_GrabKeyboard(void* ptr) { static_cast(ptr)->grabKeyboard(); } void QWidget_GrabMouse(void* ptr) { static_cast(ptr)->grabMouse(); } void QWidget_GrabMouse2(void* ptr, void* cursor) { static_cast(ptr)->grabMouse(*static_cast(cursor)); } int QWidget_GrabShortcut(void* ptr, void* key, long long context) { return static_cast(ptr)->grabShortcut(*static_cast(key), static_cast(context)); } void* QWidget_GraphicsEffect(void* ptr) { return static_cast(ptr)->graphicsEffect(); } void* QWidget_GraphicsProxyWidget(void* ptr) { return static_cast(ptr)->graphicsProxyWidget(); } char QWidget_HasEditFocus(void* ptr) { #ifdef QT_KEYPAD_NAVIGATION return static_cast(ptr)->hasEditFocus(); #else return false; #endif } char QWidget_HasFocus(void* ptr) { return static_cast(ptr)->hasFocus(); } char QWidget_HasHeightForWidth(void* ptr) { return static_cast(ptr)->hasHeightForWidth(); } char QWidget_HasHeightForWidthDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizardPage::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBar::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStatusBar::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitterHandle::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplashScreen::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSizeGrip::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QOpenGLWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenuBar::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenu::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiSubWindow::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMainWindow::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QKeySequenceEdit::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLineEdit::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGroupBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressBar::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFocusFrame::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDockWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialogButtonBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDesktopWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontComboBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QComboBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialog::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCalendarWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitter::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLCDNumber::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLabel::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractScrollArea::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFrame::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRubberBand::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabBar::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollBar::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDial::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSlider::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSlider::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSpinBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabWidget::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::hasHeightForWidth(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractButton::hasHeightForWidth(); } else { return static_cast(ptr)->QWidget::hasHeightForWidth(); } } char QWidget_HasMouseTracking(void* ptr) { return static_cast(ptr)->hasMouseTracking(); } char QWidget_HasTabletTracking(void* ptr) { return static_cast(ptr)->hasTabletTracking(); } int QWidget_Height(void* ptr) { return static_cast(ptr)->height(); } int QWidget_HeightForWidth(void* ptr, int w) { return static_cast(ptr)->heightForWidth(w); } int QWidget_HeightForWidthDefault(void* ptr, int w) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizardPage::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBar::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStatusBar::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitterHandle::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplashScreen::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSizeGrip::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QOpenGLWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenuBar::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenu::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiSubWindow::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMainWindow::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QKeySequenceEdit::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLineEdit::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGroupBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressBar::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFocusFrame::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDockWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialogButtonBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDesktopWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontComboBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QComboBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialog::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCalendarWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitter::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLCDNumber::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLabel::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractScrollArea::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFrame::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRubberBand::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabBar::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollBar::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDial::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSlider::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSlider::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSpinBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabWidget::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::heightForWidth(w); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractButton::heightForWidth(w); } else { return static_cast(ptr)->QWidget::heightForWidth(w); } } void QWidget_Hide(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "hide"); } void QWidget_HideDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::hide(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::hide(); } else { static_cast(ptr)->QWidget::hide(); } } void QWidget_HideEvent(void* ptr, void* event) { static_cast(ptr)->hideEvent(static_cast(event)); } void QWidget_HideEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::hideEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::hideEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::hideEvent(static_cast(event)); } } void QWidget_InitPainter(void* ptr, void* painter) { static_cast(ptr)->initPainter(static_cast(painter)); } void QWidget_InitPainterDefault(void* ptr, void* painter) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::initPainter(static_cast(painter)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::initPainter(static_cast(painter)); } else { static_cast(ptr)->QWidget::initPainter(static_cast(painter)); } } void QWidget_InputMethodEvent(void* ptr, void* event) { static_cast(ptr)->inputMethodEvent(static_cast(event)); } void QWidget_InputMethodEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::inputMethodEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::inputMethodEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::inputMethodEvent(static_cast(event)); } } long long QWidget_InputMethodHints(void* ptr) { return static_cast(ptr)->inputMethodHints(); } void* QWidget_InputMethodQuery(void* ptr, long long query) { return new QVariant(static_cast(ptr)->inputMethodQuery(static_cast(query))); } void* QWidget_InputMethodQueryDefault(void* ptr, long long query) { if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QWizardPage::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QToolBar::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QStatusBar::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QSplitterHandle::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QSplashScreen::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QSizeGrip::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QOpenGLWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QMenuBar::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QMenu::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QMdiSubWindow::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QMainWindow::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QKeySequenceEdit::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QLineEdit::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGroupBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QProgressBar::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QFocusFrame::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QDockWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QDialogButtonBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QDesktopWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QFontComboBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QComboBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QWizard::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QMessageBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QInputDialog::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QProgressDialog::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QFontDialog::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QFileDialog::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QErrorMessage::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QColorDialog::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QDialog::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QCalendarWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QToolBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QStackedWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QSplitter::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QLCDNumber::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QLabel::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QPlainTextEdit::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTextBrowser::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTextEdit::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QMdiArea::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QGraphicsView::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QScrollArea::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTreeWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTreeView::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTableWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTableView::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QUndoView::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QListWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QListView::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QHeaderView::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QColumnView::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QAbstractItemView::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QAbstractScrollArea::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QFrame::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QRubberBand::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTabBar::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QScrollBar::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QDial::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QSlider::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QAbstractSlider::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QDoubleSpinBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QSpinBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QDateEdit::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTimeEdit::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QDateTimeEdit::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QAbstractSpinBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QTabWidget::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QToolButton::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QRadioButton::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QCommandLinkButton::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QPushButton::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QCheckBox::inputMethodQuery(static_cast(query))); } else if (dynamic_cast(static_cast(ptr))) { return new QVariant(static_cast(ptr)->QAbstractButton::inputMethodQuery(static_cast(query))); } else { return new QVariant(static_cast(ptr)->QWidget::inputMethodQuery(static_cast(query))); } } void QWidget_InsertAction(void* ptr, void* before, void* action) { static_cast(ptr)->insertAction(static_cast(before), static_cast(action)); } void QWidget_InsertActions(void* ptr, void* before, void* actions) { static_cast(ptr)->insertActions(static_cast(before), ({ QList* tmpP = static_cast*>(actions); QList tmpV = *tmpP; tmpP->~QList(); free(tmpP); tmpV; })); } char QWidget_IsActiveWindow(void* ptr) { return static_cast(ptr)->isActiveWindow(); } char QWidget_IsAncestorOf(void* ptr, void* child) { return static_cast(ptr)->isAncestorOf(static_cast(child)); } char QWidget_IsEnabled(void* ptr) { return static_cast(ptr)->isEnabled(); } char QWidget_IsEnabledTo(void* ptr, void* ancestor) { return static_cast(ptr)->isEnabledTo(static_cast(ancestor)); } char QWidget_IsFullScreen(void* ptr) { return static_cast(ptr)->isFullScreen(); } char QWidget_IsHidden(void* ptr) { return static_cast(ptr)->isHidden(); } char QWidget_IsMaximized(void* ptr) { return static_cast(ptr)->isMaximized(); } char QWidget_IsMinimized(void* ptr) { return static_cast(ptr)->isMinimized(); } char QWidget_IsModal(void* ptr) { return static_cast(ptr)->isModal(); } char QWidget_IsVisible(void* ptr) { return static_cast(ptr)->isVisible(); } char QWidget_IsVisibleTo(void* ptr, void* ancestor) { return static_cast(ptr)->isVisibleTo(static_cast(ancestor)); } char QWidget_IsWindow(void* ptr) { return static_cast(ptr)->isWindow(); } char QWidget_IsWindowModified(void* ptr) { return static_cast(ptr)->isWindowModified(); } void QWidget_KeyPressEvent(void* ptr, void* event) { static_cast(ptr)->keyPressEvent(static_cast(event)); } void QWidget_KeyPressEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::keyPressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::keyPressEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::keyPressEvent(static_cast(event)); } } void QWidget_KeyReleaseEvent(void* ptr, void* event) { static_cast(ptr)->keyReleaseEvent(static_cast(event)); } void QWidget_KeyReleaseEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::keyReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::keyReleaseEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::keyReleaseEvent(static_cast(event)); } } void* QWidget_QWidget_KeyboardGrabber() { return QWidget::keyboardGrabber(); } void* QWidget_Layout(void* ptr) { return static_cast(ptr)->layout(); } long long QWidget_LayoutDirection(void* ptr) { return static_cast(ptr)->layoutDirection(); } void QWidget_LeaveEvent(void* ptr, void* event) { static_cast(ptr)->leaveEvent(static_cast(event)); } void QWidget_LeaveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::leaveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::leaveEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::leaveEvent(static_cast(event)); } } void* QWidget_Locale(void* ptr) { return new QLocale(static_cast(ptr)->locale()); } void QWidget_Lower(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "lower"); } void QWidget_LowerDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::lower(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::lower(); } else { static_cast(ptr)->QWidget::lower(); } } void* QWidget_MapFrom(void* ptr, void* parent, void* pos) { return ({ QPoint tmpValue = static_cast(ptr)->mapFrom(static_cast(parent), *static_cast(pos)); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QWidget_MapFromGlobal(void* ptr, void* pos) { return ({ QPoint tmpValue = static_cast(ptr)->mapFromGlobal(*static_cast(pos)); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QWidget_MapFromParent(void* ptr, void* pos) { return ({ QPoint tmpValue = static_cast(ptr)->mapFromParent(*static_cast(pos)); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QWidget_MapTo(void* ptr, void* parent, void* pos) { return ({ QPoint tmpValue = static_cast(ptr)->mapTo(static_cast(parent), *static_cast(pos)); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QWidget_MapToGlobal(void* ptr, void* pos) { return ({ QPoint tmpValue = static_cast(ptr)->mapToGlobal(*static_cast(pos)); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QWidget_MapToParent(void* ptr, void* pos) { return ({ QPoint tmpValue = static_cast(ptr)->mapToParent(*static_cast(pos)); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QWidget_Mask(void* ptr) { return new QRegion(static_cast(ptr)->mask()); } int QWidget_MaximumHeight(void* ptr) { return static_cast(ptr)->maximumHeight(); } void* QWidget_MaximumSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } int QWidget_MaximumWidth(void* ptr) { return static_cast(ptr)->maximumWidth(); } int QWidget_Metric(void* ptr, long long m) { return static_cast(ptr)->metric(static_cast(m)); } int QWidget_MetricDefault(void* ptr, long long m) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizardPage::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBar::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStatusBar::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitterHandle::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplashScreen::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSizeGrip::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QOpenGLWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenuBar::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenu::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiSubWindow::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMainWindow::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QKeySequenceEdit::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLineEdit::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGroupBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressBar::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFocusFrame::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDockWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialogButtonBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDesktopWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontComboBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QComboBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialog::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCalendarWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitter::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLCDNumber::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLabel::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractScrollArea::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFrame::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRubberBand::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabBar::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollBar::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDial::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSlider::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSlider::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSpinBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabWidget::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::metric(static_cast(m)); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractButton::metric(static_cast(m)); } else { return static_cast(ptr)->QWidget::metric(static_cast(m)); } } int QWidget_MinimumHeight(void* ptr) { return static_cast(ptr)->minimumHeight(); } void* QWidget_MinimumSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidget_MinimumSizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidget_MinimumSizeHintDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QWizardPage::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QToolBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QStatusBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSplitterHandle::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSplashScreen::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSizeGrip::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QOpenGLWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMenuBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMenu::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMdiSubWindow::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMainWindow::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QKeySequenceEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QLineEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QGroupBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QProgressBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFocusFrame::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDockWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDialogButtonBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDesktopWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFontComboBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QComboBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QWizard::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMessageBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QInputDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QProgressDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFontDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFileDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QErrorMessage::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QColorDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDialog::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QCalendarWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QToolBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QStackedWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSplitter::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QLCDNumber::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QLabel::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QPlainTextEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTextBrowser::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTextEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMdiArea::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QGraphicsView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QScrollArea::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTreeWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTreeView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTableWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTableView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QUndoView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QListWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QListView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QHeaderView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QColumnView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractItemView::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractScrollArea::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFrame::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QRubberBand::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTabBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QScrollBar::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDial::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSlider::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractSlider::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDoubleSpinBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSpinBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDateEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTimeEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDateTimeEdit::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractSpinBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTabWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QToolButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QRadioButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QCommandLinkButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QPushButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QCheckBox::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractButton::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->QWidget::minimumSizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } } int QWidget_MinimumWidth(void* ptr) { return static_cast(ptr)->minimumWidth(); } void QWidget_MouseDoubleClickEvent(void* ptr, void* event) { static_cast(ptr)->mouseDoubleClickEvent(static_cast(event)); } void QWidget_MouseDoubleClickEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::mouseDoubleClickEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::mouseDoubleClickEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::mouseDoubleClickEvent(static_cast(event)); } } void* QWidget_QWidget_MouseGrabber() { return QWidget::mouseGrabber(); } void QWidget_MouseMoveEvent(void* ptr, void* event) { static_cast(ptr)->mouseMoveEvent(static_cast(event)); } void QWidget_MouseMoveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::mouseMoveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::mouseMoveEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::mouseMoveEvent(static_cast(event)); } } void QWidget_MousePressEvent(void* ptr, void* event) { static_cast(ptr)->mousePressEvent(static_cast(event)); } void QWidget_MousePressEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::mousePressEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::mousePressEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::mousePressEvent(static_cast(event)); } } void QWidget_MouseReleaseEvent(void* ptr, void* event) { static_cast(ptr)->mouseReleaseEvent(static_cast(event)); } void QWidget_MouseReleaseEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::mouseReleaseEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::mouseReleaseEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::mouseReleaseEvent(static_cast(event)); } } void QWidget_Move(void* ptr, void* vqp) { static_cast(ptr)->move(*static_cast(vqp)); } void QWidget_Move2(void* ptr, int x, int y) { static_cast(ptr)->move(x, y); } void QWidget_MoveEvent(void* ptr, void* event) { static_cast(ptr)->moveEvent(static_cast(event)); } void QWidget_MoveEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::moveEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::moveEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::moveEvent(static_cast(event)); } } char QWidget_NativeEvent(void* ptr, void* eventType, void* message, long* result) { return static_cast(ptr)->nativeEvent(*static_cast(eventType), message, result); } char QWidget_NativeEventDefault(void* ptr, void* eventType, void* message, long* result) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizardPage::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBar::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStatusBar::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitterHandle::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplashScreen::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSizeGrip::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QOpenGLWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenuBar::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenu::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiSubWindow::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMainWindow::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QKeySequenceEdit::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLineEdit::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGroupBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressBar::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFocusFrame::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDockWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialogButtonBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDesktopWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontComboBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QComboBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialog::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCalendarWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitter::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLCDNumber::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLabel::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractScrollArea::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFrame::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRubberBand::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabBar::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollBar::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDial::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSlider::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSlider::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSpinBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabWidget::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::nativeEvent(*static_cast(eventType), message, result); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractButton::nativeEvent(*static_cast(eventType), message, result); } else { return static_cast(ptr)->QWidget::nativeEvent(*static_cast(eventType), message, result); } } void* QWidget_NativeParentWidget(void* ptr) { return static_cast(ptr)->nativeParentWidget(); } void* QWidget_NextInFocusChain(void* ptr) { return static_cast(ptr)->nextInFocusChain(); } void* QWidget_NormalGeometry(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->normalGeometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QWidget_OverrideWindowFlags(void* ptr, long long flags) { static_cast(ptr)->overrideWindowFlags(static_cast(flags)); } void* QWidget_PaintEngine(void* ptr) { return static_cast(ptr)->paintEngine(); } void* QWidget_PaintEngineDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizardPage::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBar::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStatusBar::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitterHandle::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplashScreen::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSizeGrip::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QOpenGLWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenuBar::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMenu::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiSubWindow::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMainWindow::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QKeySequenceEdit::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLineEdit::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGroupBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressBar::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFocusFrame::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDockWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialogButtonBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDesktopWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontComboBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QComboBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QWizard::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMessageBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QInputDialog::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QProgressDialog::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFontDialog::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFileDialog::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QErrorMessage::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColorDialog::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDialog::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCalendarWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QStackedWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSplitter::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLCDNumber::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QLabel::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPlainTextEdit::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextBrowser::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTextEdit::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QMdiArea::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QGraphicsView::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollArea::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTreeView::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTableView::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QUndoView::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QListView::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QHeaderView::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QColumnView::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractItemView::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractScrollArea::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QFrame::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRubberBand::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabBar::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QScrollBar::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDial::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSlider::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSlider::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDoubleSpinBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QSpinBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateEdit::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTimeEdit::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QDateTimeEdit::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractSpinBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QTabWidget::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QToolButton::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QRadioButton::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCommandLinkButton::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QPushButton::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QCheckBox::paintEngine(); } else if (dynamic_cast(static_cast(ptr))) { return static_cast(ptr)->QAbstractButton::paintEngine(); } else { return static_cast(ptr)->QWidget::paintEngine(); } } void QWidget_PaintEvent(void* ptr, void* event) { static_cast(ptr)->paintEvent(static_cast(event)); } void QWidget_PaintEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::paintEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::paintEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::paintEvent(static_cast(event)); } } void* QWidget_Palette(void* ptr) { return const_cast(&static_cast(ptr)->palette()); } void* QWidget_ParentWidget(void* ptr) { return static_cast(ptr)->parentWidget(); } void* QWidget_Pos(void* ptr) { return ({ QPoint tmpValue = static_cast(ptr)->pos(); new QPoint(tmpValue.x(), tmpValue.y()); }); } void* QWidget_PreviousInFocusChain(void* ptr) { return static_cast(ptr)->previousInFocusChain(); } void QWidget_Raise(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "raise"); } void QWidget_RaiseDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::raise(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::raise(); } else { static_cast(ptr)->QWidget::raise(); } } void* QWidget_Rect(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->rect(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void QWidget_ReleaseKeyboard(void* ptr) { static_cast(ptr)->releaseKeyboard(); } void QWidget_ReleaseMouse(void* ptr) { static_cast(ptr)->releaseMouse(); } void QWidget_ReleaseShortcut(void* ptr, int id) { static_cast(ptr)->releaseShortcut(id); } void QWidget_RemoveAction(void* ptr, void* action) { static_cast(ptr)->removeAction(static_cast(action)); } void QWidget_Render(void* ptr, void* target, void* targetOffset, void* sourceRegion, long long renderFlags) { if (dynamic_cast(static_cast(target))) { static_cast(ptr)->render(static_cast(target), *static_cast(targetOffset), *static_cast(sourceRegion), static_cast(renderFlags)); } else { static_cast(ptr)->render(static_cast(target), *static_cast(targetOffset), *static_cast(sourceRegion), static_cast(renderFlags)); } } void QWidget_Render2(void* ptr, void* painter, void* targetOffset, void* sourceRegion, long long renderFlags) { static_cast(ptr)->render(static_cast(painter), *static_cast(targetOffset), *static_cast(sourceRegion), static_cast(renderFlags)); } void QWidget_Repaint(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "repaint"); } void QWidget_RepaintDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::repaint(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::repaint(); } else { static_cast(ptr)->QWidget::repaint(); } } void QWidget_Repaint2(void* ptr, int x, int y, int w, int h) { static_cast(ptr)->repaint(x, y, w, h); } void QWidget_Repaint3(void* ptr, void* rect) { static_cast(ptr)->repaint(*static_cast(rect)); } void QWidget_Repaint4(void* ptr, void* rgn) { static_cast(ptr)->repaint(*static_cast(rgn)); } void QWidget_Resize(void* ptr, void* vqs) { static_cast(ptr)->resize(*static_cast(vqs)); } void QWidget_Resize2(void* ptr, int w, int h) { static_cast(ptr)->resize(w, h); } void QWidget_ResizeEvent(void* ptr, void* event) { static_cast(ptr)->resizeEvent(static_cast(event)); } void QWidget_ResizeEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::resizeEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::resizeEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::resizeEvent(static_cast(event)); } } char QWidget_RestoreGeometry(void* ptr, void* geometry) { return static_cast(ptr)->restoreGeometry(*static_cast(geometry)); } void* QWidget_SaveGeometry(void* ptr) { return new QByteArray(static_cast(ptr)->saveGeometry()); } void QWidget_Scroll(void* ptr, int dx, int dy) { static_cast(ptr)->scroll(dx, dy); } void QWidget_Scroll2(void* ptr, int dx, int dy, void* r) { static_cast(ptr)->scroll(dx, dy, *static_cast(r)); } void QWidget_SetAcceptDrops(void* ptr, char on) { static_cast(ptr)->setAcceptDrops(on != 0); } void QWidget_SetAccessibleDescription(void* ptr, struct QtWidgets_PackedString description) { static_cast(ptr)->setAccessibleDescription(QString::fromUtf8(description.data, description.len)); } void QWidget_SetAccessibleName(void* ptr, struct QtWidgets_PackedString name) { static_cast(ptr)->setAccessibleName(QString::fromUtf8(name.data, name.len)); } void QWidget_SetAttribute(void* ptr, long long attribute, char on) { static_cast(ptr)->setAttribute(static_cast(attribute), on != 0); } void QWidget_SetAutoFillBackground(void* ptr, char enabled) { static_cast(ptr)->setAutoFillBackground(enabled != 0); } void QWidget_SetBackgroundRole(void* ptr, long long role) { static_cast(ptr)->setBackgroundRole(static_cast(role)); } void QWidget_SetBaseSize(void* ptr, void* vqs) { static_cast(ptr)->setBaseSize(*static_cast(vqs)); } void QWidget_SetBaseSize2(void* ptr, int basew, int baseh) { static_cast(ptr)->setBaseSize(basew, baseh); } void QWidget_SetContentsMargins(void* ptr, int left, int top, int right, int bottom) { static_cast(ptr)->setContentsMargins(left, top, right, bottom); } void QWidget_SetContentsMargins2(void* ptr, void* margins) { static_cast(ptr)->setContentsMargins(*static_cast(margins)); } void QWidget_SetContextMenuPolicy(void* ptr, long long policy) { static_cast(ptr)->setContextMenuPolicy(static_cast(policy)); } void QWidget_SetCursor(void* ptr, void* vqc) { static_cast(ptr)->setCursor(*static_cast(vqc)); } void QWidget_SetDisabled(void* ptr, char disable) { QMetaObject::invokeMethod(static_cast(ptr), "setDisabled", Q_ARG(bool, disable != 0)); } void QWidget_SetDisabledDefault(void* ptr, char disable) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setDisabled(disable != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::setDisabled(disable != 0); } else { static_cast(ptr)->QWidget::setDisabled(disable != 0); } } void QWidget_SetEditFocus(void* ptr, char enable) { #ifdef QT_KEYPAD_NAVIGATION static_cast(ptr)->setEditFocus(enable != 0); #endif } void QWidget_SetEnabled(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setEnabled", Q_ARG(bool, vbo != 0)); } void QWidget_SetEnabledDefault(void* ptr, char vbo) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setEnabled(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::setEnabled(vbo != 0); } else { static_cast(ptr)->QWidget::setEnabled(vbo != 0); } } void QWidget_SetFixedHeight(void* ptr, int h) { static_cast(ptr)->setFixedHeight(h); } void QWidget_SetFixedSize(void* ptr, void* s) { static_cast(ptr)->setFixedSize(*static_cast(s)); } void QWidget_SetFixedSize2(void* ptr, int w, int h) { static_cast(ptr)->setFixedSize(w, h); } void QWidget_SetFixedWidth(void* ptr, int w) { static_cast(ptr)->setFixedWidth(w); } void QWidget_SetFocus(void* ptr, long long reason) { static_cast(ptr)->setFocus(static_cast(reason)); } void QWidget_SetFocus2(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "setFocus"); } void QWidget_SetFocus2Default(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::setFocus(); } else { static_cast(ptr)->QWidget::setFocus(); } } void QWidget_SetFocusPolicy(void* ptr, long long policy) { static_cast(ptr)->setFocusPolicy(static_cast(policy)); } void QWidget_SetFocusProxy(void* ptr, void* w) { static_cast(ptr)->setFocusProxy(static_cast(w)); } void QWidget_SetFont(void* ptr, void* vqf) { static_cast(ptr)->setFont(*static_cast(vqf)); } void QWidget_SetForegroundRole(void* ptr, long long role) { static_cast(ptr)->setForegroundRole(static_cast(role)); } void QWidget_SetGeometry(void* ptr, void* vqr) { static_cast(ptr)->setGeometry(*static_cast(vqr)); } void QWidget_SetGeometry2(void* ptr, int x, int y, int w, int h) { static_cast(ptr)->setGeometry(x, y, w, h); } void QWidget_SetGraphicsEffect(void* ptr, void* effect) { static_cast(ptr)->setGraphicsEffect(static_cast(effect)); } void QWidget_SetHidden(void* ptr, char hidden) { QMetaObject::invokeMethod(static_cast(ptr), "setHidden", Q_ARG(bool, hidden != 0)); } void QWidget_SetHiddenDefault(void* ptr, char hidden) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setHidden(hidden != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::setHidden(hidden != 0); } else { static_cast(ptr)->QWidget::setHidden(hidden != 0); } } void QWidget_SetInputMethodHints(void* ptr, long long hints) { static_cast(ptr)->setInputMethodHints(static_cast(hints)); } void QWidget_SetLayout(void* ptr, void* layout) { static_cast(ptr)->setLayout(static_cast(layout)); } void QWidget_SetLayoutDirection(void* ptr, long long direction) { static_cast(ptr)->setLayoutDirection(static_cast(direction)); } void QWidget_SetLocale(void* ptr, void* locale) { static_cast(ptr)->setLocale(*static_cast(locale)); } void QWidget_SetMask(void* ptr, void* bitmap) { static_cast(ptr)->setMask(*static_cast(bitmap)); } void QWidget_SetMask2(void* ptr, void* region) { static_cast(ptr)->setMask(*static_cast(region)); } void QWidget_SetMaximumHeight(void* ptr, int maxh) { static_cast(ptr)->setMaximumHeight(maxh); } void QWidget_SetMaximumSize(void* ptr, void* vqs) { static_cast(ptr)->setMaximumSize(*static_cast(vqs)); } void QWidget_SetMaximumSize2(void* ptr, int maxw, int maxh) { static_cast(ptr)->setMaximumSize(maxw, maxh); } void QWidget_SetMaximumWidth(void* ptr, int maxw) { static_cast(ptr)->setMaximumWidth(maxw); } void QWidget_SetMinimumHeight(void* ptr, int minh) { static_cast(ptr)->setMinimumHeight(minh); } void QWidget_SetMinimumSize(void* ptr, void* vqs) { static_cast(ptr)->setMinimumSize(*static_cast(vqs)); } void QWidget_SetMinimumSize2(void* ptr, int minw, int minh) { static_cast(ptr)->setMinimumSize(minw, minh); } void QWidget_SetMinimumWidth(void* ptr, int minw) { static_cast(ptr)->setMinimumWidth(minw); } void QWidget_SetMouseTracking(void* ptr, char enable) { static_cast(ptr)->setMouseTracking(enable != 0); } void QWidget_SetPalette(void* ptr, void* vqp) { static_cast(ptr)->setPalette(*static_cast(vqp)); } void QWidget_SetParent(void* ptr, void* parent) { static_cast(ptr)->setParent(static_cast(parent)); } void QWidget_SetParent2(void* ptr, void* parent, long long ff) { static_cast(ptr)->setParent(static_cast(parent), static_cast(ff)); } void QWidget_SetShortcutAutoRepeat(void* ptr, int id, char enable) { static_cast(ptr)->setShortcutAutoRepeat(id, enable != 0); } void QWidget_SetShortcutEnabled(void* ptr, int id, char enable) { static_cast(ptr)->setShortcutEnabled(id, enable != 0); } void QWidget_SetSizeIncrement(void* ptr, void* vqs) { static_cast(ptr)->setSizeIncrement(*static_cast(vqs)); } void QWidget_SetSizeIncrement2(void* ptr, int w, int h) { static_cast(ptr)->setSizeIncrement(w, h); } void QWidget_SetSizePolicy(void* ptr, void* vqs) { static_cast(ptr)->setSizePolicy(*static_cast(vqs)); } void QWidget_SetSizePolicy2(void* ptr, long long horizontal, long long vertical) { static_cast(ptr)->setSizePolicy(static_cast(horizontal), static_cast(vertical)); } void QWidget_SetStatusTip(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->setStatusTip(QString::fromUtf8(vqs.data, vqs.len)); } void QWidget_SetStyle(void* ptr, void* style) { static_cast(ptr)->setStyle(static_cast(style)); } void QWidget_SetStyleSheet(void* ptr, struct QtWidgets_PackedString styleSheet) { QMetaObject::invokeMethod(static_cast(ptr), "setStyleSheet", Q_ARG(const QString, QString::fromUtf8(styleSheet.data, styleSheet.len))); } void QWidget_SetStyleSheetDefault(void* ptr, struct QtWidgets_PackedString styleSheet) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } else { static_cast(ptr)->QWidget::setStyleSheet(QString::fromUtf8(styleSheet.data, styleSheet.len)); } } void QWidget_QWidget_SetTabOrder(void* first, void* second) { QWidget::setTabOrder(static_cast(first), static_cast(second)); } void QWidget_SetTabletTracking(void* ptr, char enable) { static_cast(ptr)->setTabletTracking(enable != 0); } void QWidget_SetToolTip(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->setToolTip(QString::fromUtf8(vqs.data, vqs.len)); } void QWidget_SetToolTipDuration(void* ptr, int msec) { static_cast(ptr)->setToolTipDuration(msec); } void QWidget_SetUpdatesEnabled(void* ptr, char enable) { static_cast(ptr)->setUpdatesEnabled(enable != 0); } void QWidget_SetVisible(void* ptr, char visible) { QMetaObject::invokeMethod(static_cast(ptr), "setVisible", Q_ARG(bool, visible != 0)); } void QWidget_SetVisibleDefault(void* ptr, char visible) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setVisible(visible != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::setVisible(visible != 0); } else { static_cast(ptr)->QWidget::setVisible(visible != 0); } } void QWidget_SetWhatsThis(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->setWhatsThis(QString::fromUtf8(vqs.data, vqs.len)); } void QWidget_SetWindowFilePath(void* ptr, struct QtWidgets_PackedString filePath) { static_cast(ptr)->setWindowFilePath(QString::fromUtf8(filePath.data, filePath.len)); } void QWidget_SetWindowFlag(void* ptr, long long flag, char on) { static_cast(ptr)->setWindowFlag(static_cast(flag), on != 0); } void QWidget_SetWindowFlags(void* ptr, long long ty) { static_cast(ptr)->setWindowFlags(static_cast(ty)); } void QWidget_SetWindowIcon(void* ptr, void* icon) { static_cast(ptr)->setWindowIcon(*static_cast(icon)); } void QWidget_SetWindowIconText(void* ptr, struct QtWidgets_PackedString vqs) { static_cast(ptr)->setWindowIconText(QString::fromUtf8(vqs.data, vqs.len)); } void QWidget_SetWindowModality(void* ptr, long long windowModality) { static_cast(ptr)->setWindowModality(static_cast(windowModality)); } void QWidget_SetWindowModified(void* ptr, char vbo) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowModified", Q_ARG(bool, vbo != 0)); } void QWidget_SetWindowModifiedDefault(void* ptr, char vbo) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setWindowModified(vbo != 0); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::setWindowModified(vbo != 0); } else { static_cast(ptr)->QWidget::setWindowModified(vbo != 0); } } void QWidget_SetWindowOpacity(void* ptr, double level) { static_cast(ptr)->setWindowOpacity(level); } void QWidget_SetWindowRole(void* ptr, struct QtWidgets_PackedString role) { static_cast(ptr)->setWindowRole(QString::fromUtf8(role.data, role.len)); } void QWidget_SetWindowState(void* ptr, long long windowState) { static_cast(ptr)->setWindowState(static_cast(windowState)); } void QWidget_SetWindowTitle(void* ptr, struct QtWidgets_PackedString vqs) { QMetaObject::invokeMethod(static_cast(ptr), "setWindowTitle", Q_ARG(const QString, QString::fromUtf8(vqs.data, vqs.len))); } void QWidget_SetWindowTitleDefault(void* ptr, struct QtWidgets_PackedString vqs) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } else { static_cast(ptr)->QWidget::setWindowTitle(QString::fromUtf8(vqs.data, vqs.len)); } } void QWidget_SetupUi(void* ptr, void* widget) { #ifdef Q_QDOC static_cast(ptr)->setupUi(static_cast(widget)); #endif } void QWidget_Show(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "show"); } void QWidget_ShowDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::show(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::show(); } else { static_cast(ptr)->QWidget::show(); } } void QWidget_ShowEvent(void* ptr, void* event) { static_cast(ptr)->showEvent(static_cast(event)); } void QWidget_ShowEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::showEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::showEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::showEvent(static_cast(event)); } } void QWidget_ShowFullScreen(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showFullScreen"); } void QWidget_ShowFullScreenDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::showFullScreen(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::showFullScreen(); } else { static_cast(ptr)->QWidget::showFullScreen(); } } void QWidget_ShowMaximized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMaximized"); } void QWidget_ShowMaximizedDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::showMaximized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::showMaximized(); } else { static_cast(ptr)->QWidget::showMaximized(); } } void QWidget_ShowMinimized(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showMinimized"); } void QWidget_ShowMinimizedDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::showMinimized(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::showMinimized(); } else { static_cast(ptr)->QWidget::showMinimized(); } } void QWidget_ShowNormal(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "showNormal"); } void QWidget_ShowNormalDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::showNormal(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::showNormal(); } else { static_cast(ptr)->QWidget::showNormal(); } } void* QWidget_Size(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->size(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidget_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidget_SizeHintDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QWizardPage::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QToolBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QStatusBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSplitterHandle::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSplashScreen::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSizeGrip::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QOpenGLWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMenuBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMenu::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMdiSubWindow::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMainWindow::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QKeySequenceEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QLineEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QGroupBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QProgressBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFocusFrame::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDockWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDialogButtonBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDesktopWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFontComboBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QComboBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QWizard::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMessageBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QInputDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QProgressDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFontDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFileDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QErrorMessage::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QColorDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDialog::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QCalendarWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QToolBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QStackedWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSplitter::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QLCDNumber::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QLabel::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QPlainTextEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTextBrowser::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTextEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QMdiArea::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QGraphicsView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QScrollArea::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTreeWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTreeView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTableWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTableView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QUndoView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QListWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QListView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QHeaderView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QColumnView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractItemView::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractScrollArea::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QFrame::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QRubberBand::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTabBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QScrollBar::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDial::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSlider::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractSlider::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDoubleSpinBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QSpinBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDateEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTimeEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QDateTimeEdit::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractSpinBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QTabWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QToolButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QRadioButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QCommandLinkButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QPushButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QCheckBox::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else if (dynamic_cast(static_cast(ptr))) { return ({ QSize tmpValue = static_cast(ptr)->QAbstractButton::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } else { return ({ QSize tmpValue = static_cast(ptr)->QWidget::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } } void* QWidget_SizeIncrement(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeIncrement(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidget_SizePolicy(void* ptr) { return new QSizePolicy(static_cast(ptr)->sizePolicy()); } void QWidget_StackUnder(void* ptr, void* w) { static_cast(ptr)->stackUnder(static_cast(w)); } struct QtWidgets_PackedString QWidget_StatusTip(void* ptr) { return ({ QByteArray* t96d9a1 = new QByteArray(static_cast(ptr)->statusTip().toUtf8()); QtWidgets_PackedString { const_cast(t96d9a1->prepend("WHITESPACE").constData()+10), t96d9a1->size()-10, t96d9a1 }; }); } void* QWidget_Style(void* ptr) { return static_cast(ptr)->style(); } struct QtWidgets_PackedString QWidget_StyleSheet(void* ptr) { return ({ QByteArray* tb180d7 = new QByteArray(static_cast(ptr)->styleSheet().toUtf8()); QtWidgets_PackedString { const_cast(tb180d7->prepend("WHITESPACE").constData()+10), tb180d7->size()-10, tb180d7 }; }); } void QWidget_TabletEvent(void* ptr, void* event) { static_cast(ptr)->tabletEvent(static_cast(event)); } void QWidget_TabletEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::tabletEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::tabletEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::tabletEvent(static_cast(event)); } } char QWidget_TestAttribute(void* ptr, long long attribute) { return static_cast(ptr)->testAttribute(static_cast(attribute)); } struct QtWidgets_PackedString QWidget_ToolTip(void* ptr) { return ({ QByteArray* t791287 = new QByteArray(static_cast(ptr)->toolTip().toUtf8()); QtWidgets_PackedString { const_cast(t791287->prepend("WHITESPACE").constData()+10), t791287->size()-10, t791287 }; }); } int QWidget_ToolTipDuration(void* ptr) { return static_cast(ptr)->toolTipDuration(); } char QWidget_UnderMouse(void* ptr) { return static_cast(ptr)->underMouse(); } void QWidget_UngrabGesture(void* ptr, long long gesture) { static_cast(ptr)->ungrabGesture(static_cast(gesture)); } void QWidget_UnsetCursor(void* ptr) { static_cast(ptr)->unsetCursor(); } void QWidget_UnsetLayoutDirection(void* ptr) { static_cast(ptr)->unsetLayoutDirection(); } void QWidget_UnsetLocale(void* ptr) { static_cast(ptr)->unsetLocale(); } void QWidget_Update(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "update"); } void QWidget_UpdateDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::update(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::update(); } else { static_cast(ptr)->QWidget::update(); } } void QWidget_Update2(void* ptr, int x, int y, int w, int h) { static_cast(ptr)->update(x, y, w, h); } void QWidget_Update3(void* ptr, void* rect) { static_cast(ptr)->update(*static_cast(rect)); } void QWidget_Update4(void* ptr, void* rgn) { static_cast(ptr)->update(*static_cast(rgn)); } void QWidget_UpdateGeometry(void* ptr) { static_cast(ptr)->updateGeometry(); } void QWidget_UpdateMicroFocus(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "updateMicroFocus"); } void QWidget_UpdateMicroFocusDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::updateMicroFocus(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::updateMicroFocus(); } else { static_cast(ptr)->QWidget::updateMicroFocus(); } } char QWidget_UpdatesEnabled(void* ptr) { return static_cast(ptr)->updatesEnabled(); } void* QWidget_VisibleRegion(void* ptr) { return new QRegion(static_cast(ptr)->visibleRegion()); } struct QtWidgets_PackedString QWidget_WhatsThis(void* ptr) { return ({ QByteArray* tb9ec26 = new QByteArray(static_cast(ptr)->whatsThis().toUtf8()); QtWidgets_PackedString { const_cast(tb9ec26->prepend("WHITESPACE").constData()+10), tb9ec26->size()-10, tb9ec26 }; }); } void QWidget_WheelEvent(void* ptr, void* event) { static_cast(ptr)->wheelEvent(static_cast(event)); } void QWidget_WheelEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::wheelEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::wheelEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::wheelEvent(static_cast(event)); } } int QWidget_Width(void* ptr) { return static_cast(ptr)->width(); } uintptr_t QWidget_WinId(void* ptr) { return static_cast(ptr)->winId(); } void* QWidget_Window(void* ptr) { return static_cast(ptr)->window(); } struct QtWidgets_PackedString QWidget_WindowFilePath(void* ptr) { return ({ QByteArray* tc809cf = new QByteArray(static_cast(ptr)->windowFilePath().toUtf8()); QtWidgets_PackedString { const_cast(tc809cf->prepend("WHITESPACE").constData()+10), tc809cf->size()-10, tc809cf }; }); } long long QWidget_WindowFlags(void* ptr) { return static_cast(ptr)->windowFlags(); } void* QWidget_WindowHandle(void* ptr) { return static_cast(ptr)->windowHandle(); } void* QWidget_WindowIcon(void* ptr) { return new QIcon(static_cast(ptr)->windowIcon()); } void QWidget_ConnectWindowIconChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWidget::windowIconChanged), static_cast(ptr), static_cast(&MyQWidget::Signal_WindowIconChanged), static_cast(t)); } void QWidget_DisconnectWindowIconChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWidget::windowIconChanged), static_cast(ptr), static_cast(&MyQWidget::Signal_WindowIconChanged)); } void QWidget_WindowIconChanged(void* ptr, void* icon) { static_cast(ptr)->windowIconChanged(*static_cast(icon)); } struct QtWidgets_PackedString QWidget_WindowIconText(void* ptr) { return ({ QByteArray* t309e48 = new QByteArray(static_cast(ptr)->windowIconText().toUtf8()); QtWidgets_PackedString { const_cast(t309e48->prepend("WHITESPACE").constData()+10), t309e48->size()-10, t309e48 }; }); } long long QWidget_WindowModality(void* ptr) { return static_cast(ptr)->windowModality(); } double QWidget_WindowOpacity(void* ptr) { return static_cast(ptr)->windowOpacity(); } struct QtWidgets_PackedString QWidget_WindowRole(void* ptr) { return ({ QByteArray* t64c9c6 = new QByteArray(static_cast(ptr)->windowRole().toUtf8()); QtWidgets_PackedString { const_cast(t64c9c6->prepend("WHITESPACE").constData()+10), t64c9c6->size()-10, t64c9c6 }; }); } long long QWidget_WindowState(void* ptr) { return static_cast(ptr)->windowState(); } struct QtWidgets_PackedString QWidget_WindowTitle(void* ptr) { return ({ QByteArray* tf3cd6c = new QByteArray(static_cast(ptr)->windowTitle().toUtf8()); QtWidgets_PackedString { const_cast(tf3cd6c->prepend("WHITESPACE").constData()+10), tf3cd6c->size()-10, tf3cd6c }; }); } void QWidget_ConnectWindowTitleChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWidget::windowTitleChanged), static_cast(ptr), static_cast(&MyQWidget::Signal_WindowTitleChanged), static_cast(t)); } void QWidget_DisconnectWindowTitleChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWidget::windowTitleChanged), static_cast(ptr), static_cast(&MyQWidget::Signal_WindowTitleChanged)); } void QWidget_WindowTitleChanged(void* ptr, struct QtWidgets_PackedString title) { static_cast(ptr)->windowTitleChanged(QString::fromUtf8(title.data, title.len)); } long long QWidget_WindowType(void* ptr) { return static_cast(ptr)->windowType(); } int QWidget_X(void* ptr) { return static_cast(ptr)->x(); } int QWidget_Y(void* ptr) { return static_cast(ptr)->y(); } void QWidget_DestroyQWidget(void* ptr) { static_cast(ptr)->~QWidget(); } void QWidget_DestroyQWidgetDefault(void* ptr) { Q_UNUSED(ptr); } void* QWidget___actions_atList(void* ptr, int i) { return ({QAction * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWidget___actions_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QWidget___actions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QWidget___addActions_actions_atList(void* ptr, int i) { return ({QAction * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWidget___addActions_actions_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QWidget___addActions_actions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QWidget___insertActions_actions_atList(void* ptr, int i) { return ({QAction * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWidget___insertActions_actions_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QWidget___insertActions_actions_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QWidget___children_atList(void* ptr, int i) { return ({QObject * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWidget___children_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QWidget___children_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QWidget___dynamicPropertyNames_atList(void* ptr, int i) { return new QByteArray(({QByteArray tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; })); } void QWidget___dynamicPropertyNames_setList(void* ptr, void* i) { static_cast*>(ptr)->append(*static_cast(i)); } void* QWidget___dynamicPropertyNames_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QWidget___findChildren_atList(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWidget___findChildren_setList(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QWidget___findChildren_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } void* QWidget___findChildren_atList3(void* ptr, int i) { return ({QObject* tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWidget___findChildren_setList3(void* ptr, void* i) { if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else if (dynamic_cast(static_cast(i))) { static_cast*>(ptr)->append(static_cast(i)); } else { static_cast*>(ptr)->append(static_cast(i)); } } void* QWidget___findChildren_newList3(void* ptr) { Q_UNUSED(ptr); return new QList(); } void QWidget_ChildEvent(void* ptr, void* event) { static_cast(ptr)->childEvent(static_cast(event)); } void QWidget_ChildEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::childEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::childEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::childEvent(static_cast(event)); } } void QWidget_ConnectNotify(void* ptr, void* sign) { static_cast(ptr)->connectNotify(*static_cast(sign)); } void QWidget_ConnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::connectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::connectNotify(*static_cast(sign)); } else { static_cast(ptr)->QWidget::connectNotify(*static_cast(sign)); } } void QWidget_CustomEvent(void* ptr, void* event) { static_cast(ptr)->customEvent(static_cast(event)); } void QWidget_CustomEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::customEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::customEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::customEvent(static_cast(event)); } } void QWidget_DeleteLater(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "deleteLater"); } void QWidget_DeleteLaterDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::deleteLater(); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::deleteLater(); } else { static_cast(ptr)->QWidget::deleteLater(); } } void QWidget_DisconnectNotify(void* ptr, void* sign) { static_cast(ptr)->disconnectNotify(*static_cast(sign)); } void QWidget_DisconnectNotifyDefault(void* ptr, void* sign) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::disconnectNotify(*static_cast(sign)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::disconnectNotify(*static_cast(sign)); } else { static_cast(ptr)->QWidget::disconnectNotify(*static_cast(sign)); } } char QWidget_EventFilter(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->eventFilter(static_cast(watched), static_cast(event)); } } char QWidget_EventFilterDefault(void* ptr, void* watched, void* event) { if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWizardPage::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWizardPage::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWizardPage::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWizardPage::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QWizardPage::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolBar::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QToolBar::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStatusBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStatusBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStatusBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStatusBar::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QStatusBar::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplitterHandle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplitterHandle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplitterHandle::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplitterHandle::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QSplitterHandle::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplashScreen::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplashScreen::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplashScreen::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplashScreen::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QSplashScreen::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSizeGrip::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSizeGrip::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSizeGrip::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSizeGrip::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QSizeGrip::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QOpenGLWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QOpenGLWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QOpenGLWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QOpenGLWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QOpenGLWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMenuBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMenuBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMenuBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMenuBar::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QMenuBar::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMenu::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMenu::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMenu::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMenu::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QMenu::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMdiSubWindow::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMdiSubWindow::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMdiSubWindow::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMdiSubWindow::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QMdiSubWindow::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMainWindow::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMainWindow::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMainWindow::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMainWindow::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QMainWindow::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QKeySequenceEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QKeySequenceEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QKeySequenceEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QKeySequenceEdit::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QKeySequenceEdit::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLineEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLineEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLineEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLineEdit::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QLineEdit::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGroupBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGroupBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGroupBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGroupBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGroupBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProgressBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProgressBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProgressBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProgressBar::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QProgressBar::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFocusFrame::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFocusFrame::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFocusFrame::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFocusFrame::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QFocusFrame::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDockWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDockWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDockWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDockWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDockWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDialogButtonBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDialogButtonBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDialogButtonBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDialogButtonBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDialogButtonBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDesktopWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDesktopWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDesktopWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDesktopWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDesktopWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFontComboBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFontComboBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFontComboBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFontComboBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QFontComboBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QComboBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QComboBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QComboBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QComboBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QComboBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWizard::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWizard::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWizard::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWizard::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QWizard::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMessageBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMessageBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMessageBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMessageBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QMessageBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QInputDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QInputDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QInputDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QInputDialog::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QInputDialog::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProgressDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProgressDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProgressDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QProgressDialog::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QProgressDialog::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFontDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFontDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFontDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFontDialog::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QFontDialog::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFileDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFileDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFileDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFileDialog::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QFileDialog::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QErrorMessage::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QErrorMessage::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QErrorMessage::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QErrorMessage::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QErrorMessage::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QColorDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QColorDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QColorDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QColorDialog::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QColorDialog::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDialog::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDialog::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDialog::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCalendarWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCalendarWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCalendarWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCalendarWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QCalendarWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QToolBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStackedWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStackedWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStackedWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QStackedWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QStackedWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplitter::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplitter::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplitter::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSplitter::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QSplitter::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLCDNumber::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLCDNumber::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLCDNumber::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLCDNumber::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QLCDNumber::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLabel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLabel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLabel::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QLabel::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QLabel::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPlainTextEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPlainTextEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPlainTextEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPlainTextEdit::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QPlainTextEdit::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTextBrowser::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTextBrowser::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTextBrowser::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTextBrowser::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTextBrowser::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTextEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTextEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTextEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTextEdit::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTextEdit::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMdiArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMdiArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMdiArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QMdiArea::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QMdiArea::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QGraphicsView::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QGraphicsView::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScrollArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScrollArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScrollArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScrollArea::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QScrollArea::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTreeWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTreeWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTreeWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTreeWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTreeWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTreeView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTreeView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTreeView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTreeView::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTreeView::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTableWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTableWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTableWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTableWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTableWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTableView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTableView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTableView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTableView::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTableView::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QUndoView::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QUndoView::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QListWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QListWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QListWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QListWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QListWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QListView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QListView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QListView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QListView::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QListView::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QHeaderView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QHeaderView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QHeaderView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QHeaderView::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QHeaderView::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QColumnView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QColumnView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QColumnView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QColumnView::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QColumnView::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractItemView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractItemView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractItemView::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractItemView::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QAbstractItemView::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractScrollArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractScrollArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractScrollArea::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractScrollArea::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QAbstractScrollArea::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFrame::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFrame::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFrame::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QFrame::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QFrame::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QRubberBand::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QRubberBand::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QRubberBand::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QRubberBand::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QRubberBand::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTabBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTabBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTabBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTabBar::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTabBar::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScrollBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScrollBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScrollBar::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QScrollBar::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QScrollBar::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDial::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDial::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDial::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDial::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDial::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSlider::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSlider::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSlider::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSlider::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QSlider::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractSlider::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractSlider::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractSlider::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractSlider::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QAbstractSlider::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDoubleSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDoubleSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDoubleSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDoubleSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDoubleSpinBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QSpinBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDateEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDateEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDateEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDateEdit::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDateEdit::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDateTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDateTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDateTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QDateTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QDateTimeEdit::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractSpinBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QAbstractSpinBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTabWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTabWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTabWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QTabWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QTabWidget::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QToolButton::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QToolButton::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QRadioButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QRadioButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QRadioButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QRadioButton::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QRadioButton::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCommandLinkButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCommandLinkButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCommandLinkButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCommandLinkButton::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QCommandLinkButton::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPushButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPushButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPushButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QPushButton::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QPushButton::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCheckBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCheckBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCheckBox::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QCheckBox::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QCheckBox::eventFilter(static_cast(watched), static_cast(event)); } } else if (dynamic_cast(static_cast(ptr))) { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractButton::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QAbstractButton::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QAbstractButton::eventFilter(static_cast(watched), static_cast(event)); } } else { if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWidget::eventFilter(static_cast(watched), static_cast(event)); } else if (dynamic_cast(static_cast(watched))) { return static_cast(ptr)->QWidget::eventFilter(static_cast(watched), static_cast(event)); } else { return static_cast(ptr)->QWidget::eventFilter(static_cast(watched), static_cast(event)); } } } void* QWidget_MetaObject(void* ptr) { return const_cast(static_cast(ptr)->metaObject()); } void* QWidget_MetaObjectDefault(void* ptr) { if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QWizardPage::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QToolBar::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QStatusBar::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QSplitterHandle::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QSplashScreen::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QSizeGrip::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QOpenGLWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QMenuBar::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QMenu::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QMdiSubWindow::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QMainWindow::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QKeySequenceEdit::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QLineEdit::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGroupBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QProgressBar::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QFocusFrame::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QDockWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QDialogButtonBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QDesktopWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QFontComboBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QComboBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QWizard::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QMessageBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QInputDialog::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QProgressDialog::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QFontDialog::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QFileDialog::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QErrorMessage::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QColorDialog::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QDialog::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QCalendarWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QToolBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QStackedWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QSplitter::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QLCDNumber::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QLabel::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QPlainTextEdit::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTextBrowser::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTextEdit::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QMdiArea::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QGraphicsView::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QScrollArea::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTreeWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTreeView::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTableWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTableView::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QUndoView::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QListWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QListView::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QHeaderView::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QColumnView::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QAbstractItemView::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QAbstractScrollArea::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QFrame::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QRubberBand::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTabBar::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QScrollBar::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QDial::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QSlider::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QAbstractSlider::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QDoubleSpinBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QSpinBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QDateEdit::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTimeEdit::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QDateTimeEdit::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QAbstractSpinBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QTabWidget::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QToolButton::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QRadioButton::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QCommandLinkButton::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QPushButton::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QCheckBox::metaObject()); } else if (dynamic_cast(static_cast(ptr))) { return const_cast(static_cast(ptr)->QAbstractButton::metaObject()); } else { return const_cast(static_cast(ptr)->QWidget::metaObject()); } } void QWidget_TimerEvent(void* ptr, void* event) { static_cast(ptr)->timerEvent(static_cast(event)); } void QWidget_TimerEventDefault(void* ptr, void* event) { if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizardPage::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBar::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStatusBar::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitterHandle::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplashScreen::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSizeGrip::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QOpenGLWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenuBar::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMenu::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiSubWindow::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMainWindow::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QKeySequenceEdit::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLineEdit::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGroupBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressBar::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFocusFrame::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDockWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialogButtonBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDesktopWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontComboBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QComboBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QWizard::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMessageBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QInputDialog::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QProgressDialog::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFontDialog::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFileDialog::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QErrorMessage::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColorDialog::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDialog::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCalendarWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QStackedWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSplitter::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLCDNumber::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QLabel::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPlainTextEdit::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextBrowser::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTextEdit::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QMdiArea::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QGraphicsView::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollArea::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTreeView::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTableView::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QUndoView::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QListView::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QHeaderView::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QColumnView::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractItemView::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractScrollArea::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QFrame::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRubberBand::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabBar::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QScrollBar::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDial::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSlider::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSlider::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDoubleSpinBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QSpinBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateEdit::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTimeEdit::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QDateTimeEdit::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractSpinBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QTabWidget::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QToolButton::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QRadioButton::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCommandLinkButton::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QPushButton::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QCheckBox::timerEvent(static_cast(event)); } else if (dynamic_cast(static_cast(ptr))) { static_cast(ptr)->QAbstractButton::timerEvent(static_cast(event)); } else { static_cast(ptr)->QWidget::timerEvent(static_cast(event)); } } class MyQWidgetAction: public QWidgetAction { public: MyQWidgetAction(QObject *parent) : QWidgetAction(parent) {QWidgetAction_QWidgetAction_QRegisterMetaType();}; QWidget * createWidget(QWidget * parent) { return static_cast(callbackQWidgetAction_CreateWidget(this, parent)); }; void deleteWidget(QWidget * widget) { callbackQWidgetAction_DeleteWidget(this, widget); }; bool event(QEvent * event) { return callbackQAction_Event(this, event) != 0; }; bool eventFilter(QObject * obj, QEvent * event) { return callbackQAction_EventFilter(this, obj, event) != 0; }; ~MyQWidgetAction() { callbackQWidgetAction_DestroyQWidgetAction(this); }; void Signal_Changed() { callbackQAction_Changed(this); }; void hover() { callbackQAction_Hover(this); }; void Signal_Hovered() { callbackQAction_Hovered(this); }; void setChecked(bool vbo) { callbackQAction_SetChecked(this, vbo); }; void setDisabled(bool b) { callbackQAction_SetDisabled(this, b); }; void setEnabled(bool vbo) { callbackQAction_SetEnabled(this, vbo); }; void setVisible(bool vbo) { callbackQAction_SetVisible(this, vbo); }; void toggle() { callbackQAction_Toggle(this); }; void Signal_Toggled(bool checked) { callbackQAction_Toggled(this, checked); }; void trigger() { callbackQAction_Trigger(this); }; void Signal_Triggered(bool checked) { callbackQAction_Triggered(this, checked); }; void childEvent(QChildEvent * event) { callbackQAction_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQAction_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQAction_CustomEvent(this, event); }; void deleteLater() { callbackQAction_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQAction_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQAction_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQAction_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQAction_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQAction_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QWidgetAction*) Q_DECLARE_METATYPE(MyQWidgetAction*) int QWidgetAction_QWidgetAction_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QWidgetAction_NewQWidgetAction(void* parent) { if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else if (dynamic_cast(static_cast(parent))) { return new MyQWidgetAction(static_cast(parent)); } else { return new MyQWidgetAction(static_cast(parent)); } } void* QWidgetAction_CreateWidget(void* ptr, void* parent) { return static_cast(ptr)->createWidget(static_cast(parent)); } void* QWidgetAction_CreateWidgetDefault(void* ptr, void* parent) { return static_cast(ptr)->QWidgetAction::createWidget(static_cast(parent)); } struct QtWidgets_PackedList QWidgetAction_CreatedWidgets(void* ptr) { return ({ QList* tmpValued33f9e = new QList(static_cast(ptr)->createdWidgets()); QtWidgets_PackedList { tmpValued33f9e, tmpValued33f9e->size() }; }); } void* QWidgetAction_DefaultWidget(void* ptr) { return static_cast(ptr)->defaultWidget(); } void QWidgetAction_DeleteWidget(void* ptr, void* widget) { static_cast(ptr)->deleteWidget(static_cast(widget)); } void QWidgetAction_DeleteWidgetDefault(void* ptr, void* widget) { static_cast(ptr)->QWidgetAction::deleteWidget(static_cast(widget)); } void QWidgetAction_ReleaseWidget(void* ptr, void* widget) { static_cast(ptr)->releaseWidget(static_cast(widget)); } void* QWidgetAction_RequestWidget(void* ptr, void* parent) { return static_cast(ptr)->requestWidget(static_cast(parent)); } void QWidgetAction_SetDefaultWidget(void* ptr, void* widget) { static_cast(ptr)->setDefaultWidget(static_cast(widget)); } void QWidgetAction_DestroyQWidgetAction(void* ptr) { static_cast(ptr)->~QWidgetAction(); } void QWidgetAction_DestroyQWidgetActionDefault(void* ptr) { Q_UNUSED(ptr); } void* QWidgetAction___createdWidgets_atList(void* ptr, int i) { return ({QWidget * tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWidgetAction___createdWidgets_setList(void* ptr, void* i) { static_cast*>(ptr)->append(static_cast(i)); } void* QWidgetAction___createdWidgets_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQWidgetItem: public QWidgetItem { public: MyQWidgetItem(QWidget *widget) : QWidgetItem(widget) {QWidgetItem_QWidgetItem_QRegisterMetaType();}; QSizePolicy::ControlTypes controlTypes() const { return static_cast(callbackQLayoutItem_ControlTypes(const_cast(static_cast(this)))); }; Qt::Orientations expandingDirections() const { return static_cast(callbackQWidgetItem_ExpandingDirections(const_cast(static_cast(this)))); }; QRect geometry() const { return *static_cast(callbackQWidgetItem_Geometry(const_cast(static_cast(this)))); }; bool hasHeightForWidth() const { return callbackQLayoutItem_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQLayoutItem_HeightForWidth(const_cast(static_cast(this)), w); }; bool isEmpty() const { return callbackQWidgetItem_IsEmpty(const_cast(static_cast(this))) != 0; }; QSize maximumSize() const { return *static_cast(callbackQWidgetItem_MaximumSize(const_cast(static_cast(this)))); }; QSize minimumSize() const { return *static_cast(callbackQWidgetItem_MinimumSize(const_cast(static_cast(this)))); }; void setGeometry(const QRect & rect) { callbackQWidgetItem_SetGeometry(this, const_cast(&rect)); }; QSize sizeHint() const { return *static_cast(callbackQWidgetItem_SizeHint(const_cast(static_cast(this)))); }; QWidget * widget() { return static_cast(callbackQLayoutItem_Widget(this)); }; ~MyQWidgetItem() { callbackQWidgetItem_DestroyQWidgetItem(this); }; void invalidate() { callbackQLayoutItem_Invalidate(this); }; QLayout * layout() { return static_cast(callbackQLayoutItem_Layout(this)); }; int minimumHeightForWidth(int w) const { return callbackQLayoutItem_MinimumHeightForWidth(const_cast(static_cast(this)), w); }; QSpacerItem * spacerItem() { return static_cast(callbackQLayoutItem_SpacerItem(this)); }; }; Q_DECLARE_METATYPE(QWidgetItem*) Q_DECLARE_METATYPE(MyQWidgetItem*) int QWidgetItem_QWidgetItem_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QWidgetItem_NewQWidgetItem2(void* widget) { return new MyQWidgetItem(static_cast(widget)); } long long QWidgetItem_ExpandingDirections(void* ptr) { return static_cast(ptr)->expandingDirections(); } long long QWidgetItem_ExpandingDirectionsDefault(void* ptr) { return static_cast(ptr)->QWidgetItem::expandingDirections(); } void* QWidgetItem_Geometry(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } void* QWidgetItem_GeometryDefault(void* ptr) { return ({ QRect tmpValue = static_cast(ptr)->QWidgetItem::geometry(); new QRect(tmpValue.x(), tmpValue.y(), tmpValue.width(), tmpValue.height()); }); } char QWidgetItem_IsEmpty(void* ptr) { return static_cast(ptr)->isEmpty(); } char QWidgetItem_IsEmptyDefault(void* ptr) { return static_cast(ptr)->QWidgetItem::isEmpty(); } void* QWidgetItem_MaximumSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidgetItem_MaximumSizeDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QWidgetItem::maximumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidgetItem_MinimumSize(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidgetItem_MinimumSizeDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QWidgetItem::minimumSize(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QWidgetItem_SetGeometry(void* ptr, void* rect) { static_cast(ptr)->setGeometry(*static_cast(rect)); } void QWidgetItem_SetGeometryDefault(void* ptr, void* rect) { static_cast(ptr)->QWidgetItem::setGeometry(*static_cast(rect)); } void* QWidgetItem_SizeHint(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void* QWidgetItem_SizeHintDefault(void* ptr) { return ({ QSize tmpValue = static_cast(ptr)->QWidgetItem::sizeHint(); new QSize(tmpValue.width(), tmpValue.height()); }); } void QWidgetItem_DestroyQWidgetItem(void* ptr) { static_cast(ptr)->~QWidgetItem(); } void QWidgetItem_DestroyQWidgetItemDefault(void* ptr) { Q_UNUSED(ptr); } class MyQWizard: public QWizard { public: MyQWizard(QWidget *parent = Q_NULLPTR, Qt::WindowFlags flags = Qt::WindowFlags()) : QWizard(parent, flags) {QWizard_QWizard_QRegisterMetaType();}; void back() { callbackQWizard_Back(this); }; void cleanupPage(int id) { callbackQWizard_CleanupPage(this, id); }; void Signal_CurrentIdChanged(int id) { callbackQWizard_CurrentIdChanged(this, id); }; void Signal_CustomButtonClicked(int which) { callbackQWizard_CustomButtonClicked(this, which); }; void done(int result) { callbackQWizard_Done(this, result); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void Signal_HelpRequested() { callbackQWizard_HelpRequested(this); }; void initializePage(int id) { callbackQWizard_InitializePage(this, id); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; void next() { callbackQWizard_Next(this); }; int nextId() const { return callbackQWizard_NextId(const_cast(static_cast(this))); }; void Signal_PageAdded(int id) { callbackQWizard_PageAdded(this, id); }; void Signal_PageRemoved(int id) { callbackQWizard_PageRemoved(this, id); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void restart() { callbackQWizard_Restart(this); }; void setVisible(bool visible) { callbackQDialog_SetVisible(this, visible); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; bool validateCurrentPage() { return callbackQWizard_ValidateCurrentPage(this) != 0; }; ~MyQWizard() { callbackQWizard_DestroyQWizard(this); }; void accept() { callbackQDialog_Accept(this); }; void Signal_Accepted() { callbackQDialog_Accepted(this); }; void closeEvent(QCloseEvent * e) { callbackQWidget_CloseEvent(this, e); }; void contextMenuEvent(QContextMenuEvent * e) { callbackQWidget_ContextMenuEvent(this, e); }; bool eventFilter(QObject * o, QEvent * e) { return callbackQWidget_EventFilter(this, o, e) != 0; }; int exec() { return callbackQDialog_Exec(this); }; void Signal_Finished(int result) { callbackQDialog_Finished(this, result); }; void keyPressEvent(QKeyEvent * e) { callbackQWidget_KeyPressEvent(this, e); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void open() { callbackQDialog_Open(this); }; void reject() { callbackQDialog_Reject(this); }; void Signal_Rejected() { callbackQDialog_Rejected(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QWizard*) Q_DECLARE_METATYPE(MyQWizard*) int QWizard_QWizard_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QWizard_NewQWizard(void* parent, long long flags) { return new MyQWizard(static_cast(parent), static_cast(flags)); } int QWizard_AddPage(void* ptr, void* page) { return static_cast(ptr)->addPage(static_cast(page)); } void QWizard_Back(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "back"); } void QWizard_BackDefault(void* ptr) { static_cast(ptr)->QWizard::back(); } void* QWizard_Button(void* ptr, long long which) { return static_cast(ptr)->button(static_cast(which)); } struct QtWidgets_PackedString QWizard_ButtonText(void* ptr, long long which) { return ({ QByteArray* tdb6a3d = new QByteArray(static_cast(ptr)->buttonText(static_cast(which)).toUtf8()); QtWidgets_PackedString { const_cast(tdb6a3d->prepend("WHITESPACE").constData()+10), tdb6a3d->size()-10, tdb6a3d }; }); } void QWizard_CleanupPage(void* ptr, int id) { static_cast(ptr)->cleanupPage(id); } void QWizard_CleanupPageDefault(void* ptr, int id) { static_cast(ptr)->QWizard::cleanupPage(id); } int QWizard_CurrentId(void* ptr) { return static_cast(ptr)->currentId(); } void QWizard_ConnectCurrentIdChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWizard::currentIdChanged), static_cast(ptr), static_cast(&MyQWizard::Signal_CurrentIdChanged), static_cast(t)); } void QWizard_DisconnectCurrentIdChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWizard::currentIdChanged), static_cast(ptr), static_cast(&MyQWizard::Signal_CurrentIdChanged)); } void QWizard_CurrentIdChanged(void* ptr, int id) { static_cast(ptr)->currentIdChanged(id); } void* QWizard_CurrentPage(void* ptr) { return static_cast(ptr)->currentPage(); } void QWizard_ConnectCustomButtonClicked(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWizard::customButtonClicked), static_cast(ptr), static_cast(&MyQWizard::Signal_CustomButtonClicked), static_cast(t)); } void QWizard_DisconnectCustomButtonClicked(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWizard::customButtonClicked), static_cast(ptr), static_cast(&MyQWizard::Signal_CustomButtonClicked)); } void QWizard_CustomButtonClicked(void* ptr, int which) { static_cast(ptr)->customButtonClicked(which); } void QWizard_Done(void* ptr, int result) { static_cast(ptr)->done(result); } void QWizard_DoneDefault(void* ptr, int result) { static_cast(ptr)->QWizard::done(result); } void* QWizard_Field(void* ptr, struct QtWidgets_PackedString name) { return new QVariant(static_cast(ptr)->field(QString::fromUtf8(name.data, name.len))); } char QWizard_HasVisitedPage(void* ptr, int id) { return static_cast(ptr)->hasVisitedPage(id); } void QWizard_ConnectHelpRequested(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWizard::helpRequested), static_cast(ptr), static_cast(&MyQWizard::Signal_HelpRequested), static_cast(t)); } void QWizard_DisconnectHelpRequested(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWizard::helpRequested), static_cast(ptr), static_cast(&MyQWizard::Signal_HelpRequested)); } void QWizard_HelpRequested(void* ptr) { static_cast(ptr)->helpRequested(); } void QWizard_InitializePage(void* ptr, int id) { static_cast(ptr)->initializePage(id); } void QWizard_InitializePageDefault(void* ptr, int id) { static_cast(ptr)->QWizard::initializePage(id); } void QWizard_Next(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "next"); } void QWizard_NextDefault(void* ptr) { static_cast(ptr)->QWizard::next(); } int QWizard_NextId(void* ptr) { return static_cast(ptr)->nextId(); } int QWizard_NextIdDefault(void* ptr) { return static_cast(ptr)->QWizard::nextId(); } long long QWizard_Options(void* ptr) { return static_cast(ptr)->options(); } void* QWizard_Page(void* ptr, int id) { return static_cast(ptr)->page(id); } void QWizard_ConnectPageAdded(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWizard::pageAdded), static_cast(ptr), static_cast(&MyQWizard::Signal_PageAdded), static_cast(t)); } void QWizard_DisconnectPageAdded(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWizard::pageAdded), static_cast(ptr), static_cast(&MyQWizard::Signal_PageAdded)); } void QWizard_PageAdded(void* ptr, int id) { static_cast(ptr)->pageAdded(id); } struct QtWidgets_PackedList QWizard_PageIds(void* ptr) { return ({ QList* tmpValuec08e79 = new QList(static_cast(ptr)->pageIds()); QtWidgets_PackedList { tmpValuec08e79, tmpValuec08e79->size() }; }); } void QWizard_ConnectPageRemoved(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWizard::pageRemoved), static_cast(ptr), static_cast(&MyQWizard::Signal_PageRemoved), static_cast(t)); } void QWizard_DisconnectPageRemoved(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWizard::pageRemoved), static_cast(ptr), static_cast(&MyQWizard::Signal_PageRemoved)); } void QWizard_PageRemoved(void* ptr, int id) { static_cast(ptr)->pageRemoved(id); } void* QWizard_Pixmap(void* ptr, long long which) { return new QPixmap(static_cast(ptr)->pixmap(static_cast(which))); } void QWizard_RemovePage(void* ptr, int id) { static_cast(ptr)->removePage(id); } void QWizard_Restart(void* ptr) { QMetaObject::invokeMethod(static_cast(ptr), "restart"); } void QWizard_RestartDefault(void* ptr) { static_cast(ptr)->QWizard::restart(); } void QWizard_SetButton(void* ptr, long long which, void* button) { static_cast(ptr)->setButton(static_cast(which), static_cast(button)); } void QWizard_SetButtonText(void* ptr, long long which, struct QtWidgets_PackedString text) { static_cast(ptr)->setButtonText(static_cast(which), QString::fromUtf8(text.data, text.len)); } void QWizard_SetDefaultProperty(void* ptr, char* className, char* property, char* changedSignal) { static_cast(ptr)->setDefaultProperty(const_cast(className), const_cast(property), const_cast(changedSignal)); } void QWizard_SetField(void* ptr, struct QtWidgets_PackedString name, void* value) { static_cast(ptr)->setField(QString::fromUtf8(name.data, name.len), *static_cast(value)); } void QWizard_SetOption(void* ptr, long long option, char on) { static_cast(ptr)->setOption(static_cast(option), on != 0); } void QWizard_SetOptions(void* ptr, long long options) { static_cast(ptr)->setOptions(static_cast(options)); } void QWizard_SetPage(void* ptr, int id, void* page) { static_cast(ptr)->setPage(id, static_cast(page)); } void QWizard_SetPixmap(void* ptr, long long which, void* pixmap) { static_cast(ptr)->setPixmap(static_cast(which), *static_cast(pixmap)); } void QWizard_SetSideWidget(void* ptr, void* widget) { static_cast(ptr)->setSideWidget(static_cast(widget)); } void QWizard_SetStartId(void* ptr, int id) { static_cast(ptr)->setStartId(id); } void QWizard_SetSubTitleFormat(void* ptr, long long format) { static_cast(ptr)->setSubTitleFormat(static_cast(format)); } void QWizard_SetTitleFormat(void* ptr, long long format) { static_cast(ptr)->setTitleFormat(static_cast(format)); } void QWizard_SetWizardStyle(void* ptr, long long style) { static_cast(ptr)->setWizardStyle(static_cast(style)); } void* QWizard_SideWidget(void* ptr) { return static_cast(ptr)->sideWidget(); } int QWizard_StartId(void* ptr) { return static_cast(ptr)->startId(); } long long QWizard_SubTitleFormat(void* ptr) { return static_cast(ptr)->subTitleFormat(); } char QWizard_TestOption(void* ptr, long long option) { return static_cast(ptr)->testOption(static_cast(option)); } long long QWizard_TitleFormat(void* ptr) { return static_cast(ptr)->titleFormat(); } char QWizard_ValidateCurrentPage(void* ptr) { return static_cast(ptr)->validateCurrentPage(); } char QWizard_ValidateCurrentPageDefault(void* ptr) { return static_cast(ptr)->QWizard::validateCurrentPage(); } struct QtWidgets_PackedList QWizard_VisitedPages(void* ptr) { return ({ QList* tmpValue0f21c6 = new QList(static_cast(ptr)->visitedPages()); QtWidgets_PackedList { tmpValue0f21c6, tmpValue0f21c6->size() }; }); } long long QWizard_WizardStyle(void* ptr) { return static_cast(ptr)->wizardStyle(); } void QWizard_DestroyQWizard(void* ptr) { static_cast(ptr)->~QWizard(); } void QWizard_DestroyQWizardDefault(void* ptr) { Q_UNUSED(ptr); } int QWizard___pageIds_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWizard___pageIds_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QWizard___pageIds_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } int QWizard___visitedPages_atList(void* ptr, int i) { return ({int tmp = static_cast*>(ptr)->at(i); if (i == static_cast*>(ptr)->size()-1) { static_cast*>(ptr)->~QList(); free(ptr); }; tmp; }); } void QWizard___visitedPages_setList(void* ptr, int i) { static_cast*>(ptr)->append(i); } void* QWizard___visitedPages_newList(void* ptr) { Q_UNUSED(ptr); return new QList(); } class MyQWizardPage: public QWizardPage { public: MyQWizardPage(QWidget *parent = Q_NULLPTR) : QWizardPage(parent) {QWizardPage_QWizardPage_QRegisterMetaType();}; void cleanupPage() { callbackQWizardPage_CleanupPage(this); }; void Signal_CompleteChanged() { callbackQWizardPage_CompleteChanged(this); }; void initializePage() { callbackQWizardPage_InitializePage(this); }; bool isComplete() const { return callbackQWizardPage_IsComplete(const_cast(static_cast(this))) != 0; }; int nextId() const { return callbackQWizardPage_NextId(const_cast(static_cast(this))); }; bool validatePage() { return callbackQWizardPage_ValidatePage(this) != 0; }; ~MyQWizardPage() { callbackQWizardPage_DestroyQWizardPage(this); }; void actionEvent(QActionEvent * event) { callbackQWidget_ActionEvent(this, event); }; void changeEvent(QEvent * event) { callbackQWidget_ChangeEvent(this, event); }; bool close() { return callbackQWidget_Close(this) != 0; }; void closeEvent(QCloseEvent * event) { callbackQWidget_CloseEvent(this, event); }; void contextMenuEvent(QContextMenuEvent * event) { callbackQWidget_ContextMenuEvent(this, event); }; void Signal_CustomContextMenuRequested(const QPoint & pos) { callbackQWidget_CustomContextMenuRequested(this, const_cast(&pos)); }; void dragEnterEvent(QDragEnterEvent * event) { callbackQWidget_DragEnterEvent(this, event); }; void dragLeaveEvent(QDragLeaveEvent * event) { callbackQWidget_DragLeaveEvent(this, event); }; void dragMoveEvent(QDragMoveEvent * event) { callbackQWidget_DragMoveEvent(this, event); }; void dropEvent(QDropEvent * event) { callbackQWidget_DropEvent(this, event); }; void enterEvent(QEvent * event) { callbackQWidget_EnterEvent(this, event); }; bool event(QEvent * event) { return callbackQWidget_Event(this, event) != 0; }; void focusInEvent(QFocusEvent * event) { callbackQWidget_FocusInEvent(this, event); }; bool focusNextPrevChild(bool next) { return callbackQWidget_FocusNextPrevChild(this, next) != 0; }; void focusOutEvent(QFocusEvent * event) { callbackQWidget_FocusOutEvent(this, event); }; bool hasHeightForWidth() const { return callbackQWidget_HasHeightForWidth(const_cast(static_cast(this))) != 0; }; int heightForWidth(int w) const { return callbackQWidget_HeightForWidth(const_cast(static_cast(this)), w); }; void hide() { callbackQWidget_Hide(this); }; void hideEvent(QHideEvent * event) { callbackQWidget_HideEvent(this, event); }; void initPainter(QPainter * painter) const { callbackQWidget_InitPainter(const_cast(static_cast(this)), painter); }; void inputMethodEvent(QInputMethodEvent * event) { callbackQWidget_InputMethodEvent(this, event); }; QVariant inputMethodQuery(Qt::InputMethodQuery query) const { return *static_cast(callbackQWidget_InputMethodQuery(const_cast(static_cast(this)), query)); }; void keyPressEvent(QKeyEvent * event) { callbackQWidget_KeyPressEvent(this, event); }; void keyReleaseEvent(QKeyEvent * event) { callbackQWidget_KeyReleaseEvent(this, event); }; void leaveEvent(QEvent * event) { callbackQWidget_LeaveEvent(this, event); }; void lower() { callbackQWidget_Lower(this); }; int metric(QPaintDevice::PaintDeviceMetric m) const { return callbackQWidget_Metric(const_cast(static_cast(this)), m); }; QSize minimumSizeHint() const { return *static_cast(callbackQWidget_MinimumSizeHint(const_cast(static_cast(this)))); }; void mouseDoubleClickEvent(QMouseEvent * event) { callbackQWidget_MouseDoubleClickEvent(this, event); }; void mouseMoveEvent(QMouseEvent * event) { callbackQWidget_MouseMoveEvent(this, event); }; void mousePressEvent(QMouseEvent * event) { callbackQWidget_MousePressEvent(this, event); }; void mouseReleaseEvent(QMouseEvent * event) { callbackQWidget_MouseReleaseEvent(this, event); }; void moveEvent(QMoveEvent * event) { callbackQWidget_MoveEvent(this, event); }; bool nativeEvent(const QByteArray & eventType, void * message, long * result) { return callbackQWidget_NativeEvent(this, const_cast(&eventType), message, result) != 0; }; QPaintEngine * paintEngine() const { return static_cast(callbackQWidget_PaintEngine(const_cast(static_cast(this)))); }; void paintEvent(QPaintEvent * event) { callbackQWidget_PaintEvent(this, event); }; void raise() { callbackQWidget_Raise(this); }; void repaint() { callbackQWidget_Repaint(this); }; void resizeEvent(QResizeEvent * event) { callbackQWidget_ResizeEvent(this, event); }; void setDisabled(bool disable) { callbackQWidget_SetDisabled(this, disable); }; void setEnabled(bool vbo) { callbackQWidget_SetEnabled(this, vbo); }; void setFocus() { callbackQWidget_SetFocus2(this); }; void setHidden(bool hidden) { callbackQWidget_SetHidden(this, hidden); }; void setStyleSheet(const QString & styleSheet) { QByteArray* t728ae7 = new QByteArray(styleSheet.toUtf8()); QtWidgets_PackedString styleSheetPacked = { const_cast(t728ae7->prepend("WHITESPACE").constData()+10), t728ae7->size()-10, t728ae7 };callbackQWidget_SetStyleSheet(this, styleSheetPacked); }; void setVisible(bool visible) { callbackQWidget_SetVisible(this, visible); }; void setWindowModified(bool vbo) { callbackQWidget_SetWindowModified(this, vbo); }; void setWindowTitle(const QString & vqs) { QByteArray* tda39a3 = new QByteArray(vqs.toUtf8()); QtWidgets_PackedString vqsPacked = { const_cast(tda39a3->prepend("WHITESPACE").constData()+10), tda39a3->size()-10, tda39a3 };callbackQWidget_SetWindowTitle(this, vqsPacked); }; void show() { callbackQWidget_Show(this); }; void showEvent(QShowEvent * event) { callbackQWidget_ShowEvent(this, event); }; void showFullScreen() { callbackQWidget_ShowFullScreen(this); }; void showMaximized() { callbackQWidget_ShowMaximized(this); }; void showMinimized() { callbackQWidget_ShowMinimized(this); }; void showNormal() { callbackQWidget_ShowNormal(this); }; QSize sizeHint() const { return *static_cast(callbackQWidget_SizeHint(const_cast(static_cast(this)))); }; void tabletEvent(QTabletEvent * event) { callbackQWidget_TabletEvent(this, event); }; void update() { callbackQWidget_Update(this); }; void updateMicroFocus() { callbackQWidget_UpdateMicroFocus(this); }; void wheelEvent(QWheelEvent * event) { callbackQWidget_WheelEvent(this, event); }; void Signal_WindowIconChanged(const QIcon & icon) { callbackQWidget_WindowIconChanged(this, const_cast(&icon)); }; void Signal_WindowTitleChanged(const QString & title) { QByteArray* t3c6de1 = new QByteArray(title.toUtf8()); QtWidgets_PackedString titlePacked = { const_cast(t3c6de1->prepend("WHITESPACE").constData()+10), t3c6de1->size()-10, t3c6de1 };callbackQWidget_WindowTitleChanged(this, titlePacked); }; void childEvent(QChildEvent * event) { callbackQWidget_ChildEvent(this, event); }; void connectNotify(const QMetaMethod & sign) { callbackQWidget_ConnectNotify(this, const_cast(&sign)); }; void customEvent(QEvent * event) { callbackQWidget_CustomEvent(this, event); }; void deleteLater() { callbackQWidget_DeleteLater(this); }; void Signal_Destroyed(QObject * obj) { callbackQWidget_Destroyed(this, obj); }; void disconnectNotify(const QMetaMethod & sign) { callbackQWidget_DisconnectNotify(this, const_cast(&sign)); }; bool eventFilter(QObject * watched, QEvent * event) { return callbackQWidget_EventFilter(this, watched, event) != 0; }; const QMetaObject * metaObject() const { return static_cast(callbackQWidget_MetaObject(const_cast(static_cast(this)))); }; void Signal_ObjectNameChanged(const QString & objectName) { QByteArray* taa2c4f = new QByteArray(objectName.toUtf8()); QtWidgets_PackedString objectNamePacked = { const_cast(taa2c4f->prepend("WHITESPACE").constData()+10), taa2c4f->size()-10, taa2c4f };callbackQWidget_ObjectNameChanged(this, objectNamePacked); }; void timerEvent(QTimerEvent * event) { callbackQWidget_TimerEvent(this, event); }; }; Q_DECLARE_METATYPE(QWizardPage*) Q_DECLARE_METATYPE(MyQWizardPage*) int QWizardPage_QWizardPage_QRegisterMetaType(){qRegisterMetaType(); return qRegisterMetaType();} void* QWizardPage_NewQWizardPage(void* parent) { return new MyQWizardPage(static_cast(parent)); } struct QtWidgets_PackedString QWizardPage_ButtonText(void* ptr, long long which) { return ({ QByteArray* t060d80 = new QByteArray(static_cast(ptr)->buttonText(static_cast(which)).toUtf8()); QtWidgets_PackedString { const_cast(t060d80->prepend("WHITESPACE").constData()+10), t060d80->size()-10, t060d80 }; }); } void QWizardPage_CleanupPage(void* ptr) { static_cast(ptr)->cleanupPage(); } void QWizardPage_CleanupPageDefault(void* ptr) { static_cast(ptr)->QWizardPage::cleanupPage(); } void QWizardPage_ConnectCompleteChanged(void* ptr, long long t) { QObject::connect(static_cast(ptr), static_cast(&QWizardPage::completeChanged), static_cast(ptr), static_cast(&MyQWizardPage::Signal_CompleteChanged), static_cast(t)); } void QWizardPage_DisconnectCompleteChanged(void* ptr) { QObject::disconnect(static_cast(ptr), static_cast(&QWizardPage::completeChanged), static_cast(ptr), static_cast(&MyQWizardPage::Signal_CompleteChanged)); } void QWizardPage_CompleteChanged(void* ptr) { static_cast(ptr)->completeChanged(); } void* QWizardPage_Field(void* ptr, struct QtWidgets_PackedString name) { return new QVariant(static_cast(ptr)->field(QString::fromUtf8(name.data, name.len))); } void QWizardPage_InitializePage(void* ptr) { static_cast(ptr)->initializePage(); } void QWizardPage_InitializePageDefault(void* ptr) { static_cast(ptr)->QWizardPage::initializePage(); } char QWizardPage_IsCommitPage(void* ptr) { return static_cast(ptr)->isCommitPage(); } char QWizardPage_IsComplete(void* ptr) { return static_cast(ptr)->isComplete(); } char QWizardPage_IsCompleteDefault(void* ptr) { return static_cast(ptr)->QWizardPage::isComplete(); } char QWizardPage_IsFinalPage(void* ptr) { return static_cast(ptr)->isFinalPage(); } int QWizardPage_NextId(void* ptr) { return static_cast(ptr)->nextId(); } int QWizardPage_NextIdDefault(void* ptr) { return static_cast(ptr)->QWizardPage::nextId(); } void* QWizardPage_Pixmap(void* ptr, long long which) { return new QPixmap(static_cast(ptr)->pixmap(static_cast(which))); } void QWizardPage_RegisterField(void* ptr, struct QtWidgets_PackedString name, void* widget, char* property, char* changedSignal) { static_cast(ptr)->registerField(QString::fromUtf8(name.data, name.len), static_cast(widget), const_cast(property), const_cast(changedSignal)); } void QWizardPage_SetButtonText(void* ptr, long long which, struct QtWidgets_PackedString text) { static_cast(ptr)->setButtonText(static_cast(which), QString::fromUtf8(text.data, text.len)); } void QWizardPage_SetCommitPage(void* ptr, char commitPage) { static_cast(ptr)->setCommitPage(commitPage != 0); } void QWizardPage_SetField(void* ptr, struct QtWidgets_PackedString name, void* value) { static_cast(ptr)->setField(QString::fromUtf8(name.data, name.len), *static_cast(value)); } void QWizardPage_SetFinalPage(void* ptr, char finalPage) { static_cast(ptr)->setFinalPage(finalPage != 0); } void QWizardPage_SetPixmap(void* ptr, long long which, void* pixmap) { static_cast(ptr)->setPixmap(static_cast(which), *static_cast(pixmap)); } void QWizardPage_SetSubTitle(void* ptr, struct QtWidgets_PackedString subTitle) { static_cast(ptr)->setSubTitle(QString::fromUtf8(subTitle.data, subTitle.len)); } void QWizardPage_SetTitle(void* ptr, struct QtWidgets_PackedString title) { static_cast(ptr)->setTitle(QString::fromUtf8(title.data, title.len)); } struct QtWidgets_PackedString QWizardPage_SubTitle(void* ptr) { return ({ QByteArray* t00cff1 = new QByteArray(static_cast(ptr)->subTitle().toUtf8()); QtWidgets_PackedString { const_cast(t00cff1->prepend("WHITESPACE").constData()+10), t00cff1->size()-10, t00cff1 }; }); } struct QtWidgets_PackedString QWizardPage_Title(void* ptr) { return ({ QByteArray* tf87e47 = new QByteArray(static_cast(ptr)->title().toUtf8()); QtWidgets_PackedString { const_cast(tf87e47->prepend("WHITESPACE").constData()+10), tf87e47->size()-10, tf87e47 }; }); } char QWizardPage_ValidatePage(void* ptr) { return static_cast(ptr)->validatePage(); } char QWizardPage_ValidatePageDefault(void* ptr) { return static_cast(ptr)->QWizardPage::validatePage(); } void* QWizardPage_Wizard(void* ptr) { return static_cast(ptr)->wizard(); } void QWizardPage_DestroyQWizardPage(void* ptr) { static_cast(ptr)->~QWizardPage(); } void QWizardPage_DestroyQWizardPageDefault(void* ptr) { Q_UNUSED(ptr); }