#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_qscrollarea.h" #ifndef _Bool #define _Bool bool #endif #include "_cgo_export.h" class MiqtVirtualQScrollArea : public virtual QScrollArea { public: MiqtVirtualQScrollArea(QWidget* parent): QScrollArea(parent) {}; MiqtVirtualQScrollArea(): QScrollArea() {}; virtual ~MiqtVirtualQScrollArea() = 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 QScrollArea::sizeHint(); } QSize* callback_return_value = miqt_exec_callback_QScrollArea_SizeHint(const_cast(this), handle__SizeHint); return *callback_return_value; } // Wrapper to allow calling protected method QSize* virtualbase_SizeHint() const { return new QSize(QScrollArea::sizeHint()); } // 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 QScrollArea::focusNextPrevChild(next); } bool sigval1 = next; bool callback_return_value = miqt_exec_callback_QScrollArea_FocusNextPrevChild(this, handle__FocusNextPrevChild, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_FocusNextPrevChild(bool next) { return QScrollArea::focusNextPrevChild(next); } // 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 QScrollArea::event(param1); } QEvent* sigval1 = param1; bool callback_return_value = miqt_exec_callback_QScrollArea_Event(this, handle__Event, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_Event(QEvent* param1) { return QScrollArea::event(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__EventFilter = 0; // Subclass to allow providing a Go implementation virtual bool eventFilter(QObject* param1, QEvent* param2) override { if (handle__EventFilter == 0) { return QScrollArea::eventFilter(param1, param2); } QObject* sigval1 = param1; QEvent* sigval2 = param2; bool callback_return_value = miqt_exec_callback_QScrollArea_EventFilter(this, handle__EventFilter, sigval1, sigval2); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_EventFilter(QObject* param1, QEvent* param2) { return QScrollArea::eventFilter(param1, param2); } // 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) { QScrollArea::resizeEvent(param1); return; } QResizeEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_ResizeEvent(this, handle__ResizeEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ResizeEvent(QResizeEvent* param1) { QScrollArea::resizeEvent(param1); } // cgo.Handle value for overwritten implementation intptr_t handle__ScrollContentsBy = 0; // Subclass to allow providing a Go implementation virtual void scrollContentsBy(int dx, int dy) override { if (handle__ScrollContentsBy == 0) { QScrollArea::scrollContentsBy(dx, dy); return; } int sigval1 = dx; int sigval2 = dy; miqt_exec_callback_QScrollArea_ScrollContentsBy(this, handle__ScrollContentsBy, sigval1, sigval2); } // Wrapper to allow calling protected method void virtualbase_ScrollContentsBy(int dx, int dy) { QScrollArea::scrollContentsBy(static_cast(dx), static_cast(dy)); } // cgo.Handle value for overwritten implementation intptr_t handle__ViewportSizeHint = 0; // Subclass to allow providing a Go implementation virtual QSize viewportSizeHint() const override { if (handle__ViewportSizeHint == 0) { return QScrollArea::viewportSizeHint(); } QSize* callback_return_value = miqt_exec_callback_QScrollArea_ViewportSizeHint(const_cast(this), handle__ViewportSizeHint); return *callback_return_value; } // Wrapper to allow calling protected method QSize* virtualbase_ViewportSizeHint() const { return new QSize(QScrollArea::viewportSizeHint()); } // 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 QScrollArea::minimumSizeHint(); } QSize* callback_return_value = miqt_exec_callback_QScrollArea_MinimumSizeHint(const_cast(this), handle__MinimumSizeHint); return *callback_return_value; } // Wrapper to allow calling protected method QSize* virtualbase_MinimumSizeHint() const { return new QSize(QScrollArea::minimumSizeHint()); } // cgo.Handle value for overwritten implementation intptr_t handle__SetupViewport = 0; // Subclass to allow providing a Go implementation virtual void setupViewport(QWidget* viewport) override { if (handle__SetupViewport == 0) { QScrollArea::setupViewport(viewport); return; } QWidget* sigval1 = viewport; miqt_exec_callback_QScrollArea_SetupViewport(this, handle__SetupViewport, sigval1); } // Wrapper to allow calling protected method void virtualbase_SetupViewport(QWidget* viewport) { QScrollArea::setupViewport(viewport); } // cgo.Handle value for overwritten implementation intptr_t handle__ViewportEvent = 0; // Subclass to allow providing a Go implementation virtual bool viewportEvent(QEvent* param1) override { if (handle__ViewportEvent == 0) { return QScrollArea::viewportEvent(param1); } QEvent* sigval1 = param1; bool callback_return_value = miqt_exec_callback_QScrollArea_ViewportEvent(this, handle__ViewportEvent, sigval1); return callback_return_value; } // Wrapper to allow calling protected method bool virtualbase_ViewportEvent(QEvent* param1) { return QScrollArea::viewportEvent(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) { QScrollArea::paintEvent(param1); return; } QPaintEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_PaintEvent(this, handle__PaintEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_PaintEvent(QPaintEvent* param1) { QScrollArea::paintEvent(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) { QScrollArea::mousePressEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_MousePressEvent(this, handle__MousePressEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MousePressEvent(QMouseEvent* param1) { QScrollArea::mousePressEvent(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) { QScrollArea::mouseReleaseEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_MouseReleaseEvent(this, handle__MouseReleaseEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MouseReleaseEvent(QMouseEvent* param1) { QScrollArea::mouseReleaseEvent(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) { QScrollArea::mouseDoubleClickEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_MouseDoubleClickEvent(this, handle__MouseDoubleClickEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MouseDoubleClickEvent(QMouseEvent* param1) { QScrollArea::mouseDoubleClickEvent(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) { QScrollArea::mouseMoveEvent(param1); return; } QMouseEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_MouseMoveEvent(this, handle__MouseMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_MouseMoveEvent(QMouseEvent* param1) { QScrollArea::mouseMoveEvent(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) { QScrollArea::wheelEvent(param1); return; } QWheelEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_WheelEvent(this, handle__WheelEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_WheelEvent(QWheelEvent* param1) { QScrollArea::wheelEvent(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) { QScrollArea::contextMenuEvent(param1); return; } QContextMenuEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_ContextMenuEvent(this, handle__ContextMenuEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_ContextMenuEvent(QContextMenuEvent* param1) { QScrollArea::contextMenuEvent(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) { QScrollArea::dragEnterEvent(param1); return; } QDragEnterEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_DragEnterEvent(this, handle__DragEnterEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_DragEnterEvent(QDragEnterEvent* param1) { QScrollArea::dragEnterEvent(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) { QScrollArea::dragMoveEvent(param1); return; } QDragMoveEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_DragMoveEvent(this, handle__DragMoveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_DragMoveEvent(QDragMoveEvent* param1) { QScrollArea::dragMoveEvent(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) { QScrollArea::dragLeaveEvent(param1); return; } QDragLeaveEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_DragLeaveEvent(this, handle__DragLeaveEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_DragLeaveEvent(QDragLeaveEvent* param1) { QScrollArea::dragLeaveEvent(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) { QScrollArea::dropEvent(param1); return; } QDropEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_DropEvent(this, handle__DropEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_DropEvent(QDropEvent* param1) { QScrollArea::dropEvent(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) { QScrollArea::keyPressEvent(param1); return; } QKeyEvent* sigval1 = param1; miqt_exec_callback_QScrollArea_KeyPressEvent(this, handle__KeyPressEvent, sigval1); } // Wrapper to allow calling protected method void virtualbase_KeyPressEvent(QKeyEvent* param1) { QScrollArea::keyPressEvent(param1); } }; QScrollArea* QScrollArea_new(QWidget* parent) { return new MiqtVirtualQScrollArea(parent); } QScrollArea* QScrollArea_new2() { return new MiqtVirtualQScrollArea(); } void QScrollArea_virtbase(QScrollArea* src, QAbstractScrollArea** outptr_QAbstractScrollArea) { *outptr_QAbstractScrollArea = static_cast(src); } QMetaObject* QScrollArea_MetaObject(const QScrollArea* self) { return (QMetaObject*) self->metaObject(); } void* QScrollArea_Metacast(QScrollArea* self, const char* param1) { return self->qt_metacast(param1); } struct miqt_string QScrollArea_Tr(const char* s) { QString _ret = QScrollArea::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; } QWidget* QScrollArea_Widget(const QScrollArea* self) { return self->widget(); } void QScrollArea_SetWidget(QScrollArea* self, QWidget* widget) { self->setWidget(widget); } QWidget* QScrollArea_TakeWidget(QScrollArea* self) { return self->takeWidget(); } bool QScrollArea_WidgetResizable(const QScrollArea* self) { return self->widgetResizable(); } void QScrollArea_SetWidgetResizable(QScrollArea* self, bool resizable) { self->setWidgetResizable(resizable); } QSize* QScrollArea_SizeHint(const QScrollArea* self) { return new QSize(self->sizeHint()); } bool QScrollArea_FocusNextPrevChild(QScrollArea* self, bool next) { return self->focusNextPrevChild(next); } int QScrollArea_Alignment(const QScrollArea* self) { Qt::Alignment _ret = self->alignment(); return static_cast(_ret); } void QScrollArea_SetAlignment(QScrollArea* self, int alignment) { self->setAlignment(static_cast(alignment)); } void QScrollArea_EnsureVisible(QScrollArea* self, int x, int y) { self->ensureVisible(static_cast(x), static_cast(y)); } void QScrollArea_EnsureWidgetVisible(QScrollArea* self, QWidget* childWidget) { self->ensureWidgetVisible(childWidget); } struct miqt_string QScrollArea_Tr2(const char* s, const char* c) { QString _ret = QScrollArea::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 QScrollArea_Tr3(const char* s, const char* c, int n) { QString _ret = QScrollArea::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; } void QScrollArea_EnsureVisible3(QScrollArea* self, int x, int y, int xmargin) { self->ensureVisible(static_cast(x), static_cast(y), static_cast(xmargin)); } void QScrollArea_EnsureVisible4(QScrollArea* self, int x, int y, int xmargin, int ymargin) { self->ensureVisible(static_cast(x), static_cast(y), static_cast(xmargin), static_cast(ymargin)); } void QScrollArea_EnsureWidgetVisible2(QScrollArea* self, QWidget* childWidget, int xmargin) { self->ensureWidgetVisible(childWidget, static_cast(xmargin)); } void QScrollArea_EnsureWidgetVisible3(QScrollArea* self, QWidget* childWidget, int xmargin, int ymargin) { self->ensureWidgetVisible(childWidget, static_cast(xmargin), static_cast(ymargin)); } void QScrollArea_override_virtual_SizeHint(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__SizeHint = slot; } QSize* QScrollArea_virtualbase_SizeHint(const void* self) { return ( (const MiqtVirtualQScrollArea*)(self) )->virtualbase_SizeHint(); } void QScrollArea_override_virtual_FocusNextPrevChild(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__FocusNextPrevChild = slot; } bool QScrollArea_virtualbase_FocusNextPrevChild(void* self, bool next) { return ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_FocusNextPrevChild(next); } void QScrollArea_override_virtual_Event(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__Event = slot; } bool QScrollArea_virtualbase_Event(void* self, QEvent* param1) { return ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_Event(param1); } void QScrollArea_override_virtual_EventFilter(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__EventFilter = slot; } bool QScrollArea_virtualbase_EventFilter(void* self, QObject* param1, QEvent* param2) { return ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_EventFilter(param1, param2); } void QScrollArea_override_virtual_ResizeEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__ResizeEvent = slot; } void QScrollArea_virtualbase_ResizeEvent(void* self, QResizeEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_ResizeEvent(param1); } void QScrollArea_override_virtual_ScrollContentsBy(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__ScrollContentsBy = slot; } void QScrollArea_virtualbase_ScrollContentsBy(void* self, int dx, int dy) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_ScrollContentsBy(dx, dy); } void QScrollArea_override_virtual_ViewportSizeHint(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__ViewportSizeHint = slot; } QSize* QScrollArea_virtualbase_ViewportSizeHint(const void* self) { return ( (const MiqtVirtualQScrollArea*)(self) )->virtualbase_ViewportSizeHint(); } void QScrollArea_override_virtual_MinimumSizeHint(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__MinimumSizeHint = slot; } QSize* QScrollArea_virtualbase_MinimumSizeHint(const void* self) { return ( (const MiqtVirtualQScrollArea*)(self) )->virtualbase_MinimumSizeHint(); } void QScrollArea_override_virtual_SetupViewport(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__SetupViewport = slot; } void QScrollArea_virtualbase_SetupViewport(void* self, QWidget* viewport) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_SetupViewport(viewport); } void QScrollArea_override_virtual_ViewportEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__ViewportEvent = slot; } bool QScrollArea_virtualbase_ViewportEvent(void* self, QEvent* param1) { return ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_ViewportEvent(param1); } void QScrollArea_override_virtual_PaintEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__PaintEvent = slot; } void QScrollArea_virtualbase_PaintEvent(void* self, QPaintEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_PaintEvent(param1); } void QScrollArea_override_virtual_MousePressEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__MousePressEvent = slot; } void QScrollArea_virtualbase_MousePressEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_MousePressEvent(param1); } void QScrollArea_override_virtual_MouseReleaseEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__MouseReleaseEvent = slot; } void QScrollArea_virtualbase_MouseReleaseEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_MouseReleaseEvent(param1); } void QScrollArea_override_virtual_MouseDoubleClickEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__MouseDoubleClickEvent = slot; } void QScrollArea_virtualbase_MouseDoubleClickEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_MouseDoubleClickEvent(param1); } void QScrollArea_override_virtual_MouseMoveEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__MouseMoveEvent = slot; } void QScrollArea_virtualbase_MouseMoveEvent(void* self, QMouseEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_MouseMoveEvent(param1); } void QScrollArea_override_virtual_WheelEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__WheelEvent = slot; } void QScrollArea_virtualbase_WheelEvent(void* self, QWheelEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_WheelEvent(param1); } void QScrollArea_override_virtual_ContextMenuEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__ContextMenuEvent = slot; } void QScrollArea_virtualbase_ContextMenuEvent(void* self, QContextMenuEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_ContextMenuEvent(param1); } void QScrollArea_override_virtual_DragEnterEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__DragEnterEvent = slot; } void QScrollArea_virtualbase_DragEnterEvent(void* self, QDragEnterEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_DragEnterEvent(param1); } void QScrollArea_override_virtual_DragMoveEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__DragMoveEvent = slot; } void QScrollArea_virtualbase_DragMoveEvent(void* self, QDragMoveEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_DragMoveEvent(param1); } void QScrollArea_override_virtual_DragLeaveEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__DragLeaveEvent = slot; } void QScrollArea_virtualbase_DragLeaveEvent(void* self, QDragLeaveEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_DragLeaveEvent(param1); } void QScrollArea_override_virtual_DropEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__DropEvent = slot; } void QScrollArea_virtualbase_DropEvent(void* self, QDropEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_DropEvent(param1); } void QScrollArea_override_virtual_KeyPressEvent(void* self, intptr_t slot) { dynamic_cast( (QScrollArea*)(self) )->handle__KeyPressEvent = slot; } void QScrollArea_virtualbase_KeyPressEvent(void* self, QKeyEvent* param1) { ( (MiqtVirtualQScrollArea*)(self) )->virtualbase_KeyPressEvent(param1); } void QScrollArea_Delete(QScrollArea* self, bool isSubclass) { if (isSubclass) { delete dynamic_cast( self ); } else { delete self; } }