#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #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_qwebview.h" #ifdef __cplusplus extern "C" { #endif void miqt_exec_callback_QWebView_loadStarted(intptr_t); void miqt_exec_callback_QWebView_loadProgress(intptr_t, int); void miqt_exec_callback_QWebView_loadFinished(intptr_t, bool); void miqt_exec_callback_QWebView_titleChanged(intptr_t, struct miqt_string); void miqt_exec_callback_QWebView_statusBarMessage(intptr_t, struct miqt_string); void miqt_exec_callback_QWebView_linkClicked(intptr_t, QUrl*); void miqt_exec_callback_QWebView_selectionChanged(intptr_t); void miqt_exec_callback_QWebView_iconChanged(intptr_t); void miqt_exec_callback_QWebView_urlChanged(intptr_t, QUrl*); QVariant* miqt_exec_callback_QWebView_inputMethodQuery(const QWebView*, intptr_t, int); QSize* miqt_exec_callback_QWebView_sizeHint(const QWebView*, intptr_t); bool miqt_exec_callback_QWebView_event(QWebView*, intptr_t, QEvent*); void miqt_exec_callback_QWebView_resizeEvent(QWebView*, intptr_t, QResizeEvent*); void miqt_exec_callback_QWebView_paintEvent(QWebView*, intptr_t, QPaintEvent*); QWebView* miqt_exec_callback_QWebView_createWindow(QWebView*, intptr_t, int); void miqt_exec_callback_QWebView_changeEvent(QWebView*, intptr_t, QEvent*); void miqt_exec_callback_QWebView_mouseMoveEvent(QWebView*, intptr_t, QMouseEvent*); void miqt_exec_callback_QWebView_mousePressEvent(QWebView*, intptr_t, QMouseEvent*); void miqt_exec_callback_QWebView_mouseDoubleClickEvent(QWebView*, intptr_t, QMouseEvent*); void miqt_exec_callback_QWebView_mouseReleaseEvent(QWebView*, intptr_t, QMouseEvent*); void miqt_exec_callback_QWebView_contextMenuEvent(QWebView*, intptr_t, QContextMenuEvent*); void miqt_exec_callback_QWebView_wheelEvent(QWebView*, intptr_t, QWheelEvent*); void miqt_exec_callback_QWebView_keyPressEvent(QWebView*, intptr_t, QKeyEvent*); void miqt_exec_callback_QWebView_keyReleaseEvent(QWebView*, intptr_t, QKeyEvent*); void miqt_exec_callback_QWebView_dragEnterEvent(QWebView*, intptr_t, QDragEnterEvent*); void miqt_exec_callback_QWebView_dragLeaveEvent(QWebView*, intptr_t, QDragLeaveEvent*); void miqt_exec_callback_QWebView_dragMoveEvent(QWebView*, intptr_t, QDragMoveEvent*); void miqt_exec_callback_QWebView_dropEvent(QWebView*, intptr_t, QDropEvent*); void miqt_exec_callback_QWebView_focusInEvent(QWebView*, intptr_t, QFocusEvent*); void miqt_exec_callback_QWebView_focusOutEvent(QWebView*, intptr_t, QFocusEvent*); void miqt_exec_callback_QWebView_inputMethodEvent(QWebView*, intptr_t, QInputMethodEvent*); bool miqt_exec_callback_QWebView_focusNextPrevChild(QWebView*, intptr_t, bool); int miqt_exec_callback_QWebView_devType(const QWebView*, intptr_t); void miqt_exec_callback_QWebView_setVisible(QWebView*, intptr_t, bool); QSize* miqt_exec_callback_QWebView_minimumSizeHint(const QWebView*, intptr_t); int miqt_exec_callback_QWebView_heightForWidth(const QWebView*, intptr_t, int); bool miqt_exec_callback_QWebView_hasHeightForWidth(const QWebView*, intptr_t); QPaintEngine* miqt_exec_callback_QWebView_paintEngine(const QWebView*, intptr_t); void miqt_exec_callback_QWebView_enterEvent(QWebView*, intptr_t, QEvent*); void miqt_exec_callback_QWebView_leaveEvent(QWebView*, intptr_t, QEvent*); void miqt_exec_callback_QWebView_moveEvent(QWebView*, intptr_t, QMoveEvent*); void miqt_exec_callback_QWebView_closeEvent(QWebView*, intptr_t, QCloseEvent*); void miqt_exec_callback_QWebView_tabletEvent(QWebView*, intptr_t, QTabletEvent*); void miqt_exec_callback_QWebView_actionEvent(QWebView*, intptr_t, QActionEvent*); void miqt_exec_callback_QWebView_showEvent(QWebView*, intptr_t, QShowEvent*); void miqt_exec_callback_QWebView_hideEvent(QWebView*, intptr_t, QHideEvent*); bool miqt_exec_callback_QWebView_nativeEvent(QWebView*, intptr_t, struct miqt_string, void*, long*); int miqt_exec_callback_QWebView_metric(const QWebView*, intptr_t, int); void miqt_exec_callback_QWebView_initPainter(const QWebView*, intptr_t, QPainter*); QPaintDevice* miqt_exec_callback_QWebView_redirected(const QWebView*, intptr_t, QPoint*); QPainter* miqt_exec_callback_QWebView_sharedPainter(const QWebView*, intptr_t); bool miqt_exec_callback_QWebView_eventFilter(QWebView*, intptr_t, QObject*, QEvent*); void miqt_exec_callback_QWebView_timerEvent(QWebView*, intptr_t, QTimerEvent*); void miqt_exec_callback_QWebView_childEvent(QWebView*, intptr_t, QChildEvent*); void miqt_exec_callback_QWebView_customEvent(QWebView*, intptr_t, QEvent*); void miqt_exec_callback_QWebView_connectNotify(QWebView*, intptr_t, QMetaMethod*); void miqt_exec_callback_QWebView_disconnectNotify(QWebView*, intptr_t, QMetaMethod*); #ifdef __cplusplus } /* extern C */ #endif class MiqtVirtualQWebView final : public QWebView { public: MiqtVirtualQWebView(QWidget* parent): QWebView(parent) {}; MiqtVirtualQWebView(): QWebView() {}; virtual ~MiqtVirtualQWebView() override = default; // cgo.Handle value for overwritten implementation intptr_t handle__inputMethodQuery = 0; // Subclass to allow providing a Go implementation virtual QVariant inputMethodQuery(Qt::InputMethodQuery property) const override { if (handle__inputMethodQuery == 0) { return QWebView::inputMethodQuery(property); } Qt::InputMethodQuery property_ret = property; int sigval1 = static_cast(property_ret); QVariant* callback_return_value = miqt_exec_callback_QWebView_inputMethodQuery(this, handle__inputMethodQuery, sigval1); return *callback_return_value; } // Wrapper to allow calling protected method QVariant* virtualbase_inputMethodQuery(int property) const { return new QVariant(QWebView::inputMethodQuery(static_cast(property))); } // 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 QWebView::sizeHint(); } QSize* callback_return_value = miqt_exec_callback_QWebView_sizeHint(this, handle__sizeHint); return *callback_return_value; } // Wrapper to allow calling protected method QSize* virtualbase_sizeHint() const { return new QSize(QWebView::sizeHint()); } // cgo.Handle value for overwritten implementation intptr_t handle__event = 0; // Subclass to allow providing a Go implementation virtual bool event(QEvent* param1) override { if (handle__event == 0) { return QWebView::event(param1); } QEvent* sigval1 = param1; bool callback_return_value = miqt_exec_callback_QWebView_event(this, handle__event, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_event(QEvent* param1) { return QWebView::event(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__resizeEvent = 0; // Subclass to allow providing a Go implementation virtual void resizeEvent(QResizeEvent* param1) override { if (handle__resizeEvent == 0) { QWebView::resizeEvent(param1); return; } QResizeEvent* sigval1 = param1; miqt_exec_callback_QWebView_resizeEvent(this, handle__resizeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_resizeEvent(QResizeEvent* param1) { QWebView::resizeEvent(param1); } // 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) { QWebView::paintEvent(param1); return; } QPaintEvent* sigval1 = param1; miqt_exec_callback_QWebView_paintEvent(this, handle__paintEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_paintEvent(QPaintEvent* param1) { QWebView::paintEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__createWindow = 0; // Subclass to allow providing a Go implementation virtual QWebView* createWindow(QWebPage::WebWindowType type) override { if (handle__createWindow == 0) { return QWebView::createWindow(type); } QWebPage::WebWindowType type_ret = type; int sigval1 = static_cast(type_ret); QWebView* callback_return_value = miqt_exec_callback_QWebView_createWindow(this, handle__createWindow, sigval1); return callback_return_value; } // Wrapper to allow calling protected method QWebView* virtualbase_createWindow(int type) { return QWebView::createWindow(static_cast(type)); } // cgo.Handle value for overwritten implementation intptr_t handle__changeEvent = 0; // Subclass to allow providing a Go implementation virtual void changeEvent(QEvent* param1) override { if (handle__changeEvent == 0) { QWebView::changeEvent(param1); return; } QEvent* sigval1 = param1; miqt_exec_callback_QWebView_changeEvent(this, handle__changeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_changeEvent(QEvent* param1) { QWebView::changeEvent(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) { QWebView::mouseMoveEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QWebView_mouseMoveEvent(this, handle__mouseMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_mouseMoveEvent(QMouseEvent* param1) { QWebView::mouseMoveEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__mousePressEvent = 0; // Subclass to allow providing a Go implementation virtual void mousePressEvent(QMouseEvent* param1) override { if (handle__mousePressEvent == 0) { QWebView::mousePressEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QWebView_mousePressEvent(this, handle__mousePressEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_mousePressEvent(QMouseEvent* param1) { QWebView::mousePressEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__mouseDoubleClickEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseDoubleClickEvent(QMouseEvent* param1) override { if (handle__mouseDoubleClickEvent == 0) { QWebView::mouseDoubleClickEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QWebView_mouseDoubleClickEvent(this, handle__mouseDoubleClickEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_mouseDoubleClickEvent(QMouseEvent* param1) { QWebView::mouseDoubleClickEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__mouseReleaseEvent = 0; // Subclass to allow providing a Go implementation virtual void mouseReleaseEvent(QMouseEvent* param1) override { if (handle__mouseReleaseEvent == 0) { QWebView::mouseReleaseEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QWebView_mouseReleaseEvent(this, handle__mouseReleaseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_mouseReleaseEvent(QMouseEvent* param1) { QWebView::mouseReleaseEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__contextMenuEvent = 0; // Subclass to allow providing a Go implementation virtual void contextMenuEvent(QContextMenuEvent* param1) override { if (handle__contextMenuEvent == 0) { QWebView::contextMenuEvent(param1); return; } QContextMenuEvent* sigval1 = param1; miqt_exec_callback_QWebView_contextMenuEvent(this, handle__contextMenuEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_contextMenuEvent(QContextMenuEvent* param1) { QWebView::contextMenuEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__wheelEvent = 0; // Subclass to allow providing a Go implementation virtual void wheelEvent(QWheelEvent* param1) override { if (handle__wheelEvent == 0) { QWebView::wheelEvent(param1); return; } QWheelEvent* sigval1 = param1; miqt_exec_callback_QWebView_wheelEvent(this, handle__wheelEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_wheelEvent(QWheelEvent* param1) { QWebView::wheelEvent(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) { QWebView::keyPressEvent(param1); return; } QKeyEvent* sigval1 = param1; miqt_exec_callback_QWebView_keyPressEvent(this, handle__keyPressEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_keyPressEvent(QKeyEvent* param1) { QWebView::keyPressEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__keyReleaseEvent = 0; // Subclass to allow providing a Go implementation virtual void keyReleaseEvent(QKeyEvent* param1) override { if (handle__keyReleaseEvent == 0) { QWebView::keyReleaseEvent(param1); return; } QKeyEvent* sigval1 = param1; miqt_exec_callback_QWebView_keyReleaseEvent(this, handle__keyReleaseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_keyReleaseEvent(QKeyEvent* param1) { QWebView::keyReleaseEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__dragEnterEvent = 0; // Subclass to allow providing a Go implementation virtual void dragEnterEvent(QDragEnterEvent* param1) override { if (handle__dragEnterEvent == 0) { QWebView::dragEnterEvent(param1); return; } QDragEnterEvent* sigval1 = param1; miqt_exec_callback_QWebView_dragEnterEvent(this, handle__dragEnterEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_dragEnterEvent(QDragEnterEvent* param1) { QWebView::dragEnterEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__dragLeaveEvent = 0; // Subclass to allow providing a Go implementation virtual void dragLeaveEvent(QDragLeaveEvent* param1) override { if (handle__dragLeaveEvent == 0) { QWebView::dragLeaveEvent(param1); return; } QDragLeaveEvent* sigval1 = param1; miqt_exec_callback_QWebView_dragLeaveEvent(this, handle__dragLeaveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_dragLeaveEvent(QDragLeaveEvent* param1) { QWebView::dragLeaveEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__dragMoveEvent = 0; // Subclass to allow providing a Go implementation virtual void dragMoveEvent(QDragMoveEvent* param1) override { if (handle__dragMoveEvent == 0) { QWebView::dragMoveEvent(param1); return; } QDragMoveEvent* sigval1 = param1; miqt_exec_callback_QWebView_dragMoveEvent(this, handle__dragMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_dragMoveEvent(QDragMoveEvent* param1) { QWebView::dragMoveEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__dropEvent = 0; // Subclass to allow providing a Go implementation virtual void dropEvent(QDropEvent* param1) override { if (handle__dropEvent == 0) { QWebView::dropEvent(param1); return; } QDropEvent* sigval1 = param1; miqt_exec_callback_QWebView_dropEvent(this, handle__dropEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_dropEvent(QDropEvent* param1) { QWebView::dropEvent(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) { QWebView::focusInEvent(param1); return; } QFocusEvent* sigval1 = param1; miqt_exec_callback_QWebView_focusInEvent(this, handle__focusInEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_focusInEvent(QFocusEvent* param1) { QWebView::focusInEvent(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) { QWebView::focusOutEvent(param1); return; } QFocusEvent* sigval1 = param1; miqt_exec_callback_QWebView_focusOutEvent(this, handle__focusOutEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_focusOutEvent(QFocusEvent* param1) { QWebView::focusOutEvent(param1); } // 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) { QWebView::inputMethodEvent(param1); return; } QInputMethodEvent* sigval1 = param1; miqt_exec_callback_QWebView_inputMethodEvent(this, handle__inputMethodEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_inputMethodEvent(QInputMethodEvent* param1) { QWebView::inputMethodEvent(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 QWebView::focusNextPrevChild(next); } bool sigval1 = next; bool callback_return_value = miqt_exec_callback_QWebView_focusNextPrevChild(this, handle__focusNextPrevChild, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_focusNextPrevChild(bool next) { return QWebView::focusNextPrevChild(next); } // 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 QWebView::devType(); } int callback_return_value = miqt_exec_callback_QWebView_devType(this, handle__devType); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_devType() const { return QWebView::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) { QWebView::setVisible(visible); return; } bool sigval1 = visible; miqt_exec_callback_QWebView_setVisible(this, handle__setVisible, sigval1); } // Wrapper to allow calling protected method void virtualbase_setVisible(bool visible) { QWebView::setVisible(visible); } // 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 QWebView::minimumSizeHint(); } QSize* callback_return_value = miqt_exec_callback_QWebView_minimumSizeHint(this, handle__minimumSizeHint); return *callback_return_value; } // Wrapper to allow calling protected method QSize* virtualbase_minimumSizeHint() const { return new QSize(QWebView::minimumSizeHint()); } // 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 QWebView::heightForWidth(param1); } int sigval1 = param1; int callback_return_value = miqt_exec_callback_QWebView_heightForWidth(this, handle__heightForWidth, sigval1); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_heightForWidth(int param1) const { return QWebView::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 QWebView::hasHeightForWidth(); } bool callback_return_value = miqt_exec_callback_QWebView_hasHeightForWidth(this, handle__hasHeightForWidth); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_hasHeightForWidth() const { return QWebView::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 QWebView::paintEngine(); } QPaintEngine* callback_return_value = miqt_exec_callback_QWebView_paintEngine(this, handle__paintEngine); return callback_return_value; } // Wrapper to allow calling protected method QPaintEngine* virtualbase_paintEngine() const { return QWebView::paintEngine(); } // cgo.Handle value for overwritten implementation intptr_t handle__enterEvent = 0; // Subclass to allow providing a Go implementation virtual void enterEvent(QEvent* event) override { if (handle__enterEvent == 0) { QWebView::enterEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QWebView_enterEvent(this, handle__enterEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_enterEvent(QEvent* event) { QWebView::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) { QWebView::leaveEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QWebView_leaveEvent(this, handle__leaveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_leaveEvent(QEvent* event) { QWebView::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) { QWebView::moveEvent(event); return; } QMoveEvent* sigval1 = event; miqt_exec_callback_QWebView_moveEvent(this, handle__moveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_moveEvent(QMoveEvent* event) { QWebView::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) { QWebView::closeEvent(event); return; } QCloseEvent* sigval1 = event; miqt_exec_callback_QWebView_closeEvent(this, handle__closeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_closeEvent(QCloseEvent* event) { QWebView::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) { QWebView::tabletEvent(event); return; } QTabletEvent* sigval1 = event; miqt_exec_callback_QWebView_tabletEvent(this, handle__tabletEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_tabletEvent(QTabletEvent* event) { QWebView::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) { QWebView::actionEvent(event); return; } QActionEvent* sigval1 = event; miqt_exec_callback_QWebView_actionEvent(this, handle__actionEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_actionEvent(QActionEvent* event) { QWebView::actionEvent(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) { QWebView::showEvent(event); return; } QShowEvent* sigval1 = event; miqt_exec_callback_QWebView_showEvent(this, handle__showEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_showEvent(QShowEvent* event) { QWebView::showEvent(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) { QWebView::hideEvent(event); return; } QHideEvent* sigval1 = event; miqt_exec_callback_QWebView_hideEvent(this, handle__hideEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_hideEvent(QHideEvent* event) { QWebView::hideEvent(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, long* result) override { if (handle__nativeEvent == 0) { return QWebView::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; long* sigval3 = result; bool callback_return_value = miqt_exec_callback_QWebView_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, long* result) { QByteArray eventType_QByteArray(eventType.data, eventType.len); return QWebView::nativeEvent(eventType_QByteArray, message, static_cast(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 QWebView::metric(param1); } QPaintDevice::PaintDeviceMetric param1_ret = param1; int sigval1 = static_cast(param1_ret); int callback_return_value = miqt_exec_callback_QWebView_metric(this, handle__metric, sigval1); return static_cast(callback_return_value); } // Wrapper to allow calling protected method int virtualbase_metric(int param1) const { return QWebView::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) { QWebView::initPainter(painter); return; } QPainter* sigval1 = painter; miqt_exec_callback_QWebView_initPainter(this, handle__initPainter, sigval1); } // Wrapper to allow calling protected method void virtualbase_initPainter(QPainter* painter) const { QWebView::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 QWebView::redirected(offset); } QPoint* sigval1 = offset; QPaintDevice* callback_return_value = miqt_exec_callback_QWebView_redirected(this, handle__redirected, sigval1); return callback_return_value; } // Wrapper to allow calling protected method QPaintDevice* virtualbase_redirected(QPoint* offset) const { return QWebView::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 QWebView::sharedPainter(); } QPainter* callback_return_value = miqt_exec_callback_QWebView_sharedPainter(this, handle__sharedPainter); return callback_return_value; } // Wrapper to allow calling protected method QPainter* virtualbase_sharedPainter() const { return QWebView::sharedPainter(); } // 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 QWebView::eventFilter(watched, event); } QObject* sigval1 = watched; QEvent* sigval2 = event; bool callback_return_value = miqt_exec_callback_QWebView_eventFilter(this, handle__eventFilter, sigval1, sigval2); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_eventFilter(QObject* watched, QEvent* event) { return QWebView::eventFilter(watched, event); } // cgo.Handle value for overwritten implementation intptr_t handle__timerEvent = 0; // Subclass to allow providing a Go implementation virtual void timerEvent(QTimerEvent* event) override { if (handle__timerEvent == 0) { QWebView::timerEvent(event); return; } QTimerEvent* sigval1 = event; miqt_exec_callback_QWebView_timerEvent(this, handle__timerEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_timerEvent(QTimerEvent* event) { QWebView::timerEvent(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) { QWebView::childEvent(event); return; } QChildEvent* sigval1 = event; miqt_exec_callback_QWebView_childEvent(this, handle__childEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_childEvent(QChildEvent* event) { QWebView::childEvent(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) { QWebView::customEvent(event); return; } QEvent* sigval1 = event; miqt_exec_callback_QWebView_customEvent(this, handle__customEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_customEvent(QEvent* event) { QWebView::customEvent(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) { QWebView::connectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QWebView_connectNotify(this, handle__connectNotify, sigval1); } // Wrapper to allow calling protected method void virtualbase_connectNotify(QMetaMethod* signal) { QWebView::connectNotify(*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) { QWebView::disconnectNotify(signal); return; } const QMetaMethod& signal_ret = signal; // Cast returned reference into pointer QMetaMethod* sigval1 = const_cast(&signal_ret); miqt_exec_callback_QWebView_disconnectNotify(this, handle__disconnectNotify, sigval1); } // Wrapper to allow calling protected method void virtualbase_disconnectNotify(QMetaMethod* signal) { QWebView::disconnectNotify(*signal); } }; QWebView* QWebView_new(QWidget* parent) { return new MiqtVirtualQWebView(parent); } QWebView* QWebView_new2() { return new MiqtVirtualQWebView(); } void QWebView_virtbase(QWebView* src, QWidget** outptr_QWidget) { *outptr_QWidget = static_cast(src); } QMetaObject* QWebView_metaObject(const QWebView* self) { return (QMetaObject*) self->metaObject(); } void* QWebView_metacast(QWebView* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QWebView_tr(const char* s) { QString _ret = QWebView::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 QWebView_trUtf8(const char* s) { QString _ret = QWebView::trUtf8(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; } QWebPage* QWebView_page(const QWebView* self) { return self->page(); } void QWebView_setPage(QWebView* self, QWebPage* page) { self->setPage(page); } void QWebView_load(QWebView* self, QUrl* url) { self->load(*url); } void QWebView_loadWithRequest(QWebView* self, QNetworkRequest* request) { self->load(*request); } void QWebView_setHtml(QWebView* self, struct miqt_string html) { QString html_QString = QString::fromUtf8(html.data, html.len); self->setHtml(html_QString); } void QWebView_setContent(QWebView* self, struct miqt_string data) { QByteArray data_QByteArray(data.data, data.len); self->setContent(data_QByteArray); } QWebHistory* QWebView_history(const QWebView* self) { return self->history(); } QWebSettings* QWebView_settings(const QWebView* self) { return self->settings(); } struct miqt_string QWebView_title(const QWebView* self) { QString _ret = self->title(); // 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 QWebView_setUrl(QWebView* self, QUrl* url) { self->setUrl(*url); } QUrl* QWebView_url(const QWebView* self) { return new QUrl(self->url()); } QIcon* QWebView_icon(const QWebView* self) { return new QIcon(self->icon()); } bool QWebView_hasSelection(const QWebView* self) { return self->hasSelection(); } struct miqt_string QWebView_selectedText(const QWebView* self) { QString _ret = self->selectedText(); // 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 QWebView_selectedHtml(const QWebView* self) { QString _ret = self->selectedHtml(); // 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; } QAction* QWebView_pageAction(const QWebView* self, int action) { return self->pageAction(static_cast(action)); } void QWebView_triggerPageAction(QWebView* self, int action) { self->triggerPageAction(static_cast(action)); } bool QWebView_isModified(const QWebView* self) { return self->isModified(); } QVariant* QWebView_inputMethodQuery(const QWebView* self, int property) { return new QVariant(self->inputMethodQuery(static_cast(property))); } QSize* QWebView_sizeHint(const QWebView* self) { return new QSize(self->sizeHint()); } double QWebView_zoomFactor(const QWebView* self) { qreal _ret = self->zoomFactor(); return static_cast(_ret); } void QWebView_setZoomFactor(QWebView* self, double factor) { self->setZoomFactor(static_cast(factor)); } void QWebView_setTextSizeMultiplier(QWebView* self, double factor) { self->setTextSizeMultiplier(static_cast(factor)); } double QWebView_textSizeMultiplier(const QWebView* self) { qreal _ret = self->textSizeMultiplier(); return static_cast(_ret); } int QWebView_renderHints(const QWebView* self) { QPainter::RenderHints _ret = self->renderHints(); return static_cast(_ret); } void QWebView_setRenderHints(QWebView* self, int hints) { self->setRenderHints(static_cast(hints)); } void QWebView_setRenderHint(QWebView* self, int hint) { self->setRenderHint(static_cast(hint)); } bool QWebView_findText(QWebView* self, struct miqt_string subString) { QString subString_QString = QString::fromUtf8(subString.data, subString.len); return self->findText(subString_QString); } bool QWebView_event(QWebView* self, QEvent* param1) { return self->event(param1); } void QWebView_stop(QWebView* self) { self->stop(); } void QWebView_back(QWebView* self) { self->back(); } void QWebView_forward(QWebView* self) { self->forward(); } void QWebView_reload(QWebView* self) { self->reload(); } void QWebView_print(const QWebView* self, QPrinter* param1) { self->print(param1); } void QWebView_loadStarted(QWebView* self) { self->loadStarted(); } void QWebView_connect_loadStarted(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::loadStarted), self, [=]() { miqt_exec_callback_QWebView_loadStarted(slot); }); } void QWebView_loadProgress(QWebView* self, int progress) { self->loadProgress(static_cast(progress)); } void QWebView_connect_loadProgress(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::loadProgress), self, [=](int progress) { int sigval1 = progress; miqt_exec_callback_QWebView_loadProgress(slot, sigval1); }); } void QWebView_loadFinished(QWebView* self, bool param1) { self->loadFinished(param1); } void QWebView_connect_loadFinished(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::loadFinished), self, [=](bool param1) { bool sigval1 = param1; miqt_exec_callback_QWebView_loadFinished(slot, sigval1); }); } void QWebView_titleChanged(QWebView* self, struct miqt_string title) { QString title_QString = QString::fromUtf8(title.data, title.len); self->titleChanged(title_QString); } void QWebView_connect_titleChanged(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::titleChanged), self, [=](const QString& title) { const QString title_ret = title; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray title_b = title_ret.toUtf8(); struct miqt_string title_ms; title_ms.len = title_b.length(); title_ms.data = static_cast(malloc(title_ms.len)); memcpy(title_ms.data, title_b.data(), title_ms.len); struct miqt_string sigval1 = title_ms; miqt_exec_callback_QWebView_titleChanged(slot, sigval1); }); } void QWebView_statusBarMessage(QWebView* self, struct miqt_string text) { QString text_QString = QString::fromUtf8(text.data, text.len); self->statusBarMessage(text_QString); } void QWebView_connect_statusBarMessage(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::statusBarMessage), self, [=](const QString& text) { const QString text_ret = text; // Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory QByteArray text_b = text_ret.toUtf8(); struct miqt_string text_ms; text_ms.len = text_b.length(); text_ms.data = static_cast(malloc(text_ms.len)); memcpy(text_ms.data, text_b.data(), text_ms.len); struct miqt_string sigval1 = text_ms; miqt_exec_callback_QWebView_statusBarMessage(slot, sigval1); }); } void QWebView_linkClicked(QWebView* self, QUrl* param1) { self->linkClicked(*param1); } void QWebView_connect_linkClicked(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::linkClicked), self, [=](const QUrl& param1) { const QUrl& param1_ret = param1; // Cast returned reference into pointer QUrl* sigval1 = const_cast(¶m1_ret); miqt_exec_callback_QWebView_linkClicked(slot, sigval1); }); } void QWebView_selectionChanged(QWebView* self) { self->selectionChanged(); } void QWebView_connect_selectionChanged(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::selectionChanged), self, [=]() { miqt_exec_callback_QWebView_selectionChanged(slot); }); } void QWebView_iconChanged(QWebView* self) { self->iconChanged(); } void QWebView_connect_iconChanged(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::iconChanged), self, [=]() { miqt_exec_callback_QWebView_iconChanged(slot); }); } void QWebView_urlChanged(QWebView* self, QUrl* param1) { self->urlChanged(*param1); } void QWebView_connect_urlChanged(QWebView* self, intptr_t slot) { MiqtVirtualQWebView::connect(self, static_cast(&QWebView::urlChanged), self, [=](const QUrl& param1) { const QUrl& param1_ret = param1; // Cast returned reference into pointer QUrl* sigval1 = const_cast(¶m1_ret); miqt_exec_callback_QWebView_urlChanged(slot, sigval1); }); } struct miqt_string QWebView_tr2(const char* s, const char* c) { QString _ret = QWebView::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 QWebView_tr3(const char* s, const char* c, int n) { QString _ret = QWebView::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; } struct miqt_string QWebView_trUtf82(const char* s, const char* c) { QString _ret = QWebView::trUtf8(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 QWebView_trUtf83(const char* s, const char* c, int n) { QString _ret = QWebView::trUtf8(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; } void QWebView_load2(QWebView* self, QNetworkRequest* request, int operation) { self->load(*request, static_cast(operation)); } void QWebView_load3(QWebView* self, QNetworkRequest* request, int operation, struct miqt_string body) { QByteArray body_QByteArray(body.data, body.len); self->load(*request, static_cast(operation), body_QByteArray); } void QWebView_setHtml2(QWebView* self, struct miqt_string html, QUrl* baseUrl) { QString html_QString = QString::fromUtf8(html.data, html.len); self->setHtml(html_QString, *baseUrl); } void QWebView_setContent2(QWebView* self, struct miqt_string data, struct miqt_string mimeType) { QByteArray data_QByteArray(data.data, data.len); QString mimeType_QString = QString::fromUtf8(mimeType.data, mimeType.len); self->setContent(data_QByteArray, mimeType_QString); } void QWebView_setContent3(QWebView* self, struct miqt_string data, struct miqt_string mimeType, QUrl* baseUrl) { QByteArray data_QByteArray(data.data, data.len); QString mimeType_QString = QString::fromUtf8(mimeType.data, mimeType.len); self->setContent(data_QByteArray, mimeType_QString, *baseUrl); } void QWebView_triggerPageAction2(QWebView* self, int action, bool checked) { self->triggerPageAction(static_cast(action), checked); } void QWebView_setRenderHint2(QWebView* self, int hint, bool enabled) { self->setRenderHint(static_cast(hint), enabled); } bool QWebView_findText2(QWebView* self, struct miqt_string subString, int options) { QString subString_QString = QString::fromUtf8(subString.data, subString.len); return self->findText(subString_QString, static_cast(options)); } bool QWebView_override_virtual_inputMethodQuery(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__inputMethodQuery = slot; return true; } QVariant* QWebView_virtualbase_inputMethodQuery(const void* self, int property) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_inputMethodQuery(property); } bool QWebView_override_virtual_sizeHint(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__sizeHint = slot; return true; } QSize* QWebView_virtualbase_sizeHint(const void* self) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_sizeHint(); } bool QWebView_override_virtual_event(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__event = slot; return true; } bool QWebView_virtualbase_event(void* self, QEvent* param1) { return ( (MiqtVirtualQWebView*)(self) )->virtualbase_event(param1); } bool QWebView_override_virtual_resizeEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__resizeEvent = slot; return true; } void QWebView_virtualbase_resizeEvent(void* self, QResizeEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_resizeEvent(param1); } bool QWebView_override_virtual_paintEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__paintEvent = slot; return true; } void QWebView_virtualbase_paintEvent(void* self, QPaintEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_paintEvent(param1); } bool QWebView_override_virtual_createWindow(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__createWindow = slot; return true; } QWebView* QWebView_virtualbase_createWindow(void* self, int type) { return ( (MiqtVirtualQWebView*)(self) )->virtualbase_createWindow(type); } bool QWebView_override_virtual_changeEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__changeEvent = slot; return true; } void QWebView_virtualbase_changeEvent(void* self, QEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_changeEvent(param1); } bool QWebView_override_virtual_mouseMoveEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseMoveEvent = slot; return true; } void QWebView_virtualbase_mouseMoveEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_mouseMoveEvent(param1); } bool QWebView_override_virtual_mousePressEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mousePressEvent = slot; return true; } void QWebView_virtualbase_mousePressEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_mousePressEvent(param1); } bool QWebView_override_virtual_mouseDoubleClickEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseDoubleClickEvent = slot; return true; } void QWebView_virtualbase_mouseDoubleClickEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_mouseDoubleClickEvent(param1); } bool QWebView_override_virtual_mouseReleaseEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__mouseReleaseEvent = slot; return true; } void QWebView_virtualbase_mouseReleaseEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_mouseReleaseEvent(param1); } bool QWebView_override_virtual_contextMenuEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__contextMenuEvent = slot; return true; } void QWebView_virtualbase_contextMenuEvent(void* self, QContextMenuEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_contextMenuEvent(param1); } bool QWebView_override_virtual_wheelEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__wheelEvent = slot; return true; } void QWebView_virtualbase_wheelEvent(void* self, QWheelEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_wheelEvent(param1); } bool QWebView_override_virtual_keyPressEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__keyPressEvent = slot; return true; } void QWebView_virtualbase_keyPressEvent(void* self, QKeyEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_keyPressEvent(param1); } bool QWebView_override_virtual_keyReleaseEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__keyReleaseEvent = slot; return true; } void QWebView_virtualbase_keyReleaseEvent(void* self, QKeyEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_keyReleaseEvent(param1); } bool QWebView_override_virtual_dragEnterEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragEnterEvent = slot; return true; } void QWebView_virtualbase_dragEnterEvent(void* self, QDragEnterEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_dragEnterEvent(param1); } bool QWebView_override_virtual_dragLeaveEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragLeaveEvent = slot; return true; } void QWebView_virtualbase_dragLeaveEvent(void* self, QDragLeaveEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_dragLeaveEvent(param1); } bool QWebView_override_virtual_dragMoveEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dragMoveEvent = slot; return true; } void QWebView_virtualbase_dragMoveEvent(void* self, QDragMoveEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_dragMoveEvent(param1); } bool QWebView_override_virtual_dropEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__dropEvent = slot; return true; } void QWebView_virtualbase_dropEvent(void* self, QDropEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_dropEvent(param1); } bool QWebView_override_virtual_focusInEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusInEvent = slot; return true; } void QWebView_virtualbase_focusInEvent(void* self, QFocusEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_focusInEvent(param1); } bool QWebView_override_virtual_focusOutEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusOutEvent = slot; return true; } void QWebView_virtualbase_focusOutEvent(void* self, QFocusEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_focusOutEvent(param1); } bool QWebView_override_virtual_inputMethodEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__inputMethodEvent = slot; return true; } void QWebView_virtualbase_inputMethodEvent(void* self, QInputMethodEvent* param1) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_inputMethodEvent(param1); } bool QWebView_override_virtual_focusNextPrevChild(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__focusNextPrevChild = slot; return true; } bool QWebView_virtualbase_focusNextPrevChild(void* self, bool next) { return ( (MiqtVirtualQWebView*)(self) )->virtualbase_focusNextPrevChild(next); } bool QWebView_override_virtual_devType(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__devType = slot; return true; } int QWebView_virtualbase_devType(const void* self) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_devType(); } bool QWebView_override_virtual_setVisible(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__setVisible = slot; return true; } void QWebView_virtualbase_setVisible(void* self, bool visible) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_setVisible(visible); } bool QWebView_override_virtual_minimumSizeHint(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__minimumSizeHint = slot; return true; } QSize* QWebView_virtualbase_minimumSizeHint(const void* self) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_minimumSizeHint(); } bool QWebView_override_virtual_heightForWidth(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__heightForWidth = slot; return true; } int QWebView_virtualbase_heightForWidth(const void* self, int param1) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_heightForWidth(param1); } bool QWebView_override_virtual_hasHeightForWidth(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hasHeightForWidth = slot; return true; } bool QWebView_virtualbase_hasHeightForWidth(const void* self) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_hasHeightForWidth(); } bool QWebView_override_virtual_paintEngine(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__paintEngine = slot; return true; } QPaintEngine* QWebView_virtualbase_paintEngine(const void* self) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_paintEngine(); } bool QWebView_override_virtual_enterEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__enterEvent = slot; return true; } void QWebView_virtualbase_enterEvent(void* self, QEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_enterEvent(event); } bool QWebView_override_virtual_leaveEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__leaveEvent = slot; return true; } void QWebView_virtualbase_leaveEvent(void* self, QEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_leaveEvent(event); } bool QWebView_override_virtual_moveEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__moveEvent = slot; return true; } void QWebView_virtualbase_moveEvent(void* self, QMoveEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_moveEvent(event); } bool QWebView_override_virtual_closeEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__closeEvent = slot; return true; } void QWebView_virtualbase_closeEvent(void* self, QCloseEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_closeEvent(event); } bool QWebView_override_virtual_tabletEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__tabletEvent = slot; return true; } void QWebView_virtualbase_tabletEvent(void* self, QTabletEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_tabletEvent(event); } bool QWebView_override_virtual_actionEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__actionEvent = slot; return true; } void QWebView_virtualbase_actionEvent(void* self, QActionEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_actionEvent(event); } bool QWebView_override_virtual_showEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__showEvent = slot; return true; } void QWebView_virtualbase_showEvent(void* self, QShowEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_showEvent(event); } bool QWebView_override_virtual_hideEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__hideEvent = slot; return true; } void QWebView_virtualbase_hideEvent(void* self, QHideEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_hideEvent(event); } bool QWebView_override_virtual_nativeEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__nativeEvent = slot; return true; } bool QWebView_virtualbase_nativeEvent(void* self, struct miqt_string eventType, void* message, long* result) { return ( (MiqtVirtualQWebView*)(self) )->virtualbase_nativeEvent(eventType, message, result); } bool QWebView_override_virtual_metric(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__metric = slot; return true; } int QWebView_virtualbase_metric(const void* self, int param1) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_metric(param1); } bool QWebView_override_virtual_initPainter(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__initPainter = slot; return true; } void QWebView_virtualbase_initPainter(const void* self, QPainter* painter) { ( (const MiqtVirtualQWebView*)(self) )->virtualbase_initPainter(painter); } bool QWebView_override_virtual_redirected(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__redirected = slot; return true; } QPaintDevice* QWebView_virtualbase_redirected(const void* self, QPoint* offset) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_redirected(offset); } bool QWebView_override_virtual_sharedPainter(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__sharedPainter = slot; return true; } QPainter* QWebView_virtualbase_sharedPainter(const void* self) { return ( (const MiqtVirtualQWebView*)(self) )->virtualbase_sharedPainter(); } bool QWebView_override_virtual_eventFilter(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__eventFilter = slot; return true; } bool QWebView_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event) { return ( (MiqtVirtualQWebView*)(self) )->virtualbase_eventFilter(watched, event); } bool QWebView_override_virtual_timerEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__timerEvent = slot; return true; } void QWebView_virtualbase_timerEvent(void* self, QTimerEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_timerEvent(event); } bool QWebView_override_virtual_childEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__childEvent = slot; return true; } void QWebView_virtualbase_childEvent(void* self, QChildEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_childEvent(event); } bool QWebView_override_virtual_customEvent(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__customEvent = slot; return true; } void QWebView_virtualbase_customEvent(void* self, QEvent* event) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_customEvent(event); } bool QWebView_override_virtual_connectNotify(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__connectNotify = slot; return true; } void QWebView_virtualbase_connectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_connectNotify(signal); } bool QWebView_override_virtual_disconnectNotify(void* self, intptr_t slot) { MiqtVirtualQWebView* self_cast = dynamic_cast( (QWebView*)(self) ); if (self_cast == nullptr) { return false; } self_cast->handle__disconnectNotify = slot; return true; } void QWebView_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) { ( (MiqtVirtualQWebView*)(self) )->virtualbase_disconnectNotify(signal); } void QWebView_delete(QWebView* self) { delete self; }