miqt/qt6/gen_qheaderview.cpp

4296 lines
129 KiB
C++
Raw Normal View History

2024-11-19 19:29:06 +13:00
#include <QAbstractItemDelegate>
2024-10-20 18:21:03 +13:00
#include <QAbstractItemModel>
2024-11-19 19:29:06 +13:00
#include <QAbstractItemView>
#include <QAbstractScrollArea>
#include <QActionEvent>
2024-10-20 18:21:03 +13:00
#include <QByteArray>
#include <QChildEvent>
#include <QCloseEvent>
#include <QContextMenuEvent>
2024-11-19 19:29:06 +13:00
#include <QDragEnterEvent>
#include <QDragLeaveEvent>
#include <QDragMoveEvent>
#include <QDropEvent>
#include <QEnterEvent>
2024-11-19 19:29:06 +13:00
#include <QEvent>
#include <QFocusEvent>
#include <QFrame>
2024-10-20 18:21:03 +13:00
#include <QHeaderView>
#include <QHideEvent>
2024-11-19 19:29:06 +13:00
#include <QInputMethodEvent>
#include <QItemSelection>
2024-11-19 19:29:06 +13:00
#include <QItemSelectionModel>
#include <QKeyEvent>
#include <QList>
#include <QMetaMethod>
2024-10-20 18:21:03 +13:00
#include <QMetaObject>
2024-11-19 19:29:06 +13:00
#include <QModelIndex>
#include <QMouseEvent>
#include <QMoveEvent>
2024-11-19 19:29:06 +13:00
#include <QObject>
#include <QPaintDevice>
#include <QPaintEngine>
2024-11-19 19:29:06 +13:00
#include <QPaintEvent>
#include <QPainter>
2024-10-20 18:21:03 +13:00
#include <QPoint>
2024-11-19 19:29:06 +13:00
#include <QRect>
#include <QRegion>
2024-11-19 19:29:06 +13:00
#include <QResizeEvent>
#include <QShowEvent>
2024-10-20 18:21:03 +13:00
#include <QSize>
#include <QString>
#include <QByteArray>
#include <cstring>
2024-11-19 19:29:06 +13:00
#include <QStyleOptionHeader>
#include <QStyleOptionViewItem>
#include <QTabletEvent>
2024-11-19 19:29:06 +13:00
#include <QTimerEvent>
#include <QVariant>
#include <QWheelEvent>
2024-10-20 18:21:03 +13:00
#include <QWidget>
#include <qheaderview.h>
#include "gen_qheaderview.h"
#ifdef __cplusplus
extern "C" {
#endif
2025-02-01 13:45:16 +13:00
void miqt_exec_callback_QHeaderView_sectionMoved(intptr_t, int, int, int);
void miqt_exec_callback_QHeaderView_sectionResized(intptr_t, int, int, int);
void miqt_exec_callback_QHeaderView_sectionPressed(intptr_t, int);
void miqt_exec_callback_QHeaderView_sectionClicked(intptr_t, int);
void miqt_exec_callback_QHeaderView_sectionEntered(intptr_t, int);
void miqt_exec_callback_QHeaderView_sectionDoubleClicked(intptr_t, int);
void miqt_exec_callback_QHeaderView_sectionCountChanged(intptr_t, int, int);
void miqt_exec_callback_QHeaderView_sectionHandleDoubleClicked(intptr_t, int);
void miqt_exec_callback_QHeaderView_geometriesChanged(intptr_t);
void miqt_exec_callback_QHeaderView_sortIndicatorChanged(intptr_t, int, int);
void miqt_exec_callback_QHeaderView_sortIndicatorClearableChanged(intptr_t, bool);
void miqt_exec_callback_QHeaderView_setModel(QHeaderView*, intptr_t, QAbstractItemModel*);
QSize* miqt_exec_callback_QHeaderView_sizeHint(const QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_setVisible(QHeaderView*, intptr_t, bool);
void miqt_exec_callback_QHeaderView_doItemsLayout(QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_reset(QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_currentChanged(QHeaderView*, intptr_t, QModelIndex*, QModelIndex*);
bool miqt_exec_callback_QHeaderView_event(QHeaderView*, intptr_t, QEvent*);
void miqt_exec_callback_QHeaderView_paintEvent(QHeaderView*, intptr_t, QPaintEvent*);
void miqt_exec_callback_QHeaderView_mousePressEvent(QHeaderView*, intptr_t, QMouseEvent*);
void miqt_exec_callback_QHeaderView_mouseMoveEvent(QHeaderView*, intptr_t, QMouseEvent*);
void miqt_exec_callback_QHeaderView_mouseReleaseEvent(QHeaderView*, intptr_t, QMouseEvent*);
void miqt_exec_callback_QHeaderView_mouseDoubleClickEvent(QHeaderView*, intptr_t, QMouseEvent*);
bool miqt_exec_callback_QHeaderView_viewportEvent(QHeaderView*, intptr_t, QEvent*);
void miqt_exec_callback_QHeaderView_paintSection(const QHeaderView*, intptr_t, QPainter*, QRect*, int);
QSize* miqt_exec_callback_QHeaderView_sectionSizeFromContents(const QHeaderView*, intptr_t, int);
int miqt_exec_callback_QHeaderView_horizontalOffset(const QHeaderView*, intptr_t);
int miqt_exec_callback_QHeaderView_verticalOffset(const QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_updateGeometries(QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_scrollContentsBy(QHeaderView*, intptr_t, int, int);
void miqt_exec_callback_QHeaderView_dataChanged(QHeaderView*, intptr_t, QModelIndex*, QModelIndex*, struct miqt_array /* of int */ );
void miqt_exec_callback_QHeaderView_rowsInserted(QHeaderView*, intptr_t, QModelIndex*, int, int);
QRect* miqt_exec_callback_QHeaderView_visualRect(const QHeaderView*, intptr_t, QModelIndex*);
void miqt_exec_callback_QHeaderView_scrollTo(QHeaderView*, intptr_t, QModelIndex*, int);
QModelIndex* miqt_exec_callback_QHeaderView_indexAt(const QHeaderView*, intptr_t, QPoint*);
bool miqt_exec_callback_QHeaderView_isIndexHidden(const QHeaderView*, intptr_t, QModelIndex*);
QModelIndex* miqt_exec_callback_QHeaderView_moveCursor(QHeaderView*, intptr_t, int, int);
void miqt_exec_callback_QHeaderView_setSelection(QHeaderView*, intptr_t, QRect*, int);
QRegion* miqt_exec_callback_QHeaderView_visualRegionForSelection(const QHeaderView*, intptr_t, QItemSelection*);
void miqt_exec_callback_QHeaderView_initStyleOptionForIndex(const QHeaderView*, intptr_t, QStyleOptionHeader*, int);
void miqt_exec_callback_QHeaderView_initStyleOption(const QHeaderView*, intptr_t, QStyleOptionHeader*);
void miqt_exec_callback_QHeaderView_setSelectionModel(QHeaderView*, intptr_t, QItemSelectionModel*);
void miqt_exec_callback_QHeaderView_keyboardSearch(QHeaderView*, intptr_t, struct miqt_string);
int miqt_exec_callback_QHeaderView_sizeHintForRow(const QHeaderView*, intptr_t, int);
int miqt_exec_callback_QHeaderView_sizeHintForColumn(const QHeaderView*, intptr_t, int);
QAbstractItemDelegate* miqt_exec_callback_QHeaderView_itemDelegateForIndex(const QHeaderView*, intptr_t, QModelIndex*);
QVariant* miqt_exec_callback_QHeaderView_inputMethodQuery(const QHeaderView*, intptr_t, int);
void miqt_exec_callback_QHeaderView_setRootIndex(QHeaderView*, intptr_t, QModelIndex*);
void miqt_exec_callback_QHeaderView_selectAll(QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_rowsAboutToBeRemoved(QHeaderView*, intptr_t, QModelIndex*, int, int);
void miqt_exec_callback_QHeaderView_selectionChanged(QHeaderView*, intptr_t, QItemSelection*, QItemSelection*);
void miqt_exec_callback_QHeaderView_updateEditorData(QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_updateEditorGeometries(QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_verticalScrollbarAction(QHeaderView*, intptr_t, int);
void miqt_exec_callback_QHeaderView_horizontalScrollbarAction(QHeaderView*, intptr_t, int);
void miqt_exec_callback_QHeaderView_verticalScrollbarValueChanged(QHeaderView*, intptr_t, int);
void miqt_exec_callback_QHeaderView_horizontalScrollbarValueChanged(QHeaderView*, intptr_t, int);
void miqt_exec_callback_QHeaderView_closeEditor(QHeaderView*, intptr_t, QWidget*, int);
void miqt_exec_callback_QHeaderView_commitData(QHeaderView*, intptr_t, QWidget*);
void miqt_exec_callback_QHeaderView_editorDestroyed(QHeaderView*, intptr_t, QObject*);
struct miqt_array /* of QModelIndex* */ miqt_exec_callback_QHeaderView_selectedIndexes(const QHeaderView*, intptr_t);
bool miqt_exec_callback_QHeaderView_edit2(QHeaderView*, intptr_t, QModelIndex*, int, QEvent*);
int miqt_exec_callback_QHeaderView_selectionCommand(const QHeaderView*, intptr_t, QModelIndex*, QEvent*);
void miqt_exec_callback_QHeaderView_startDrag(QHeaderView*, intptr_t, int);
void miqt_exec_callback_QHeaderView_initViewItemOption(const QHeaderView*, intptr_t, QStyleOptionViewItem*);
bool miqt_exec_callback_QHeaderView_focusNextPrevChild(QHeaderView*, intptr_t, bool);
void miqt_exec_callback_QHeaderView_dragEnterEvent(QHeaderView*, intptr_t, QDragEnterEvent*);
void miqt_exec_callback_QHeaderView_dragMoveEvent(QHeaderView*, intptr_t, QDragMoveEvent*);
void miqt_exec_callback_QHeaderView_dragLeaveEvent(QHeaderView*, intptr_t, QDragLeaveEvent*);
void miqt_exec_callback_QHeaderView_dropEvent(QHeaderView*, intptr_t, QDropEvent*);
void miqt_exec_callback_QHeaderView_focusInEvent(QHeaderView*, intptr_t, QFocusEvent*);
void miqt_exec_callback_QHeaderView_focusOutEvent(QHeaderView*, intptr_t, QFocusEvent*);
void miqt_exec_callback_QHeaderView_keyPressEvent(QHeaderView*, intptr_t, QKeyEvent*);
void miqt_exec_callback_QHeaderView_resizeEvent(QHeaderView*, intptr_t, QResizeEvent*);
void miqt_exec_callback_QHeaderView_timerEvent(QHeaderView*, intptr_t, QTimerEvent*);
void miqt_exec_callback_QHeaderView_inputMethodEvent(QHeaderView*, intptr_t, QInputMethodEvent*);
bool miqt_exec_callback_QHeaderView_eventFilter(QHeaderView*, intptr_t, QObject*, QEvent*);
QSize* miqt_exec_callback_QHeaderView_viewportSizeHint(const QHeaderView*, intptr_t);
QSize* miqt_exec_callback_QHeaderView_minimumSizeHint(const QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_setupViewport(QHeaderView*, intptr_t, QWidget*);
void miqt_exec_callback_QHeaderView_wheelEvent(QHeaderView*, intptr_t, QWheelEvent*);
void miqt_exec_callback_QHeaderView_contextMenuEvent(QHeaderView*, intptr_t, QContextMenuEvent*);
void miqt_exec_callback_QHeaderView_changeEvent(QHeaderView*, intptr_t, QEvent*);
int miqt_exec_callback_QHeaderView_devType(const QHeaderView*, intptr_t);
int miqt_exec_callback_QHeaderView_heightForWidth(const QHeaderView*, intptr_t, int);
bool miqt_exec_callback_QHeaderView_hasHeightForWidth(const QHeaderView*, intptr_t);
QPaintEngine* miqt_exec_callback_QHeaderView_paintEngine(const QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_keyReleaseEvent(QHeaderView*, intptr_t, QKeyEvent*);
void miqt_exec_callback_QHeaderView_enterEvent(QHeaderView*, intptr_t, QEnterEvent*);
void miqt_exec_callback_QHeaderView_leaveEvent(QHeaderView*, intptr_t, QEvent*);
void miqt_exec_callback_QHeaderView_moveEvent(QHeaderView*, intptr_t, QMoveEvent*);
void miqt_exec_callback_QHeaderView_closeEvent(QHeaderView*, intptr_t, QCloseEvent*);
void miqt_exec_callback_QHeaderView_tabletEvent(QHeaderView*, intptr_t, QTabletEvent*);
void miqt_exec_callback_QHeaderView_actionEvent(QHeaderView*, intptr_t, QActionEvent*);
void miqt_exec_callback_QHeaderView_showEvent(QHeaderView*, intptr_t, QShowEvent*);
void miqt_exec_callback_QHeaderView_hideEvent(QHeaderView*, intptr_t, QHideEvent*);
bool miqt_exec_callback_QHeaderView_nativeEvent(QHeaderView*, intptr_t, struct miqt_string, void*, intptr_t*);
int miqt_exec_callback_QHeaderView_metric(const QHeaderView*, intptr_t, int);
void miqt_exec_callback_QHeaderView_initPainter(const QHeaderView*, intptr_t, QPainter*);
QPaintDevice* miqt_exec_callback_QHeaderView_redirected(const QHeaderView*, intptr_t, QPoint*);
QPainter* miqt_exec_callback_QHeaderView_sharedPainter(const QHeaderView*, intptr_t);
void miqt_exec_callback_QHeaderView_childEvent(QHeaderView*, intptr_t, QChildEvent*);
void miqt_exec_callback_QHeaderView_customEvent(QHeaderView*, intptr_t, QEvent*);
void miqt_exec_callback_QHeaderView_connectNotify(QHeaderView*, intptr_t, QMetaMethod*);
void miqt_exec_callback_QHeaderView_disconnectNotify(QHeaderView*, intptr_t, QMetaMethod*);
#ifdef __cplusplus
} /* extern C */
#endif
2024-10-20 18:21:03 +13:00
class MiqtVirtualQHeaderView final : public QHeaderView {
2024-11-19 19:29:06 +13:00
public:
MiqtVirtualQHeaderView(Qt::Orientation orientation): QHeaderView(orientation) {};
MiqtVirtualQHeaderView(Qt::Orientation orientation, QWidget* parent): QHeaderView(orientation, parent) {};
virtual ~MiqtVirtualQHeaderView() 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__setModel = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setModel(QAbstractItemModel* model) override {
2025-02-01 13:45:16 +13:00
if (handle__setModel == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::setModel(model);
return;
}
QAbstractItemModel* sigval1 = model;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_setModel(this, handle__setModel, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_setModel(QAbstractItemModel* model) {
2024-11-19 19:29:06 +13:00
QHeaderView::setModel(model);
}
// 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 QHeaderView::sizeHint();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QHeaderView_sizeHint(this, handle__sizeHint);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QSize* virtualbase_sizeHint() const {
2024-11-19 19:29:06 +13:00
return new QSize(QHeaderView::sizeHint());
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setVisible = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setVisible(bool v) override {
2025-02-01 13:45:16 +13:00
if (handle__setVisible == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::setVisible(v);
return;
}
bool sigval1 = v;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_setVisible(this, handle__setVisible, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_setVisible(bool v) {
2024-11-19 19:29:06 +13:00
QHeaderView::setVisible(v);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__doItemsLayout = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void doItemsLayout() override {
2025-02-01 13:45:16 +13:00
if (handle__doItemsLayout == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::doItemsLayout();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_doItemsLayout(this, handle__doItemsLayout);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_doItemsLayout() {
2024-11-19 19:29:06 +13:00
QHeaderView::doItemsLayout();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__reset = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void reset() override {
2025-02-01 13:45:16 +13:00
if (handle__reset == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::reset();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_reset(this, handle__reset);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_reset() {
2024-11-19 19:29:06 +13:00
QHeaderView::reset();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__currentChanged = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void currentChanged(const QModelIndex& current, const QModelIndex& old) override {
2025-02-01 13:45:16 +13:00
if (handle__currentChanged == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::currentChanged(current, old);
return;
}
const QModelIndex& current_ret = current;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&current_ret);
const QModelIndex& old_ret = old;
// Cast returned reference into pointer
QModelIndex* sigval2 = const_cast<QModelIndex*>(&old_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_currentChanged(this, handle__currentChanged, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_currentChanged(QModelIndex* current, QModelIndex* old) {
2024-11-19 19:29:06 +13:00
QHeaderView::currentChanged(*current, *old);
}
// 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* e) override {
2025-02-01 13:45:16 +13:00
if (handle__event == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::event(e);
}
QEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHeaderView_event(this, handle__event, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
bool virtualbase_event(QEvent* e) {
2024-11-19 19:29:06 +13:00
return QHeaderView::event(e);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__paintEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void paintEvent(QPaintEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__paintEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::paintEvent(e);
return;
}
QPaintEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_paintEvent(this, handle__paintEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_paintEvent(QPaintEvent* e) {
2024-11-19 19:29:06 +13:00
QHeaderView::paintEvent(e);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__mousePressEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void mousePressEvent(QMouseEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__mousePressEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::mousePressEvent(e);
return;
}
QMouseEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_mousePressEvent(this, handle__mousePressEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_mousePressEvent(QMouseEvent* e) {
2024-11-19 19:29:06 +13:00
QHeaderView::mousePressEvent(e);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__mouseMoveEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void mouseMoveEvent(QMouseEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__mouseMoveEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::mouseMoveEvent(e);
return;
}
QMouseEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_mouseMoveEvent(this, handle__mouseMoveEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_mouseMoveEvent(QMouseEvent* e) {
2024-11-19 19:29:06 +13:00
QHeaderView::mouseMoveEvent(e);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__mouseReleaseEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void mouseReleaseEvent(QMouseEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__mouseReleaseEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::mouseReleaseEvent(e);
return;
}
QMouseEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_mouseReleaseEvent(this, handle__mouseReleaseEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_mouseReleaseEvent(QMouseEvent* e) {
2024-11-19 19:29:06 +13:00
QHeaderView::mouseReleaseEvent(e);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__mouseDoubleClickEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void mouseDoubleClickEvent(QMouseEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__mouseDoubleClickEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::mouseDoubleClickEvent(e);
return;
}
QMouseEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_mouseDoubleClickEvent(this, handle__mouseDoubleClickEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_mouseDoubleClickEvent(QMouseEvent* e) {
2024-11-19 19:29:06 +13:00
QHeaderView::mouseDoubleClickEvent(e);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__viewportEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool viewportEvent(QEvent* e) override {
2025-02-01 13:45:16 +13:00
if (handle__viewportEvent == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::viewportEvent(e);
}
QEvent* sigval1 = e;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHeaderView_viewportEvent(this, handle__viewportEvent, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
bool virtualbase_viewportEvent(QEvent* e) {
2024-11-19 19:29:06 +13:00
return QHeaderView::viewportEvent(e);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__paintSection = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void paintSection(QPainter* painter, const QRect& rect, int logicalIndex) const override {
2025-02-01 13:45:16 +13:00
if (handle__paintSection == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::paintSection(painter, rect, logicalIndex);
return;
}
QPainter* sigval1 = painter;
const QRect& rect_ret = rect;
// Cast returned reference into pointer
QRect* sigval2 = const_cast<QRect*>(&rect_ret);
int sigval3 = logicalIndex;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_paintSection(this, handle__paintSection, sigval1, sigval2, sigval3);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_paintSection(QPainter* painter, QRect* rect, int logicalIndex) const {
2024-11-19 19:29:06 +13:00
QHeaderView::paintSection(painter, *rect, static_cast<int>(logicalIndex));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__sectionSizeFromContents = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize sectionSizeFromContents(int logicalIndex) const override {
2025-02-01 13:45:16 +13:00
if (handle__sectionSizeFromContents == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::sectionSizeFromContents(logicalIndex);
}
int sigval1 = logicalIndex;
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QHeaderView_sectionSizeFromContents(this, handle__sectionSizeFromContents, sigval1);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QSize* virtualbase_sectionSizeFromContents(int logicalIndex) const {
2024-11-19 19:29:06 +13:00
return new QSize(QHeaderView::sectionSizeFromContents(static_cast<int>(logicalIndex)));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__horizontalOffset = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int horizontalOffset() const override {
2025-02-01 13:45:16 +13:00
if (handle__horizontalOffset == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::horizontalOffset();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHeaderView_horizontalOffset(this, handle__horizontalOffset);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
int virtualbase_horizontalOffset() const {
2024-11-19 19:29:06 +13:00
return QHeaderView::horizontalOffset();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__verticalOffset = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int verticalOffset() const override {
2025-02-01 13:45:16 +13:00
if (handle__verticalOffset == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::verticalOffset();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHeaderView_verticalOffset(this, handle__verticalOffset);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
int virtualbase_verticalOffset() const {
2024-11-19 19:29:06 +13:00
return QHeaderView::verticalOffset();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__updateGeometries = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void updateGeometries() override {
2025-02-01 13:45:16 +13:00
if (handle__updateGeometries == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::updateGeometries();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_updateGeometries(this, handle__updateGeometries);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_updateGeometries() {
2024-11-19 19:29:06 +13:00
QHeaderView::updateGeometries();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__scrollContentsBy = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void scrollContentsBy(int dx, int dy) override {
2025-02-01 13:45:16 +13:00
if (handle__scrollContentsBy == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::scrollContentsBy(dx, dy);
return;
}
int sigval1 = dx;
int sigval2 = dy;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_scrollContentsBy(this, handle__scrollContentsBy, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_scrollContentsBy(int dx, int dy) {
2024-11-19 19:29:06 +13:00
QHeaderView::scrollContentsBy(static_cast<int>(dx), static_cast<int>(dy));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__dataChanged = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void dataChanged(const QModelIndex& topLeft, const QModelIndex& bottomRight, const QList<int>& roles) override {
2025-02-01 13:45:16 +13:00
if (handle__dataChanged == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::dataChanged(topLeft, bottomRight, roles);
return;
}
const QModelIndex& topLeft_ret = topLeft;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&topLeft_ret);
const QModelIndex& bottomRight_ret = bottomRight;
// Cast returned reference into pointer
QModelIndex* sigval2 = const_cast<QModelIndex*>(&bottomRight_ret);
const QList<int>& roles_ret = roles;
// Convert QList<> from C++ memory to manually-managed C memory
int* roles_arr = static_cast<int*>(malloc(sizeof(int) * roles_ret.length()));
for (size_t i = 0, e = roles_ret.length(); i < e; ++i) {
roles_arr[i] = roles_ret[i];
}
struct miqt_array roles_out;
roles_out.len = roles_ret.length();
roles_out.data = static_cast<void*>(roles_arr);
struct miqt_array /* of int */ sigval3 = roles_out;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_dataChanged(this, handle__dataChanged, sigval1, sigval2, sigval3);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_dataChanged(QModelIndex* topLeft, QModelIndex* bottomRight, struct miqt_array /* of int */ roles) {
2024-11-19 19:29:06 +13:00
QList<int> roles_QList;
roles_QList.reserve(roles.len);
int* roles_arr = static_cast<int*>(roles.data);
for(size_t i = 0; i < roles.len; ++i) {
roles_QList.push_back(static_cast<int>(roles_arr[i]));
}
QHeaderView::dataChanged(*topLeft, *bottomRight, roles_QList);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__rowsInserted = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void rowsInserted(const QModelIndex& parent, int start, int end) override {
2025-02-01 13:45:16 +13:00
if (handle__rowsInserted == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::rowsInserted(parent, start, end);
return;
}
const QModelIndex& parent_ret = parent;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&parent_ret);
int sigval2 = start;
int sigval3 = end;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_rowsInserted(this, handle__rowsInserted, sigval1, sigval2, sigval3);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_rowsInserted(QModelIndex* parent, int start, int end) {
2024-11-19 19:29:06 +13:00
QHeaderView::rowsInserted(*parent, static_cast<int>(start), static_cast<int>(end));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__visualRect = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QRect visualRect(const QModelIndex& index) const override {
2025-02-01 13:45:16 +13:00
if (handle__visualRect == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::visualRect(index);
}
const QModelIndex& index_ret = index;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&index_ret);
2025-02-01 13:45:16 +13:00
QRect* callback_return_value = miqt_exec_callback_QHeaderView_visualRect(this, handle__visualRect, sigval1);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QRect* virtualbase_visualRect(QModelIndex* index) const {
2024-11-19 19:29:06 +13:00
return new QRect(QHeaderView::visualRect(*index));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__scrollTo = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void scrollTo(const QModelIndex& index, QAbstractItemView::ScrollHint hint) override {
2025-02-01 13:45:16 +13:00
if (handle__scrollTo == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::scrollTo(index, hint);
return;
}
const QModelIndex& index_ret = index;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&index_ret);
QAbstractItemView::ScrollHint hint_ret = hint;
int sigval2 = static_cast<int>(hint_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_scrollTo(this, handle__scrollTo, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_scrollTo(QModelIndex* index, int hint) {
2024-11-19 19:29:06 +13:00
QHeaderView::scrollTo(*index, static_cast<QAbstractItemView::ScrollHint>(hint));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__indexAt = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QModelIndex indexAt(const QPoint& p) const override {
2025-02-01 13:45:16 +13:00
if (handle__indexAt == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::indexAt(p);
}
const QPoint& p_ret = p;
// Cast returned reference into pointer
QPoint* sigval1 = const_cast<QPoint*>(&p_ret);
2025-02-01 13:45:16 +13:00
QModelIndex* callback_return_value = miqt_exec_callback_QHeaderView_indexAt(this, handle__indexAt, sigval1);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QModelIndex* virtualbase_indexAt(QPoint* p) const {
2024-11-19 19:29:06 +13:00
return new QModelIndex(QHeaderView::indexAt(*p));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__isIndexHidden = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool isIndexHidden(const QModelIndex& index) const override {
2025-02-01 13:45:16 +13:00
if (handle__isIndexHidden == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::isIndexHidden(index);
}
const QModelIndex& index_ret = index;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&index_ret);
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHeaderView_isIndexHidden(this, handle__isIndexHidden, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
bool virtualbase_isIndexHidden(QModelIndex* index) const {
2024-11-19 19:29:06 +13:00
return QHeaderView::isIndexHidden(*index);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__moveCursor = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QModelIndex moveCursor(QAbstractItemView::CursorAction param1, Qt::KeyboardModifiers param2) override {
2025-02-01 13:45:16 +13:00
if (handle__moveCursor == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::moveCursor(param1, param2);
}
QAbstractItemView::CursorAction param1_ret = param1;
int sigval1 = static_cast<int>(param1_ret);
Qt::KeyboardModifiers param2_ret = param2;
int sigval2 = static_cast<int>(param2_ret);
2025-02-01 13:45:16 +13:00
QModelIndex* callback_return_value = miqt_exec_callback_QHeaderView_moveCursor(this, handle__moveCursor, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QModelIndex* virtualbase_moveCursor(int param1, int param2) {
2024-11-19 19:29:06 +13:00
return new QModelIndex(QHeaderView::moveCursor(static_cast<QAbstractItemView::CursorAction>(param1), static_cast<Qt::KeyboardModifiers>(param2)));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setSelection = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setSelection(const QRect& rect, QItemSelectionModel::SelectionFlags flags) override {
2025-02-01 13:45:16 +13:00
if (handle__setSelection == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::setSelection(rect, flags);
return;
}
const QRect& rect_ret = rect;
// Cast returned reference into pointer
QRect* sigval1 = const_cast<QRect*>(&rect_ret);
QItemSelectionModel::SelectionFlags flags_ret = flags;
int sigval2 = static_cast<int>(flags_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_setSelection(this, handle__setSelection, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_setSelection(QRect* rect, int flags) {
2024-11-19 19:29:06 +13:00
QHeaderView::setSelection(*rect, static_cast<QItemSelectionModel::SelectionFlags>(flags));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__visualRegionForSelection = 0;
// Subclass to allow providing a Go implementation
virtual QRegion visualRegionForSelection(const QItemSelection& selection) const override {
2025-02-01 13:45:16 +13:00
if (handle__visualRegionForSelection == 0) {
return QHeaderView::visualRegionForSelection(selection);
}
const QItemSelection& selection_ret = selection;
// Cast returned reference into pointer
QItemSelection* sigval1 = const_cast<QItemSelection*>(&selection_ret);
2025-02-01 13:45:16 +13:00
QRegion* callback_return_value = miqt_exec_callback_QHeaderView_visualRegionForSelection(this, handle__visualRegionForSelection, sigval1);
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QRegion* virtualbase_visualRegionForSelection(QItemSelection* selection) const {
return new QRegion(QHeaderView::visualRegionForSelection(*selection));
}
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__initStyleOptionForIndex = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void initStyleOptionForIndex(QStyleOptionHeader* option, int logicalIndex) const override {
2025-02-01 13:45:16 +13:00
if (handle__initStyleOptionForIndex == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::initStyleOptionForIndex(option, logicalIndex);
return;
}
QStyleOptionHeader* sigval1 = option;
int sigval2 = logicalIndex;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_initStyleOptionForIndex(this, handle__initStyleOptionForIndex, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_initStyleOptionForIndex(QStyleOptionHeader* option, int logicalIndex) const {
2024-11-19 19:29:06 +13:00
QHeaderView::initStyleOptionForIndex(option, static_cast<int>(logicalIndex));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__initStyleOption = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void initStyleOption(QStyleOptionHeader* option) const override {
2025-02-01 13:45:16 +13:00
if (handle__initStyleOption == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::initStyleOption(option);
return;
}
QStyleOptionHeader* sigval1 = option;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_initStyleOption(this, handle__initStyleOption, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_initStyleOption(QStyleOptionHeader* option) const {
2024-11-19 19:29:06 +13:00
QHeaderView::initStyleOption(option);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setSelectionModel = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setSelectionModel(QItemSelectionModel* selectionModel) override {
2025-02-01 13:45:16 +13:00
if (handle__setSelectionModel == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::setSelectionModel(selectionModel);
return;
}
QItemSelectionModel* sigval1 = selectionModel;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_setSelectionModel(this, handle__setSelectionModel, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_setSelectionModel(QItemSelectionModel* selectionModel) {
2024-11-19 19:29:06 +13:00
QHeaderView::setSelectionModel(selectionModel);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__keyboardSearch = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void keyboardSearch(const QString& search) override {
2025-02-01 13:45:16 +13:00
if (handle__keyboardSearch == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::keyboardSearch(search);
return;
}
const QString search_ret = search;
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
QByteArray search_b = search_ret.toUtf8();
struct miqt_string search_ms;
search_ms.len = search_b.length();
search_ms.data = static_cast<char*>(malloc(search_ms.len));
memcpy(search_ms.data, search_b.data(), search_ms.len);
struct miqt_string sigval1 = search_ms;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_keyboardSearch(this, handle__keyboardSearch, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_keyboardSearch(struct miqt_string search) {
2024-11-19 19:29:06 +13:00
QString search_QString = QString::fromUtf8(search.data, search.len);
QHeaderView::keyboardSearch(search_QString);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__sizeHintForRow = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int sizeHintForRow(int row) const override {
2025-02-01 13:45:16 +13:00
if (handle__sizeHintForRow == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::sizeHintForRow(row);
}
int sigval1 = row;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHeaderView_sizeHintForRow(this, handle__sizeHintForRow, sigval1);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
int virtualbase_sizeHintForRow(int row) const {
2024-11-19 19:29:06 +13:00
return QHeaderView::sizeHintForRow(static_cast<int>(row));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__sizeHintForColumn = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual int sizeHintForColumn(int column) const override {
2025-02-01 13:45:16 +13:00
if (handle__sizeHintForColumn == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::sizeHintForColumn(column);
}
int sigval1 = column;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHeaderView_sizeHintForColumn(this, handle__sizeHintForColumn, sigval1);
2024-11-19 19:29:06 +13:00
return static_cast<int>(callback_return_value);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
int virtualbase_sizeHintForColumn(int column) const {
2024-11-19 19:29:06 +13:00
return QHeaderView::sizeHintForColumn(static_cast<int>(column));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__itemDelegateForIndex = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QAbstractItemDelegate* itemDelegateForIndex(const QModelIndex& index) const override {
2025-02-01 13:45:16 +13:00
if (handle__itemDelegateForIndex == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::itemDelegateForIndex(index);
}
const QModelIndex& index_ret = index;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&index_ret);
2025-02-01 13:45:16 +13:00
QAbstractItemDelegate* callback_return_value = miqt_exec_callback_QHeaderView_itemDelegateForIndex(this, handle__itemDelegateForIndex, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QAbstractItemDelegate* virtualbase_itemDelegateForIndex(QModelIndex* index) const {
2024-11-19 19:29:06 +13:00
return QHeaderView::itemDelegateForIndex(*index);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__inputMethodQuery = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QVariant inputMethodQuery(Qt::InputMethodQuery query) const override {
2025-02-01 13:45:16 +13:00
if (handle__inputMethodQuery == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::inputMethodQuery(query);
}
Qt::InputMethodQuery query_ret = query;
int sigval1 = static_cast<int>(query_ret);
2025-02-01 13:45:16 +13:00
QVariant* callback_return_value = miqt_exec_callback_QHeaderView_inputMethodQuery(this, handle__inputMethodQuery, sigval1);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QVariant* virtualbase_inputMethodQuery(int query) const {
2024-11-19 19:29:06 +13:00
return new QVariant(QHeaderView::inputMethodQuery(static_cast<Qt::InputMethodQuery>(query)));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setRootIndex = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void setRootIndex(const QModelIndex& index) override {
2025-02-01 13:45:16 +13:00
if (handle__setRootIndex == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::setRootIndex(index);
return;
}
const QModelIndex& index_ret = index;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&index_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_setRootIndex(this, handle__setRootIndex, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_setRootIndex(QModelIndex* index) {
2024-11-19 19:29:06 +13:00
QHeaderView::setRootIndex(*index);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__selectAll = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void selectAll() override {
2025-02-01 13:45:16 +13:00
if (handle__selectAll == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::selectAll();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_selectAll(this, handle__selectAll);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_selectAll() {
2024-11-19 19:29:06 +13:00
QHeaderView::selectAll();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__rowsAboutToBeRemoved = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void rowsAboutToBeRemoved(const QModelIndex& parent, int start, int end) override {
2025-02-01 13:45:16 +13:00
if (handle__rowsAboutToBeRemoved == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::rowsAboutToBeRemoved(parent, start, end);
return;
}
const QModelIndex& parent_ret = parent;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&parent_ret);
int sigval2 = start;
int sigval3 = end;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_rowsAboutToBeRemoved(this, handle__rowsAboutToBeRemoved, sigval1, sigval2, sigval3);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_rowsAboutToBeRemoved(QModelIndex* parent, int start, int end) {
2024-11-19 19:29:06 +13:00
QHeaderView::rowsAboutToBeRemoved(*parent, static_cast<int>(start), static_cast<int>(end));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__selectionChanged = 0;
// Subclass to allow providing a Go implementation
virtual void selectionChanged(const QItemSelection& selected, const QItemSelection& deselected) override {
2025-02-01 13:45:16 +13:00
if (handle__selectionChanged == 0) {
QHeaderView::selectionChanged(selected, deselected);
return;
}
const QItemSelection& selected_ret = selected;
// Cast returned reference into pointer
QItemSelection* sigval1 = const_cast<QItemSelection*>(&selected_ret);
const QItemSelection& deselected_ret = deselected;
// Cast returned reference into pointer
QItemSelection* sigval2 = const_cast<QItemSelection*>(&deselected_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_selectionChanged(this, handle__selectionChanged, sigval1, sigval2);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_selectionChanged(QItemSelection* selected, QItemSelection* deselected) {
QHeaderView::selectionChanged(*selected, *deselected);
}
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__updateEditorData = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void updateEditorData() override {
2025-02-01 13:45:16 +13:00
if (handle__updateEditorData == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::updateEditorData();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_updateEditorData(this, handle__updateEditorData);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_updateEditorData() {
2024-11-19 19:29:06 +13:00
QHeaderView::updateEditorData();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__updateEditorGeometries = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void updateEditorGeometries() override {
2025-02-01 13:45:16 +13:00
if (handle__updateEditorGeometries == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::updateEditorGeometries();
return;
}
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_updateEditorGeometries(this, handle__updateEditorGeometries);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_updateEditorGeometries() {
2024-11-19 19:29:06 +13:00
QHeaderView::updateEditorGeometries();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__verticalScrollbarAction = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void verticalScrollbarAction(int action) override {
2025-02-01 13:45:16 +13:00
if (handle__verticalScrollbarAction == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::verticalScrollbarAction(action);
return;
}
int sigval1 = action;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_verticalScrollbarAction(this, handle__verticalScrollbarAction, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_verticalScrollbarAction(int action) {
2024-11-19 19:29:06 +13:00
QHeaderView::verticalScrollbarAction(static_cast<int>(action));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__horizontalScrollbarAction = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void horizontalScrollbarAction(int action) override {
2025-02-01 13:45:16 +13:00
if (handle__horizontalScrollbarAction == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::horizontalScrollbarAction(action);
return;
}
int sigval1 = action;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_horizontalScrollbarAction(this, handle__horizontalScrollbarAction, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_horizontalScrollbarAction(int action) {
2024-11-19 19:29:06 +13:00
QHeaderView::horizontalScrollbarAction(static_cast<int>(action));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__verticalScrollbarValueChanged = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void verticalScrollbarValueChanged(int value) override {
2025-02-01 13:45:16 +13:00
if (handle__verticalScrollbarValueChanged == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::verticalScrollbarValueChanged(value);
return;
}
int sigval1 = value;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_verticalScrollbarValueChanged(this, handle__verticalScrollbarValueChanged, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_verticalScrollbarValueChanged(int value) {
2024-11-19 19:29:06 +13:00
QHeaderView::verticalScrollbarValueChanged(static_cast<int>(value));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__horizontalScrollbarValueChanged = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void horizontalScrollbarValueChanged(int value) override {
2025-02-01 13:45:16 +13:00
if (handle__horizontalScrollbarValueChanged == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::horizontalScrollbarValueChanged(value);
return;
}
int sigval1 = value;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_horizontalScrollbarValueChanged(this, handle__horizontalScrollbarValueChanged, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_horizontalScrollbarValueChanged(int value) {
2024-11-19 19:29:06 +13:00
QHeaderView::horizontalScrollbarValueChanged(static_cast<int>(value));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__closeEditor = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void closeEditor(QWidget* editor, QAbstractItemDelegate::EndEditHint hint) override {
2025-02-01 13:45:16 +13:00
if (handle__closeEditor == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::closeEditor(editor, hint);
return;
}
QWidget* sigval1 = editor;
QAbstractItemDelegate::EndEditHint hint_ret = hint;
int sigval2 = static_cast<int>(hint_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_closeEditor(this, handle__closeEditor, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_closeEditor(QWidget* editor, int hint) {
2024-11-19 19:29:06 +13:00
QHeaderView::closeEditor(editor, static_cast<QAbstractItemDelegate::EndEditHint>(hint));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__commitData = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void commitData(QWidget* editor) override {
2025-02-01 13:45:16 +13:00
if (handle__commitData == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::commitData(editor);
return;
}
QWidget* sigval1 = editor;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_commitData(this, handle__commitData, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_commitData(QWidget* editor) {
2024-11-19 19:29:06 +13:00
QHeaderView::commitData(editor);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__editorDestroyed = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void editorDestroyed(QObject* editor) override {
2025-02-01 13:45:16 +13:00
if (handle__editorDestroyed == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::editorDestroyed(editor);
return;
}
QObject* sigval1 = editor;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_editorDestroyed(this, handle__editorDestroyed, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_editorDestroyed(QObject* editor) {
2024-11-19 19:29:06 +13:00
QHeaderView::editorDestroyed(editor);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__selectedIndexes = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QModelIndexList selectedIndexes() const override {
2025-02-01 13:45:16 +13:00
if (handle__selectedIndexes == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::selectedIndexes();
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QModelIndex* */ callback_return_value = miqt_exec_callback_QHeaderView_selectedIndexes(this, handle__selectedIndexes);
2024-11-19 19:29:06 +13:00
QModelIndexList callback_return_value_QList;
callback_return_value_QList.reserve(callback_return_value.len);
QModelIndex** callback_return_value_arr = static_cast<QModelIndex**>(callback_return_value.data);
for(size_t i = 0; i < callback_return_value.len; ++i) {
callback_return_value_QList.push_back(*(callback_return_value_arr[i]));
}
return callback_return_value_QList;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QModelIndex* */ virtualbase_selectedIndexes() const {
2024-11-19 19:29:06 +13:00
QModelIndexList _ret = QHeaderView::selectedIndexes();
// Convert QList<> from C++ memory to manually-managed C memory
QModelIndex** _arr = static_cast<QModelIndex**>(malloc(sizeof(QModelIndex*) * _ret.length()));
for (size_t i = 0, e = _ret.length(); i < e; ++i) {
_arr[i] = new QModelIndex(_ret[i]);
}
struct miqt_array _out;
_out.len = _ret.length();
_out.data = static_cast<void*>(_arr);
return _out;
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__edit2 = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool edit(const QModelIndex& index, QAbstractItemView::EditTrigger trigger, QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__edit2 == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::edit(index, trigger, event);
}
const QModelIndex& index_ret = index;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&index_ret);
QAbstractItemView::EditTrigger trigger_ret = trigger;
int sigval2 = static_cast<int>(trigger_ret);
QEvent* sigval3 = event;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHeaderView_edit2(this, handle__edit2, sigval1, sigval2, sigval3);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
bool virtualbase_edit2(QModelIndex* index, int trigger, QEvent* event) {
2024-11-19 19:29:06 +13:00
return QHeaderView::edit(*index, static_cast<QAbstractItemView::EditTrigger>(trigger), event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__selectionCommand = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QItemSelectionModel::SelectionFlags selectionCommand(const QModelIndex& index, const QEvent* event) const override {
2025-02-01 13:45:16 +13:00
if (handle__selectionCommand == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::selectionCommand(index, event);
}
const QModelIndex& index_ret = index;
// Cast returned reference into pointer
QModelIndex* sigval1 = const_cast<QModelIndex*>(&index_ret);
QEvent* sigval2 = (QEvent*) event;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHeaderView_selectionCommand(this, handle__selectionCommand, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
return static_cast<QItemSelectionModel::SelectionFlags>(callback_return_value);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
int virtualbase_selectionCommand(QModelIndex* index, QEvent* event) const {
2024-11-19 19:29:06 +13:00
QItemSelectionModel::SelectionFlags _ret = QHeaderView::selectionCommand(*index, event);
return static_cast<int>(_ret);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__startDrag = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void startDrag(Qt::DropActions supportedActions) override {
2025-02-01 13:45:16 +13:00
if (handle__startDrag == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::startDrag(supportedActions);
return;
}
Qt::DropActions supportedActions_ret = supportedActions;
int sigval1 = static_cast<int>(supportedActions_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_startDrag(this, handle__startDrag, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_startDrag(int supportedActions) {
2024-11-19 19:29:06 +13:00
QHeaderView::startDrag(static_cast<Qt::DropActions>(supportedActions));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__initViewItemOption = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void initViewItemOption(QStyleOptionViewItem* option) const override {
2025-02-01 13:45:16 +13:00
if (handle__initViewItemOption == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::initViewItemOption(option);
return;
}
QStyleOptionViewItem* sigval1 = option;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_initViewItemOption(this, handle__initViewItemOption, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_initViewItemOption(QStyleOptionViewItem* option) const {
2024-11-19 19:29:06 +13:00
QHeaderView::initViewItemOption(option);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__focusNextPrevChild = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual bool focusNextPrevChild(bool next) override {
2025-02-01 13:45:16 +13:00
if (handle__focusNextPrevChild == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::focusNextPrevChild(next);
}
bool sigval1 = next;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHeaderView_focusNextPrevChild(this, handle__focusNextPrevChild, sigval1);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
bool virtualbase_focusNextPrevChild(bool next) {
2024-11-19 19:29:06 +13:00
return QHeaderView::focusNextPrevChild(next);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__dragEnterEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void dragEnterEvent(QDragEnterEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__dragEnterEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::dragEnterEvent(event);
return;
}
QDragEnterEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_dragEnterEvent(this, handle__dragEnterEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_dragEnterEvent(QDragEnterEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::dragEnterEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__dragMoveEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void dragMoveEvent(QDragMoveEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__dragMoveEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::dragMoveEvent(event);
return;
}
QDragMoveEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_dragMoveEvent(this, handle__dragMoveEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_dragMoveEvent(QDragMoveEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::dragMoveEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__dragLeaveEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void dragLeaveEvent(QDragLeaveEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__dragLeaveEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::dragLeaveEvent(event);
return;
}
QDragLeaveEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_dragLeaveEvent(this, handle__dragLeaveEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_dragLeaveEvent(QDragLeaveEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::dragLeaveEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__dropEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void dropEvent(QDropEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__dropEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::dropEvent(event);
return;
}
QDropEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_dropEvent(this, handle__dropEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_dropEvent(QDropEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::dropEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__focusInEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void focusInEvent(QFocusEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__focusInEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::focusInEvent(event);
return;
}
QFocusEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_focusInEvent(this, handle__focusInEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_focusInEvent(QFocusEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::focusInEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__focusOutEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void focusOutEvent(QFocusEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__focusOutEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::focusOutEvent(event);
return;
}
QFocusEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_focusOutEvent(this, handle__focusOutEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_focusOutEvent(QFocusEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::focusOutEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__keyPressEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void keyPressEvent(QKeyEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__keyPressEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::keyPressEvent(event);
return;
}
QKeyEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_keyPressEvent(this, handle__keyPressEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_keyPressEvent(QKeyEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::keyPressEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__resizeEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void resizeEvent(QResizeEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__resizeEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::resizeEvent(event);
return;
}
QResizeEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_resizeEvent(this, handle__resizeEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_resizeEvent(QResizeEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::resizeEvent(event);
}
// 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) {
2024-11-19 19:29:06 +13:00
QHeaderView::timerEvent(event);
return;
}
QTimerEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_timerEvent(this, handle__timerEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_timerEvent(QTimerEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::timerEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__inputMethodEvent = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual void inputMethodEvent(QInputMethodEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__inputMethodEvent == 0) {
2024-11-19 19:29:06 +13:00
QHeaderView::inputMethodEvent(event);
return;
}
QInputMethodEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_inputMethodEvent(this, handle__inputMethodEvent, sigval1);
2024-11-19 19:29:06 +13:00
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_inputMethodEvent(QInputMethodEvent* event) {
2024-11-19 19:29:06 +13:00
QHeaderView::inputMethodEvent(event);
}
// 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* object, QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__eventFilter == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::eventFilter(object, event);
}
QObject* sigval1 = object;
QEvent* sigval2 = event;
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHeaderView_eventFilter(this, handle__eventFilter, sigval1, sigval2);
2024-11-19 19:29:06 +13:00
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
bool virtualbase_eventFilter(QObject* object, QEvent* event) {
2024-11-19 19:29:06 +13:00
return QHeaderView::eventFilter(object, event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__viewportSizeHint = 0;
2024-11-19 19:29:06 +13:00
// Subclass to allow providing a Go implementation
virtual QSize viewportSizeHint() const override {
2025-02-01 13:45:16 +13:00
if (handle__viewportSizeHint == 0) {
2024-11-19 19:29:06 +13:00
return QHeaderView::viewportSizeHint();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QHeaderView_viewportSizeHint(this, handle__viewportSizeHint);
2024-11-19 19:29:06 +13:00
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QSize* virtualbase_viewportSizeHint() const {
2024-11-19 19:29:06 +13:00
return new QSize(QHeaderView::viewportSizeHint());
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__minimumSizeHint = 0;
// Subclass to allow providing a Go implementation
virtual QSize minimumSizeHint() const override {
2025-02-01 13:45:16 +13:00
if (handle__minimumSizeHint == 0) {
return QHeaderView::minimumSizeHint();
}
2025-02-01 13:45:16 +13:00
QSize* callback_return_value = miqt_exec_callback_QHeaderView_minimumSizeHint(this, handle__minimumSizeHint);
return *callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QSize* virtualbase_minimumSizeHint() const {
return new QSize(QHeaderView::minimumSizeHint());
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__setupViewport = 0;
// Subclass to allow providing a Go implementation
virtual void setupViewport(QWidget* viewport) override {
2025-02-01 13:45:16 +13:00
if (handle__setupViewport == 0) {
QHeaderView::setupViewport(viewport);
return;
}
QWidget* sigval1 = viewport;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_setupViewport(this, handle__setupViewport, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_setupViewport(QWidget* viewport) {
QHeaderView::setupViewport(viewport);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__wheelEvent = 0;
// Subclass to allow providing a Go implementation
virtual void wheelEvent(QWheelEvent* param1) override {
2025-02-01 13:45:16 +13:00
if (handle__wheelEvent == 0) {
QHeaderView::wheelEvent(param1);
return;
}
QWheelEvent* sigval1 = param1;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_wheelEvent(this, handle__wheelEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_wheelEvent(QWheelEvent* param1) {
QHeaderView::wheelEvent(param1);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__contextMenuEvent = 0;
// Subclass to allow providing a Go implementation
virtual void contextMenuEvent(QContextMenuEvent* param1) override {
2025-02-01 13:45:16 +13:00
if (handle__contextMenuEvent == 0) {
QHeaderView::contextMenuEvent(param1);
return;
}
QContextMenuEvent* sigval1 = param1;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_contextMenuEvent(this, handle__contextMenuEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_contextMenuEvent(QContextMenuEvent* param1) {
QHeaderView::contextMenuEvent(param1);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__changeEvent = 0;
// Subclass to allow providing a Go implementation
virtual void changeEvent(QEvent* param1) override {
2025-02-01 13:45:16 +13:00
if (handle__changeEvent == 0) {
QHeaderView::changeEvent(param1);
return;
}
QEvent* sigval1 = param1;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_changeEvent(this, handle__changeEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_changeEvent(QEvent* param1) {
QHeaderView::changeEvent(param1);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__devType = 0;
// Subclass to allow providing a Go implementation
virtual int devType() const override {
2025-02-01 13:45:16 +13:00
if (handle__devType == 0) {
return QHeaderView::devType();
}
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHeaderView_devType(this, handle__devType);
return static_cast<int>(callback_return_value);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
int virtualbase_devType() const {
return QHeaderView::devType();
}
// 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 QHeaderView::heightForWidth(param1);
}
int sigval1 = param1;
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHeaderView_heightForWidth(this, handle__heightForWidth, sigval1);
return static_cast<int>(callback_return_value);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
int virtualbase_heightForWidth(int param1) const {
return QHeaderView::heightForWidth(static_cast<int>(param1));
}
// 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 QHeaderView::hasHeightForWidth();
}
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHeaderView_hasHeightForWidth(this, handle__hasHeightForWidth);
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
bool virtualbase_hasHeightForWidth() const {
return QHeaderView::hasHeightForWidth();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__paintEngine = 0;
// Subclass to allow providing a Go implementation
virtual QPaintEngine* paintEngine() const override {
2025-02-01 13:45:16 +13:00
if (handle__paintEngine == 0) {
return QHeaderView::paintEngine();
}
2025-02-01 13:45:16 +13:00
QPaintEngine* callback_return_value = miqt_exec_callback_QHeaderView_paintEngine(this, handle__paintEngine);
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QPaintEngine* virtualbase_paintEngine() const {
return QHeaderView::paintEngine();
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__keyReleaseEvent = 0;
// Subclass to allow providing a Go implementation
virtual void keyReleaseEvent(QKeyEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__keyReleaseEvent == 0) {
QHeaderView::keyReleaseEvent(event);
return;
}
QKeyEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_keyReleaseEvent(this, handle__keyReleaseEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_keyReleaseEvent(QKeyEvent* event) {
QHeaderView::keyReleaseEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__enterEvent = 0;
// Subclass to allow providing a Go implementation
virtual void enterEvent(QEnterEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__enterEvent == 0) {
QHeaderView::enterEvent(event);
return;
}
QEnterEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_enterEvent(this, handle__enterEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_enterEvent(QEnterEvent* event) {
QHeaderView::enterEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__leaveEvent = 0;
// Subclass to allow providing a Go implementation
virtual void leaveEvent(QEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__leaveEvent == 0) {
QHeaderView::leaveEvent(event);
return;
}
QEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_leaveEvent(this, handle__leaveEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_leaveEvent(QEvent* event) {
QHeaderView::leaveEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__moveEvent = 0;
// Subclass to allow providing a Go implementation
virtual void moveEvent(QMoveEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__moveEvent == 0) {
QHeaderView::moveEvent(event);
return;
}
QMoveEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_moveEvent(this, handle__moveEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_moveEvent(QMoveEvent* event) {
QHeaderView::moveEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__closeEvent = 0;
// Subclass to allow providing a Go implementation
virtual void closeEvent(QCloseEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__closeEvent == 0) {
QHeaderView::closeEvent(event);
return;
}
QCloseEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_closeEvent(this, handle__closeEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_closeEvent(QCloseEvent* event) {
QHeaderView::closeEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__tabletEvent = 0;
// Subclass to allow providing a Go implementation
virtual void tabletEvent(QTabletEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__tabletEvent == 0) {
QHeaderView::tabletEvent(event);
return;
}
QTabletEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_tabletEvent(this, handle__tabletEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_tabletEvent(QTabletEvent* event) {
QHeaderView::tabletEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__actionEvent = 0;
// Subclass to allow providing a Go implementation
virtual void actionEvent(QActionEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__actionEvent == 0) {
QHeaderView::actionEvent(event);
return;
}
QActionEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_actionEvent(this, handle__actionEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_actionEvent(QActionEvent* event) {
QHeaderView::actionEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__showEvent = 0;
// Subclass to allow providing a Go implementation
virtual void showEvent(QShowEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__showEvent == 0) {
QHeaderView::showEvent(event);
return;
}
QShowEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_showEvent(this, handle__showEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_showEvent(QShowEvent* event) {
QHeaderView::showEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__hideEvent = 0;
// Subclass to allow providing a Go implementation
virtual void hideEvent(QHideEvent* event) override {
2025-02-01 13:45:16 +13:00
if (handle__hideEvent == 0) {
QHeaderView::hideEvent(event);
return;
}
QHideEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_hideEvent(this, handle__hideEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_hideEvent(QHideEvent* event) {
QHeaderView::hideEvent(event);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__nativeEvent = 0;
// Subclass to allow providing a Go implementation
virtual bool nativeEvent(const QByteArray& eventType, void* message, qintptr* result) override {
2025-02-01 13:45:16 +13:00
if (handle__nativeEvent == 0) {
return QHeaderView::nativeEvent(eventType, message, result);
}
const QByteArray eventType_qb = eventType;
struct miqt_string eventType_ms;
eventType_ms.len = eventType_qb.length();
eventType_ms.data = static_cast<char*>(malloc(eventType_ms.len));
memcpy(eventType_ms.data, eventType_qb.data(), eventType_ms.len);
struct miqt_string sigval1 = eventType_ms;
void* sigval2 = message;
qintptr* result_ret = result;
intptr_t* sigval3 = (intptr_t*)(result_ret);
2025-02-01 13:45:16 +13:00
bool callback_return_value = miqt_exec_callback_QHeaderView_nativeEvent(this, handle__nativeEvent, sigval1, sigval2, sigval3);
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
bool virtualbase_nativeEvent(struct miqt_string eventType, void* message, intptr_t* result) {
QByteArray eventType_QByteArray(eventType.data, eventType.len);
return QHeaderView::nativeEvent(eventType_QByteArray, message, (qintptr*)(result));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__metric = 0;
// Subclass to allow providing a Go implementation
virtual int metric(QPaintDevice::PaintDeviceMetric param1) const override {
2025-02-01 13:45:16 +13:00
if (handle__metric == 0) {
return QHeaderView::metric(param1);
}
QPaintDevice::PaintDeviceMetric param1_ret = param1;
int sigval1 = static_cast<int>(param1_ret);
2025-02-01 13:45:16 +13:00
int callback_return_value = miqt_exec_callback_QHeaderView_metric(this, handle__metric, sigval1);
return static_cast<int>(callback_return_value);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
int virtualbase_metric(int param1) const {
return QHeaderView::metric(static_cast<QPaintDevice::PaintDeviceMetric>(param1));
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__initPainter = 0;
// Subclass to allow providing a Go implementation
virtual void initPainter(QPainter* painter) const override {
2025-02-01 13:45:16 +13:00
if (handle__initPainter == 0) {
QHeaderView::initPainter(painter);
return;
}
QPainter* sigval1 = painter;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_initPainter(this, handle__initPainter, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_initPainter(QPainter* painter) const {
QHeaderView::initPainter(painter);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__redirected = 0;
// Subclass to allow providing a Go implementation
virtual QPaintDevice* redirected(QPoint* offset) const override {
2025-02-01 13:45:16 +13:00
if (handle__redirected == 0) {
return QHeaderView::redirected(offset);
}
QPoint* sigval1 = offset;
2025-02-01 13:45:16 +13:00
QPaintDevice* callback_return_value = miqt_exec_callback_QHeaderView_redirected(this, handle__redirected, sigval1);
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QPaintDevice* virtualbase_redirected(QPoint* offset) const {
return QHeaderView::redirected(offset);
}
// cgo.Handle value for overwritten implementation
2025-02-01 13:45:16 +13:00
intptr_t handle__sharedPainter = 0;
// Subclass to allow providing a Go implementation
virtual QPainter* sharedPainter() const override {
2025-02-01 13:45:16 +13:00
if (handle__sharedPainter == 0) {
return QHeaderView::sharedPainter();
}
2025-02-01 13:45:16 +13:00
QPainter* callback_return_value = miqt_exec_callback_QHeaderView_sharedPainter(this, handle__sharedPainter);
return callback_return_value;
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
QPainter* virtualbase_sharedPainter() const {
return QHeaderView::sharedPainter();
}
// 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* event) override {
2025-02-01 13:45:16 +13:00
if (handle__childEvent == 0) {
QHeaderView::childEvent(event);
return;
}
QChildEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_childEvent(this, handle__childEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_childEvent(QChildEvent* event) {
QHeaderView::childEvent(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) {
QHeaderView::customEvent(event);
return;
}
QEvent* sigval1 = event;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_customEvent(this, handle__customEvent, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_customEvent(QEvent* event) {
QHeaderView::customEvent(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) {
QHeaderView::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_QHeaderView_connectNotify(this, handle__connectNotify, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_connectNotify(QMetaMethod* signal) {
QHeaderView::connectNotify(*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) {
QHeaderView::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_QHeaderView_disconnectNotify(this, handle__disconnectNotify, sigval1);
}
// Wrapper to allow calling protected method
2025-02-01 13:45:16 +13:00
void virtualbase_disconnectNotify(QMetaMethod* signal) {
QHeaderView::disconnectNotify(*signal);
}
2024-11-19 19:29:06 +13:00
};
2024-12-07 17:15:57 +13:00
QHeaderView* QHeaderView_new(int orientation) {
return new MiqtVirtualQHeaderView(static_cast<Qt::Orientation>(orientation));
2024-11-19 19:29:06 +13:00
}
2024-12-07 17:15:57 +13:00
QHeaderView* QHeaderView_new2(int orientation, QWidget* parent) {
return new MiqtVirtualQHeaderView(static_cast<Qt::Orientation>(orientation), parent);
}
void QHeaderView_virtbase(QHeaderView* src, QAbstractItemView** outptr_QAbstractItemView) {
*outptr_QAbstractItemView = static_cast<QAbstractItemView*>(src);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QMetaObject* QHeaderView_metaObject(const QHeaderView* self) {
2024-11-19 19:29:06 +13:00
return (QMetaObject*) self->metaObject();
}
2025-02-01 13:45:16 +13:00
void* QHeaderView_metacast(QHeaderView* 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 QHeaderView_tr(const char* s) {
2024-11-19 19:29:06 +13:00
QString _ret = QHeaderView::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
void QHeaderView_setModel(QHeaderView* self, QAbstractItemModel* model) {
2024-11-19 19:29:06 +13:00
self->setModel(model);
}
2025-02-01 13:45:16 +13:00
int QHeaderView_orientation(const QHeaderView* self) {
2024-11-19 19:29:06 +13:00
Qt::Orientation _ret = self->orientation();
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
int QHeaderView_offset(const QHeaderView* self) {
2024-11-19 19:29:06 +13:00
return self->offset();
}
2025-02-01 13:45:16 +13:00
int QHeaderView_length(const QHeaderView* self) {
2024-11-19 19:29:06 +13:00
return self->length();
}
2025-02-01 13:45:16 +13:00
QSize* QHeaderView_sizeHint(const QHeaderView* self) {
2024-11-19 19:29:06 +13:00
return new QSize(self->sizeHint());
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setVisible(QHeaderView* self, bool v) {
2024-11-19 19:29:06 +13:00
self->setVisible(v);
}
2025-02-01 13:45:16 +13:00
int QHeaderView_sectionSizeHint(const QHeaderView* self, int logicalIndex) {
2024-11-19 19:29:06 +13:00
return self->sectionSizeHint(static_cast<int>(logicalIndex));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_visualIndexAt(const QHeaderView* self, int position) {
2024-11-19 19:29:06 +13:00
return self->visualIndexAt(static_cast<int>(position));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_logicalIndexAt(const QHeaderView* self, int position) {
2024-11-19 19:29:06 +13:00
return self->logicalIndexAt(static_cast<int>(position));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_logicalIndexAt2(const QHeaderView* self, int x, int y) {
2024-11-19 19:29:06 +13:00
return self->logicalIndexAt(static_cast<int>(x), static_cast<int>(y));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_logicalIndexAtWithPos(const QHeaderView* self, QPoint* pos) {
2024-11-19 19:29:06 +13:00
return self->logicalIndexAt(*pos);
}
2025-02-01 13:45:16 +13:00
int QHeaderView_sectionSize(const QHeaderView* self, int logicalIndex) {
2024-11-19 19:29:06 +13:00
return self->sectionSize(static_cast<int>(logicalIndex));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_sectionPosition(const QHeaderView* self, int logicalIndex) {
2024-11-19 19:29:06 +13:00
return self->sectionPosition(static_cast<int>(logicalIndex));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_sectionViewportPosition(const QHeaderView* self, int logicalIndex) {
2024-11-19 19:29:06 +13:00
return self->sectionViewportPosition(static_cast<int>(logicalIndex));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_moveSection(QHeaderView* self, int from, int to) {
2024-11-19 19:29:06 +13:00
self->moveSection(static_cast<int>(from), static_cast<int>(to));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_swapSections(QHeaderView* self, int first, int second) {
2024-11-19 19:29:06 +13:00
self->swapSections(static_cast<int>(first), static_cast<int>(second));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_resizeSection(QHeaderView* self, int logicalIndex, int size) {
self->resizeSection(static_cast<int>(logicalIndex), static_cast<int>(size));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_resizeSections(QHeaderView* self, int mode) {
self->resizeSections(static_cast<QHeaderView::ResizeMode>(mode));
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_isSectionHidden(const QHeaderView* self, int logicalIndex) {
return self->isSectionHidden(static_cast<int>(logicalIndex));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setSectionHidden(QHeaderView* self, int logicalIndex, bool hide) {
self->setSectionHidden(static_cast<int>(logicalIndex), hide);
}
2025-02-01 13:45:16 +13:00
int QHeaderView_hiddenSectionCount(const QHeaderView* self) {
return self->hiddenSectionCount();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_hideSection(QHeaderView* self, int logicalIndex) {
self->hideSection(static_cast<int>(logicalIndex));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_showSection(QHeaderView* self, int logicalIndex) {
self->showSection(static_cast<int>(logicalIndex));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_count(const QHeaderView* self) {
return self->count();
}
2025-02-01 13:45:16 +13:00
int QHeaderView_visualIndex(const QHeaderView* self, int logicalIndex) {
return self->visualIndex(static_cast<int>(logicalIndex));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_logicalIndex(const QHeaderView* self, int visualIndex) {
return self->logicalIndex(static_cast<int>(visualIndex));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setSectionsMovable(QHeaderView* self, bool movable) {
self->setSectionsMovable(movable);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_sectionsMovable(const QHeaderView* self) {
return self->sectionsMovable();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setFirstSectionMovable(QHeaderView* self, bool movable) {
self->setFirstSectionMovable(movable);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_isFirstSectionMovable(const QHeaderView* self) {
return self->isFirstSectionMovable();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setSectionsClickable(QHeaderView* self, bool clickable) {
self->setSectionsClickable(clickable);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_sectionsClickable(const QHeaderView* self) {
return self->sectionsClickable();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setHighlightSections(QHeaderView* self, bool highlight) {
self->setHighlightSections(highlight);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_highlightSections(const QHeaderView* self) {
return self->highlightSections();
}
2025-02-01 13:45:16 +13:00
int QHeaderView_sectionResizeMode(const QHeaderView* self, int logicalIndex) {
QHeaderView::ResizeMode _ret = self->sectionResizeMode(static_cast<int>(logicalIndex));
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setSectionResizeMode(QHeaderView* self, int mode) {
self->setSectionResizeMode(static_cast<QHeaderView::ResizeMode>(mode));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setSectionResizeMode2(QHeaderView* self, int logicalIndex, int mode) {
self->setSectionResizeMode(static_cast<int>(logicalIndex), static_cast<QHeaderView::ResizeMode>(mode));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setResizeContentsPrecision(QHeaderView* self, int precision) {
self->setResizeContentsPrecision(static_cast<int>(precision));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_resizeContentsPrecision(const QHeaderView* self) {
return self->resizeContentsPrecision();
}
2025-02-01 13:45:16 +13:00
int QHeaderView_stretchSectionCount(const QHeaderView* self) {
return self->stretchSectionCount();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setSortIndicatorShown(QHeaderView* self, bool show) {
self->setSortIndicatorShown(show);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_isSortIndicatorShown(const QHeaderView* self) {
return self->isSortIndicatorShown();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setSortIndicator(QHeaderView* self, int logicalIndex, int order) {
self->setSortIndicator(static_cast<int>(logicalIndex), static_cast<Qt::SortOrder>(order));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_sortIndicatorSection(const QHeaderView* self) {
return self->sortIndicatorSection();
}
2025-02-01 13:45:16 +13:00
int QHeaderView_sortIndicatorOrder(const QHeaderView* self) {
Qt::SortOrder _ret = self->sortIndicatorOrder();
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setSortIndicatorClearable(QHeaderView* self, bool clearable) {
self->setSortIndicatorClearable(clearable);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_isSortIndicatorClearable(const QHeaderView* self) {
return self->isSortIndicatorClearable();
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_stretchLastSection(const QHeaderView* self) {
return self->stretchLastSection();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setStretchLastSection(QHeaderView* self, bool stretch) {
self->setStretchLastSection(stretch);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_cascadingSectionResizes(const QHeaderView* self) {
return self->cascadingSectionResizes();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setCascadingSectionResizes(QHeaderView* self, bool enable) {
self->setCascadingSectionResizes(enable);
}
2025-02-01 13:45:16 +13:00
int QHeaderView_defaultSectionSize(const QHeaderView* self) {
return self->defaultSectionSize();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setDefaultSectionSize(QHeaderView* self, int size) {
self->setDefaultSectionSize(static_cast<int>(size));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_resetDefaultSectionSize(QHeaderView* self) {
self->resetDefaultSectionSize();
}
2025-02-01 13:45:16 +13:00
int QHeaderView_minimumSectionSize(const QHeaderView* self) {
return self->minimumSectionSize();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setMinimumSectionSize(QHeaderView* self, int size) {
self->setMinimumSectionSize(static_cast<int>(size));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_maximumSectionSize(const QHeaderView* self) {
return self->maximumSectionSize();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setMaximumSectionSize(QHeaderView* self, int size) {
self->setMaximumSectionSize(static_cast<int>(size));
}
2025-02-01 13:45:16 +13:00
int QHeaderView_defaultAlignment(const QHeaderView* self) {
Qt::Alignment _ret = self->defaultAlignment();
return static_cast<int>(_ret);
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setDefaultAlignment(QHeaderView* self, int alignment) {
self->setDefaultAlignment(static_cast<Qt::Alignment>(alignment));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_doItemsLayout(QHeaderView* self) {
self->doItemsLayout();
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_sectionsMoved(const QHeaderView* self) {
return self->sectionsMoved();
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_sectionsHidden(const QHeaderView* self) {
return self->sectionsHidden();
}
2025-02-01 13:45:16 +13:00
struct miqt_string QHeaderView_saveState(const QHeaderView* self) {
QByteArray _qb = self->saveState();
struct miqt_string _ms;
_ms.len = _qb.length();
_ms.data = static_cast<char*>(malloc(_ms.len));
memcpy(_ms.data, _qb.data(), _ms.len);
return _ms;
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_restoreState(QHeaderView* self, struct miqt_string state) {
QByteArray state_QByteArray(state.data, state.len);
return self->restoreState(state_QByteArray);
}
2025-02-01 13:45:16 +13:00
void QHeaderView_reset(QHeaderView* self) {
self->reset();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setOffset(QHeaderView* self, int offset) {
self->setOffset(static_cast<int>(offset));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setOffsetToSectionPosition(QHeaderView* self, int visualIndex) {
self->setOffsetToSectionPosition(static_cast<int>(visualIndex));
}
2025-02-01 13:45:16 +13:00
void QHeaderView_setOffsetToLastSection(QHeaderView* self) {
self->setOffsetToLastSection();
}
2025-02-01 13:45:16 +13:00
void QHeaderView_headerDataChanged(QHeaderView* self, int orientation, int logicalFirst, int logicalLast) {
self->headerDataChanged(static_cast<Qt::Orientation>(orientation), static_cast<int>(logicalFirst), static_cast<int>(logicalLast));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sectionMoved(QHeaderView* self, int logicalIndex, int oldVisualIndex, int newVisualIndex) {
self->sectionMoved(static_cast<int>(logicalIndex), static_cast<int>(oldVisualIndex), static_cast<int>(newVisualIndex));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sectionMoved(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int, int, int)>(&QHeaderView::sectionMoved), self, [=](int logicalIndex, int oldVisualIndex, int newVisualIndex) {
int sigval1 = logicalIndex;
int sigval2 = oldVisualIndex;
int sigval3 = newVisualIndex;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sectionMoved(slot, sigval1, sigval2, sigval3);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sectionResized(QHeaderView* self, int logicalIndex, int oldSize, int newSize) {
self->sectionResized(static_cast<int>(logicalIndex), static_cast<int>(oldSize), static_cast<int>(newSize));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sectionResized(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int, int, int)>(&QHeaderView::sectionResized), self, [=](int logicalIndex, int oldSize, int newSize) {
int sigval1 = logicalIndex;
int sigval2 = oldSize;
int sigval3 = newSize;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sectionResized(slot, sigval1, sigval2, sigval3);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sectionPressed(QHeaderView* self, int logicalIndex) {
self->sectionPressed(static_cast<int>(logicalIndex));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sectionPressed(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionPressed), self, [=](int logicalIndex) {
int sigval1 = logicalIndex;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sectionPressed(slot, sigval1);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sectionClicked(QHeaderView* self, int logicalIndex) {
self->sectionClicked(static_cast<int>(logicalIndex));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sectionClicked(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionClicked), self, [=](int logicalIndex) {
int sigval1 = logicalIndex;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sectionClicked(slot, sigval1);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sectionEntered(QHeaderView* self, int logicalIndex) {
self->sectionEntered(static_cast<int>(logicalIndex));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sectionEntered(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionEntered), self, [=](int logicalIndex) {
int sigval1 = logicalIndex;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sectionEntered(slot, sigval1);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sectionDoubleClicked(QHeaderView* self, int logicalIndex) {
self->sectionDoubleClicked(static_cast<int>(logicalIndex));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sectionDoubleClicked(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionDoubleClicked), self, [=](int logicalIndex) {
int sigval1 = logicalIndex;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sectionDoubleClicked(slot, sigval1);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sectionCountChanged(QHeaderView* self, int oldCount, int newCount) {
self->sectionCountChanged(static_cast<int>(oldCount), static_cast<int>(newCount));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sectionCountChanged(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int, int)>(&QHeaderView::sectionCountChanged), self, [=](int oldCount, int newCount) {
int sigval1 = oldCount;
int sigval2 = newCount;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sectionCountChanged(slot, sigval1, sigval2);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sectionHandleDoubleClicked(QHeaderView* self, int logicalIndex) {
self->sectionHandleDoubleClicked(static_cast<int>(logicalIndex));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sectionHandleDoubleClicked(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int)>(&QHeaderView::sectionHandleDoubleClicked), self, [=](int logicalIndex) {
int sigval1 = logicalIndex;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sectionHandleDoubleClicked(slot, sigval1);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_geometriesChanged(QHeaderView* self) {
self->geometriesChanged();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_geometriesChanged(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)()>(&QHeaderView::geometriesChanged), self, [=]() {
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_geometriesChanged(slot);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sortIndicatorChanged(QHeaderView* self, int logicalIndex, int order) {
self->sortIndicatorChanged(static_cast<int>(logicalIndex), static_cast<Qt::SortOrder>(order));
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sortIndicatorChanged(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(int, Qt::SortOrder)>(&QHeaderView::sortIndicatorChanged), self, [=](int logicalIndex, Qt::SortOrder order) {
int sigval1 = logicalIndex;
Qt::SortOrder order_ret = order;
int sigval2 = static_cast<int>(order_ret);
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sortIndicatorChanged(slot, sigval1, sigval2);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_sortIndicatorClearableChanged(QHeaderView* self, bool clearable) {
self->sortIndicatorClearableChanged(clearable);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_connect_sortIndicatorClearableChanged(QHeaderView* self, intptr_t slot) {
MiqtVirtualQHeaderView::connect(self, static_cast<void (QHeaderView::*)(bool)>(&QHeaderView::sortIndicatorClearableChanged), self, [=](bool clearable) {
bool sigval1 = clearable;
2025-02-01 13:45:16 +13:00
miqt_exec_callback_QHeaderView_sortIndicatorClearableChanged(slot, sigval1);
});
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
struct miqt_string QHeaderView_tr2(const char* s, const char* c) {
QString _ret = QHeaderView::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 QHeaderView_tr3(const char* s, const char* c, int n) {
QString _ret = QHeaderView::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;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_setModel(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setModel = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_setModel(void* self, QAbstractItemModel* model) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_setModel(model);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_sizeHint(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(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* QHeaderView_virtualbase_sizeHint(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_sizeHint();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_setVisible(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setVisible = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_setVisible(void* self, bool v) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_setVisible(v);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_doItemsLayout(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__doItemsLayout = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_doItemsLayout(void* self) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_doItemsLayout();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_reset(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__reset = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_reset(void* self) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_reset();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_currentChanged(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__currentChanged = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_currentChanged(void* self, QModelIndex* current, QModelIndex* old) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_currentChanged(current, old);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_event(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__event = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_virtualbase_event(void* self, QEvent* e) {
return ( (MiqtVirtualQHeaderView*)(self) )->virtualbase_event(e);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_paintEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__paintEvent = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_paintEvent(void* self, QPaintEvent* e) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_paintEvent(e);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_mousePressEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__mousePressEvent = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_mousePressEvent(void* self, QMouseEvent* e) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_mousePressEvent(e);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_mouseMoveEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__mouseMoveEvent = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_mouseMoveEvent(void* self, QMouseEvent* e) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_mouseMoveEvent(e);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_mouseReleaseEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__mouseReleaseEvent = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_mouseReleaseEvent(void* self, QMouseEvent* e) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_mouseReleaseEvent(e);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_mouseDoubleClickEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__mouseDoubleClickEvent = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_mouseDoubleClickEvent(void* self, QMouseEvent* e) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_mouseDoubleClickEvent(e);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_viewportEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__viewportEvent = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_virtualbase_viewportEvent(void* self, QEvent* e) {
return ( (MiqtVirtualQHeaderView*)(self) )->virtualbase_viewportEvent(e);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_paintSection(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__paintSection = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_paintSection(const void* self, QPainter* painter, QRect* rect, int logicalIndex) {
( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_paintSection(painter, rect, logicalIndex);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_sectionSizeFromContents(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__sectionSizeFromContents = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QSize* QHeaderView_virtualbase_sectionSizeFromContents(const void* self, int logicalIndex) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_sectionSizeFromContents(logicalIndex);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_horizontalOffset(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__horizontalOffset = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QHeaderView_virtualbase_horizontalOffset(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_horizontalOffset();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_verticalOffset(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__verticalOffset = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QHeaderView_virtualbase_verticalOffset(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_verticalOffset();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_updateGeometries(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__updateGeometries = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_updateGeometries(void* self) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_updateGeometries();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_scrollContentsBy(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__scrollContentsBy = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_scrollContentsBy(void* self, int dx, int dy) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_scrollContentsBy(dx, dy);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_dataChanged(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__dataChanged = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_dataChanged(void* self, QModelIndex* topLeft, QModelIndex* bottomRight, struct miqt_array /* of int */ roles) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_dataChanged(topLeft, bottomRight, roles);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_rowsInserted(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__rowsInserted = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_rowsInserted(void* self, QModelIndex* parent, int start, int end) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_rowsInserted(parent, start, end);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_visualRect(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__visualRect = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QRect* QHeaderView_virtualbase_visualRect(const void* self, QModelIndex* index) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_visualRect(index);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_scrollTo(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__scrollTo = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_scrollTo(void* self, QModelIndex* index, int hint) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_scrollTo(index, hint);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_indexAt(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__indexAt = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QModelIndex* QHeaderView_virtualbase_indexAt(const void* self, QPoint* p) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_indexAt(p);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_isIndexHidden(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__isIndexHidden = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_virtualbase_isIndexHidden(const void* self, QModelIndex* index) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_isIndexHidden(index);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_moveCursor(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__moveCursor = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QModelIndex* QHeaderView_virtualbase_moveCursor(void* self, int param1, int param2) {
return ( (MiqtVirtualQHeaderView*)(self) )->virtualbase_moveCursor(param1, param2);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_setSelection(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setSelection = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_setSelection(void* self, QRect* rect, int flags) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_setSelection(rect, flags);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_visualRegionForSelection(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__visualRegionForSelection = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QRegion* QHeaderView_virtualbase_visualRegionForSelection(const void* self, QItemSelection* selection) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_visualRegionForSelection(selection);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_initStyleOptionForIndex(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__initStyleOptionForIndex = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_initStyleOptionForIndex(const void* self, QStyleOptionHeader* option, int logicalIndex) {
( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_initStyleOptionForIndex(option, logicalIndex);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_initStyleOption(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__initStyleOption = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_initStyleOption(const void* self, QStyleOptionHeader* option) {
( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_initStyleOption(option);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_setSelectionModel(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setSelectionModel = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_setSelectionModel(void* self, QItemSelectionModel* selectionModel) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_setSelectionModel(selectionModel);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_keyboardSearch(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__keyboardSearch = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_keyboardSearch(void* self, struct miqt_string search) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_keyboardSearch(search);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_sizeHintForRow(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__sizeHintForRow = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QHeaderView_virtualbase_sizeHintForRow(const void* self, int row) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_sizeHintForRow(row);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_sizeHintForColumn(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__sizeHintForColumn = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
int QHeaderView_virtualbase_sizeHintForColumn(const void* self, int column) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_sizeHintForColumn(column);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_itemDelegateForIndex(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__itemDelegateForIndex = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QAbstractItemDelegate* QHeaderView_virtualbase_itemDelegateForIndex(const void* self, QModelIndex* index) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_itemDelegateForIndex(index);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_inputMethodQuery(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__inputMethodQuery = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
QVariant* QHeaderView_virtualbase_inputMethodQuery(const void* self, int query) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_inputMethodQuery(query);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_setRootIndex(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setRootIndex = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_setRootIndex(void* self, QModelIndex* index) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_setRootIndex(index);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_selectAll(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__selectAll = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_selectAll(void* self) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_selectAll();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_rowsAboutToBeRemoved(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__rowsAboutToBeRemoved = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_rowsAboutToBeRemoved(void* self, QModelIndex* parent, int start, int end) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_rowsAboutToBeRemoved(parent, start, end);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_selectionChanged(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__selectionChanged = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_selectionChanged(void* self, QItemSelection* selected, QItemSelection* deselected) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_selectionChanged(selected, deselected);
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_updateEditorData(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__updateEditorData = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_updateEditorData(void* self) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_updateEditorData();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_updateEditorGeometries(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__updateEditorGeometries = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_updateEditorGeometries(void* self) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_updateEditorGeometries();
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_verticalScrollbarAction(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__verticalScrollbarAction = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_verticalScrollbarAction(void* self, int action) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_verticalScrollbarAction(action);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_horizontalScrollbarAction(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__horizontalScrollbarAction = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_horizontalScrollbarAction(void* self, int action) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_horizontalScrollbarAction(action);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_verticalScrollbarValueChanged(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__verticalScrollbarValueChanged = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_verticalScrollbarValueChanged(void* self, int value) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_verticalScrollbarValueChanged(value);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_horizontalScrollbarValueChanged(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__horizontalScrollbarValueChanged = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_horizontalScrollbarValueChanged(void* self, int value) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_horizontalScrollbarValueChanged(value);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_closeEditor(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__closeEditor = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_closeEditor(void* self, QWidget* editor, int hint) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_closeEditor(editor, hint);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_commitData(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__commitData = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_commitData(void* self, QWidget* editor) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_commitData(editor);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_editorDestroyed(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__editorDestroyed = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_editorDestroyed(void* self, QObject* editor) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_editorDestroyed(editor);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_selectedIndexes(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__selectedIndexes = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
struct miqt_array /* of QModelIndex* */ QHeaderView_virtualbase_selectedIndexes(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_selectedIndexes();
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_edit2(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__edit2 = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_virtualbase_edit2(void* self, QModelIndex* index, int trigger, QEvent* event) {
return ( (MiqtVirtualQHeaderView*)(self) )->virtualbase_edit2(index, trigger, event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_selectionCommand(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__selectionCommand = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
int QHeaderView_virtualbase_selectionCommand(const void* self, QModelIndex* index, QEvent* event) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_selectionCommand(index, event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_startDrag(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__startDrag = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_startDrag(void* self, int supportedActions) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_startDrag(supportedActions);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_initViewItemOption(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__initViewItemOption = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_initViewItemOption(const void* self, QStyleOptionViewItem* option) {
( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_initViewItemOption(option);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_focusNextPrevChild(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__focusNextPrevChild = slot;
return true;
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_virtualbase_focusNextPrevChild(void* self, bool next) {
return ( (MiqtVirtualQHeaderView*)(self) )->virtualbase_focusNextPrevChild(next);
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_dragEnterEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__dragEnterEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_dragEnterEvent(void* self, QDragEnterEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_dragEnterEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_dragMoveEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__dragMoveEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_dragMoveEvent(void* self, QDragMoveEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_dragMoveEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_dragLeaveEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__dragLeaveEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_dragLeaveEvent(void* self, QDragLeaveEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_dragLeaveEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_dropEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__dropEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_dropEvent(void* self, QDropEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_dropEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_focusInEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__focusInEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_focusInEvent(void* self, QFocusEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_focusInEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_focusOutEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__focusOutEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_focusOutEvent(void* self, QFocusEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_focusOutEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_keyPressEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__keyPressEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_keyPressEvent(void* self, QKeyEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_keyPressEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_resizeEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__resizeEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_resizeEvent(void* self, QResizeEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_resizeEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_timerEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__timerEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_timerEvent(void* self, QTimerEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_timerEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_inputMethodEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__inputMethodEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_inputMethodEvent(void* self, QInputMethodEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_inputMethodEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_eventFilter(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__eventFilter = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_virtualbase_eventFilter(void* self, QObject* object, QEvent* event) {
return ( (MiqtVirtualQHeaderView*)(self) )->virtualbase_eventFilter(object, event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_viewportSizeHint(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__viewportSizeHint = slot;
return true;
}
2025-02-01 13:45:16 +13:00
QSize* QHeaderView_virtualbase_viewportSizeHint(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_viewportSizeHint();
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_minimumSizeHint(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__minimumSizeHint = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QSize* QHeaderView_virtualbase_minimumSizeHint(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_minimumSizeHint();
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_setupViewport(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__setupViewport = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_setupViewport(void* self, QWidget* viewport) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_setupViewport(viewport);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_wheelEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__wheelEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_wheelEvent(void* self, QWheelEvent* param1) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_wheelEvent(param1);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_contextMenuEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__contextMenuEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_contextMenuEvent(void* self, QContextMenuEvent* param1) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_contextMenuEvent(param1);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_changeEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__changeEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_changeEvent(void* self, QEvent* param1) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_changeEvent(param1);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_devType(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__devType = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
int QHeaderView_virtualbase_devType(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_devType();
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_heightForWidth(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(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 QHeaderView_virtualbase_heightForWidth(const void* self, int param1) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_heightForWidth(param1);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_hasHeightForWidth(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(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 QHeaderView_virtualbase_hasHeightForWidth(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_hasHeightForWidth();
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_paintEngine(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__paintEngine = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QPaintEngine* QHeaderView_virtualbase_paintEngine(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_paintEngine();
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_keyReleaseEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__keyReleaseEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_keyReleaseEvent(void* self, QKeyEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_keyReleaseEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_enterEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__enterEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_enterEvent(void* self, QEnterEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_enterEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_leaveEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__leaveEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_leaveEvent(void* self, QEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_leaveEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_moveEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__moveEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_moveEvent(void* self, QMoveEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_moveEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_closeEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__closeEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_closeEvent(void* self, QCloseEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_closeEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_tabletEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__tabletEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_tabletEvent(void* self, QTabletEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_tabletEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_actionEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__actionEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_actionEvent(void* self, QActionEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_actionEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_showEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__showEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_showEvent(void* self, QShowEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_showEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_hideEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__hideEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_hideEvent(void* self, QHideEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_hideEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_nativeEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__nativeEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_virtualbase_nativeEvent(void* self, struct miqt_string eventType, void* message, intptr_t* result) {
return ( (MiqtVirtualQHeaderView*)(self) )->virtualbase_nativeEvent(eventType, message, result);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_metric(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__metric = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
int QHeaderView_virtualbase_metric(const void* self, int param1) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_metric(param1);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_initPainter(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__initPainter = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_initPainter(const void* self, QPainter* painter) {
( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_initPainter(painter);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_redirected(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__redirected = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QPaintDevice* QHeaderView_virtualbase_redirected(const void* self, QPoint* offset) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_redirected(offset);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_sharedPainter(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__sharedPainter = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
QPainter* QHeaderView_virtualbase_sharedPainter(const void* self) {
return ( (const MiqtVirtualQHeaderView*)(self) )->virtualbase_sharedPainter();
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_childEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__childEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_childEvent(void* self, QChildEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_childEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_customEvent(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__customEvent = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_customEvent(void* self, QEvent* event) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_customEvent(event);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_connectNotify(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__connectNotify = slot;
return true;
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_connectNotify(void* self, QMetaMethod* signal) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_connectNotify(signal);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
bool QHeaderView_override_virtual_disconnectNotify(void* self, intptr_t slot) {
MiqtVirtualQHeaderView* self_cast = dynamic_cast<MiqtVirtualQHeaderView*>( (QHeaderView*)(self) );
if (self_cast == nullptr) {
return false;
}
2025-02-01 13:45:16 +13:00
self_cast->handle__disconnectNotify = slot;
return true;
2024-11-19 19:29:06 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) {
( (MiqtVirtualQHeaderView*)(self) )->virtualbase_disconnectNotify(signal);
2024-10-20 18:21:03 +13:00
}
2025-02-01 13:45:16 +13:00
void QHeaderView_delete(QHeaderView* self) {
delete self;
2024-10-20 18:21:03 +13:00
}