#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include "gen_qcombobox.h" #ifndef _Bool #define _Bool bool #endif #include "_cgo_export.h" class MiqtVirtualQComboBox : public virtual QComboBox { public: MiqtVirtualQComboBox(QWidget* parent): QComboBox(parent) {}; MiqtVirtualQComboBox(): QComboBox() {}; virtual ~MiqtVirtualQComboBox() = default; // cgo.Handle value for overwritten implementation intptr_t handle__SetModel = 0; // Subclass to allow providing a Go implementation virtual void setModel(QAbstractItemModel* model) override { if (handle__SetModel == 0) { QComboBox::setModel(model); return; } QAbstractItemModel* sigval1 = model; miqt_exec_callback_QComboBox_SetModel(this, handle__SetModel, sigval1); } // Wrapper to allow calling protected method void virtualbase_SetModel(QAbstractItemModel* model) { QComboBox::setModel(model); } // cgo.Handle value for overwritten implementation intptr_t handle__SizeHint = 0; // Subclass to allow providing a Go implementation virtual QSize sizeHint() const override { if (handle__SizeHint == 0) { return QComboBox::sizeHint(); } QSize* callback_return_value = miqt_exec_callback_QComboBox_SizeHint(const_cast(this), handle__SizeHint); return *callback_return_value; } // Wrapper to allow calling protected method QSize* virtualbase_SizeHint() const { return new QSize(QComboBox::sizeHint()); } // cgo.Handle value for overwritten implementation intptr_t handle__MinimumSizeHint = 0; // Subclass to allow providing a Go implementation virtual QSize minimumSizeHint() const override { if (handle__MinimumSizeHint == 0) { return QComboBox::minimumSizeHint(); } QSize* callback_return_value = miqt_exec_callback_QComboBox_MinimumSizeHint(const_cast(this), handle__MinimumSizeHint); return *callback_return_value; } // Wrapper to allow calling protected method QSize* virtualbase_MinimumSizeHint() const { return new QSize(QComboBox::minimumSizeHint()); } // cgo.Handle value for overwritten implementation intptr_t handle__ShowPopup = 0; // Subclass to allow providing a Go implementation virtual void showPopup() override { if (handle__ShowPopup == 0) { QComboBox::showPopup(); return; } miqt_exec_callback_QComboBox_ShowPopup(this, handle__ShowPopup); } // Wrapper to allow calling protected method void virtualbase_ShowPopup() { QComboBox::showPopup(); } // cgo.Handle value for overwritten implementation intptr_t handle__HidePopup = 0; // Subclass to allow providing a Go implementation virtual void hidePopup() override { if (handle__HidePopup == 0) { QComboBox::hidePopup(); return; } miqt_exec_callback_QComboBox_HidePopup(this, handle__HidePopup); } // Wrapper to allow calling protected method void virtualbase_HidePopup() { QComboBox::hidePopup(); } // cgo.Handle value for overwritten implementation intptr_t handle__Event = 0; // Subclass to allow providing a Go implementation virtual bool event(QEvent* event) override { if (handle__Event == 0) { return QComboBox::event(event); } QEvent* sigval1 = event; bool callback_return_value = miqt_exec_callback_QComboBox_Event(this, handle__Event, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_Event(QEvent* event) { return QComboBox::event(event); } // cgo.Handle value for overwritten implementation intptr_t handle__InputMethodQuery = 0; // Subclass to allow providing a Go implementation virtual QVariant inputMethodQuery(Qt::InputMethodQuery param1) const override { if (handle__InputMethodQuery == 0) { return QComboBox::inputMethodQuery(param1); } Qt::InputMethodQuery param1_ret = param1; int sigval1 = static_cast(param1_ret); QVariant* callback_return_value = miqt_exec_callback_QComboBox_InputMethodQuery(const_cast(this), handle__InputMethodQuery, sigval1); return *callback_return_value; } // Wrapper to allow calling protected method QVariant* virtualbase_InputMethodQuery(int param1) const { return new QVariant(QComboBox::inputMethodQuery(static_cast(param1))); } // cgo.Handle value for overwritten implementation intptr_t handle__FocusInEvent = 0; // Subclass to allow providing a Go implementation virtual void focusInEvent(QFocusEvent* e) override { if (handle__FocusInEvent == 0) { QComboBox::focusInEvent(e); return; } QFocusEvent* sigval1 = e; miqt_exec_callback_QComboBox_FocusInEvent(this, handle__FocusInEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_FocusInEvent(QFocusEvent* e) { QComboBox::focusInEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__FocusOutEvent = 0; // Subclass to allow providing a Go implementation virtual void focusOutEvent(QFocusEvent* e) override { if (handle__FocusOutEvent == 0) { QComboBox::focusOutEvent(e); return; } QFocusEvent* sigval1 = e; miqt_exec_callback_QComboBox_FocusOutEvent(this, handle__FocusOutEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_FocusOutEvent(QFocusEvent* e) { QComboBox::focusOutEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__ChangeEvent = 0; // Subclass to allow providing a Go implementation virtual void changeEvent(QEvent* e) override { if (handle__ChangeEvent == 0) { QComboBox::changeEvent(e); return; } QEvent* sigval1 = e; miqt_exec_callback_QComboBox_ChangeEvent(this, handle__ChangeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ChangeEvent(QEvent* e) { QComboBox::changeEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__ResizeEvent = 0; // Subclass to allow providing a Go implementation virtual void resizeEvent(QResizeEvent* e) override { if (handle__ResizeEvent == 0) { QComboBox::resizeEvent(e); return; } QResizeEvent* sigval1 = e; miqt_exec_callback_QComboBox_ResizeEvent(this, handle__ResizeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ResizeEvent(QResizeEvent* e) { QComboBox::resizeEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__PaintEvent = 0; // Subclass to allow providing a Go implementation virtual void paintEvent(QPaintEvent* e) override { if (handle__PaintEvent == 0) { QComboBox::paintEvent(e); return; } QPaintEvent* sigval1 = e; miqt_exec_callback_QComboBox_PaintEvent(this, handle__PaintEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_PaintEvent(QPaintEvent* e) { QComboBox::paintEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__ShowEvent = 0; // Subclass to allow providing a Go implementation virtual void showEvent(QShowEvent* e) override { if (handle__ShowEvent == 0) { QComboBox::showEvent(e); return; } QShowEvent* sigval1 = e; miqt_exec_callback_QComboBox_ShowEvent(this, handle__ShowEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ShowEvent(QShowEvent* e) { QComboBox::showEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__HideEvent = 0; // Subclass to allow providing a Go implementation virtual void hideEvent(QHideEvent* e) override { if (handle__HideEvent == 0) { QComboBox::hideEvent(e); return; } QHideEvent* sigval1 = e; miqt_exec_callback_QComboBox_HideEvent(this, handle__HideEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_HideEvent(QHideEvent* e) { QComboBox::hideEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__MousePressEvent = 0; // Subclass to allow providing a Go implementation virtual void mousePressEvent(QMouseEvent* e) override { if (handle__MousePressEvent == 0) { QComboBox::mousePressEvent(e); return; } QMouseEvent* sigval1 = e; miqt_exec_callback_QComboBox_MousePressEvent(this, handle__MousePressEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MousePressEvent(QMouseEvent* e) { QComboBox::mousePressEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__MouseReleaseEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseReleaseEvent(QMouseEvent* e) override { if (handle__MouseReleaseEvent == 0) { QComboBox::mouseReleaseEvent(e); return; } QMouseEvent* sigval1 = e; miqt_exec_callback_QComboBox_MouseReleaseEvent(this, handle__MouseReleaseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MouseReleaseEvent(QMouseEvent* e) { QComboBox::mouseReleaseEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__KeyPressEvent = 0; // Subclass to allow providing a Go implementation virtual void keyPressEvent(QKeyEvent* e) override { if (handle__KeyPressEvent == 0) { QComboBox::keyPressEvent(e); return; } QKeyEvent* sigval1 = e; miqt_exec_callback_QComboBox_KeyPressEvent(this, handle__KeyPressEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_KeyPressEvent(QKeyEvent* e) { QComboBox::keyPressEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__KeyReleaseEvent = 0; // Subclass to allow providing a Go implementation virtual void keyReleaseEvent(QKeyEvent* e) override { if (handle__KeyReleaseEvent == 0) { QComboBox::keyReleaseEvent(e); return; } QKeyEvent* sigval1 = e; miqt_exec_callback_QComboBox_KeyReleaseEvent(this, handle__KeyReleaseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_KeyReleaseEvent(QKeyEvent* e) { QComboBox::keyReleaseEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__WheelEvent = 0; // Subclass to allow providing a Go implementation virtual void wheelEvent(QWheelEvent* e) override { if (handle__WheelEvent == 0) { QComboBox::wheelEvent(e); return; } QWheelEvent* sigval1 = e; miqt_exec_callback_QComboBox_WheelEvent(this, handle__WheelEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_WheelEvent(QWheelEvent* e) { QComboBox::wheelEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__ContextMenuEvent = 0; // Subclass to allow providing a Go implementation virtual void contextMenuEvent(QContextMenuEvent* e) override { if (handle__ContextMenuEvent == 0) { QComboBox::contextMenuEvent(e); return; } QContextMenuEvent* sigval1 = e; miqt_exec_callback_QComboBox_ContextMenuEvent(this, handle__ContextMenuEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ContextMenuEvent(QContextMenuEvent* e) { QComboBox::contextMenuEvent(e); } // cgo.Handle value for overwritten implementation intptr_t handle__InputMethodEvent = 0; // Subclass to allow providing a Go implementation virtual void inputMethodEvent(QInputMethodEvent* param1) override { if (handle__InputMethodEvent == 0) { QComboBox::inputMethodEvent(param1); return; } QInputMethodEvent* sigval1 = param1; miqt_exec_callback_QComboBox_InputMethodEvent(this, handle__InputMethodEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_InputMethodEvent(QInputMethodEvent* param1) { QComboBox::inputMethodEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__InitStyleOption = 0; // Subclass to allow providing a Go implementation virtual void initStyleOption(QStyleOptionComboBox* option) const override { if (handle__InitStyleOption == 0) { QComboBox::initStyleOption(option); return; } QStyleOptionComboBox* sigval1 = option; miqt_exec_callback_QComboBox_InitStyleOption(const_cast(this), handle__InitStyleOption, sigval1); } // Wrapper to allow calling protected method void virtualbase_InitStyleOption(QStyleOptionComboBox* option) const { QComboBox::initStyleOption(option); } // cgo.Handle value for overwritten implementation intptr_t handle__DevType = 0; // Subclass to allow providing a Go implementation virtual int devType() const override { if (handle__DevType == 0) { return QComboBox::devType(); } int callback_return_value = miqt_exec_callback_QComboBox_DevType(const_cast(this), handle__DevType); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_DevType() const { return QComboBox::devType(); } // cgo.Handle value for overwritten implementation intptr_t handle__SetVisible = 0; // Subclass to allow providing a Go implementation virtual void setVisible(bool visible) override { if (handle__SetVisible == 0) { QComboBox::setVisible(visible); return; } bool sigval1 = visible; miqt_exec_callback_QComboBox_SetVisible(this, handle__SetVisible, sigval1); } // Wrapper to allow calling protected method void virtualbase_SetVisible(bool visible) { QComboBox::setVisible(visible); } // cgo.Handle value for overwritten implementation intptr_t handle__HeightForWidth = 0; // Subclass to allow providing a Go implementation virtual int heightForWidth(int param1) const override { if (handle__HeightForWidth == 0) { return QComboBox::heightForWidth(param1); } int sigval1 = param1; int callback_return_value = miqt_exec_callback_QComboBox_HeightForWidth(const_cast(this), handle__HeightForWidth, sigval1); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_HeightForWidth(int param1) const { return QComboBox::heightForWidth(static_cast(param1)); } // cgo.Handle value for overwritten implementation intptr_t handle__HasHeightForWidth = 0; // Subclass to allow providing a Go implementation virtual bool hasHeightForWidth() const override { if (handle__HasHeightForWidth == 0) { return QComboBox::hasHeightForWidth(); } bool callback_return_value = miqt_exec_callback_QComboBox_HasHeightForWidth(const_cast(this), handle__HasHeightForWidth); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_HasHeightForWidth() const { return QComboBox::hasHeightForWidth(); } // cgo.Handle value for overwritten implementation intptr_t handle__PaintEngine = 0; // Subclass to allow providing a Go implementation virtual QPaintEngine* paintEngine() const override { if (handle__PaintEngine == 0) { return QComboBox::paintEngine(); } QPaintEngine* callback_return_value = miqt_exec_callback_QComboBox_PaintEngine(const_cast(this), handle__PaintEngine); return callback_return_value; } // Wrapper to allow calling protected method QPaintEngine* virtualbase_PaintEngine() const { return QComboBox::paintEngine(); } // cgo.Handle value for overwritten implementation intptr_t handle__MouseDoubleClickEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseDoubleClickEvent(QMouseEvent* event) override { if (handle__MouseDoubleClickEvent == 0) { QComboBox::mouseDoubleClickEvent(event); return; } QMouseEvent* sigval1 = event; miqt_exec_callback_QComboBox_MouseDoubleClickEvent(this, handle__MouseDoubleClickEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MouseDoubleClickEvent(QMouseEvent* event) { QComboBox::mouseDoubleClickEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__MouseMoveEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseMoveEvent(QMouseEvent* event) override { if (handle__MouseMoveEvent == 0) { QComboBox::mouseMoveEvent(event); return; } QMouseEvent* sigval1 = event; miqt_exec_callback_QComboBox_MouseMoveEvent(this, handle__MouseMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MouseMoveEvent(QMouseEvent* event) { QComboBox::mouseMoveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__EnterEvent = 0; // Subclass to allow providing a Go implementation virtual void enterEvent(QEnterEvent* event) override { if (handle__EnterEvent == 0) { QComboBox::enterEvent(event); return; } QEnterEvent* sigval1 = event; miqt_exec_callback_QComboBox_EnterEvent(this, handle__EnterEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_EnterEvent(QEnterEvent* event) { QComboBox::enterEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__LeaveEvent = 0; // Subclass to allow providing a Go implementation virtual void leaveEvent(QEvent* event) override { if (handle__LeaveEvent == 0) { QComboBox::leaveEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QComboBox_LeaveEvent(this, handle__LeaveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_LeaveEvent(QEvent* event) { QComboBox::leaveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__MoveEvent = 0; // Subclass to allow providing a Go implementation virtual void moveEvent(QMoveEvent* event) override { if (handle__MoveEvent == 0) { QComboBox::moveEvent(event); return; } QMoveEvent* sigval1 = event; miqt_exec_callback_QComboBox_MoveEvent(this, handle__MoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MoveEvent(QMoveEvent* event) { QComboBox::moveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__CloseEvent = 0; // Subclass to allow providing a Go implementation virtual void closeEvent(QCloseEvent* event) override { if (handle__CloseEvent == 0) { QComboBox::closeEvent(event); return; } QCloseEvent* sigval1 = event; miqt_exec_callback_QComboBox_CloseEvent(this, handle__CloseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_CloseEvent(QCloseEvent* event) { QComboBox::closeEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__TabletEvent = 0; // Subclass to allow providing a Go implementation virtual void tabletEvent(QTabletEvent* event) override { if (handle__TabletEvent == 0) { QComboBox::tabletEvent(event); return; } QTabletEvent* sigval1 = event; miqt_exec_callback_QComboBox_TabletEvent(this, handle__TabletEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_TabletEvent(QTabletEvent* event) { QComboBox::tabletEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__ActionEvent = 0; // Subclass to allow providing a Go implementation virtual void actionEvent(QActionEvent* event) override { if (handle__ActionEvent == 0) { QComboBox::actionEvent(event); return; } QActionEvent* sigval1 = event; miqt_exec_callback_QComboBox_ActionEvent(this, handle__ActionEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ActionEvent(QActionEvent* event) { QComboBox::actionEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__DragEnterEvent = 0; // Subclass to allow providing a Go implementation virtual void dragEnterEvent(QDragEnterEvent* event) override { if (handle__DragEnterEvent == 0) { QComboBox::dragEnterEvent(event); return; } QDragEnterEvent* sigval1 = event; miqt_exec_callback_QComboBox_DragEnterEvent(this, handle__DragEnterEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_DragEnterEvent(QDragEnterEvent* event) { QComboBox::dragEnterEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__DragMoveEvent = 0; // Subclass to allow providing a Go implementation virtual void dragMoveEvent(QDragMoveEvent* event) override { if (handle__DragMoveEvent == 0) { QComboBox::dragMoveEvent(event); return; } QDragMoveEvent* sigval1 = event; miqt_exec_callback_QComboBox_DragMoveEvent(this, handle__DragMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_DragMoveEvent(QDragMoveEvent* event) { QComboBox::dragMoveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__DragLeaveEvent = 0; // Subclass to allow providing a Go implementation virtual void dragLeaveEvent(QDragLeaveEvent* event) override { if (handle__DragLeaveEvent == 0) { QComboBox::dragLeaveEvent(event); return; } QDragLeaveEvent* sigval1 = event; miqt_exec_callback_QComboBox_DragLeaveEvent(this, handle__DragLeaveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_DragLeaveEvent(QDragLeaveEvent* event) { QComboBox::dragLeaveEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__DropEvent = 0; // Subclass to allow providing a Go implementation virtual void dropEvent(QDropEvent* event) override { if (handle__DropEvent == 0) { QComboBox::dropEvent(event); return; } QDropEvent* sigval1 = event; miqt_exec_callback_QComboBox_DropEvent(this, handle__DropEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_DropEvent(QDropEvent* event) { QComboBox::dropEvent(event); } // cgo.Handle value for overwritten implementation intptr_t handle__NativeEvent = 0; // Subclass to allow providing a Go implementation virtual bool nativeEvent(const QByteArray& eventType, void* message, qintptr* result) override { if (handle__NativeEvent == 0) { return QComboBox::nativeEvent(eventType, message, result); } const QByteArray eventType_qb = eventType; struct miqt_string eventType_ms; eventType_ms.len = eventType_qb.length(); eventType_ms.data = static_cast(malloc(eventType_ms.len)); memcpy(eventType_ms.data, eventType_qb.data(), eventType_ms.len); struct miqt_string sigval1 = eventType_ms; void* sigval2 = message; qintptr* result_ret = result; intptr_t* sigval3 = (intptr_t*)(result_ret); bool callback_return_value = miqt_exec_callback_QComboBox_NativeEvent(this, handle__NativeEvent, sigval1, sigval2, sigval3); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_NativeEvent(struct miqt_string eventType, void* message, intptr_t* result) { QByteArray eventType_QByteArray(eventType.data, eventType.len); return QComboBox::nativeEvent(eventType_QByteArray, message, (qintptr*)(result)); } // cgo.Handle value for overwritten implementation intptr_t handle__Metric = 0; // Subclass to allow providing a Go implementation virtual int metric(QPaintDevice::PaintDeviceMetric param1) const override { if (handle__Metric == 0) { return QComboBox::metric(param1); } QPaintDevice::PaintDeviceMetric param1_ret = param1; int sigval1 = static_cast(param1_ret); int callback_return_value = miqt_exec_callback_QComboBox_Metric(const_cast(this), handle__Metric, sigval1); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_Metric(int param1) const { return QComboBox::metric(static_cast(param1)); } // cgo.Handle value for overwritten implementation intptr_t handle__InitPainter = 0; // Subclass to allow providing a Go implementation virtual void initPainter(QPainter* painter) const override { if (handle__InitPainter == 0) { QComboBox::initPainter(painter); return; } QPainter* sigval1 = painter; miqt_exec_callback_QComboBox_InitPainter(const_cast(this), handle__InitPainter, sigval1); } // Wrapper to allow calling protected method void virtualbase_InitPainter(QPainter* painter) const { QComboBox::initPainter(painter); } // cgo.Handle value for overwritten implementation intptr_t handle__Redirected = 0; // Subclass to allow providing a Go implementation virtual QPaintDevice* redirected(QPoint* offset) const override { if (handle__Redirected == 0) { return QComboBox::redirected(offset); } QPoint* sigval1 = offset; QPaintDevice* callback_return_value = miqt_exec_callback_QComboBox_Redirected(const_cast(this), handle__Redirected, sigval1); return callback_return_value; } // Wrapper to allow calling protected method QPaintDevice* virtualbase_Redirected(QPoint* offset) const { return QComboBox::redirected(offset); } // cgo.Handle value for overwritten implementation intptr_t handle__SharedPainter = 0; // Subclass to allow providing a Go implementation virtual QPainter* sharedPainter() const override { if (handle__SharedPainter == 0) { return QComboBox::sharedPainter(); } QPainter* callback_return_value = miqt_exec_callback_QComboBox_SharedPainter(const_cast(this), handle__SharedPainter); return callback_return_value; } // Wrapper to allow calling protected method QPainter* virtualbase_SharedPainter() const { return QComboBox::sharedPainter(); } // cgo.Handle value for overwritten implementation intptr_t handle__FocusNextPrevChild = 0; // Subclass to allow providing a Go implementation virtual bool focusNextPrevChild(bool next) override { if (handle__FocusNextPrevChild == 0) { return QComboBox::focusNextPrevChild(next); } bool sigval1 = next; bool callback_return_value = miqt_exec_callback_QComboBox_FocusNextPrevChild(this, handle__FocusNextPrevChild, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_FocusNextPrevChild(bool next) { return QComboBox::focusNextPrevChild(next); } }; QComboBox* QComboBox_new(QWidget* parent) { return new MiqtVirtualQComboBox(parent); } QComboBox* QComboBox_new2() { return new MiqtVirtualQComboBox(); } void QComboBox_virtbase(QComboBox* src, QWidget** outptr_QWidget) { *outptr_QWidget = static_cast(src); } QMetaObject* QComboBox_MetaObject(const QComboBox* self) { return (QMetaObject*) self->metaObject(); } void* QComboBox_Metacast(QComboBox* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QComboBox_Tr(const char* s) { QString _ret = QComboBox::tr(s); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } int QComboBox_MaxVisibleItems(const QComboBox* self) { return self->maxVisibleItems(); } void QComboBox_SetMaxVisibleItems(QComboBox* self, int maxItems) { self->setMaxVisibleItems(static_cast(maxItems)); } int QComboBox_Count(const QComboBox* self) { return self->count(); } void QComboBox_SetMaxCount(QComboBox* self, int max) { self->setMaxCount(static_cast(max)); } int QComboBox_MaxCount(const QComboBox* self) { return self->maxCount(); } bool QComboBox_DuplicatesEnabled(const QComboBox* self) { return self->duplicatesEnabled(); } void QComboBox_SetDuplicatesEnabled(QComboBox* self, bool enable) { self->setDuplicatesEnabled(enable); } void QComboBox_SetFrame(QComboBox* self, bool frame) { self->setFrame(frame); } bool QComboBox_HasFrame(const QComboBox* self) { return self->hasFrame(); } int QComboBox_FindText(const QComboBox* self, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); return self->findText(text_QString); } int QComboBox_FindData(const QComboBox* self, QVariant* data) { return self->findData(*data); } int QComboBox_InsertPolicy(const QComboBox* self) { QComboBox::InsertPolicy _ret = self->insertPolicy(); return static_cast(_ret); } void QComboBox_SetInsertPolicy(QComboBox* self, int policy) { self->setInsertPolicy(static_cast(policy)); } int QComboBox_SizeAdjustPolicy(const QComboBox* self) { QComboBox::SizeAdjustPolicy _ret = self->sizeAdjustPolicy(); return static_cast(_ret); } void QComboBox_SetSizeAdjustPolicy(QComboBox* self, int policy) { self->setSizeAdjustPolicy(static_cast(policy)); } int QComboBox_MinimumContentsLength(const QComboBox* self) { return self->minimumContentsLength(); } void QComboBox_SetMinimumContentsLength(QComboBox* self, int characters) { self->setMinimumContentsLength(static_cast(characters)); } QSize* QComboBox_IconSize(const QComboBox* self) { return new QSize(self->iconSize()); } void QComboBox_SetIconSize(QComboBox* self, QSize* size) { self->setIconSize(*size); } void QComboBox_SetPlaceholderText(QComboBox* self, struct miqt_string placeholderText) { QString placeholderText_QString = QString::fromUtf8(placeholderText.data, placeholderText.len); self->setPlaceholderText(placeholderText_QString); } struct miqt_string QComboBox_PlaceholderText(const QComboBox* self) { QString _ret = self->placeholderText(); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } bool QComboBox_IsEditable(const QComboBox* self) { return self->isEditable(); } void QComboBox_SetEditable(QComboBox* self, bool editable) { self->setEditable(editable); } void QComboBox_SetLineEdit(QComboBox* self, QLineEdit* edit) { self->setLineEdit(edit); } QLineEdit* QComboBox_LineEdit(const QComboBox* self) { return self->lineEdit(); } void QComboBox_SetValidator(QComboBox* self, QValidator* v) { self->setValidator(v); } QValidator* QComboBox_Validator(const QComboBox* self) { return (QValidator*) self->validator(); } void QComboBox_SetCompleter(QComboBox* self, QCompleter* c) { self->setCompleter(c); } QCompleter* QComboBox_Completer(const QComboBox* self) { return self->completer(); } QAbstractItemDelegate* QComboBox_ItemDelegate(const QComboBox* self) { return self->itemDelegate(); } void QComboBox_SetItemDelegate(QComboBox* self, QAbstractItemDelegate* delegate) { self->setItemDelegate(delegate); } QAbstractItemModel* QComboBox_Model(const QComboBox* self) { return self->model(); } void QComboBox_SetModel(QComboBox* self, QAbstractItemModel* model) { self->setModel(model); } QModelIndex* QComboBox_RootModelIndex(const QComboBox* self) { return new QModelIndex(self->rootModelIndex()); } void QComboBox_SetRootModelIndex(QComboBox* self, QModelIndex* index) { self->setRootModelIndex(*index); } int QComboBox_ModelColumn(const QComboBox* self) { return self->modelColumn(); } void QComboBox_SetModelColumn(QComboBox* self, int visibleColumn) { self->setModelColumn(static_cast(visibleColumn)); } int QComboBox_CurrentIndex(const QComboBox* self) { return self->currentIndex(); } struct miqt_string QComboBox_CurrentText(const QComboBox* self) { QString _ret = self->currentText(); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } QVariant* QComboBox_CurrentData(const QComboBox* self) { return new QVariant(self->currentData()); } struct miqt_string QComboBox_ItemText(const QComboBox* self, int index) { QString _ret = self->itemText(static_cast(index)); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } QIcon* QComboBox_ItemIcon(const QComboBox* self, int index) { return new QIcon(self->itemIcon(static_cast(index))); } QVariant* QComboBox_ItemData(const QComboBox* self, int index) { return new QVariant(self->itemData(static_cast(index))); } void QComboBox_AddItem(QComboBox* self, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); self->addItem(text_QString); } void QComboBox_AddItem2(QComboBox* self, QIcon* icon, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); self->addItem(*icon, text_QString); } void QComboBox_AddItems(QComboBox* self, struct miqt_array /* of struct miqt_string */ texts) { QStringList texts_QList; texts_QList.reserve(texts.len); struct miqt_string* texts_arr = static_cast(texts.data); for(size_t i = 0; i < texts.len; ++i) { QString texts_arr_i_QString = QString::fromUtf8(texts_arr[i].data, texts_arr[i].len); texts_QList.push_back(texts_arr_i_QString); } self->addItems(texts_QList); } void QComboBox_InsertItem(QComboBox* self, int index, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); self->insertItem(static_cast(index), text_QString); } void QComboBox_InsertItem2(QComboBox* self, int index, QIcon* icon, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); self->insertItem(static_cast(index), *icon, text_QString); } void QComboBox_InsertItems(QComboBox* self, int index, struct miqt_array /* of struct miqt_string */ texts) { QStringList texts_QList; texts_QList.reserve(texts.len); struct miqt_string* texts_arr = static_cast(texts.data); for(size_t i = 0; i < texts.len; ++i) { QString texts_arr_i_QString = QString::fromUtf8(texts_arr[i].data, texts_arr[i].len); texts_QList.push_back(texts_arr_i_QString); } self->insertItems(static_cast(index), texts_QList); } void QComboBox_InsertSeparator(QComboBox* self, int index) { self->insertSeparator(static_cast(index)); } void QComboBox_RemoveItem(QComboBox* self, int index) { self->removeItem(static_cast(index)); } void QComboBox_SetItemText(QComboBox* self, int index, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); self->setItemText(static_cast(index), text_QString); } void QComboBox_SetItemIcon(QComboBox* self, int index, QIcon* icon) { self->setItemIcon(static_cast(index), *icon); } void QComboBox_SetItemData(QComboBox* self, int index, QVariant* value) { self->setItemData(static_cast(index), *value); } QAbstractItemView* QComboBox_View(const QComboBox* self) { return self->view(); } void QComboBox_SetView(QComboBox* self, QAbstractItemView* itemView) { self->setView(itemView); } QSize* QComboBox_SizeHint(const QComboBox* self) { return new QSize(self->sizeHint()); } QSize* QComboBox_MinimumSizeHint(const QComboBox* self) { return new QSize(self->minimumSizeHint()); } void QComboBox_ShowPopup(QComboBox* self) { self->showPopup(); } void QComboBox_HidePopup(QComboBox* self) { self->hidePopup(); } bool QComboBox_Event(QComboBox* self, QEvent* event) { return self->event(event); } QVariant* QComboBox_InputMethodQuery(const QComboBox* self, int param1) { return new QVariant(self->inputMethodQuery(static_cast(param1))); } QVariant* QComboBox_InputMethodQuery2(const QComboBox* self, int query, QVariant* argument) { return new QVariant(self->inputMethodQuery(static_cast(query), *argument)); } void QComboBox_Clear(QComboBox* self) { self->clear(); } void QComboBox_ClearEditText(QComboBox* self) { self->clearEditText(); } void QComboBox_SetEditText(QComboBox* self, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); self->setEditText(text_QString); } void QComboBox_SetCurrentIndex(QComboBox* self, int index) { self->setCurrentIndex(static_cast(index)); } void QComboBox_SetCurrentText(QComboBox* self, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); self->setCurrentText(text_QString); } void QComboBox_EditTextChanged(QComboBox* self, struct miqt_string param1) { QString param1_QString = QString::fromUtf8(param1.data, param1.len); self->editTextChanged(param1_QString); } void QComboBox_connect_EditTextChanged(QComboBox* self, intptr_t slot) { MiqtVirtualQComboBox::connect(self, static_cast(&QComboBox::editTextChanged), self, [=](const QString& param1) { const QString param1_ret = param1; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray param1_b = param1_ret.toUtf8(); struct miqt_string param1_ms; param1_ms.len = param1_b.length(); param1_ms.data = static_cast(malloc(param1_ms.len)); memcpy(param1_ms.data, param1_b.data(), param1_ms.len); struct miqt_string sigval1 = param1_ms; miqt_exec_callback_QComboBox_EditTextChanged(slot, sigval1); }); } void QComboBox_Activated(QComboBox* self, int index) { self->activated(static_cast(index)); } void QComboBox_connect_Activated(QComboBox* self, intptr_t slot) { MiqtVirtualQComboBox::connect(self, static_cast(&QComboBox::activated), self, [=](int index) { int sigval1 = index; miqt_exec_callback_QComboBox_Activated(slot, sigval1); }); } void QComboBox_TextActivated(QComboBox* self, struct miqt_string param1) { QString param1_QString = QString::fromUtf8(param1.data, param1.len); self->textActivated(param1_QString); } void QComboBox_connect_TextActivated(QComboBox* self, intptr_t slot) { MiqtVirtualQComboBox::connect(self, static_cast(&QComboBox::textActivated), self, [=](const QString& param1) { const QString param1_ret = param1; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray param1_b = param1_ret.toUtf8(); struct miqt_string param1_ms; param1_ms.len = param1_b.length(); param1_ms.data = static_cast(malloc(param1_ms.len)); memcpy(param1_ms.data, param1_b.data(), param1_ms.len); struct miqt_string sigval1 = param1_ms; miqt_exec_callback_QComboBox_TextActivated(slot, sigval1); }); } void QComboBox_Highlighted(QComboBox* self, int index) { self->highlighted(static_cast(index)); } void QComboBox_connect_Highlighted(QComboBox* self, intptr_t slot) { MiqtVirtualQComboBox::connect(self, static_cast(&QComboBox::highlighted), self, [=](int index) { int sigval1 = index; miqt_exec_callback_QComboBox_Highlighted(slot, sigval1); }); } void QComboBox_TextHighlighted(QComboBox* self, struct miqt_string param1) { QString param1_QString = QString::fromUtf8(param1.data, param1.len); self->textHighlighted(param1_QString); } void QComboBox_connect_TextHighlighted(QComboBox* self, intptr_t slot) { MiqtVirtualQComboBox::connect(self, static_cast(&QComboBox::textHighlighted), self, [=](const QString& param1) { const QString param1_ret = param1; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray param1_b = param1_ret.toUtf8(); struct miqt_string param1_ms; param1_ms.len = param1_b.length(); param1_ms.data = static_cast(malloc(param1_ms.len)); memcpy(param1_ms.data, param1_b.data(), param1_ms.len); struct miqt_string sigval1 = param1_ms; miqt_exec_callback_QComboBox_TextHighlighted(slot, sigval1); }); } void QComboBox_CurrentIndexChanged(QComboBox* self, int index) { self->currentIndexChanged(static_cast(index)); } void QComboBox_connect_CurrentIndexChanged(QComboBox* self, intptr_t slot) { MiqtVirtualQComboBox::connect(self, static_cast(&QComboBox::currentIndexChanged), self, [=](int index) { int sigval1 = index; miqt_exec_callback_QComboBox_CurrentIndexChanged(slot, sigval1); }); } void QComboBox_CurrentTextChanged(QComboBox* self, struct miqt_string param1) { QString param1_QString = QString::fromUtf8(param1.data, param1.len); self->currentTextChanged(param1_QString); } void QComboBox_connect_CurrentTextChanged(QComboBox* self, intptr_t slot) { MiqtVirtualQComboBox::connect(self, static_cast(&QComboBox::currentTextChanged), self, [=](const QString& param1) { const QString param1_ret = param1; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray param1_b = param1_ret.toUtf8(); struct miqt_string param1_ms; param1_ms.len = param1_b.length(); param1_ms.data = static_cast(malloc(param1_ms.len)); memcpy(param1_ms.data, param1_b.data(), param1_ms.len); struct miqt_string sigval1 = param1_ms; miqt_exec_callback_QComboBox_CurrentTextChanged(slot, sigval1); }); } struct miqt_string QComboBox_Tr2(const char* s, const char* c) { QString _ret = QComboBox::tr(s, c); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } struct miqt_string QComboBox_Tr3(const char* s, const char* c, int n) { QString _ret = QComboBox::tr(s, c, static_cast(n)); // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray _b = _ret.toUtf8(); struct miqt_string _ms; _ms.len = _b.length(); _ms.data = static_cast(malloc(_ms.len)); memcpy(_ms.data, _b.data(), _ms.len); return _ms; } int QComboBox_FindText2(const QComboBox* self, struct miqt_string text, int flags) { QString text_QString = QString::fromUtf8(text.data, text.len); return self->findText(text_QString, static_cast(flags)); } int QComboBox_FindData2(const QComboBox* self, QVariant* data, int role) { return self->findData(*data, static_cast(role)); } int QComboBox_FindData3(const QComboBox* self, QVariant* data, int role, int flags) { return self->findData(*data, static_cast(role), static_cast(flags)); } QVariant* QComboBox_CurrentData1(const QComboBox* self, int role) { return new QVariant(self->currentData(static_cast(role))); } QVariant* QComboBox_ItemData2(const QComboBox* self, int index, int role) { return new QVariant(self->itemData(static_cast(index), static_cast(role))); } void QComboBox_AddItem22(QComboBox* self, struct miqt_string text, QVariant* userData) { QString text_QString = QString::fromUtf8(text.data, text.len); self->addItem(text_QString, *userData); } void QComboBox_AddItem3(QComboBox* self, QIcon* icon, struct miqt_string text, QVariant* userData) { QString text_QString = QString::fromUtf8(text.data, text.len); self->addItem(*icon, text_QString, *userData); } void QComboBox_InsertItem3(QComboBox* self, int index, struct miqt_string text, QVariant* userData) { QString text_QString = QString::fromUtf8(text.data, text.len); self->insertItem(static_cast(index), text_QString, *userData); } void QComboBox_InsertItem4(QComboBox* self, int index, QIcon* icon, struct miqt_string text, QVariant* userData) { QString text_QString = QString::fromUtf8(text.data, text.len); self->insertItem(static_cast(index), *icon, text_QString, *userData); } void QComboBox_SetItemData3(QComboBox* self, int index, QVariant* value, int role) { self->setItemData(static_cast(index), *value, static_cast(role)); } void QComboBox_override_virtual_SetModel(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__SetModel = slot; } void QComboBox_virtualbase_SetModel(void* self, QAbstractItemModel* model) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_SetModel(model); } void QComboBox_override_virtual_SizeHint(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__SizeHint = slot; } QSize* QComboBox_virtualbase_SizeHint(const void* self) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_SizeHint(); } void QComboBox_override_virtual_MinimumSizeHint(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__MinimumSizeHint = slot; } QSize* QComboBox_virtualbase_MinimumSizeHint(const void* self) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_MinimumSizeHint(); } void QComboBox_override_virtual_ShowPopup(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__ShowPopup = slot; } void QComboBox_virtualbase_ShowPopup(void* self) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_ShowPopup(); } void QComboBox_override_virtual_HidePopup(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__HidePopup = slot; } void QComboBox_virtualbase_HidePopup(void* self) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_HidePopup(); } void QComboBox_override_virtual_Event(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__Event = slot; } bool QComboBox_virtualbase_Event(void* self, QEvent* event) { return ( (MiqtVirtualQComboBox*)(self) )->virtualbase_Event(event); } void QComboBox_override_virtual_InputMethodQuery(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__InputMethodQuery = slot; } QVariant* QComboBox_virtualbase_InputMethodQuery(const void* self, int param1) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_InputMethodQuery(param1); } void QComboBox_override_virtual_FocusInEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__FocusInEvent = slot; } void QComboBox_virtualbase_FocusInEvent(void* self, QFocusEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_FocusInEvent(e); } void QComboBox_override_virtual_FocusOutEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__FocusOutEvent = slot; } void QComboBox_virtualbase_FocusOutEvent(void* self, QFocusEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_FocusOutEvent(e); } void QComboBox_override_virtual_ChangeEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__ChangeEvent = slot; } void QComboBox_virtualbase_ChangeEvent(void* self, QEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_ChangeEvent(e); } void QComboBox_override_virtual_ResizeEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__ResizeEvent = slot; } void QComboBox_virtualbase_ResizeEvent(void* self, QResizeEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_ResizeEvent(e); } void QComboBox_override_virtual_PaintEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__PaintEvent = slot; } void QComboBox_virtualbase_PaintEvent(void* self, QPaintEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_PaintEvent(e); } void QComboBox_override_virtual_ShowEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__ShowEvent = slot; } void QComboBox_virtualbase_ShowEvent(void* self, QShowEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_ShowEvent(e); } void QComboBox_override_virtual_HideEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__HideEvent = slot; } void QComboBox_virtualbase_HideEvent(void* self, QHideEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_HideEvent(e); } void QComboBox_override_virtual_MousePressEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__MousePressEvent = slot; } void QComboBox_virtualbase_MousePressEvent(void* self, QMouseEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_MousePressEvent(e); } void QComboBox_override_virtual_MouseReleaseEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__MouseReleaseEvent = slot; } void QComboBox_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_MouseReleaseEvent(e); } void QComboBox_override_virtual_KeyPressEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__KeyPressEvent = slot; } void QComboBox_virtualbase_KeyPressEvent(void* self, QKeyEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_KeyPressEvent(e); } void QComboBox_override_virtual_KeyReleaseEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__KeyReleaseEvent = slot; } void QComboBox_virtualbase_KeyReleaseEvent(void* self, QKeyEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_KeyReleaseEvent(e); } void QComboBox_override_virtual_WheelEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__WheelEvent = slot; } void QComboBox_virtualbase_WheelEvent(void* self, QWheelEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_WheelEvent(e); } void QComboBox_override_virtual_ContextMenuEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__ContextMenuEvent = slot; } void QComboBox_virtualbase_ContextMenuEvent(void* self, QContextMenuEvent* e) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_ContextMenuEvent(e); } void QComboBox_override_virtual_InputMethodEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__InputMethodEvent = slot; } void QComboBox_virtualbase_InputMethodEvent(void* self, QInputMethodEvent* param1) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_InputMethodEvent(param1); } void QComboBox_override_virtual_InitStyleOption(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__InitStyleOption = slot; } void QComboBox_virtualbase_InitStyleOption(const void* self, QStyleOptionComboBox* option) { ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_InitStyleOption(option); } void QComboBox_override_virtual_DevType(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__DevType = slot; } int QComboBox_virtualbase_DevType(const void* self) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_DevType(); } void QComboBox_override_virtual_SetVisible(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__SetVisible = slot; } void QComboBox_virtualbase_SetVisible(void* self, bool visible) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_SetVisible(visible); } void QComboBox_override_virtual_HeightForWidth(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__HeightForWidth = slot; } int QComboBox_virtualbase_HeightForWidth(const void* self, int param1) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_HeightForWidth(param1); } void QComboBox_override_virtual_HasHeightForWidth(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__HasHeightForWidth = slot; } bool QComboBox_virtualbase_HasHeightForWidth(const void* self) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_HasHeightForWidth(); } void QComboBox_override_virtual_PaintEngine(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__PaintEngine = slot; } QPaintEngine* QComboBox_virtualbase_PaintEngine(const void* self) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_PaintEngine(); } void QComboBox_override_virtual_MouseDoubleClickEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__MouseDoubleClickEvent = slot; } void QComboBox_virtualbase_MouseDoubleClickEvent(void* self, QMouseEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_MouseDoubleClickEvent(event); } void QComboBox_override_virtual_MouseMoveEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__MouseMoveEvent = slot; } void QComboBox_virtualbase_MouseMoveEvent(void* self, QMouseEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_MouseMoveEvent(event); } void QComboBox_override_virtual_EnterEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__EnterEvent = slot; } void QComboBox_virtualbase_EnterEvent(void* self, QEnterEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_EnterEvent(event); } void QComboBox_override_virtual_LeaveEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__LeaveEvent = slot; } void QComboBox_virtualbase_LeaveEvent(void* self, QEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_LeaveEvent(event); } void QComboBox_override_virtual_MoveEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__MoveEvent = slot; } void QComboBox_virtualbase_MoveEvent(void* self, QMoveEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_MoveEvent(event); } void QComboBox_override_virtual_CloseEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__CloseEvent = slot; } void QComboBox_virtualbase_CloseEvent(void* self, QCloseEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_CloseEvent(event); } void QComboBox_override_virtual_TabletEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__TabletEvent = slot; } void QComboBox_virtualbase_TabletEvent(void* self, QTabletEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_TabletEvent(event); } void QComboBox_override_virtual_ActionEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__ActionEvent = slot; } void QComboBox_virtualbase_ActionEvent(void* self, QActionEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_ActionEvent(event); } void QComboBox_override_virtual_DragEnterEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__DragEnterEvent = slot; } void QComboBox_virtualbase_DragEnterEvent(void* self, QDragEnterEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_DragEnterEvent(event); } void QComboBox_override_virtual_DragMoveEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__DragMoveEvent = slot; } void QComboBox_virtualbase_DragMoveEvent(void* self, QDragMoveEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_DragMoveEvent(event); } void QComboBox_override_virtual_DragLeaveEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__DragLeaveEvent = slot; } void QComboBox_virtualbase_DragLeaveEvent(void* self, QDragLeaveEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_DragLeaveEvent(event); } void QComboBox_override_virtual_DropEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__DropEvent = slot; } void QComboBox_virtualbase_DropEvent(void* self, QDropEvent* event) { ( (MiqtVirtualQComboBox*)(self) )->virtualbase_DropEvent(event); } void QComboBox_override_virtual_NativeEvent(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__NativeEvent = slot; } bool QComboBox_virtualbase_NativeEvent(void* self, struct miqt_string eventType, void* message, intptr_t* result) { return ( (MiqtVirtualQComboBox*)(self) )->virtualbase_NativeEvent(eventType, message, result); } void QComboBox_override_virtual_Metric(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__Metric = slot; } int QComboBox_virtualbase_Metric(const void* self, int param1) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_Metric(param1); } void QComboBox_override_virtual_InitPainter(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__InitPainter = slot; } void QComboBox_virtualbase_InitPainter(const void* self, QPainter* painter) { ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_InitPainter(painter); } void QComboBox_override_virtual_Redirected(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__Redirected = slot; } QPaintDevice* QComboBox_virtualbase_Redirected(const void* self, QPoint* offset) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_Redirected(offset); } void QComboBox_override_virtual_SharedPainter(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__SharedPainter = slot; } QPainter* QComboBox_virtualbase_SharedPainter(const void* self) { return ( (const MiqtVirtualQComboBox*)(self) )->virtualbase_SharedPainter(); } void QComboBox_override_virtual_FocusNextPrevChild(void* self, intptr_t slot) { dynamic_cast( (QComboBox*)(self) )->handle__FocusNextPrevChild = slot; } bool QComboBox_virtualbase_FocusNextPrevChild(void* self, bool next) { return ( (MiqtVirtualQComboBox*)(self) )->virtualbase_FocusNextPrevChild(next); } void QComboBox_Delete(QComboBox* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }