#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #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_qcommandlinkbutton.h" #ifdef __cplusplus extern "C" { #endif QSize* miqt_exec_callback_QCommandLinkButton_sizeHint(const QCommandLinkButton*, intptr_t); int miqt_exec_callback_QCommandLinkButton_heightForWidth(const QCommandLinkButton*, intptr_t, int); QSize* miqt_exec_callback_QCommandLinkButton_minimumSizeHint(const QCommandLinkButton*, intptr_t); void miqt_exec_callback_QCommandLinkButton_initStyleOption(const QCommandLinkButton*, intptr_t, QStyleOptionButton*); bool miqt_exec_callback_QCommandLinkButton_event(QCommandLinkButton*, intptr_t, QEvent*); void miqt_exec_callback_QCommandLinkButton_paintEvent(QCommandLinkButton*, intptr_t, QPaintEvent*); void miqt_exec_callback_QCommandLinkButton_keyPressEvent(QCommandLinkButton*, intptr_t, QKeyEvent*); void miqt_exec_callback_QCommandLinkButton_focusInEvent(QCommandLinkButton*, intptr_t, QFocusEvent*); void miqt_exec_callback_QCommandLinkButton_focusOutEvent(QCommandLinkButton*, intptr_t, QFocusEvent*); void miqt_exec_callback_QCommandLinkButton_mouseMoveEvent(QCommandLinkButton*, intptr_t, QMouseEvent*); bool miqt_exec_callback_QCommandLinkButton_hitButton(const QCommandLinkButton*, intptr_t, QPoint*); void miqt_exec_callback_QCommandLinkButton_checkStateSet(QCommandLinkButton*, intptr_t); void miqt_exec_callback_QCommandLinkButton_nextCheckState(QCommandLinkButton*, intptr_t); void miqt_exec_callback_QCommandLinkButton_keyReleaseEvent(QCommandLinkButton*, intptr_t, QKeyEvent*); void miqt_exec_callback_QCommandLinkButton_mousePressEvent(QCommandLinkButton*, intptr_t, QMouseEvent*); void miqt_exec_callback_QCommandLinkButton_mouseReleaseEvent(QCommandLinkButton*, intptr_t, QMouseEvent*); void miqt_exec_callback_QCommandLinkButton_changeEvent(QCommandLinkButton*, intptr_t, QEvent*); void miqt_exec_callback_QCommandLinkButton_timerEvent(QCommandLinkButton*, intptr_t, QTimerEvent*); int miqt_exec_callback_QCommandLinkButton_devType(const QCommandLinkButton*, intptr_t); void miqt_exec_callback_QCommandLinkButton_setVisible(QCommandLinkButton*, intptr_t, bool); bool miqt_exec_callback_QCommandLinkButton_hasHeightForWidth(const QCommandLinkButton*, intptr_t); QPaintEngine* miqt_exec_callback_QCommandLinkButton_paintEngine(const QCommandLinkButton*, intptr_t); void miqt_exec_callback_QCommandLinkButton_mouseDoubleClickEvent(QCommandLinkButton*, intptr_t, QMouseEvent*); void miqt_exec_callback_QCommandLinkButton_wheelEvent(QCommandLinkButton*, intptr_t, QWheelEvent*); void miqt_exec_callback_QCommandLinkButton_enterEvent(QCommandLinkButton*, intptr_t, QEnterEvent*); void miqt_exec_callback_QCommandLinkButton_leaveEvent(QCommandLinkButton*, intptr_t, QEvent*); void miqt_exec_callback_QCommandLinkButton_moveEvent(QCommandLinkButton*, intptr_t, QMoveEvent*); void miqt_exec_callback_QCommandLinkButton_resizeEvent(QCommandLinkButton*, intptr_t, QResizeEvent*); void miqt_exec_callback_QCommandLinkButton_closeEvent(QCommandLinkButton*, intptr_t, QCloseEvent*); void miqt_exec_callback_QCommandLinkButton_contextMenuEvent(QCommandLinkButton*, intptr_t, QContextMenuEvent*); void miqt_exec_callback_QCommandLinkButton_tabletEvent(QCommandLinkButton*, intptr_t, QTabletEvent*); void miqt_exec_callback_QCommandLinkButton_actionEvent(QCommandLinkButton*, intptr_t, QActionEvent*); void miqt_exec_callback_QCommandLinkButton_dragEnterEvent(QCommandLinkButton*, intptr_t, QDragEnterEvent*); void miqt_exec_callback_QCommandLinkButton_dragMoveEvent(QCommandLinkButton*, intptr_t, QDragMoveEvent*); void miqt_exec_callback_QCommandLinkButton_dragLeaveEvent(QCommandLinkButton*, intptr_t, QDragLeaveEvent*); void miqt_exec_callback_QCommandLinkButton_dropEvent(QCommandLinkButton*, intptr_t, QDropEvent*); void miqt_exec_callback_QCommandLinkButton_showEvent(QCommandLinkButton*, intptr_t, QShowEvent*); void miqt_exec_callback_QCommandLinkButton_hideEvent(QCommandLinkButton*, intptr_t, QHideEvent*); bool miqt_exec_callback_QCommandLinkButton_nativeEvent(QCommandLinkButton*, intptr_t, struct miqt_string, void*, intptr_t*); int miqt_exec_callback_QCommandLinkButton_metric(const QCommandLinkButton*, intptr_t, int); void miqt_exec_callback_QCommandLinkButton_initPainter(const QCommandLinkButton*, intptr_t, QPainter*); QPaintDevice* miqt_exec_callback_QCommandLinkButton_redirected(const QCommandLinkButton*, intptr_t, QPoint*); QPainter* miqt_exec_callback_QCommandLinkButton_sharedPainter(const QCommandLinkButton*, intptr_t); void miqt_exec_callback_QCommandLinkButton_inputMethodEvent(QCommandLinkButton*, intptr_t, QInputMethodEvent*); QVariant* miqt_exec_callback_QCommandLinkButton_inputMethodQuery(const QCommandLinkButton*, intptr_t, int); bool miqt_exec_callback_QCommandLinkButton_focusNextPrevChild(QCommandLinkButton*, intptr_t, bool); bool miqt_exec_callback_QCommandLinkButton_eventFilter(QCommandLinkButton*, intptr_t, QObject*, QEvent*); void miqt_exec_callback_QCommandLinkButton_childEvent(QCommandLinkButton*, intptr_t, QChildEvent*); void miqt_exec_callback_QCommandLinkButton_customEvent(QCommandLinkButton*, intptr_t, QEvent*); void miqt_exec_callback_QCommandLinkButton_connectNotify(QCommandLinkButton*, intptr_t, QMetaMethod*); void miqt_exec_callback_QCommandLinkButton_disconnectNotify(QCommandLinkButton*, intptr_t, QMetaMethod*); #ifdef __cplusplus } /* extern C */ #endif class MiqtVirtualQCommandLinkButton final : public QCommandLinkButton { public: MiqtVirtualQCommandLinkButton(QWidget* parent): QCommandLinkButton(parent) {}; MiqtVirtualQCommandLinkButton(): QCommandLinkButton() {}; MiqtVirtualQCommandLinkButton(const QString& text): QCommandLinkButton(text) {}; MiqtVirtualQCommandLinkButton(const QString& text, const QString& description): QCommandLinkButton(text, description) {}; MiqtVirtualQCommandLinkButton(const QString& text, QWidget* parent): QCommandLinkButton(text, parent) {}; MiqtVirtualQCommandLinkButton(const QString& text, const QString& description, QWidget* parent): QCommandLinkButton(text, description, parent) {}; virtual ~MiqtVirtualQCommandLinkButton() override = default; // 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 QCommandLinkButton::sizeHint(); } QSize* callback_return_value = miqt_exec_callback_QCommandLinkButton_sizeHint(this, handle__sizeHint); return *callback_return_value; } friend QSize* QCommandLinkButton_virtualbase_sizeHint(const void* self); // 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 QCommandLinkButton::heightForWidth(param1); } int sigval1 = param1; int callback_return_value = miqt_exec_callback_QCommandLinkButton_heightForWidth(this, handle__heightForWidth, sigval1); return static_cast(callback_return_value); } friend int QCommandLinkButton_virtualbase_heightForWidth(const void* self, int param1); // 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 QCommandLinkButton::minimumSizeHint(); } QSize* callback_return_value = miqt_exec_callback_QCommandLinkButton_minimumSizeHint(this, handle__minimumSizeHint); return *callback_return_value; } friend QSize* QCommandLinkButton_virtualbase_minimumSizeHint(const void* self); // cgo.Handle value for overwritten implementation intptr_t handle__initStyleOption = 0; // Subclass to allow providing a Go implementation virtual void initStyleOption(QStyleOptionButton* option) const override { if (handle__initStyleOption == 0) { QCommandLinkButton::initStyleOption(option); return; } QStyleOptionButton* sigval1 = option; miqt_exec_callback_QCommandLinkButton_initStyleOption(this, handle__initStyleOption, sigval1); } friend void QCommandLinkButton_virtualbase_initStyleOption(const void* self, QStyleOptionButton* option); // cgo.Handle value for overwritten implementation intptr_t handle__event = 0; // Subclass to allow providing a Go implementation virtual bool event(QEvent* e) override { if (handle__event == 0) { return QCommandLinkButton::event(e); } QEvent* sigval1 = e; bool callback_return_value = miqt_exec_callback_QCommandLinkButton_event(this, handle__event, sigval1); return callback_return_value; } friend bool QCommandLinkButton_virtualbase_event(void* self, QEvent* e); // cgo.Handle value for overwritten implementation intptr_t handle__paintEvent = 0; // Subclass to allow providing a Go implementation virtual void paintEvent(QPaintEvent* param1) override { if (handle__paintEvent == 0) { QCommandLinkButton::paintEvent(param1); return; } QPaintEvent* sigval1 = param1; miqt_exec_callback_QCommandLinkButton_paintEvent(this, handle__paintEvent, sigval1); } friend void QCommandLinkButton_virtualbase_paintEvent(void* self, QPaintEvent* param1); // cgo.Handle value for overwritten implementation intptr_t handle__keyPressEvent = 0; // Subclass to allow providing a Go implementation virtual void keyPressEvent(QKeyEvent* param1) override { if (handle__keyPressEvent == 0) { QCommandLinkButton::keyPressEvent(param1); return; } QKeyEvent* sigval1 = param1; miqt_exec_callback_QCommandLinkButton_keyPressEvent(this, handle__keyPressEvent, sigval1); } friend void QCommandLinkButton_virtualbase_keyPressEvent(void* self, QKeyEvent* param1); // cgo.Handle value for overwritten implementation intptr_t handle__focusInEvent = 0; // Subclass to allow providing a Go implementation virtual void focusInEvent(QFocusEvent* param1) override { if (handle__focusInEvent == 0) { QCommandLinkButton::focusInEvent(param1); return; } QFocusEvent* sigval1 = param1; miqt_exec_callback_QCommandLinkButton_focusInEvent(this, handle__focusInEvent, sigval1); } friend void QCommandLinkButton_virtualbase_focusInEvent(void* self, QFocusEvent* param1); // cgo.Handle value for overwritten implementation intptr_t handle__focusOutEvent = 0; // Subclass to allow providing a Go implementation virtual void focusOutEvent(QFocusEvent* param1) override { if (handle__focusOutEvent == 0) { QCommandLinkButton::focusOutEvent(param1); return; } QFocusEvent* sigval1 = param1; miqt_exec_callback_QCommandLinkButton_focusOutEvent(this, handle__focusOutEvent, sigval1); } friend void QCommandLinkButton_virtualbase_focusOutEvent(void* self, QFocusEvent* param1); // cgo.Handle value for overwritten implementation intptr_t handle__mouseMoveEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseMoveEvent(QMouseEvent* param1) override { if (handle__mouseMoveEvent == 0) { QCommandLinkButton::mouseMoveEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QCommandLinkButton_mouseMoveEvent(this, handle__mouseMoveEvent, sigval1); } friend void QCommandLinkButton_virtualbase_mouseMoveEvent(void* self, QMouseEvent* param1); // cgo.Handle value for overwritten implementation intptr_t handle__hitButton = 0; // Subclass to allow providing a Go implementation virtual bool hitButton(const QPoint& pos) const override { if (handle__hitButton == 0) { return QCommandLinkButton::hitButton(pos); } const QPoint& pos_ret = pos; // Cast returned reference into pointer QPoint* sigval1 = const_cast(&pos_ret); bool callback_return_value = miqt_exec_callback_QCommandLinkButton_hitButton(this, handle__hitButton, sigval1); return callback_return_value; } friend bool QCommandLinkButton_virtualbase_hitButton(const void* self, QPoint* pos); // cgo.Handle value for overwritten implementation intptr_t handle__checkStateSet = 0; // Subclass to allow providing a Go implementation virtual void checkStateSet() override { if (handle__checkStateSet == 0) { QCommandLinkButton::checkStateSet(); return; } miqt_exec_callback_QCommandLinkButton_checkStateSet(this, handle__checkStateSet); } friend void QCommandLinkButton_virtualbase_checkStateSet(void* self); // cgo.Handle value for overwritten implementation intptr_t handle__nextCheckState = 0; // Subclass to allow providing a Go implementation virtual void nextCheckState() override { if (handle__nextCheckState == 0) { QCommandLinkButton::nextCheckState(); return; } miqt_exec_callback_QCommandLinkButton_nextCheckState(this, handle__nextCheckState); } friend void QCommandLinkButton_virtualbase_nextCheckState(void* self); // 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) { QCommandLinkButton::keyReleaseEvent(e); return; } QKeyEvent* sigval1 = e; miqt_exec_callback_QCommandLinkButton_keyReleaseEvent(this, handle__keyReleaseEvent, sigval1); } friend void QCommandLinkButton_virtualbase_keyReleaseEvent(void* self, QKeyEvent* 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) { QCommandLinkButton::mousePressEvent(e); return; } QMouseEvent* sigval1 = e; miqt_exec_callback_QCommandLinkButton_mousePressEvent(this, handle__mousePressEvent, sigval1); } friend void QCommandLinkButton_virtualbase_mousePressEvent(void* self, QMouseEvent* 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) { QCommandLinkButton::mouseReleaseEvent(e); return; } QMouseEvent* sigval1 = e; miqt_exec_callback_QCommandLinkButton_mouseReleaseEvent(this, handle__mouseReleaseEvent, sigval1); } friend void QCommandLinkButton_virtualbase_mouseReleaseEvent(void* self, QMouseEvent* 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) { QCommandLinkButton::changeEvent(e); return; } QEvent* sigval1 = e; miqt_exec_callback_QCommandLinkButton_changeEvent(this, handle__changeEvent, sigval1); } friend void QCommandLinkButton_virtualbase_changeEvent(void* self, QEvent* e); // cgo.Handle value for overwritten implementation intptr_t handle__timerEvent = 0; // Subclass to allow providing a Go implementation virtual void timerEvent(QTimerEvent* e) override { if (handle__timerEvent == 0) { QCommandLinkButton::timerEvent(e); return; } QTimerEvent* sigval1 = e; miqt_exec_callback_QCommandLinkButton_timerEvent(this, handle__timerEvent, sigval1); } friend void QCommandLinkButton_virtualbase_timerEvent(void* self, QTimerEvent* e); // 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 QCommandLinkButton::devType(); } int callback_return_value = miqt_exec_callback_QCommandLinkButton_devType(this, handle__devType); return static_cast(callback_return_value); } friend int QCommandLinkButton_virtualbase_devType(const void* self); // 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) { QCommandLinkButton::setVisible(visible); return; } bool sigval1 = visible; miqt_exec_callback_QCommandLinkButton_setVisible(this, handle__setVisible, sigval1); } friend void QCommandLinkButton_virtualbase_setVisible(void* self, bool visible); // 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 QCommandLinkButton::hasHeightForWidth(); } bool callback_return_value = miqt_exec_callback_QCommandLinkButton_hasHeightForWidth(this, handle__hasHeightForWidth); return callback_return_value; } friend bool QCommandLinkButton_virtualbase_hasHeightForWidth(const void* self); // 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 QCommandLinkButton::paintEngine(); } QPaintEngine* callback_return_value = miqt_exec_callback_QCommandLinkButton_paintEngine(this, handle__paintEngine); return callback_return_value; } friend QPaintEngine* QCommandLinkButton_virtualbase_paintEngine(const void* self); // 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) { QCommandLinkButton::mouseDoubleClickEvent(event); return; } QMouseEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_mouseDoubleClickEvent(this, handle__mouseDoubleClickEvent, sigval1); } friend void QCommandLinkButton_virtualbase_mouseDoubleClickEvent(void* self, QMouseEvent* event); // cgo.Handle value for overwritten implementation intptr_t handle__wheelEvent = 0; // Subclass to allow providing a Go implementation virtual void wheelEvent(QWheelEvent* event) override { if (handle__wheelEvent == 0) { QCommandLinkButton::wheelEvent(event); return; } QWheelEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_wheelEvent(this, handle__wheelEvent, sigval1); } friend void QCommandLinkButton_virtualbase_wheelEvent(void* self, QWheelEvent* 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) { QCommandLinkButton::enterEvent(event); return; } QEnterEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_enterEvent(this, handle__enterEvent, sigval1); } friend void QCommandLinkButton_virtualbase_enterEvent(void* self, QEnterEvent* 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) { QCommandLinkButton::leaveEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_leaveEvent(this, handle__leaveEvent, sigval1); } friend void QCommandLinkButton_virtualbase_leaveEvent(void* self, QEvent* 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) { QCommandLinkButton::moveEvent(event); return; } QMoveEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_moveEvent(this, handle__moveEvent, sigval1); } friend void QCommandLinkButton_virtualbase_moveEvent(void* self, QMoveEvent* event); // cgo.Handle value for overwritten implementation intptr_t handle__resizeEvent = 0; // Subclass to allow providing a Go implementation virtual void resizeEvent(QResizeEvent* event) override { if (handle__resizeEvent == 0) { QCommandLinkButton::resizeEvent(event); return; } QResizeEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_resizeEvent(this, handle__resizeEvent, sigval1); } friend void QCommandLinkButton_virtualbase_resizeEvent(void* self, QResizeEvent* 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) { QCommandLinkButton::closeEvent(event); return; } QCloseEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_closeEvent(this, handle__closeEvent, sigval1); } friend void QCommandLinkButton_virtualbase_closeEvent(void* self, QCloseEvent* event); // cgo.Handle value for overwritten implementation intptr_t handle__contextMenuEvent = 0; // Subclass to allow providing a Go implementation virtual void contextMenuEvent(QContextMenuEvent* event) override { if (handle__contextMenuEvent == 0) { QCommandLinkButton::contextMenuEvent(event); return; } QContextMenuEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_contextMenuEvent(this, handle__contextMenuEvent, sigval1); } friend void QCommandLinkButton_virtualbase_contextMenuEvent(void* self, QContextMenuEvent* 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) { QCommandLinkButton::tabletEvent(event); return; } QTabletEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_tabletEvent(this, handle__tabletEvent, sigval1); } friend void QCommandLinkButton_virtualbase_tabletEvent(void* self, QTabletEvent* 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) { QCommandLinkButton::actionEvent(event); return; } QActionEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_actionEvent(this, handle__actionEvent, sigval1); } friend void QCommandLinkButton_virtualbase_actionEvent(void* self, QActionEvent* 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) { QCommandLinkButton::dragEnterEvent(event); return; } QDragEnterEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_dragEnterEvent(this, handle__dragEnterEvent, sigval1); } friend void QCommandLinkButton_virtualbase_dragEnterEvent(void* self, QDragEnterEvent* 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) { QCommandLinkButton::dragMoveEvent(event); return; } QDragMoveEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_dragMoveEvent(this, handle__dragMoveEvent, sigval1); } friend void QCommandLinkButton_virtualbase_dragMoveEvent(void* self, QDragMoveEvent* 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) { QCommandLinkButton::dragLeaveEvent(event); return; } QDragLeaveEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_dragLeaveEvent(this, handle__dragLeaveEvent, sigval1); } friend void QCommandLinkButton_virtualbase_dragLeaveEvent(void* self, QDragLeaveEvent* 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) { QCommandLinkButton::dropEvent(event); return; } QDropEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_dropEvent(this, handle__dropEvent, sigval1); } friend void QCommandLinkButton_virtualbase_dropEvent(void* self, QDropEvent* event); // cgo.Handle value for overwritten implementation intptr_t handle__showEvent = 0; // Subclass to allow providing a Go implementation virtual void showEvent(QShowEvent* event) override { if (handle__showEvent == 0) { QCommandLinkButton::showEvent(event); return; } QShowEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_showEvent(this, handle__showEvent, sigval1); } friend void QCommandLinkButton_virtualbase_showEvent(void* self, QShowEvent* event); // cgo.Handle value for overwritten implementation intptr_t handle__hideEvent = 0; // Subclass to allow providing a Go implementation virtual void hideEvent(QHideEvent* event) override { if (handle__hideEvent == 0) { QCommandLinkButton::hideEvent(event); return; } QHideEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_hideEvent(this, handle__hideEvent, sigval1); } friend void QCommandLinkButton_virtualbase_hideEvent(void* self, QHideEvent* 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 QCommandLinkButton::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_QCommandLinkButton_nativeEvent(this, handle__nativeEvent, sigval1, sigval2, sigval3); return callback_return_value; } friend bool QCommandLinkButton_virtualbase_nativeEvent(void* self, struct miqt_string eventType, void* message, intptr_t* 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 QCommandLinkButton::metric(param1); } QPaintDevice::PaintDeviceMetric param1_ret = param1; int sigval1 = static_cast(param1_ret); int callback_return_value = miqt_exec_callback_QCommandLinkButton_metric(this, handle__metric, sigval1); return static_cast(callback_return_value); } friend int QCommandLinkButton_virtualbase_metric(const void* self, int 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) { QCommandLinkButton::initPainter(painter); return; } QPainter* sigval1 = painter; miqt_exec_callback_QCommandLinkButton_initPainter(this, handle__initPainter, sigval1); } friend void QCommandLinkButton_virtualbase_initPainter(const void* self, QPainter* 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 QCommandLinkButton::redirected(offset); } QPoint* sigval1 = offset; QPaintDevice* callback_return_value = miqt_exec_callback_QCommandLinkButton_redirected(this, handle__redirected, sigval1); return callback_return_value; } friend QPaintDevice* QCommandLinkButton_virtualbase_redirected(const void* self, QPoint* 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 QCommandLinkButton::sharedPainter(); } QPainter* callback_return_value = miqt_exec_callback_QCommandLinkButton_sharedPainter(this, handle__sharedPainter); return callback_return_value; } friend QPainter* QCommandLinkButton_virtualbase_sharedPainter(const void* self); // 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) { QCommandLinkButton::inputMethodEvent(param1); return; } QInputMethodEvent* sigval1 = param1; miqt_exec_callback_QCommandLinkButton_inputMethodEvent(this, handle__inputMethodEvent, sigval1); } friend void QCommandLinkButton_virtualbase_inputMethodEvent(void* self, QInputMethodEvent* param1); // 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 QCommandLinkButton::inputMethodQuery(param1); } Qt::InputMethodQuery param1_ret = param1; int sigval1 = static_cast(param1_ret); QVariant* callback_return_value = miqt_exec_callback_QCommandLinkButton_inputMethodQuery(this, handle__inputMethodQuery, sigval1); return *callback_return_value; } friend QVariant* QCommandLinkButton_virtualbase_inputMethodQuery(const void* self, int param1); // 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 QCommandLinkButton::focusNextPrevChild(next); } bool sigval1 = next; bool callback_return_value = miqt_exec_callback_QCommandLinkButton_focusNextPrevChild(this, handle__focusNextPrevChild, sigval1); return callback_return_value; } friend bool QCommandLinkButton_virtualbase_focusNextPrevChild(void* self, bool next); // cgo.Handle value for overwritten implementation intptr_t handle__eventFilter = 0; // Subclass to allow providing a Go implementation virtual bool eventFilter(QObject* watched, QEvent* event) override { if (handle__eventFilter == 0) { return QCommandLinkButton::eventFilter(watched, event); } QObject* sigval1 = watched; QEvent* sigval2 = event; bool callback_return_value = miqt_exec_callback_QCommandLinkButton_eventFilter(this, handle__eventFilter, sigval1, sigval2); return callback_return_value; } friend bool QCommandLinkButton_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event); // cgo.Handle value for overwritten implementation intptr_t handle__childEvent = 0; // Subclass to allow providing a Go implementation virtual void childEvent(QChildEvent* event) override { if (handle__childEvent == 0) { QCommandLinkButton::childEvent(event); return; } QChildEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_childEvent(this, handle__childEvent, sigval1); } friend void QCommandLinkButton_virtualbase_childEvent(void* self, QChildEvent* event); // cgo.Handle value for overwritten implementation intptr_t handle__customEvent = 0; // Subclass to allow providing a Go implementation virtual void customEvent(QEvent* event) override { if (handle__customEvent == 0) { QCommandLinkButton::customEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QCommandLinkButton_customEvent(this, handle__customEvent, sigval1); } friend void QCommandLinkButton_virtualbase_customEvent(void* self, QEvent* event); // cgo.Handle value for overwritten implementation intptr_t handle__connectNotify = 0; // Subclass to allow providing a Go implementation virtual void connectNotify(const QMetaMethod& signal) override { if (handle__connectNotify == 0) { QCommandLinkButton::connectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QCommandLinkButton_connectNotify(this, handle__connectNotify, sigval1); } friend void QCommandLinkButton_virtualbase_connectNotify(void* self, QMetaMethod* signal); // cgo.Handle value for overwritten implementation intptr_t handle__disconnectNotify = 0; // Subclass to allow providing a Go implementation virtual void disconnectNotify(const QMetaMethod& signal) override { if (handle__disconnectNotify == 0) { QCommandLinkButton::disconnectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QCommandLinkButton_disconnectNotify(this, handle__disconnectNotify, sigval1); } friend void QCommandLinkButton_virtualbase_disconnectNotify(void* self, QMetaMethod* signal); // Wrappers to allow calling protected methods: friend void QCommandLinkButton_protectedbase_updateMicroFocus(bool* _dynamic_cast_ok, void* self); friend void QCommandLinkButton_protectedbase_create(bool* _dynamic_cast_ok, void* self); friend void QCommandLinkButton_protectedbase_destroy(bool* _dynamic_cast_ok, void* self); friend bool QCommandLinkButton_protectedbase_focusNextChild(bool* _dynamic_cast_ok, void* self); friend bool QCommandLinkButton_protectedbase_focusPreviousChild(bool* _dynamic_cast_ok, void* self); friend QObject* QCommandLinkButton_protectedbase_sender(bool* _dynamic_cast_ok, const void* self); friend int QCommandLinkButton_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self); friend int QCommandLinkButton_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal); friend bool QCommandLinkButton_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal); }; QCommandLinkButton* QCommandLinkButton_new(QWidget* parent) { return new MiqtVirtualQCommandLinkButton(parent); } QCommandLinkButton* QCommandLinkButton_new2() { return new MiqtVirtualQCommandLinkButton(); } QCommandLinkButton* QCommandLinkButton_new3(struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); return new MiqtVirtualQCommandLinkButton(text_QString); } QCommandLinkButton* QCommandLinkButton_new4(struct miqt_string text, struct miqt_string description) { QString text_QString = QString::fromUtf8(text.data, text.len); QString description_QString = QString::fromUtf8(description.data, description.len); return new MiqtVirtualQCommandLinkButton(text_QString, description_QString); } QCommandLinkButton* QCommandLinkButton_new5(struct miqt_string text, QWidget* parent) { QString text_QString = QString::fromUtf8(text.data, text.len); return new MiqtVirtualQCommandLinkButton(text_QString, parent); } QCommandLinkButton* QCommandLinkButton_new6(struct miqt_string text, struct miqt_string description, QWidget* parent) { QString text_QString = QString::fromUtf8(text.data, text.len); QString description_QString = QString::fromUtf8(description.data, description.len); return new MiqtVirtualQCommandLinkButton(text_QString, description_QString, parent); } void QCommandLinkButton_virtbase(QCommandLinkButton* src, QPushButton** outptr_QPushButton) { *outptr_QPushButton = static_cast(src); } QMetaObject* QCommandLinkButton_metaObject(const QCommandLinkButton* self) { return (QMetaObject*) self->metaObject(); } void* QCommandLinkButton_metacast(QCommandLinkButton* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QCommandLinkButton_tr(const char* s) { QString _ret = QCommandLinkButton::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; } struct miqt_string QCommandLinkButton_description(const QCommandLinkButton* self) { QString _ret = self->description(); // 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; } void QCommandLinkButton_setDescription(QCommandLinkButton* self, struct miqt_string description) { QString description_QString = QString::fromUtf8(description.data, description.len); self->setDescription(description_QString); } QSize* QCommandLinkButton_sizeHint(const QCommandLinkButton* self) { return new QSize(self->sizeHint()); } int QCommandLinkButton_heightForWidth(const QCommandLinkButton* self, int param1) { return self->heightForWidth(static_cast(param1)); } QSize* QCommandLinkButton_minimumSizeHint(const QCommandLinkButton* self) { return new QSize(self->minimumSizeHint()); } void QCommandLinkButton_initStyleOption(const QCommandLinkButton* self, QStyleOptionButton* option) { self->initStyleOption(option); } struct miqt_string QCommandLinkButton_tr2(const char* s, const char* c) { QString _ret = QCommandLinkButton::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 QCommandLinkButton_tr3(const char* s, const char* c, int n) { QString _ret = QCommandLinkButton::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; } bool QCommandLinkButton_override_virtual_sizeHint(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__sizeHint = slot; return true; } QSize* QCommandLinkButton_virtualbase_sizeHint(const void* self) { return new QSize(( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::sizeHint()); } bool QCommandLinkButton_override_virtual_heightForWidth(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__heightForWidth = slot; return true; } int QCommandLinkButton_virtualbase_heightForWidth(const void* self, int param1) { return ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::heightForWidth(static_cast(param1)); } bool QCommandLinkButton_override_virtual_minimumSizeHint(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__minimumSizeHint = slot; return true; } QSize* QCommandLinkButton_virtualbase_minimumSizeHint(const void* self) { return new QSize(( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::minimumSizeHint()); } bool QCommandLinkButton_override_virtual_initStyleOption(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__initStyleOption = slot; return true; } void QCommandLinkButton_virtualbase_initStyleOption(const void* self, QStyleOptionButton* option) { ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::initStyleOption(option); } bool QCommandLinkButton_override_virtual_event(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__event = slot; return true; } bool QCommandLinkButton_virtualbase_event(void* self, QEvent* e) { return ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::event(e); } bool QCommandLinkButton_override_virtual_paintEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__paintEvent = slot; return true; } void QCommandLinkButton_virtualbase_paintEvent(void* self, QPaintEvent* param1) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::paintEvent(param1); } bool QCommandLinkButton_override_virtual_keyPressEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__keyPressEvent = slot; return true; } void QCommandLinkButton_virtualbase_keyPressEvent(void* self, QKeyEvent* param1) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::keyPressEvent(param1); } bool QCommandLinkButton_override_virtual_focusInEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusInEvent = slot; return true; } void QCommandLinkButton_virtualbase_focusInEvent(void* self, QFocusEvent* param1) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::focusInEvent(param1); } bool QCommandLinkButton_override_virtual_focusOutEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusOutEvent = slot; return true; } void QCommandLinkButton_virtualbase_focusOutEvent(void* self, QFocusEvent* param1) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::focusOutEvent(param1); } bool QCommandLinkButton_override_virtual_mouseMoveEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseMoveEvent = slot; return true; } void QCommandLinkButton_virtualbase_mouseMoveEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::mouseMoveEvent(param1); } bool QCommandLinkButton_override_virtual_hitButton(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hitButton = slot; return true; } bool QCommandLinkButton_virtualbase_hitButton(const void* self, QPoint* pos) { return ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::hitButton(*pos); } bool QCommandLinkButton_override_virtual_checkStateSet(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__checkStateSet = slot; return true; } void QCommandLinkButton_virtualbase_checkStateSet(void* self) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::checkStateSet(); } bool QCommandLinkButton_override_virtual_nextCheckState(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__nextCheckState = slot; return true; } void QCommandLinkButton_virtualbase_nextCheckState(void* self) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::nextCheckState(); } bool QCommandLinkButton_override_virtual_keyReleaseEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__keyReleaseEvent = slot; return true; } void QCommandLinkButton_virtualbase_keyReleaseEvent(void* self, QKeyEvent* e) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::keyReleaseEvent(e); } bool QCommandLinkButton_override_virtual_mousePressEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mousePressEvent = slot; return true; } void QCommandLinkButton_virtualbase_mousePressEvent(void* self, QMouseEvent* e) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::mousePressEvent(e); } bool QCommandLinkButton_override_virtual_mouseReleaseEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseReleaseEvent = slot; return true; } void QCommandLinkButton_virtualbase_mouseReleaseEvent(void* self, QMouseEvent* e) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::mouseReleaseEvent(e); } bool QCommandLinkButton_override_virtual_changeEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__changeEvent = slot; return true; } void QCommandLinkButton_virtualbase_changeEvent(void* self, QEvent* e) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::changeEvent(e); } bool QCommandLinkButton_override_virtual_timerEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__timerEvent = slot; return true; } void QCommandLinkButton_virtualbase_timerEvent(void* self, QTimerEvent* e) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::timerEvent(e); } bool QCommandLinkButton_override_virtual_devType(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__devType = slot; return true; } int QCommandLinkButton_virtualbase_devType(const void* self) { return ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::devType(); } bool QCommandLinkButton_override_virtual_setVisible(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setVisible = slot; return true; } void QCommandLinkButton_virtualbase_setVisible(void* self, bool visible) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::setVisible(visible); } bool QCommandLinkButton_override_virtual_hasHeightForWidth(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hasHeightForWidth = slot; return true; } bool QCommandLinkButton_virtualbase_hasHeightForWidth(const void* self) { return ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::hasHeightForWidth(); } bool QCommandLinkButton_override_virtual_paintEngine(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__paintEngine = slot; return true; } QPaintEngine* QCommandLinkButton_virtualbase_paintEngine(const void* self) { return ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::paintEngine(); } bool QCommandLinkButton_override_virtual_mouseDoubleClickEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseDoubleClickEvent = slot; return true; } void QCommandLinkButton_virtualbase_mouseDoubleClickEvent(void* self, QMouseEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::mouseDoubleClickEvent(event); } bool QCommandLinkButton_override_virtual_wheelEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__wheelEvent = slot; return true; } void QCommandLinkButton_virtualbase_wheelEvent(void* self, QWheelEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::wheelEvent(event); } bool QCommandLinkButton_override_virtual_enterEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__enterEvent = slot; return true; } void QCommandLinkButton_virtualbase_enterEvent(void* self, QEnterEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::enterEvent(event); } bool QCommandLinkButton_override_virtual_leaveEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__leaveEvent = slot; return true; } void QCommandLinkButton_virtualbase_leaveEvent(void* self, QEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::leaveEvent(event); } bool QCommandLinkButton_override_virtual_moveEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__moveEvent = slot; return true; } void QCommandLinkButton_virtualbase_moveEvent(void* self, QMoveEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::moveEvent(event); } bool QCommandLinkButton_override_virtual_resizeEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__resizeEvent = slot; return true; } void QCommandLinkButton_virtualbase_resizeEvent(void* self, QResizeEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::resizeEvent(event); } bool QCommandLinkButton_override_virtual_closeEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__closeEvent = slot; return true; } void QCommandLinkButton_virtualbase_closeEvent(void* self, QCloseEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::closeEvent(event); } bool QCommandLinkButton_override_virtual_contextMenuEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__contextMenuEvent = slot; return true; } void QCommandLinkButton_virtualbase_contextMenuEvent(void* self, QContextMenuEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::contextMenuEvent(event); } bool QCommandLinkButton_override_virtual_tabletEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__tabletEvent = slot; return true; } void QCommandLinkButton_virtualbase_tabletEvent(void* self, QTabletEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::tabletEvent(event); } bool QCommandLinkButton_override_virtual_actionEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__actionEvent = slot; return true; } void QCommandLinkButton_virtualbase_actionEvent(void* self, QActionEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::actionEvent(event); } bool QCommandLinkButton_override_virtual_dragEnterEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragEnterEvent = slot; return true; } void QCommandLinkButton_virtualbase_dragEnterEvent(void* self, QDragEnterEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::dragEnterEvent(event); } bool QCommandLinkButton_override_virtual_dragMoveEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragMoveEvent = slot; return true; } void QCommandLinkButton_virtualbase_dragMoveEvent(void* self, QDragMoveEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::dragMoveEvent(event); } bool QCommandLinkButton_override_virtual_dragLeaveEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragLeaveEvent = slot; return true; } void QCommandLinkButton_virtualbase_dragLeaveEvent(void* self, QDragLeaveEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::dragLeaveEvent(event); } bool QCommandLinkButton_override_virtual_dropEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dropEvent = slot; return true; } void QCommandLinkButton_virtualbase_dropEvent(void* self, QDropEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::dropEvent(event); } bool QCommandLinkButton_override_virtual_showEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__showEvent = slot; return true; } void QCommandLinkButton_virtualbase_showEvent(void* self, QShowEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::showEvent(event); } bool QCommandLinkButton_override_virtual_hideEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hideEvent = slot; return true; } void QCommandLinkButton_virtualbase_hideEvent(void* self, QHideEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::hideEvent(event); } bool QCommandLinkButton_override_virtual_nativeEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__nativeEvent = slot; return true; } bool QCommandLinkButton_virtualbase_nativeEvent(void* self, struct miqt_string eventType, void* message, intptr_t* result) { QByteArray eventType_QByteArray(eventType.data, eventType.len); return ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::nativeEvent(eventType_QByteArray, message, (qintptr*)(result)); } bool QCommandLinkButton_override_virtual_metric(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__metric = slot; return true; } int QCommandLinkButton_virtualbase_metric(const void* self, int param1) { return ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::metric(static_cast(param1)); } bool QCommandLinkButton_override_virtual_initPainter(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__initPainter = slot; return true; } void QCommandLinkButton_virtualbase_initPainter(const void* self, QPainter* painter) { ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::initPainter(painter); } bool QCommandLinkButton_override_virtual_redirected(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__redirected = slot; return true; } QPaintDevice* QCommandLinkButton_virtualbase_redirected(const void* self, QPoint* offset) { return ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::redirected(offset); } bool QCommandLinkButton_override_virtual_sharedPainter(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__sharedPainter = slot; return true; } QPainter* QCommandLinkButton_virtualbase_sharedPainter(const void* self) { return ( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::sharedPainter(); } bool QCommandLinkButton_override_virtual_inputMethodEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__inputMethodEvent = slot; return true; } void QCommandLinkButton_virtualbase_inputMethodEvent(void* self, QInputMethodEvent* param1) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::inputMethodEvent(param1); } bool QCommandLinkButton_override_virtual_inputMethodQuery(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__inputMethodQuery = slot; return true; } QVariant* QCommandLinkButton_virtualbase_inputMethodQuery(const void* self, int param1) { return new QVariant(( (const MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::inputMethodQuery(static_cast(param1))); } bool QCommandLinkButton_override_virtual_focusNextPrevChild(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusNextPrevChild = slot; return true; } bool QCommandLinkButton_virtualbase_focusNextPrevChild(void* self, bool next) { return ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::focusNextPrevChild(next); } bool QCommandLinkButton_override_virtual_eventFilter(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__eventFilter = slot; return true; } bool QCommandLinkButton_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event) { return ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::eventFilter(watched, event); } bool QCommandLinkButton_override_virtual_childEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__childEvent = slot; return true; } void QCommandLinkButton_virtualbase_childEvent(void* self, QChildEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::childEvent(event); } bool QCommandLinkButton_override_virtual_customEvent(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__customEvent = slot; return true; } void QCommandLinkButton_virtualbase_customEvent(void* self, QEvent* event) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::customEvent(event); } bool QCommandLinkButton_override_virtual_connectNotify(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__connectNotify = slot; return true; } void QCommandLinkButton_virtualbase_connectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::connectNotify(*signal); } bool QCommandLinkButton_override_virtual_disconnectNotify(void* self, intptr_t slot) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__disconnectNotify = slot; return true; } void QCommandLinkButton_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQCommandLinkButton*)(self) )->MiqtVirtualQCommandLinkButton::disconnectNotify(*signal); } void QCommandLinkButton_protectedbase_updateMicroFocus(bool* _dynamic_cast_ok, void* self) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return ; } *_dynamic_cast_ok = true; self_cast->updateMicroFocus(); } void QCommandLinkButton_protectedbase_create(bool* _dynamic_cast_ok, void* self) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return ; } *_dynamic_cast_ok = true; self_cast->create(); } void QCommandLinkButton_protectedbase_destroy(bool* _dynamic_cast_ok, void* self) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return ; } *_dynamic_cast_ok = true; self_cast->destroy(); } bool QCommandLinkButton_protectedbase_focusNextChild(bool* _dynamic_cast_ok, void* self) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return false; } *_dynamic_cast_ok = true; return self_cast->focusNextChild(); } bool QCommandLinkButton_protectedbase_focusPreviousChild(bool* _dynamic_cast_ok, void* self) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return false; } *_dynamic_cast_ok = true; return self_cast->focusPreviousChild(); } QObject* QCommandLinkButton_protectedbase_sender(bool* _dynamic_cast_ok, const void* self) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return nullptr; } *_dynamic_cast_ok = true; return self_cast->sender(); } int QCommandLinkButton_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return 0; } *_dynamic_cast_ok = true; return self_cast->senderSignalIndex(); } int QCommandLinkButton_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return 0; } *_dynamic_cast_ok = true; return self_cast->receivers(signal); } bool QCommandLinkButton_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal) { MiqtVirtualQCommandLinkButton* self_cast = dynamic_cast( (QCommandLinkButton*)(self) ); if (self_cast == nullptr) { *_dynamic_cast_ok = false; return false; } *_dynamic_cast_ok = true; return self_cast->isSignalConnected(*signal); } void QCommandLinkButton_delete(QCommandLinkButton* self) { delete self; }