miqt/qt6/gen_qboxlayout.cpp

3949 lines
115 KiB
C++
Raw Normal View History

2024-10-20 18:21:03 +13:00
#include <QBoxLayout>
2024-11-19 19:29:06 +13:00
#include <QChildEvent>
#include <QEvent>
2024-10-20 18:21:03 +13:00
#include <QHBoxLayout>
#include <QLayout>
#include <QLayoutItem>
#include <QMetaMethod>
2024-10-20 18:21:03 +13:00
#include <QMetaObject>
2024-11-19 19:29:06 +13:00
#include <QObject>
2024-10-20 18:21:03 +13:00
#include <QRect>
#include <QSize>
#include <QSpacerItem>
#include <QString>
#include <QByteArray>
#include <cstring>
#include <QTimerEvent>
2024-10-20 18:21:03 +13:00
#include <QVBoxLayout>
#include <QWidget>
#include <qboxlayout.h>
#include "gen_qboxlayout.h"
#ifdef __cplusplus
extern "C" {
#endif
2025-02-01 13:45:16 +13:00
void miqt_exec_callback_QBoxLayout_addItem(QBoxLayout*, intptr_t, QLayoutItem*);
int miqt_exec_callback_QBoxLayout_spacing(const QBoxLayout*, intptr_t);
void miqt_exec_callback_QBoxLayout_setSpacing(QBoxLayout*, intptr_t, int);
QSize* miqt_exec_callback_QBoxLayout_sizeHint(const QBoxLayout*, intptr_t);
QSize* miqt_exec_callback_QBoxLayout_minimumSize(const QBoxLayout*, intptr_t);
QSize* miqt_exec_callback_QBoxLayout_maximumSize(const QBoxLayout*, intptr_t);
bool miqt_exec_callback_QBoxLayout_hasHeightForWidth(const QBoxLayout*, intptr_t);
int miqt_exec_callback_QBoxLayout_heightForWidth(const QBoxLayout*, intptr_t, int);
int miqt_exec_callback_QBoxLayout_minimumHeightForWidth(const QBoxLayout*, intptr_t, int);
int miqt_exec_callback_QBoxLayout_expandingDirections(const QBoxLayout*, intptr_t);
void miqt_exec_callback_QBoxLayout_invalidate(QBoxLayout*, intptr_t);
QLayoutItem* miqt_exec_callback_QBoxLayout_itemAt(const QBoxLayout*, intptr_t, int);
QLayoutItem* miqt_exec_callback_QBoxLayout_takeAt(QBoxLayout*, intptr_t, int);
int miqt_exec_callback_QBoxLayout_count(const QBoxLayout*, intptr_t);
void miqt_exec_callback_QBoxLayout_setGeometry(QBoxLayout*, intptr_t, QRect*);
QRect* miqt_exec_callback_QBoxLayout_geometry(const QBoxLayout*, intptr_t);
int miqt_exec_callback_QBoxLayout_indexOf(const QBoxLayout*, intptr_t, QWidget*);
bool miqt_exec_callback_QBoxLayout_isEmpty(const QBoxLayout*, intptr_t);
int miqt_exec_callback_QBoxLayout_controlTypes(const QBoxLayout*, intptr_t);
QLayoutItem* miqt_exec_callback_QBoxLayout_replaceWidget(QBoxLayout*, intptr_t, QWidget*, QWidget*, int);
QLayout* miqt_exec_callback_QBoxLayout_layout(QBoxLayout*, intptr_t);
void miqt_exec_callback_QBoxLayout_childEvent(QBoxLayout*, intptr_t, QChildEvent*);
bool miqt_exec_callback_QBoxLayout_event(QBoxLayout*, intptr_t, QEvent*);
bool miqt_exec_callback_QBoxLayout_eventFilter(QBoxLayout*, intptr_t, QObject*, QEvent*);
void miqt_exec_callback_QBoxLayout_timerEvent(QBoxLayout*, intptr_t, QTimerEvent*);
void miqt_exec_callback_QBoxLayout_customEvent(QBoxLayout*, intptr_t, QEvent*);
void miqt_exec_callback_QBoxLayout_connectNotify(QBoxLayout*, intptr_t, QMetaMethod*);
void miqt_exec_callback_QBoxLayout_disconnectNotify(QBoxLayout*, intptr_t, QMetaMethod*);
QWidget* miqt_exec_callback_QBoxLayout_widget(const QBoxLayout*, intptr_t);
QSpacerItem* miqt_exec_callback_QBoxLayout_spacerItem(QBoxLayout*, intptr_t);
void miqt_exec_callback_QHBoxLayout_addItem(QHBoxLayout*, intptr_t, QLayoutItem*);
int miqt_exec_callback_QHBoxLayout_spacing(const QHBoxLayout*, intptr_t);
void miqt_exec_callback_QHBoxLayout_setSpacing(QHBoxLayout*, intptr_t, int);
QSize* miqt_exec_callback_QHBoxLayout_sizeHint(const QHBoxLayout*, intptr_t);
QSize* miqt_exec_callback_QHBoxLayout_minimumSize(const QHBoxLayout*, intptr_t);
QSize* miqt_exec_callback_QHBoxLayout_maximumSize(const QHBoxLayout*, intptr_t);
bool miqt_exec_callback_QHBoxLayout_hasHeightForWidth(const QHBoxLayout*, intptr_t);
int miqt_exec_callback_QHBoxLayout_heightForWidth(const QHBoxLayout*, intptr_t, int);
int miqt_exec_callback_QHBoxLayout_minimumHeightForWidth(const QHBoxLayout*, intptr_t, int);
int miqt_exec_callback_QHBoxLayout_expandingDirections(const QHBoxLayout*, intptr_t);
void miqt_exec_callback_QHBoxLayout_invalidate(QHBoxLayout*, intptr_t);
QLayoutItem* miqt_exec_callback_QHBoxLayout_itemAt(const QHBoxLayout*, intptr_t, int);
QLayoutItem* miqt_exec_callback_QHBoxLayout_takeAt(QHBoxLayout*, intptr_t, int);
int miqt_exec_callback_QHBoxLayout_count(const QHBoxLayout*, intptr_t);
void miqt_exec_callback_QHBoxLayout_setGeometry(QHBoxLayout*, intptr_t, QRect*);
QRect* miqt_exec_callback_QHBoxLayout_geometry(const QHBoxLayout*, intptr_t);
int miqt_exec_callback_QHBoxLayout_indexOf(const QHBoxLayout*, intptr_t, QWidget*);
bool miqt_exec_callback_QHBoxLayout_isEmpty(const QHBoxLayout*, intptr_t);
int miqt_exec_callback_QHBoxLayout_controlTypes(const QHBoxLayout*, intptr_t);
QLayoutItem* miqt_exec_callback_QHBoxLayout_replaceWidget(QHBoxLayout*, intptr_t, QWidget*, QWidget*, int);
QLayout* miqt_exec_callback_QHBoxLayout_layout(QHBoxLayout*, intptr_t);
void miqt_exec_callback_QHBoxLayout_childEvent(QHBoxLayout*, intptr_t, QChildEvent*);
bool miqt_exec_callback_QHBoxLayout_event(QHBoxLayout*, intptr_t, QEvent*);
bool miqt_exec_callback_QHBoxLayout_eventFilter(QHBoxLayout*, intptr_t, QObject*, QEvent*);
void miqt_exec_callback_QHBoxLayout_timerEvent(QHBoxLayout*, intptr_t, QTimerEvent*);
void miqt_exec_callback_QHBoxLayout_customEvent(QHBoxLayout*, intptr_t, QEvent*);
void miqt_exec_callback_QHBoxLayout_connectNotify(QHBoxLayout*, intptr_t, QMetaMethod*);
void miqt_exec_callback_QHBoxLayout_disconnectNotify(QHBoxLayout*, intptr_t, QMetaMethod*);
QWidget* miqt_exec_callback_QHBoxLayout_widget(const QHBoxLayout*, intptr_t);
QSpacerItem* miqt_exec_callback_QHBoxLayout_spacerItem(QHBoxLayout*, intptr_t);
void miqt_exec_callback_QVBoxLayout_addItem(QVBoxLayout*, intptr_t, QLayoutItem*);
int miqt_exec_callback_QVBoxLayout_spacing(const QVBoxLayout*, intptr_t);
void miqt_exec_callback_QVBoxLayout_setSpacing(QVBoxLayout*, intptr_t, int);
QSize* miqt_exec_callback_QVBoxLayout_sizeHint(const QVBoxLayout*, intptr_t);
QSize* miqt_exec_callback_QVBoxLayout_minimumSize(const QVBoxLayout*, intptr_t);
QSize* miqt_exec_callback_QVBoxLayout_maximumSize(const QVBoxLayout*, intptr_t);
bool miqt_exec_callback_QVBoxLayout_hasHeightForWidth(const QVBoxLayout*, intptr_t);
int miqt_exec_callback_QVBoxLayout_heightForWidth(const QVBoxLayout*, intptr_t, int);
int miqt_exec_callback_QVBoxLayout_minimumHeightForWidth(const QVBoxLayout*, intptr_t, int);
int miqt_exec_callback_QVBoxLayout_expandingDirections(const QVBoxLayout*, intptr_t);
void miqt_exec_callback_QVBoxLayout_invalidate(QVBoxLayout*, intptr_t);
QLayoutItem* miqt_exec_callback_QVBoxLayout_itemAt(const QVBoxLayout*, intptr_t, int);
QLayoutItem* miqt_exec_callback_QVBoxLayout_takeAt(QVBoxLayout*, intptr_t, int);
int miqt_exec_callback_QVBoxLayout_count(const QVBoxLayout*, intptr_t);
void miqt_exec_callback_QVBoxLayout_setGeometry(QVBoxLayout*, intptr_t, QRect*);
QRect* miqt_exec_callback_QVBoxLayout_geometry(const QVBoxLayout*, intptr_t);
int miqt_exec_callback_QVBoxLayout_indexOf(const QVBoxLayout*, intptr_t, QWidget*);
bool miqt_exec_callback_QVBoxLayout_isEmpty(const QVBoxLayout*, intptr_t);
int miqt_exec_callback_QVBoxLayout_controlTypes(const QVBoxLayout*, intptr_t);
QLayoutItem* miqt_exec_callback_QVBoxLayout_replaceWidget(QVBoxLayout*, intptr_t, QWidget*, QWidget*, int);
QLayout* miqt_exec_callback_QVBoxLayout_layout(QVBoxLayout*, intptr_t);
void miqt_exec_callback_QVBoxLayout_childEvent(QVBoxLayout*, intptr_t, QChildEvent*);
bool miqt_exec_callback_QVBoxLayout_event(QVBoxLayout*, intptr_t, QEvent*);
bool miqt_exec_callback_QVBoxLayout_eventFilter(QVBoxLayout*, intptr_t, QObject*, QEvent*);
void miqt_exec_callback_QVBoxLayout_timerEvent(QVBoxLayout*, intptr_t, QTimerEvent*);
void miqt_exec_callback_QVBoxLayout_customEvent(QVBoxLayout*, intptr_t, QEvent*);
void miqt_exec_callback_QVBoxLayout_connectNotify(QVBoxLayout*, intptr_t, QMetaMethod*);
void miqt_exec_callback_QVBoxLayout_disconnectNotify(QVBoxLayout*, intptr_t, QMetaMethod*);
QWidget* miqt_exec_callback_QVBoxLayout_widget(const QVBoxLayout*, intptr_t);
QSpacerItem* miqt_exec_callback_QVBoxLayout_spacerItem(QVBoxLayout*, intptr_t);
#ifdef __cplusplus
} /* extern C */
#endif
2024-10-20 18:21:03 +13:00
class MiqtVirtualQBoxLayout final : public QBoxLayout {
2024-11-19 19:29:06 +13:00
public:
MiqtVirtualQBoxLayout(QBoxLayout::Direction param1): QBoxLayout(param1) {};
MiqtVirtualQBoxLayout(QBoxLayout::Direction param1, QWidget* parent): QBoxLayout(param1, parent) {};
virtual ~MiqtVirtualQBoxLayout() override = default;
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__addItem = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void addItem(QLayoutItem* param1) override {
2025-02-01 13:45:16 +13:00
if (handle__addItem == 0) {
2024-11-19 19:29:06 +13:00
QBoxLayout::addItem(param1);
return;
}
QLayoutItem* sigval1 = param1;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_addItem(this, handle__addItem, sigval1);
2024-11-19 19:29:06 +13:00
}
friend void QBoxLayout_virtualbase_addItem(void* self, QLayoutItem* param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__spacing = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int spacing() const override {
2025-02-01 13:45:16 +13:00
if (handle__spacing == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::spacing();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QBoxLayout_spacing(this, handle__spacing);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QBoxLayout_virtualbase_spacing(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setSpacing = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setSpacing(int spacing) override {
2025-02-01 13:45:16 +13:00
if (handle__setSpacing == 0) {
2024-11-19 19:29:06 +13:00
QBoxLayout::setSpacing(spacing);
return;
}
int sigval1 = spacing;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_setSpacing(this, handle__setSpacing, sigval1);
2024-11-19 19:29:06 +13:00
}
friend void QBoxLayout_virtualbase_setSpacing(void* self, int spacing);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__sizeHint = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize sizeHint() const override {
2025-02-01 13:45:16 +13:00
if (handle__sizeHint == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::sizeHint();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QBoxLayout_sizeHint(this, handle__sizeHint);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
friend QSize* QBoxLayout_virtualbase_sizeHint(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__minimumSize = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize minimumSize() const override {
2025-02-01 13:45:16 +13:00
if (handle__minimumSize == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::minimumSize();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QBoxLayout_minimumSize(this, handle__minimumSize);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
friend QSize* QBoxLayout_virtualbase_minimumSize(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__maximumSize = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize maximumSize() const override {
2025-02-01 13:45:16 +13:00
if (handle__maximumSize == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::maximumSize();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QBoxLayout_maximumSize(this, handle__maximumSize);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
friend QSize* QBoxLayout_virtualbase_maximumSize(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__hasHeightForWidth = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool hasHeightForWidth() const override {
2025-02-01 13:45:16 +13:00
if (handle__hasHeightForWidth == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::hasHeightForWidth();
}
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QBoxLayout_hasHeightForWidth(this, handle__hasHeightForWidth);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend bool QBoxLayout_virtualbase_hasHeightForWidth(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__heightForWidth = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int heightForWidth(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__heightForWidth == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::heightForWidth(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QBoxLayout_heightForWidth(this, handle__heightForWidth, sigval1);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QBoxLayout_virtualbase_heightForWidth(const void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__minimumHeightForWidth = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int minimumHeightForWidth(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__minimumHeightForWidth == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::minimumHeightForWidth(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QBoxLayout_minimumHeightForWidth(this, handle__minimumHeightForWidth, sigval1);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QBoxLayout_virtualbase_minimumHeightForWidth(const void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__expandingDirections = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual Qt::Orientations expandingDirections() const override {
2025-02-01 13:45:16 +13:00
if (handle__expandingDirections == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::expandingDirections();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QBoxLayout_expandingDirections(this, handle__expandingDirections);
2024-11-19 19:29:06 +13:00
return static_cast<Qt::Orientations>(callback_return_value);
}
friend int QBoxLayout_virtualbase_expandingDirections(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__invalidate = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void invalidate() override {
2025-02-01 13:45:16 +13:00
if (handle__invalidate == 0) {
2024-11-19 19:29:06 +13:00
QBoxLayout::invalidate();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_invalidate(this, handle__invalidate);
2024-11-19 19:29:06 +13:00
}
friend void QBoxLayout_virtualbase_invalidate(void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__itemAt = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayoutItem* itemAt(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__itemAt == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::itemAt(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QBoxLayout_itemAt(this, handle__itemAt, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend QLayoutItem* QBoxLayout_virtualbase_itemAt(const void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__takeAt = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayoutItem* takeAt(int param1) override {
2025-02-01 13:45:16 +13:00
if (handle__takeAt == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::takeAt(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QBoxLayout_takeAt(this, handle__takeAt, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend QLayoutItem* QBoxLayout_virtualbase_takeAt(void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__count = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int count() const override {
2025-02-01 13:45:16 +13:00
if (handle__count == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::count();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QBoxLayout_count(this, handle__count);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QBoxLayout_virtualbase_count(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setGeometry = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setGeometry(const QRect& geometry) override {
2025-02-01 13:45:16 +13:00
if (handle__setGeometry == 0) {
2024-11-19 19:29:06 +13:00
QBoxLayout::setGeometry(geometry);
return;
}
const QRect& geometry_ret = geometry;
// Cast returned reference into pointer
QRect* sigval1 = const_cast<QRect*>(&geometry_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_setGeometry(this, handle__setGeometry, sigval1);
2024-11-19 19:29:06 +13:00
}
friend void QBoxLayout_virtualbase_setGeometry(void* self, QRect* geometry);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__geometry = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QRect geometry() const override {
2025-02-01 13:45:16 +13:00
if (handle__geometry == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::geometry();
}
2025-02-01 13:45:16 +13:00
QRect* callback_return_value = miqt_exec_callback_QBoxLayout_geometry(this, handle__geometry);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
friend QRect* QBoxLayout_virtualbase_geometry(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__indexOf = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int indexOf(const QWidget* param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__indexOf == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::indexOf(param1);
}
QWidget* sigval1 = (QWidget*) param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QBoxLayout_indexOf(this, handle__indexOf, sigval1);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QBoxLayout_virtualbase_indexOf(const void* self, QWidget* param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__isEmpty = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool isEmpty() const override {
2025-02-01 13:45:16 +13:00
if (handle__isEmpty == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::isEmpty();
}
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QBoxLayout_isEmpty(this, handle__isEmpty);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend bool QBoxLayout_virtualbase_isEmpty(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__controlTypes = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSizePolicy::ControlTypes controlTypes() const override {
2025-02-01 13:45:16 +13:00
if (handle__controlTypes == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::controlTypes();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QBoxLayout_controlTypes(this, handle__controlTypes);
2024-11-19 19:29:06 +13:00
return static_cast<QSizePolicy::ControlTypes>(callback_return_value);
}
friend int QBoxLayout_virtualbase_controlTypes(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__replaceWidget = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayoutItem* replaceWidget(QWidget* from, QWidget* to, Qt::FindChildOptions options) override {
2025-02-01 13:45:16 +13:00
if (handle__replaceWidget == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::replaceWidget(from, to, options);
}
QWidget* sigval1 = from;
QWidget* sigval2 = to;
Qt::FindChildOptions options_ret = options;
int sigval3 = static_cast<int>(options_ret);
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QBoxLayout_replaceWidget(this, handle__replaceWidget, sigval1, sigval2, sigval3);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend QLayoutItem* QBoxLayout_virtualbase_replaceWidget(void* self, QWidget* from, QWidget* to, int options);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__layout = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayout* layout() override {
2025-02-01 13:45:16 +13:00
if (handle__layout == 0) {
2024-11-19 19:29:06 +13:00
return QBoxLayout::layout();
}
2025-02-01 13:45:16 +13:00
QLayout* callback_return_value = miqt_exec_callback_QBoxLayout_layout(this, handle__layout);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend QLayout* QBoxLayout_virtualbase_layout(void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__childEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void childEvent(QChildEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__childEvent == 0) {
2024-11-19 19:29:06 +13:00
QBoxLayout::childEvent(e);
return;
}
QChildEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_childEvent(this, handle__childEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
friend void QBoxLayout_virtualbase_childEvent(void* self, QChildEvent* e);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__event = 0;
// Subclass to allow providing a Go implementation
virtual bool event(QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__event == 0) {
return QBoxLayout::event(event);
}
QEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QBoxLayout_event(this, handle__event, sigval1);
return callback_return_value;
}
friend bool QBoxLayout_virtualbase_event(void* self, QEvent* event);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__eventFilter = 0;
// Subclass to allow providing a Go implementation
virtual bool eventFilter(QObject* watched, QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__eventFilter == 0) {
return QBoxLayout::eventFilter(watched, event);
}
QObject* sigval1 = watched;
QEvent* sigval2 = event;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QBoxLayout_eventFilter(this, handle__eventFilter, sigval1, sigval2);
return callback_return_value;
}
friend bool QBoxLayout_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__timerEvent = 0;
// Subclass to allow providing a Go implementation
virtual void timerEvent(QTimerEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__timerEvent == 0) {
QBoxLayout::timerEvent(event);
return;
}
QTimerEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_timerEvent(this, handle__timerEvent, sigval1);
}
friend void QBoxLayout_virtualbase_timerEvent(void* self, QTimerEvent* event);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__customEvent = 0;
// Subclass to allow providing a Go implementation
virtual void customEvent(QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__customEvent == 0) {
QBoxLayout::customEvent(event);
return;
}
QEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_customEvent(this, handle__customEvent, sigval1);
}
friend void QBoxLayout_virtualbase_customEvent(void* self, QEvent* event);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__connectNotify = 0;
// Subclass to allow providing a Go implementation
virtual void connectNotify(const QMetaMethod& signal) override {
2025-02-01 13:45:16 +13:00
if (handle__connectNotify == 0) {
QBoxLayout::connectNotify(signal);
return;
}
const QMetaMethod& signal_ret = signal;
// Cast returned reference into pointer
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_connectNotify(this, handle__connectNotify, sigval1);
}
friend void QBoxLayout_virtualbase_connectNotify(void* self, QMetaMethod* signal);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__disconnectNotify = 0;
// Subclass to allow providing a Go implementation
virtual void disconnectNotify(const QMetaMethod& signal) override {
2025-02-01 13:45:16 +13:00
if (handle__disconnectNotify == 0) {
QBoxLayout::disconnectNotify(signal);
return;
}
const QMetaMethod& signal_ret = signal;
// Cast returned reference into pointer
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QBoxLayout_disconnectNotify(this, handle__disconnectNotify, sigval1);
}
friend void QBoxLayout_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__widget = 0;
// Subclass to allow providing a Go implementation
virtual QWidget* widget() const override {
2025-02-01 13:45:16 +13:00
if (handle__widget == 0) {
return QBoxLayout::widget();
}
2025-02-01 13:45:16 +13:00
QWidget* callback_return_value = miqt_exec_callback_QBoxLayout_widget(this, handle__widget);
return callback_return_value;
}
friend QWidget* QBoxLayout_virtualbase_widget(const void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__spacerItem = 0;
// Subclass to allow providing a Go implementation
virtual QSpacerItem* spacerItem() override {
2025-02-01 13:45:16 +13:00
if (handle__spacerItem == 0) {
return QBoxLayout::spacerItem();
}
2025-02-01 13:45:16 +13:00
QSpacerItem* callback_return_value = miqt_exec_callback_QBoxLayout_spacerItem(this, handle__spacerItem);
return callback_return_value;
}
friend QSpacerItem* QBoxLayout_virtualbase_spacerItem(void* self);
2025-02-06 15:05:01 +13:00
// Wrappers to allow calling protected methods:
friend void QBoxLayout_protectedbase_widgetEvent(bool* _dynamic_cast_ok, void* self, QEvent* param1);
friend void QBoxLayout_protectedbase_addChildLayout(bool* _dynamic_cast_ok, void* self, QLayout* l);
friend void QBoxLayout_protectedbase_addChildWidget(bool* _dynamic_cast_ok, void* self, QWidget* w);
friend bool QBoxLayout_protectedbase_adoptLayout(bool* _dynamic_cast_ok, void* self, QLayout* layout);
friend QRect* QBoxLayout_protectedbase_alignmentRect(bool* _dynamic_cast_ok, const void* self, QRect* param1);
friend QObject* QBoxLayout_protectedbase_sender(bool* _dynamic_cast_ok, const void* self);
friend int QBoxLayout_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self);
friend int QBoxLayout_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal);
friend bool QBoxLayout_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal);
2024-11-19 19:29:06 +13:00
};
2024-12-07 17:15:57 +13:00
QBoxLayout* QBoxLayout_new(int param1) {
return new MiqtVirtualQBoxLayout(static_cast<QBoxLayout::Direction>(param1));
2024-10-20 18:21:03 +13:00
}
2024-12-07 17:15:57 +13:00
QBoxLayout* QBoxLayout_new2(int param1, QWidget* parent) {
return new MiqtVirtualQBoxLayout(static_cast<QBoxLayout::Direction>(param1), parent);
}
void QBoxLayout_virtbase(QBoxLayout* src, QLayout** outptr_QLayout) {
*outptr_QLayout = static_cast<QLayout*>(src);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QMetaObject* QBoxLayout_metaObject(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
return (QMetaObject*) self->metaObject();
}
2025-02-01 13:45:16 +13:00
void* QBoxLayout_metacast(QBoxLayout* self, const char* param1) {
2024-10-20 18:21:03 +13:00
return self->qt_metacast(param1);
}
2025-02-01 13:45:16 +13:00
struct miqt_string QBoxLayout_tr(const char* s) {
2024-10-20 18:21:03 +13:00
QString _ret = QBoxLayout::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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_direction(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
QBoxLayout::Direction _ret = self->direction();
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_setDirection(QBoxLayout* self, int direction) {
2024-10-20 18:21:03 +13:00
self->setDirection(static_cast<QBoxLayout::Direction>(direction));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addSpacing(QBoxLayout* self, int size) {
2024-10-20 18:21:03 +13:00
self->addSpacing(static_cast<int>(size));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addStretch(QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
self->addStretch();
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addSpacerItem(QBoxLayout* self, QSpacerItem* spacerItem) {
2024-10-20 18:21:03 +13:00
self->addSpacerItem(spacerItem);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addWidget(QBoxLayout* self, QWidget* param1) {
2024-10-20 18:21:03 +13:00
self->addWidget(param1);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addLayout(QBoxLayout* self, QLayout* layout) {
2024-10-20 18:21:03 +13:00
self->addLayout(layout);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addStrut(QBoxLayout* self, int param1) {
2024-10-20 18:21:03 +13:00
self->addStrut(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addItem(QBoxLayout* self, QLayoutItem* param1) {
2024-10-20 18:21:03 +13:00
self->addItem(param1);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertSpacing(QBoxLayout* self, int index, int size) {
2024-10-20 18:21:03 +13:00
self->insertSpacing(static_cast<int>(index), static_cast<int>(size));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertStretch(QBoxLayout* self, int index) {
2024-10-20 18:21:03 +13:00
self->insertStretch(static_cast<int>(index));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertSpacerItem(QBoxLayout* self, int index, QSpacerItem* spacerItem) {
2024-10-20 18:21:03 +13:00
self->insertSpacerItem(static_cast<int>(index), spacerItem);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertWidget(QBoxLayout* self, int index, QWidget* widget) {
2024-10-20 18:21:03 +13:00
self->insertWidget(static_cast<int>(index), widget);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertLayout(QBoxLayout* self, int index, QLayout* layout) {
2024-10-20 18:21:03 +13:00
self->insertLayout(static_cast<int>(index), layout);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertItem(QBoxLayout* self, int index, QLayoutItem* param2) {
2024-10-20 18:21:03 +13:00
self->insertItem(static_cast<int>(index), param2);
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_spacing(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
return self->spacing();
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_setSpacing(QBoxLayout* self, int spacing) {
2024-10-20 18:21:03 +13:00
self->setSpacing(static_cast<int>(spacing));
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_setStretchFactor(QBoxLayout* self, QWidget* w, int stretch) {
2024-10-20 18:21:03 +13:00
return self->setStretchFactor(w, static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_setStretchFactor2(QBoxLayout* self, QLayout* l, int stretch) {
2024-10-20 18:21:03 +13:00
return self->setStretchFactor(l, static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_setStretch(QBoxLayout* self, int index, int stretch) {
2024-10-20 18:21:03 +13:00
self->setStretch(static_cast<int>(index), static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_stretch(const QBoxLayout* self, int index) {
2024-10-20 18:21:03 +13:00
return self->stretch(static_cast<int>(index));
}
2025-02-01 13:45:16 +13:00
QSize* QBoxLayout_sizeHint(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
return new QSize(self->sizeHint());
}
2025-02-01 13:45:16 +13:00
QSize* QBoxLayout_minimumSize(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
return new QSize(self->minimumSize());
}
2025-02-01 13:45:16 +13:00
QSize* QBoxLayout_maximumSize(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
return new QSize(self->maximumSize());
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_hasHeightForWidth(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
return self->hasHeightForWidth();
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_heightForWidth(const QBoxLayout* self, int param1) {
2024-10-20 18:21:03 +13:00
return self->heightForWidth(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_minimumHeightForWidth(const QBoxLayout* self, int param1) {
2024-10-20 18:21:03 +13:00
return self->minimumHeightForWidth(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_expandingDirections(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
Qt::Orientations _ret = self->expandingDirections();
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_invalidate(QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
self->invalidate();
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QBoxLayout_itemAt(const QBoxLayout* self, int param1) {
2024-10-20 18:21:03 +13:00
return self->itemAt(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QBoxLayout_takeAt(QBoxLayout* self, int param1) {
2024-10-20 18:21:03 +13:00
return self->takeAt(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_count(const QBoxLayout* self) {
2024-10-20 18:21:03 +13:00
return self->count();
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_setGeometry(QBoxLayout* self, QRect* geometry) {
2024-10-20 18:21:03 +13:00
self->setGeometry(*geometry);
}
2025-02-01 13:45:16 +13:00
struct miqt_string QBoxLayout_tr2(const char* s, const char* c) {
2024-10-20 18:21:03 +13:00
QString _ret = QBoxLayout::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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QBoxLayout_tr3(const char* s, const char* c, int n) {
2024-10-20 18:21:03 +13:00
QString _ret = QBoxLayout::tr(s, c, static_cast<int>(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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addStretch1(QBoxLayout* self, int stretch) {
2024-10-20 18:21:03 +13:00
self->addStretch(static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addWidget2(QBoxLayout* self, QWidget* param1, int stretch) {
2024-10-20 18:21:03 +13:00
self->addWidget(param1, static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addWidget3(QBoxLayout* self, QWidget* param1, int stretch, int alignment) {
2024-10-20 18:21:03 +13:00
self->addWidget(param1, static_cast<int>(stretch), static_cast<Qt::Alignment>(alignment));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_addLayout2(QBoxLayout* self, QLayout* layout, int stretch) {
2024-10-20 18:21:03 +13:00
self->addLayout(layout, static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertStretch2(QBoxLayout* self, int index, int stretch) {
2024-10-20 18:21:03 +13:00
self->insertStretch(static_cast<int>(index), static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertWidget3(QBoxLayout* self, int index, QWidget* widget, int stretch) {
2024-10-20 18:21:03 +13:00
self->insertWidget(static_cast<int>(index), widget, static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertWidget4(QBoxLayout* self, int index, QWidget* widget, int stretch, int alignment) {
2024-10-20 18:21:03 +13:00
self->insertWidget(static_cast<int>(index), widget, static_cast<int>(stretch), static_cast<Qt::Alignment>(alignment));
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_insertLayout3(QBoxLayout* self, int index, QLayout* layout, int stretch) {
2024-10-20 18:21:03 +13:00
self->insertLayout(static_cast<int>(index), layout, static_cast<int>(stretch));
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_addItem(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__addItem = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_addItem(void* self, QLayoutItem* param1) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::addItem(param1);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_spacing(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__spacing = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_virtualbase_spacing(const void* self) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::spacing();
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_setSpacing(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setSpacing = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_setSpacing(void* self, int spacing) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::setSpacing(static_cast<int>(spacing));
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_sizeHint(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__sizeHint = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QSize* QBoxLayout_virtualbase_sizeHint(const void* self) {
return new QSize(( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::sizeHint());
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_minimumSize(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__minimumSize = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QSize* QBoxLayout_virtualbase_minimumSize(const void* self) {
return new QSize(( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::minimumSize());
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_maximumSize(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__maximumSize = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QSize* QBoxLayout_virtualbase_maximumSize(const void* self) {
return new QSize(( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::maximumSize());
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_hasHeightForWidth(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__hasHeightForWidth = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_virtualbase_hasHeightForWidth(const void* self) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::hasHeightForWidth();
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_heightForWidth(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__heightForWidth = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_virtualbase_heightForWidth(const void* self, int param1) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::heightForWidth(static_cast<int>(param1));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_minimumHeightForWidth(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__minimumHeightForWidth = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_virtualbase_minimumHeightForWidth(const void* self, int param1) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::minimumHeightForWidth(static_cast<int>(param1));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_expandingDirections(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__expandingDirections = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_virtualbase_expandingDirections(const void* self) {
Qt::Orientations _ret = ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::expandingDirections();
return static_cast<int>(_ret);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_invalidate(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__invalidate = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_invalidate(void* self) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::invalidate();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_itemAt(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__itemAt = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QBoxLayout_virtualbase_itemAt(const void* self, int param1) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::itemAt(static_cast<int>(param1));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_takeAt(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__takeAt = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QBoxLayout_virtualbase_takeAt(void* self, int param1) {
return ( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::takeAt(static_cast<int>(param1));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_count(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__count = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_virtualbase_count(const void* self) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::count();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_setGeometry(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setGeometry = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_setGeometry(void* self, QRect* geometry) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::setGeometry(*geometry);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_geometry(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__geometry = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QRect* QBoxLayout_virtualbase_geometry(const void* self) {
return new QRect(( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::geometry());
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_indexOf(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__indexOf = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_virtualbase_indexOf(const void* self, QWidget* param1) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::indexOf(param1);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_isEmpty(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__isEmpty = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_virtualbase_isEmpty(const void* self) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::isEmpty();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_controlTypes(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__controlTypes = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QBoxLayout_virtualbase_controlTypes(const void* self) {
QSizePolicy::ControlTypes _ret = ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::controlTypes();
return static_cast<int>(_ret);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_replaceWidget(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__replaceWidget = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QBoxLayout_virtualbase_replaceWidget(void* self, QWidget* from, QWidget* to, int options) {
return ( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::replaceWidget(from, to, static_cast<Qt::FindChildOptions>(options));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_layout(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__layout = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QLayout* QBoxLayout_virtualbase_layout(void* self) {
return ( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::layout();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_childEvent(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__childEvent = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_childEvent(void* self, QChildEvent* e) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::childEvent(e);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_event(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__event = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_virtualbase_event(void* self, QEvent* event) {
return ( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::event(event);
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_eventFilter(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__eventFilter = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event) {
return ( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::eventFilter(watched, event);
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_timerEvent(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__timerEvent = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_timerEvent(void* self, QTimerEvent* event) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::timerEvent(event);
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_customEvent(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__customEvent = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_customEvent(void* self, QEvent* event) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::customEvent(event);
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_connectNotify(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__connectNotify = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_connectNotify(void* self, QMetaMethod* signal) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::connectNotify(*signal);
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_disconnectNotify(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__disconnectNotify = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) {
( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::disconnectNotify(*signal);
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_widget(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__widget = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QWidget* QBoxLayout_virtualbase_widget(const void* self) {
return ( (const MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::widget();
}
2025-02-01 13:45:16 +13:00
bool QBoxLayout_override_virtual_spacerItem(void* self, intptr_t slot) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__spacerItem = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QSpacerItem* QBoxLayout_virtualbase_spacerItem(void* self) {
return ( (MiqtVirtualQBoxLayout*)(self) )->MiqtVirtualQBoxLayout::spacerItem();
}
2025-02-06 15:05:01 +13:00
void QBoxLayout_protectedbase_widgetEvent(bool* _dynamic_cast_ok, void* self, QEvent* param1) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->widgetEvent(param1);
}
void QBoxLayout_protectedbase_addChildLayout(bool* _dynamic_cast_ok, void* self, QLayout* l) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->addChildLayout(l);
}
void QBoxLayout_protectedbase_addChildWidget(bool* _dynamic_cast_ok, void* self, QWidget* w) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->addChildWidget(w);
}
bool QBoxLayout_protectedbase_adoptLayout(bool* _dynamic_cast_ok, void* self, QLayout* layout) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return false;
}
*_dynamic_cast_ok = true;
return self_cast->adoptLayout(layout);
}
QRect* QBoxLayout_protectedbase_alignmentRect(bool* _dynamic_cast_ok, const void* self, QRect* param1) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return nullptr;
}
*_dynamic_cast_ok = true;
return new QRect(self_cast->alignmentRect(*param1));
}
QObject* QBoxLayout_protectedbase_sender(bool* _dynamic_cast_ok, const void* self) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return nullptr;
}
*_dynamic_cast_ok = true;
return self_cast->sender();
}
int QBoxLayout_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return 0;
}
*_dynamic_cast_ok = true;
return self_cast->senderSignalIndex();
}
int QBoxLayout_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return 0;
}
*_dynamic_cast_ok = true;
return self_cast->receivers(signal);
}
bool QBoxLayout_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal) {
MiqtVirtualQBoxLayout* self_cast = dynamic_cast<MiqtVirtualQBoxLayout*>( (QBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return false;
}
*_dynamic_cast_ok = true;
return self_cast->isSignalConnected(*signal);
}
2025-02-01 13:45:16 +13:00
void QBoxLayout_delete(QBoxLayout* self) {
delete self;
2024-11-19 19:29:06 +13:00
}
class MiqtVirtualQHBoxLayout final : public QHBoxLayout {
2024-11-19 19:29:06 +13:00
public:
MiqtVirtualQHBoxLayout(QWidget* parent): QHBoxLayout(parent) {};
MiqtVirtualQHBoxLayout(): QHBoxLayout() {};
virtual ~MiqtVirtualQHBoxLayout() override = default;
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__addItem = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void addItem(QLayoutItem* param1) override {
2025-02-01 13:45:16 +13:00
if (handle__addItem == 0) {
2024-11-19 19:29:06 +13:00
QHBoxLayout::addItem(param1);
return;
}
QLayoutItem* sigval1 = param1;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_addItem(this, handle__addItem, sigval1);
2024-11-19 19:29:06 +13:00
}
friend void QHBoxLayout_virtualbase_addItem(void* self, QLayoutItem* param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__spacing = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int spacing() const override {
2025-02-01 13:45:16 +13:00
if (handle__spacing == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::spacing();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHBoxLayout_spacing(this, handle__spacing);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QHBoxLayout_virtualbase_spacing(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setSpacing = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setSpacing(int spacing) override {
2025-02-01 13:45:16 +13:00
if (handle__setSpacing == 0) {
2024-11-19 19:29:06 +13:00
QHBoxLayout::setSpacing(spacing);
return;
}
int sigval1 = spacing;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_setSpacing(this, handle__setSpacing, sigval1);
2024-11-19 19:29:06 +13:00
}
friend void QHBoxLayout_virtualbase_setSpacing(void* self, int spacing);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__sizeHint = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize sizeHint() const override {
2025-02-01 13:45:16 +13:00
if (handle__sizeHint == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::sizeHint();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QHBoxLayout_sizeHint(this, handle__sizeHint);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
friend QSize* QHBoxLayout_virtualbase_sizeHint(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__minimumSize = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize minimumSize() const override {
2025-02-01 13:45:16 +13:00
if (handle__minimumSize == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::minimumSize();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QHBoxLayout_minimumSize(this, handle__minimumSize);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
friend QSize* QHBoxLayout_virtualbase_minimumSize(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__maximumSize = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize maximumSize() const override {
2025-02-01 13:45:16 +13:00
if (handle__maximumSize == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::maximumSize();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QHBoxLayout_maximumSize(this, handle__maximumSize);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
friend QSize* QHBoxLayout_virtualbase_maximumSize(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__hasHeightForWidth = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool hasHeightForWidth() const override {
2025-02-01 13:45:16 +13:00
if (handle__hasHeightForWidth == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::hasHeightForWidth();
}
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHBoxLayout_hasHeightForWidth(this, handle__hasHeightForWidth);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend bool QHBoxLayout_virtualbase_hasHeightForWidth(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__heightForWidth = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int heightForWidth(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__heightForWidth == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::heightForWidth(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHBoxLayout_heightForWidth(this, handle__heightForWidth, sigval1);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QHBoxLayout_virtualbase_heightForWidth(const void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__minimumHeightForWidth = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int minimumHeightForWidth(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__minimumHeightForWidth == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::minimumHeightForWidth(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHBoxLayout_minimumHeightForWidth(this, handle__minimumHeightForWidth, sigval1);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QHBoxLayout_virtualbase_minimumHeightForWidth(const void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__expandingDirections = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual Qt::Orientations expandingDirections() const override {
2025-02-01 13:45:16 +13:00
if (handle__expandingDirections == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::expandingDirections();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHBoxLayout_expandingDirections(this, handle__expandingDirections);
2024-11-19 19:29:06 +13:00
return static_cast<Qt::Orientations>(callback_return_value);
}
friend int QHBoxLayout_virtualbase_expandingDirections(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__invalidate = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void invalidate() override {
2025-02-01 13:45:16 +13:00
if (handle__invalidate == 0) {
2024-11-19 19:29:06 +13:00
QHBoxLayout::invalidate();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_invalidate(this, handle__invalidate);
2024-11-19 19:29:06 +13:00
}
friend void QHBoxLayout_virtualbase_invalidate(void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__itemAt = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayoutItem* itemAt(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__itemAt == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::itemAt(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QHBoxLayout_itemAt(this, handle__itemAt, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend QLayoutItem* QHBoxLayout_virtualbase_itemAt(const void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__takeAt = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayoutItem* takeAt(int param1) override {
2025-02-01 13:45:16 +13:00
if (handle__takeAt == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::takeAt(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QHBoxLayout_takeAt(this, handle__takeAt, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
friend QLayoutItem* QHBoxLayout_virtualbase_takeAt(void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__count = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int count() const override {
2025-02-01 13:45:16 +13:00
if (handle__count == 0) {
2024-11-19 19:29:06 +13:00
return QHBoxLayout::count();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHBoxLayout_count(this, handle__count);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QHBoxLayout_virtualbase_count(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setGeometry = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setGeometry(const QRect& geometry) override {
2025-02-01 13:45:16 +13:00
if (handle__setGeometry == 0) {
2024-11-19 19:29:06 +13:00
QHBoxLayout::setGeometry(geometry);
return;
}
const QRect& geometry_ret = geometry;
// Cast returned reference into pointer
QRect* sigval1 = const_cast<QRect*>(&geometry_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_setGeometry(this, handle__setGeometry, sigval1);
2024-11-19 19:29:06 +13:00
}
friend void QHBoxLayout_virtualbase_setGeometry(void* self, QRect* geometry);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__geometry = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QRect geometry() const override {
2025-02-01 13:45:16 +13:00
if (handle__geometry == 0) {
return QHBoxLayout::geometry();
}
2024-12-07 17:15:57 +13:00
2025-02-01 13:45:16 +13:00
QRect* callback_return_value = miqt_exec_callback_QHBoxLayout_geometry(this, handle__geometry);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
2024-11-19 19:29:06 +13:00
friend QRect* QHBoxLayout_virtualbase_geometry(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__indexOf = 0;
// Subclass to allow providing a Go implementation
virtual int indexOf(const QWidget* param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__indexOf == 0) {
return QHBoxLayout::indexOf(param1);
}
QWidget* sigval1 = (QWidget*) param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHBoxLayout_indexOf(this, handle__indexOf, sigval1);
return static_cast<int>(callback_return_value);
}
friend int QHBoxLayout_virtualbase_indexOf(const void* self, QWidget* param1);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__isEmpty = 0;
// Subclass to allow providing a Go implementation
virtual bool isEmpty() const override {
2025-02-01 13:45:16 +13:00
if (handle__isEmpty == 0) {
return QHBoxLayout::isEmpty();
}
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHBoxLayout_isEmpty(this, handle__isEmpty);
return callback_return_value;
}
friend bool QHBoxLayout_virtualbase_isEmpty(const void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__controlTypes = 0;
// Subclass to allow providing a Go implementation
virtual QSizePolicy::ControlTypes controlTypes() const override {
2025-02-01 13:45:16 +13:00
if (handle__controlTypes == 0) {
return QHBoxLayout::controlTypes();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHBoxLayout_controlTypes(this, handle__controlTypes);
return static_cast<QSizePolicy::ControlTypes>(callback_return_value);
}
friend int QHBoxLayout_virtualbase_controlTypes(const void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__replaceWidget = 0;
// Subclass to allow providing a Go implementation
virtual QLayoutItem* replaceWidget(QWidget* from, QWidget* to, Qt::FindChildOptions options) override {
2025-02-01 13:45:16 +13:00
if (handle__replaceWidget == 0) {
return QHBoxLayout::replaceWidget(from, to, options);
}
QWidget* sigval1 = from;
QWidget* sigval2 = to;
Qt::FindChildOptions options_ret = options;
int sigval3 = static_cast<int>(options_ret);
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QHBoxLayout_replaceWidget(this, handle__replaceWidget, sigval1, sigval2, sigval3);
return callback_return_value;
}
friend QLayoutItem* QHBoxLayout_virtualbase_replaceWidget(void* self, QWidget* from, QWidget* to, int options);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__layout = 0;
// Subclass to allow providing a Go implementation
virtual QLayout* layout() override {
2025-02-01 13:45:16 +13:00
if (handle__layout == 0) {
return QHBoxLayout::layout();
}
2025-02-01 13:45:16 +13:00
QLayout* callback_return_value = miqt_exec_callback_QHBoxLayout_layout(this, handle__layout);
return callback_return_value;
}
friend QLayout* QHBoxLayout_virtualbase_layout(void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__childEvent = 0;
// Subclass to allow providing a Go implementation
virtual void childEvent(QChildEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__childEvent == 0) {
QHBoxLayout::childEvent(e);
return;
}
QChildEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_childEvent(this, handle__childEvent, sigval1);
}
friend void QHBoxLayout_virtualbase_childEvent(void* self, QChildEvent* e);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__event = 0;
// Subclass to allow providing a Go implementation
virtual bool event(QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__event == 0) {
return QHBoxLayout::event(event);
}
QEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHBoxLayout_event(this, handle__event, sigval1);
return callback_return_value;
}
friend bool QHBoxLayout_virtualbase_event(void* self, QEvent* event);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__eventFilter = 0;
// Subclass to allow providing a Go implementation
virtual bool eventFilter(QObject* watched, QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__eventFilter == 0) {
return QHBoxLayout::eventFilter(watched, event);
}
QObject* sigval1 = watched;
QEvent* sigval2 = event;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHBoxLayout_eventFilter(this, handle__eventFilter, sigval1, sigval2);
return callback_return_value;
}
friend bool QHBoxLayout_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__timerEvent = 0;
// Subclass to allow providing a Go implementation
virtual void timerEvent(QTimerEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__timerEvent == 0) {
QHBoxLayout::timerEvent(event);
return;
}
QTimerEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_timerEvent(this, handle__timerEvent, sigval1);
}
friend void QHBoxLayout_virtualbase_timerEvent(void* self, QTimerEvent* event);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__customEvent = 0;
// Subclass to allow providing a Go implementation
virtual void customEvent(QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__customEvent == 0) {
QHBoxLayout::customEvent(event);
return;
}
QEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_customEvent(this, handle__customEvent, sigval1);
}
friend void QHBoxLayout_virtualbase_customEvent(void* self, QEvent* event);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__connectNotify = 0;
// Subclass to allow providing a Go implementation
virtual void connectNotify(const QMetaMethod& signal) override {
2025-02-01 13:45:16 +13:00
if (handle__connectNotify == 0) {
QHBoxLayout::connectNotify(signal);
return;
}
const QMetaMethod& signal_ret = signal;
// Cast returned reference into pointer
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_connectNotify(this, handle__connectNotify, sigval1);
}
friend void QHBoxLayout_virtualbase_connectNotify(void* self, QMetaMethod* signal);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__disconnectNotify = 0;
// Subclass to allow providing a Go implementation
virtual void disconnectNotify(const QMetaMethod& signal) override {
2025-02-01 13:45:16 +13:00
if (handle__disconnectNotify == 0) {
QHBoxLayout::disconnectNotify(signal);
return;
}
const QMetaMethod& signal_ret = signal;
// Cast returned reference into pointer
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHBoxLayout_disconnectNotify(this, handle__disconnectNotify, sigval1);
}
friend void QHBoxLayout_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__widget = 0;
// Subclass to allow providing a Go implementation
virtual QWidget* widget() const override {
2025-02-01 13:45:16 +13:00
if (handle__widget == 0) {
return QHBoxLayout::widget();
}
2025-02-01 13:45:16 +13:00
QWidget* callback_return_value = miqt_exec_callback_QHBoxLayout_widget(this, handle__widget);
return callback_return_value;
}
friend QWidget* QHBoxLayout_virtualbase_widget(const void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__spacerItem = 0;
// Subclass to allow providing a Go implementation
virtual QSpacerItem* spacerItem() override {
2025-02-01 13:45:16 +13:00
if (handle__spacerItem == 0) {
return QHBoxLayout::spacerItem();
}
2025-02-01 13:45:16 +13:00
QSpacerItem* callback_return_value = miqt_exec_callback_QHBoxLayout_spacerItem(this, handle__spacerItem);
return callback_return_value;
}
friend QSpacerItem* QHBoxLayout_virtualbase_spacerItem(void* self);
2025-02-06 15:05:01 +13:00
// Wrappers to allow calling protected methods:
friend void QHBoxLayout_protectedbase_widgetEvent(bool* _dynamic_cast_ok, void* self, QEvent* param1);
friend void QHBoxLayout_protectedbase_addChildLayout(bool* _dynamic_cast_ok, void* self, QLayout* l);
friend void QHBoxLayout_protectedbase_addChildWidget(bool* _dynamic_cast_ok, void* self, QWidget* w);
friend bool QHBoxLayout_protectedbase_adoptLayout(bool* _dynamic_cast_ok, void* self, QLayout* layout);
friend QRect* QHBoxLayout_protectedbase_alignmentRect(bool* _dynamic_cast_ok, const void* self, QRect* param1);
friend QObject* QHBoxLayout_protectedbase_sender(bool* _dynamic_cast_ok, const void* self);
friend int QHBoxLayout_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self);
friend int QHBoxLayout_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal);
friend bool QHBoxLayout_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal);
};
QHBoxLayout* QHBoxLayout_new(QWidget* parent) {
return new MiqtVirtualQHBoxLayout(parent);
}
QHBoxLayout* QHBoxLayout_new2() {
return new MiqtVirtualQHBoxLayout();
}
void QHBoxLayout_virtbase(QHBoxLayout* src, QBoxLayout** outptr_QBoxLayout) {
*outptr_QBoxLayout = static_cast<QBoxLayout*>(src);
}
2025-02-01 13:45:16 +13:00
QMetaObject* QHBoxLayout_metaObject(const QHBoxLayout* self) {
return (QMetaObject*) self->metaObject();
}
2025-02-01 13:45:16 +13:00
void* QHBoxLayout_metacast(QHBoxLayout* self, const char* param1) {
return self->qt_metacast(param1);
}
2025-02-01 13:45:16 +13:00
struct miqt_string QHBoxLayout_tr(const char* s) {
QString _ret = QHBoxLayout::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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QHBoxLayout_tr2(const char* s, const char* c) {
QString _ret = QHBoxLayout::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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
struct miqt_string QHBoxLayout_tr3(const char* s, const char* c, int n) {
2024-11-19 19:29:06 +13:00
QString _ret = QHBoxLayout::tr(s, c, static_cast<int>(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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_addItem(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__addItem = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_addItem(void* self, QLayoutItem* param1) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::addItem(param1);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_spacing(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__spacing = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QHBoxLayout_virtualbase_spacing(const void* self) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::spacing();
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_setSpacing(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setSpacing = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_setSpacing(void* self, int spacing) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::setSpacing(static_cast<int>(spacing));
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_sizeHint(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__sizeHint = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QSize* QHBoxLayout_virtualbase_sizeHint(const void* self) {
return new QSize(( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::sizeHint());
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_minimumSize(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__minimumSize = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QSize* QHBoxLayout_virtualbase_minimumSize(const void* self) {
return new QSize(( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::minimumSize());
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_maximumSize(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__maximumSize = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QSize* QHBoxLayout_virtualbase_maximumSize(const void* self) {
return new QSize(( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::maximumSize());
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_hasHeightForWidth(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__hasHeightForWidth = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_virtualbase_hasHeightForWidth(const void* self) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::hasHeightForWidth();
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_heightForWidth(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__heightForWidth = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QHBoxLayout_virtualbase_heightForWidth(const void* self, int param1) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::heightForWidth(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_minimumHeightForWidth(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__minimumHeightForWidth = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QHBoxLayout_virtualbase_minimumHeightForWidth(const void* self, int param1) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::minimumHeightForWidth(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_expandingDirections(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__expandingDirections = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QHBoxLayout_virtualbase_expandingDirections(const void* self) {
Qt::Orientations _ret = ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::expandingDirections();
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_invalidate(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__invalidate = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_invalidate(void* self) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::invalidate();
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_itemAt(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__itemAt = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QHBoxLayout_virtualbase_itemAt(const void* self, int param1) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::itemAt(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_takeAt(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__takeAt = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QHBoxLayout_virtualbase_takeAt(void* self, int param1) {
return ( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::takeAt(static_cast<int>(param1));
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_count(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__count = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QHBoxLayout_virtualbase_count(const void* self) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::count();
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_setGeometry(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setGeometry = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_setGeometry(void* self, QRect* geometry) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::setGeometry(*geometry);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_geometry(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__geometry = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QRect* QHBoxLayout_virtualbase_geometry(const void* self) {
return new QRect(( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::geometry());
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_indexOf(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__indexOf = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QHBoxLayout_virtualbase_indexOf(const void* self, QWidget* param1) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::indexOf(param1);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_isEmpty(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__isEmpty = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_virtualbase_isEmpty(const void* self) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::isEmpty();
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_controlTypes(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__controlTypes = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QHBoxLayout_virtualbase_controlTypes(const void* self) {
QSizePolicy::ControlTypes _ret = ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::controlTypes();
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_replaceWidget(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__replaceWidget = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QHBoxLayout_virtualbase_replaceWidget(void* self, QWidget* from, QWidget* to, int options) {
return ( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::replaceWidget(from, to, static_cast<Qt::FindChildOptions>(options));
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_layout(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__layout = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QLayout* QHBoxLayout_virtualbase_layout(void* self) {
return ( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::layout();
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_childEvent(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__childEvent = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_childEvent(void* self, QChildEvent* e) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::childEvent(e);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_event(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__event = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_virtualbase_event(void* self, QEvent* event) {
return ( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::event(event);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_eventFilter(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__eventFilter = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event) {
return ( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::eventFilter(watched, event);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_timerEvent(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__timerEvent = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_timerEvent(void* self, QTimerEvent* event) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::timerEvent(event);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_customEvent(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__customEvent = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_customEvent(void* self, QEvent* event) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::customEvent(event);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_connectNotify(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__connectNotify = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_connectNotify(void* self, QMetaMethod* signal) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::connectNotify(*signal);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_disconnectNotify(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__disconnectNotify = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) {
( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::disconnectNotify(*signal);
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_widget(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__widget = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QWidget* QHBoxLayout_virtualbase_widget(const void* self) {
return ( (const MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::widget();
}
2025-02-01 13:45:16 +13:00
bool QHBoxLayout_override_virtual_spacerItem(void* self, intptr_t slot) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__spacerItem = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QSpacerItem* QHBoxLayout_virtualbase_spacerItem(void* self) {
return ( (MiqtVirtualQHBoxLayout*)(self) )->MiqtVirtualQHBoxLayout::spacerItem();
}
2025-02-06 15:05:01 +13:00
void QHBoxLayout_protectedbase_widgetEvent(bool* _dynamic_cast_ok, void* self, QEvent* param1) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->widgetEvent(param1);
}
void QHBoxLayout_protectedbase_addChildLayout(bool* _dynamic_cast_ok, void* self, QLayout* l) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->addChildLayout(l);
}
void QHBoxLayout_protectedbase_addChildWidget(bool* _dynamic_cast_ok, void* self, QWidget* w) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->addChildWidget(w);
}
bool QHBoxLayout_protectedbase_adoptLayout(bool* _dynamic_cast_ok, void* self, QLayout* layout) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return false;
}
*_dynamic_cast_ok = true;
return self_cast->adoptLayout(layout);
}
QRect* QHBoxLayout_protectedbase_alignmentRect(bool* _dynamic_cast_ok, const void* self, QRect* param1) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return nullptr;
}
*_dynamic_cast_ok = true;
return new QRect(self_cast->alignmentRect(*param1));
}
QObject* QHBoxLayout_protectedbase_sender(bool* _dynamic_cast_ok, const void* self) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return nullptr;
}
*_dynamic_cast_ok = true;
return self_cast->sender();
}
int QHBoxLayout_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return 0;
}
*_dynamic_cast_ok = true;
return self_cast->senderSignalIndex();
}
int QHBoxLayout_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return 0;
}
*_dynamic_cast_ok = true;
return self_cast->receivers(signal);
}
bool QHBoxLayout_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal) {
MiqtVirtualQHBoxLayout* self_cast = dynamic_cast<MiqtVirtualQHBoxLayout*>( (QHBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return false;
}
*_dynamic_cast_ok = true;
return self_cast->isSignalConnected(*signal);
}
2025-02-01 13:45:16 +13:00
void QHBoxLayout_delete(QHBoxLayout* self) {
delete self;
}
class MiqtVirtualQVBoxLayout final : public QVBoxLayout {
public:
MiqtVirtualQVBoxLayout(QWidget* parent): QVBoxLayout(parent) {};
MiqtVirtualQVBoxLayout(): QVBoxLayout() {};
virtual ~MiqtVirtualQVBoxLayout() override = default;
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__addItem = 0;
// Subclass to allow providing a Go implementation
virtual void addItem(QLayoutItem* param1) override {
2025-02-01 13:45:16 +13:00
if (handle__addItem == 0) {
QVBoxLayout::addItem(param1);
return;
}
QLayoutItem* sigval1 = param1;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_addItem(this, handle__addItem, sigval1);
}
friend void QVBoxLayout_virtualbase_addItem(void* self, QLayoutItem* param1);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__spacing = 0;
// Subclass to allow providing a Go implementation
virtual int spacing() const override {
2025-02-01 13:45:16 +13:00
if (handle__spacing == 0) {
return QVBoxLayout::spacing();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QVBoxLayout_spacing(this, handle__spacing);
return static_cast<int>(callback_return_value);
}
friend int QVBoxLayout_virtualbase_spacing(const void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setSpacing = 0;
// Subclass to allow providing a Go implementation
virtual void setSpacing(int spacing) override {
2025-02-01 13:45:16 +13:00
if (handle__setSpacing == 0) {
QVBoxLayout::setSpacing(spacing);
return;
}
int sigval1 = spacing;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_setSpacing(this, handle__setSpacing, sigval1);
}
2024-11-19 19:29:06 +13:00
friend void QVBoxLayout_virtualbase_setSpacing(void* self, int spacing);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__sizeHint = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize sizeHint() const override {
2025-02-01 13:45:16 +13:00
if (handle__sizeHint == 0) {
return QVBoxLayout::sizeHint();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QVBoxLayout_sizeHint(this, handle__sizeHint);
return *callback_return_value;
}
2024-11-19 19:29:06 +13:00
friend QSize* QVBoxLayout_virtualbase_sizeHint(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__minimumSize = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize minimumSize() const override {
2025-02-01 13:45:16 +13:00
if (handle__minimumSize == 0) {
return QVBoxLayout::minimumSize();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QVBoxLayout_minimumSize(this, handle__minimumSize);
return *callback_return_value;
}
2024-11-19 19:29:06 +13:00
friend QSize* QVBoxLayout_virtualbase_minimumSize(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__maximumSize = 0;
// Subclass to allow providing a Go implementation
virtual QSize maximumSize() const override {
2025-02-01 13:45:16 +13:00
if (handle__maximumSize == 0) {
return QVBoxLayout::maximumSize();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QVBoxLayout_maximumSize(this, handle__maximumSize);
return *callback_return_value;
}
friend QSize* QVBoxLayout_virtualbase_maximumSize(const void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__hasHeightForWidth = 0;
// Subclass to allow providing a Go implementation
virtual bool hasHeightForWidth() const override {
2025-02-01 13:45:16 +13:00
if (handle__hasHeightForWidth == 0) {
return QVBoxLayout::hasHeightForWidth();
}
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QVBoxLayout_hasHeightForWidth(this, handle__hasHeightForWidth);
return callback_return_value;
}
friend bool QVBoxLayout_virtualbase_hasHeightForWidth(const void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__heightForWidth = 0;
// Subclass to allow providing a Go implementation
virtual int heightForWidth(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__heightForWidth == 0) {
return QVBoxLayout::heightForWidth(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QVBoxLayout_heightForWidth(this, handle__heightForWidth, sigval1);
return static_cast<int>(callback_return_value);
}
friend int QVBoxLayout_virtualbase_heightForWidth(const void* self, int param1);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__minimumHeightForWidth = 0;
// Subclass to allow providing a Go implementation
virtual int minimumHeightForWidth(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__minimumHeightForWidth == 0) {
return QVBoxLayout::minimumHeightForWidth(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QVBoxLayout_minimumHeightForWidth(this, handle__minimumHeightForWidth, sigval1);
return static_cast<int>(callback_return_value);
}
friend int QVBoxLayout_virtualbase_minimumHeightForWidth(const void* self, int param1);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__expandingDirections = 0;
// Subclass to allow providing a Go implementation
virtual Qt::Orientations expandingDirections() const override {
2025-02-01 13:45:16 +13:00
if (handle__expandingDirections == 0) {
return QVBoxLayout::expandingDirections();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QVBoxLayout_expandingDirections(this, handle__expandingDirections);
return static_cast<Qt::Orientations>(callback_return_value);
}
friend int QVBoxLayout_virtualbase_expandingDirections(const void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__invalidate = 0;
// Subclass to allow providing a Go implementation
virtual void invalidate() override {
2025-02-01 13:45:16 +13:00
if (handle__invalidate == 0) {
QVBoxLayout::invalidate();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_invalidate(this, handle__invalidate);
}
friend void QVBoxLayout_virtualbase_invalidate(void* self);
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__itemAt = 0;
// Subclass to allow providing a Go implementation
virtual QLayoutItem* itemAt(int param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__itemAt == 0) {
return QVBoxLayout::itemAt(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QVBoxLayout_itemAt(this, handle__itemAt, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
2024-11-19 19:29:06 +13:00
friend QLayoutItem* QVBoxLayout_virtualbase_itemAt(const void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__takeAt = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayoutItem* takeAt(int param1) override {
2025-02-01 13:45:16 +13:00
if (handle__takeAt == 0) {
return QVBoxLayout::takeAt(param1);
}
int sigval1 = param1;
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QVBoxLayout_takeAt(this, handle__takeAt, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
2024-11-19 19:29:06 +13:00
friend QLayoutItem* QVBoxLayout_virtualbase_takeAt(void* self, int param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__count = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int count() const override {
2025-02-01 13:45:16 +13:00
if (handle__count == 0) {
return QVBoxLayout::count();
}
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QVBoxLayout_count(this, handle__count);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
2024-11-19 19:29:06 +13:00
friend int QVBoxLayout_virtualbase_count(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setGeometry = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setGeometry(const QRect& geometry) override {
2025-02-01 13:45:16 +13:00
if (handle__setGeometry == 0) {
QVBoxLayout::setGeometry(geometry);
return;
}
const QRect& geometry_ret = geometry;
// Cast returned reference into pointer
QRect* sigval1 = const_cast<QRect*>(&geometry_ret);
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_setGeometry(this, handle__setGeometry, sigval1);
2024-11-19 19:29:06 +13:00
}
2024-11-19 19:29:06 +13:00
friend void QVBoxLayout_virtualbase_setGeometry(void* self, QRect* geometry);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__geometry = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QRect geometry() const override {
2025-02-01 13:45:16 +13:00
if (handle__geometry == 0) {
return QVBoxLayout::geometry();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QRect* callback_return_value = miqt_exec_callback_QVBoxLayout_geometry(this, handle__geometry);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
2024-11-19 19:29:06 +13:00
}
friend QRect* QVBoxLayout_virtualbase_geometry(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__indexOf = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int indexOf(const QWidget* param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__indexOf == 0) {
return QVBoxLayout::indexOf(param1);
2024-11-19 19:29:06 +13:00
}
QWidget* sigval1 = (QWidget*) param1;
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QVBoxLayout_indexOf(this, handle__indexOf, sigval1);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
friend int QVBoxLayout_virtualbase_indexOf(const void* self, QWidget* param1);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__isEmpty = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool isEmpty() const override {
2025-02-01 13:45:16 +13:00
if (handle__isEmpty == 0) {
return QVBoxLayout::isEmpty();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QVBoxLayout_isEmpty(this, handle__isEmpty);
2024-11-19 19:29:06 +13:00
return callback_return_value;
2024-11-19 19:29:06 +13:00
}
friend bool QVBoxLayout_virtualbase_isEmpty(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__controlTypes = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSizePolicy::ControlTypes controlTypes() const override {
2025-02-01 13:45:16 +13:00
if (handle__controlTypes == 0) {
return QVBoxLayout::controlTypes();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QVBoxLayout_controlTypes(this, handle__controlTypes);
2024-11-19 19:29:06 +13:00
return static_cast<QSizePolicy::ControlTypes>(callback_return_value);
2024-11-19 19:29:06 +13:00
}
friend int QVBoxLayout_virtualbase_controlTypes(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__replaceWidget = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayoutItem* replaceWidget(QWidget* from, QWidget* to, Qt::FindChildOptions options) override {
2025-02-01 13:45:16 +13:00
if (handle__replaceWidget == 0) {
return QVBoxLayout::replaceWidget(from, to, options);
2024-11-19 19:29:06 +13:00
}
QWidget* sigval1 = from;
QWidget* sigval2 = to;
Qt::FindChildOptions options_ret = options;
int sigval3 = static_cast<int>(options_ret);
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
QLayoutItem* callback_return_value = miqt_exec_callback_QVBoxLayout_replaceWidget(this, handle__replaceWidget, sigval1, sigval2, sigval3);
2024-11-19 19:29:06 +13:00
return callback_return_value;
2024-11-19 19:29:06 +13:00
}
friend QLayoutItem* QVBoxLayout_virtualbase_replaceWidget(void* self, QWidget* from, QWidget* to, int options);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__layout = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QLayout* layout() override {
2025-02-01 13:45:16 +13:00
if (handle__layout == 0) {
return QVBoxLayout::layout();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QLayout* callback_return_value = miqt_exec_callback_QVBoxLayout_layout(this, handle__layout);
2024-11-19 19:29:06 +13:00
return callback_return_value;
2024-11-19 19:29:06 +13:00
}
friend QLayout* QVBoxLayout_virtualbase_layout(void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__childEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void childEvent(QChildEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__childEvent == 0) {
QVBoxLayout::childEvent(e);
return;
2024-11-19 19:29:06 +13:00
}
QChildEvent* sigval1 = e;
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_childEvent(this, handle__childEvent, sigval1);
2024-11-19 19:29:06 +13:00
2024-11-19 19:29:06 +13:00
}
friend void QVBoxLayout_virtualbase_childEvent(void* self, QChildEvent* e);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__event = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool event(QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__event == 0) {
return QVBoxLayout::event(event);
2024-11-19 19:29:06 +13:00
}
QEvent* sigval1 = event;
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QVBoxLayout_event(this, handle__event, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
2024-11-19 19:29:06 +13:00
}
friend bool QVBoxLayout_virtualbase_event(void* self, QEvent* event);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__eventFilter = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool eventFilter(QObject* watched, QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__eventFilter == 0) {
return QVBoxLayout::eventFilter(watched, event);
2024-11-19 19:29:06 +13:00
}
QObject* sigval1 = watched;
QEvent* sigval2 = event;
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QVBoxLayout_eventFilter(this, handle__eventFilter, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
return callback_return_value;
2024-11-19 19:29:06 +13:00
}
friend bool QVBoxLayout_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__timerEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void timerEvent(QTimerEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__timerEvent == 0) {
QVBoxLayout::timerEvent(event);
return;
2024-11-19 19:29:06 +13:00
}
QTimerEvent* sigval1 = event;
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_timerEvent(this, handle__timerEvent, sigval1);
2024-11-19 19:29:06 +13:00
2024-11-19 19:29:06 +13:00
}
friend void QVBoxLayout_virtualbase_timerEvent(void* self, QTimerEvent* event);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__customEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void customEvent(QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__customEvent == 0) {
QVBoxLayout::customEvent(event);
2024-11-19 19:29:06 +13:00
return;
}
QEvent* sigval1 = event;
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_customEvent(this, handle__customEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
friend void QVBoxLayout_virtualbase_customEvent(void* self, QEvent* event);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__connectNotify = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void connectNotify(const QMetaMethod& signal) override {
2025-02-01 13:45:16 +13:00
if (handle__connectNotify == 0) {
QVBoxLayout::connectNotify(signal);
return;
2024-11-19 19:29:06 +13:00
}
const QMetaMethod& signal_ret = signal;
// Cast returned reference into pointer
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_connectNotify(this, handle__connectNotify, sigval1);
2024-11-19 19:29:06 +13:00
2024-11-19 19:29:06 +13:00
}
friend void QVBoxLayout_virtualbase_connectNotify(void* self, QMetaMethod* signal);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__disconnectNotify = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void disconnectNotify(const QMetaMethod& signal) override {
2025-02-01 13:45:16 +13:00
if (handle__disconnectNotify == 0) {
QVBoxLayout::disconnectNotify(signal);
return;
2024-11-19 19:29:06 +13:00
}
const QMetaMethod& signal_ret = signal;
// Cast returned reference into pointer
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
2024-11-19 19:29:06 +13:00
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QVBoxLayout_disconnectNotify(this, handle__disconnectNotify, sigval1);
2024-11-19 19:29:06 +13:00
2024-11-19 19:29:06 +13:00
}
friend void QVBoxLayout_virtualbase_disconnectNotify(void* self, QMetaMethod* signal);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__widget = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QWidget* widget() const override {
2025-02-01 13:45:16 +13:00
if (handle__widget == 0) {
return QVBoxLayout::widget();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QWidget* callback_return_value = miqt_exec_callback_QVBoxLayout_widget(this, handle__widget);
2024-11-19 19:29:06 +13:00
return callback_return_value;
2024-11-19 19:29:06 +13:00
}
friend QWidget* QVBoxLayout_virtualbase_widget(const void* self);
2024-11-19 19:29:06 +13:00
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__spacerItem = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSpacerItem* spacerItem() override {
2025-02-01 13:45:16 +13:00
if (handle__spacerItem == 0) {
return QVBoxLayout::spacerItem();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QSpacerItem* callback_return_value = miqt_exec_callback_QVBoxLayout_spacerItem(this, handle__spacerItem);
2024-11-19 19:29:06 +13:00
return callback_return_value;
2024-11-19 19:29:06 +13:00
}
friend QSpacerItem* QVBoxLayout_virtualbase_spacerItem(void* self);
2024-11-19 19:29:06 +13:00
2025-02-06 15:05:01 +13:00
// Wrappers to allow calling protected methods:
friend void QVBoxLayout_protectedbase_widgetEvent(bool* _dynamic_cast_ok, void* self, QEvent* param1);
friend void QVBoxLayout_protectedbase_addChildLayout(bool* _dynamic_cast_ok, void* self, QLayout* l);
friend void QVBoxLayout_protectedbase_addChildWidget(bool* _dynamic_cast_ok, void* self, QWidget* w);
friend bool QVBoxLayout_protectedbase_adoptLayout(bool* _dynamic_cast_ok, void* self, QLayout* layout);
friend QRect* QVBoxLayout_protectedbase_alignmentRect(bool* _dynamic_cast_ok, const void* self, QRect* param1);
friend QObject* QVBoxLayout_protectedbase_sender(bool* _dynamic_cast_ok, const void* self);
friend int QVBoxLayout_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self);
friend int QVBoxLayout_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal);
friend bool QVBoxLayout_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal);
2024-11-19 19:29:06 +13:00
};
2024-12-07 17:15:57 +13:00
QVBoxLayout* QVBoxLayout_new(QWidget* parent) {
return new MiqtVirtualQVBoxLayout(parent);
}
QVBoxLayout* QVBoxLayout_new2() {
return new MiqtVirtualQVBoxLayout();
}
void QVBoxLayout_virtbase(QVBoxLayout* src, QBoxLayout** outptr_QBoxLayout) {
*outptr_QBoxLayout = static_cast<QBoxLayout*>(src);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QMetaObject* QVBoxLayout_metaObject(const QVBoxLayout* self) {
2024-11-19 19:29:06 +13:00
return (QMetaObject*) self->metaObject();
}
2025-02-01 13:45:16 +13:00
void* QVBoxLayout_metacast(QVBoxLayout* self, const char* param1) {
2024-11-19 19:29:06 +13:00
return self->qt_metacast(param1);
}
2025-02-01 13:45:16 +13:00
struct miqt_string QVBoxLayout_tr(const char* s) {
2024-11-19 19:29:06 +13:00
QString _ret = QVBoxLayout::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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QVBoxLayout_tr2(const char* s, const char* c) {
2024-11-19 19:29:06 +13:00
QString _ret = QVBoxLayout::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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
struct miqt_string QVBoxLayout_tr3(const char* s, const char* c, int n) {
2024-11-19 19:29:06 +13:00
QString _ret = QVBoxLayout::tr(s, c, static_cast<int>(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<char*>(malloc(_ms.len));
memcpy(_ms.data, _b.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_addItem(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__addItem = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_addItem(void* self, QLayoutItem* param1) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::addItem(param1);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_spacing(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__spacing = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QVBoxLayout_virtualbase_spacing(const void* self) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::spacing();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_setSpacing(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setSpacing = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_setSpacing(void* self, int spacing) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::setSpacing(static_cast<int>(spacing));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_sizeHint(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__sizeHint = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QSize* QVBoxLayout_virtualbase_sizeHint(const void* self) {
return new QSize(( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::sizeHint());
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_minimumSize(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__minimumSize = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QSize* QVBoxLayout_virtualbase_minimumSize(const void* self) {
return new QSize(( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::minimumSize());
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_maximumSize(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__maximumSize = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QSize* QVBoxLayout_virtualbase_maximumSize(const void* self) {
return new QSize(( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::maximumSize());
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_hasHeightForWidth(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__hasHeightForWidth = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_virtualbase_hasHeightForWidth(const void* self) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::hasHeightForWidth();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_heightForWidth(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__heightForWidth = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QVBoxLayout_virtualbase_heightForWidth(const void* self, int param1) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::heightForWidth(static_cast<int>(param1));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_minimumHeightForWidth(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__minimumHeightForWidth = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QVBoxLayout_virtualbase_minimumHeightForWidth(const void* self, int param1) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::minimumHeightForWidth(static_cast<int>(param1));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_expandingDirections(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__expandingDirections = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QVBoxLayout_virtualbase_expandingDirections(const void* self) {
Qt::Orientations _ret = ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::expandingDirections();
return static_cast<int>(_ret);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_invalidate(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__invalidate = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_invalidate(void* self) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::invalidate();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_itemAt(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__itemAt = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QVBoxLayout_virtualbase_itemAt(const void* self, int param1) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::itemAt(static_cast<int>(param1));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_takeAt(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__takeAt = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QVBoxLayout_virtualbase_takeAt(void* self, int param1) {
return ( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::takeAt(static_cast<int>(param1));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_count(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__count = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QVBoxLayout_virtualbase_count(const void* self) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::count();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_setGeometry(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setGeometry = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_setGeometry(void* self, QRect* geometry) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::setGeometry(*geometry);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_geometry(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__geometry = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QRect* QVBoxLayout_virtualbase_geometry(const void* self) {
return new QRect(( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::geometry());
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_indexOf(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__indexOf = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QVBoxLayout_virtualbase_indexOf(const void* self, QWidget* param1) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::indexOf(param1);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_isEmpty(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__isEmpty = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_virtualbase_isEmpty(const void* self) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::isEmpty();
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_controlTypes(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__controlTypes = slot;
return true;
}
2025-02-01 13:45:16 +13:00
int QVBoxLayout_virtualbase_controlTypes(const void* self) {
QSizePolicy::ControlTypes _ret = ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::controlTypes();
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_replaceWidget(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__replaceWidget = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QLayoutItem* QVBoxLayout_virtualbase_replaceWidget(void* self, QWidget* from, QWidget* to, int options) {
return ( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::replaceWidget(from, to, static_cast<Qt::FindChildOptions>(options));
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_layout(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__layout = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QLayout* QVBoxLayout_virtualbase_layout(void* self) {
return ( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::layout();
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_childEvent(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__childEvent = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_childEvent(void* self, QChildEvent* e) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::childEvent(e);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_event(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__event = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_virtualbase_event(void* self, QEvent* event) {
return ( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::event(event);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_eventFilter(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__eventFilter = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event) {
return ( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::eventFilter(watched, event);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_timerEvent(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__timerEvent = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_timerEvent(void* self, QTimerEvent* event) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::timerEvent(event);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_customEvent(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__customEvent = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_customEvent(void* self, QEvent* event) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::customEvent(event);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_connectNotify(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__connectNotify = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_connectNotify(void* self, QMetaMethod* signal) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::connectNotify(*signal);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_disconnectNotify(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__disconnectNotify = slot;
return true;
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) {
( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::disconnectNotify(*signal);
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_widget(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__widget = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QWidget* QVBoxLayout_virtualbase_widget(const void* self) {
return ( (const MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::widget();
}
2025-02-01 13:45:16 +13:00
bool QVBoxLayout_override_virtual_spacerItem(void* self, intptr_t slot) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__spacerItem = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QSpacerItem* QVBoxLayout_virtualbase_spacerItem(void* self) {
return ( (MiqtVirtualQVBoxLayout*)(self) )->MiqtVirtualQVBoxLayout::spacerItem();
}
2025-02-06 15:05:01 +13:00
void QVBoxLayout_protectedbase_widgetEvent(bool* _dynamic_cast_ok, void* self, QEvent* param1) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->widgetEvent(param1);
}
void QVBoxLayout_protectedbase_addChildLayout(bool* _dynamic_cast_ok, void* self, QLayout* l) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->addChildLayout(l);
}
void QVBoxLayout_protectedbase_addChildWidget(bool* _dynamic_cast_ok, void* self, QWidget* w) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return ;
}
*_dynamic_cast_ok = true;
self_cast->addChildWidget(w);
}
bool QVBoxLayout_protectedbase_adoptLayout(bool* _dynamic_cast_ok, void* self, QLayout* layout) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return false;
}
*_dynamic_cast_ok = true;
return self_cast->adoptLayout(layout);
}
QRect* QVBoxLayout_protectedbase_alignmentRect(bool* _dynamic_cast_ok, const void* self, QRect* param1) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return nullptr;
}
*_dynamic_cast_ok = true;
return new QRect(self_cast->alignmentRect(*param1));
}
QObject* QVBoxLayout_protectedbase_sender(bool* _dynamic_cast_ok, const void* self) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return nullptr;
}
*_dynamic_cast_ok = true;
return self_cast->sender();
}
int QVBoxLayout_protectedbase_senderSignalIndex(bool* _dynamic_cast_ok, const void* self) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return 0;
}
*_dynamic_cast_ok = true;
return self_cast->senderSignalIndex();
}
int QVBoxLayout_protectedbase_receivers(bool* _dynamic_cast_ok, const void* self, const char* signal) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return 0;
}
*_dynamic_cast_ok = true;
return self_cast->receivers(signal);
}
bool QVBoxLayout_protectedbase_isSignalConnected(bool* _dynamic_cast_ok, const void* self, QMetaMethod* signal) {
MiqtVirtualQVBoxLayout* self_cast = dynamic_cast<MiqtVirtualQVBoxLayout*>( (QVBoxLayout*)(self) );
if (self_cast == nullptr) {
*_dynamic_cast_ok = false;
return false;
}
*_dynamic_cast_ok = true;
return self_cast->isSignalConnected(*signal);
}
2025-02-01 13:45:16 +13:00
void QVBoxLayout_delete(QVBoxLayout* self) {
delete self;
2024-10-20 18:21:03 +13:00
}