mirror of
https://github.com/mappu/miqt.git
synced 2025-02-01 19:10:21 +00:00
2499 lines
68 KiB
C++
2499 lines
68 KiB
C++
#include <QActionEvent>
|
|
#include <QByteArray>
|
|
#include <QChildEvent>
|
|
#include <QCloseEvent>
|
|
#include <QColor>
|
|
#include <QContextMenuEvent>
|
|
#include <QDragEnterEvent>
|
|
#include <QDragLeaveEvent>
|
|
#include <QDragMoveEvent>
|
|
#include <QDropEvent>
|
|
#include <QEvent>
|
|
#include <QFocusEvent>
|
|
#include <QHideEvent>
|
|
#include <QIcon>
|
|
#include <QInputMethodEvent>
|
|
#include <QKeyEvent>
|
|
#include <QMetaMethod>
|
|
#include <QMetaObject>
|
|
#include <QMouseEvent>
|
|
#include <QMoveEvent>
|
|
#include <QObject>
|
|
#include <QPaintDevice>
|
|
#include <QPaintEngine>
|
|
#include <QPaintEvent>
|
|
#include <QPainter>
|
|
#include <QPoint>
|
|
#include <QRect>
|
|
#include <QResizeEvent>
|
|
#include <QShowEvent>
|
|
#include <QSize>
|
|
#include <QString>
|
|
#include <QByteArray>
|
|
#include <cstring>
|
|
#include <QTabBar>
|
|
#include <QTabletEvent>
|
|
#include <QTimerEvent>
|
|
#include <QVariant>
|
|
#include <QWheelEvent>
|
|
#include <QWidget>
|
|
#include <qtabbar.h>
|
|
#include "gen_qtabbar.h"
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
void miqt_exec_callback_QTabBar_currentChanged(intptr_t, int);
|
|
void miqt_exec_callback_QTabBar_tabCloseRequested(intptr_t, int);
|
|
void miqt_exec_callback_QTabBar_tabMoved(intptr_t, int, int);
|
|
void miqt_exec_callback_QTabBar_tabBarClicked(intptr_t, int);
|
|
void miqt_exec_callback_QTabBar_tabBarDoubleClicked(intptr_t, int);
|
|
QSize* miqt_exec_callback_QTabBar_sizeHint(const QTabBar*, intptr_t);
|
|
QSize* miqt_exec_callback_QTabBar_minimumSizeHint(const QTabBar*, intptr_t);
|
|
QSize* miqt_exec_callback_QTabBar_tabSizeHint(const QTabBar*, intptr_t, int);
|
|
QSize* miqt_exec_callback_QTabBar_minimumTabSizeHint(const QTabBar*, intptr_t, int);
|
|
void miqt_exec_callback_QTabBar_tabInserted(QTabBar*, intptr_t, int);
|
|
void miqt_exec_callback_QTabBar_tabRemoved(QTabBar*, intptr_t, int);
|
|
void miqt_exec_callback_QTabBar_tabLayoutChange(QTabBar*, intptr_t);
|
|
bool miqt_exec_callback_QTabBar_event(QTabBar*, intptr_t, QEvent*);
|
|
void miqt_exec_callback_QTabBar_resizeEvent(QTabBar*, intptr_t, QResizeEvent*);
|
|
void miqt_exec_callback_QTabBar_showEvent(QTabBar*, intptr_t, QShowEvent*);
|
|
void miqt_exec_callback_QTabBar_hideEvent(QTabBar*, intptr_t, QHideEvent*);
|
|
void miqt_exec_callback_QTabBar_paintEvent(QTabBar*, intptr_t, QPaintEvent*);
|
|
void miqt_exec_callback_QTabBar_mousePressEvent(QTabBar*, intptr_t, QMouseEvent*);
|
|
void miqt_exec_callback_QTabBar_mouseMoveEvent(QTabBar*, intptr_t, QMouseEvent*);
|
|
void miqt_exec_callback_QTabBar_mouseReleaseEvent(QTabBar*, intptr_t, QMouseEvent*);
|
|
void miqt_exec_callback_QTabBar_wheelEvent(QTabBar*, intptr_t, QWheelEvent*);
|
|
void miqt_exec_callback_QTabBar_keyPressEvent(QTabBar*, intptr_t, QKeyEvent*);
|
|
void miqt_exec_callback_QTabBar_changeEvent(QTabBar*, intptr_t, QEvent*);
|
|
void miqt_exec_callback_QTabBar_timerEvent(QTabBar*, intptr_t, QTimerEvent*);
|
|
int miqt_exec_callback_QTabBar_devType(const QTabBar*, intptr_t);
|
|
void miqt_exec_callback_QTabBar_setVisible(QTabBar*, intptr_t, bool);
|
|
int miqt_exec_callback_QTabBar_heightForWidth(const QTabBar*, intptr_t, int);
|
|
bool miqt_exec_callback_QTabBar_hasHeightForWidth(const QTabBar*, intptr_t);
|
|
QPaintEngine* miqt_exec_callback_QTabBar_paintEngine(const QTabBar*, intptr_t);
|
|
void miqt_exec_callback_QTabBar_mouseDoubleClickEvent(QTabBar*, intptr_t, QMouseEvent*);
|
|
void miqt_exec_callback_QTabBar_keyReleaseEvent(QTabBar*, intptr_t, QKeyEvent*);
|
|
void miqt_exec_callback_QTabBar_focusInEvent(QTabBar*, intptr_t, QFocusEvent*);
|
|
void miqt_exec_callback_QTabBar_focusOutEvent(QTabBar*, intptr_t, QFocusEvent*);
|
|
void miqt_exec_callback_QTabBar_enterEvent(QTabBar*, intptr_t, QEvent*);
|
|
void miqt_exec_callback_QTabBar_leaveEvent(QTabBar*, intptr_t, QEvent*);
|
|
void miqt_exec_callback_QTabBar_moveEvent(QTabBar*, intptr_t, QMoveEvent*);
|
|
void miqt_exec_callback_QTabBar_closeEvent(QTabBar*, intptr_t, QCloseEvent*);
|
|
void miqt_exec_callback_QTabBar_contextMenuEvent(QTabBar*, intptr_t, QContextMenuEvent*);
|
|
void miqt_exec_callback_QTabBar_tabletEvent(QTabBar*, intptr_t, QTabletEvent*);
|
|
void miqt_exec_callback_QTabBar_actionEvent(QTabBar*, intptr_t, QActionEvent*);
|
|
void miqt_exec_callback_QTabBar_dragEnterEvent(QTabBar*, intptr_t, QDragEnterEvent*);
|
|
void miqt_exec_callback_QTabBar_dragMoveEvent(QTabBar*, intptr_t, QDragMoveEvent*);
|
|
void miqt_exec_callback_QTabBar_dragLeaveEvent(QTabBar*, intptr_t, QDragLeaveEvent*);
|
|
void miqt_exec_callback_QTabBar_dropEvent(QTabBar*, intptr_t, QDropEvent*);
|
|
bool miqt_exec_callback_QTabBar_nativeEvent(QTabBar*, intptr_t, struct miqt_string, void*, long*);
|
|
int miqt_exec_callback_QTabBar_metric(const QTabBar*, intptr_t, int);
|
|
void miqt_exec_callback_QTabBar_initPainter(const QTabBar*, intptr_t, QPainter*);
|
|
QPaintDevice* miqt_exec_callback_QTabBar_redirected(const QTabBar*, intptr_t, QPoint*);
|
|
QPainter* miqt_exec_callback_QTabBar_sharedPainter(const QTabBar*, intptr_t);
|
|
void miqt_exec_callback_QTabBar_inputMethodEvent(QTabBar*, intptr_t, QInputMethodEvent*);
|
|
QVariant* miqt_exec_callback_QTabBar_inputMethodQuery(const QTabBar*, intptr_t, int);
|
|
bool miqt_exec_callback_QTabBar_focusNextPrevChild(QTabBar*, intptr_t, bool);
|
|
bool miqt_exec_callback_QTabBar_eventFilter(QTabBar*, intptr_t, QObject*, QEvent*);
|
|
void miqt_exec_callback_QTabBar_childEvent(QTabBar*, intptr_t, QChildEvent*);
|
|
void miqt_exec_callback_QTabBar_customEvent(QTabBar*, intptr_t, QEvent*);
|
|
void miqt_exec_callback_QTabBar_connectNotify(QTabBar*, intptr_t, QMetaMethod*);
|
|
void miqt_exec_callback_QTabBar_disconnectNotify(QTabBar*, intptr_t, QMetaMethod*);
|
|
#ifdef __cplusplus
|
|
} /* extern C */
|
|
#endif
|
|
|
|
class MiqtVirtualQTabBar final : public QTabBar {
|
|
public:
|
|
|
|
MiqtVirtualQTabBar(QWidget* parent): QTabBar(parent) {};
|
|
MiqtVirtualQTabBar(): QTabBar() {};
|
|
|
|
virtual ~MiqtVirtualQTabBar() override = default;
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__sizeHint = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QSize sizeHint() const override {
|
|
if (handle__sizeHint == 0) {
|
|
return QTabBar::sizeHint();
|
|
}
|
|
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QTabBar_sizeHint(this, handle__sizeHint);
|
|
|
|
return *callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QSize* virtualbase_sizeHint() const {
|
|
|
|
return new QSize(QTabBar::sizeHint());
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__minimumSizeHint = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QSize minimumSizeHint() const override {
|
|
if (handle__minimumSizeHint == 0) {
|
|
return QTabBar::minimumSizeHint();
|
|
}
|
|
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QTabBar_minimumSizeHint(this, handle__minimumSizeHint);
|
|
|
|
return *callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QSize* virtualbase_minimumSizeHint() const {
|
|
|
|
return new QSize(QTabBar::minimumSizeHint());
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__tabSizeHint = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QSize tabSizeHint(int index) const override {
|
|
if (handle__tabSizeHint == 0) {
|
|
return QTabBar::tabSizeHint(index);
|
|
}
|
|
|
|
int sigval1 = index;
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QTabBar_tabSizeHint(this, handle__tabSizeHint, sigval1);
|
|
|
|
return *callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QSize* virtualbase_tabSizeHint(int index) const {
|
|
|
|
return new QSize(QTabBar::tabSizeHint(static_cast<int>(index)));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__minimumTabSizeHint = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QSize minimumTabSizeHint(int index) const override {
|
|
if (handle__minimumTabSizeHint == 0) {
|
|
return QTabBar::minimumTabSizeHint(index);
|
|
}
|
|
|
|
int sigval1 = index;
|
|
|
|
QSize* callback_return_value = miqt_exec_callback_QTabBar_minimumTabSizeHint(this, handle__minimumTabSizeHint, sigval1);
|
|
|
|
return *callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QSize* virtualbase_minimumTabSizeHint(int index) const {
|
|
|
|
return new QSize(QTabBar::minimumTabSizeHint(static_cast<int>(index)));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__tabInserted = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void tabInserted(int index) override {
|
|
if (handle__tabInserted == 0) {
|
|
QTabBar::tabInserted(index);
|
|
return;
|
|
}
|
|
|
|
int sigval1 = index;
|
|
|
|
miqt_exec_callback_QTabBar_tabInserted(this, handle__tabInserted, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_tabInserted(int index) {
|
|
|
|
QTabBar::tabInserted(static_cast<int>(index));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__tabRemoved = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void tabRemoved(int index) override {
|
|
if (handle__tabRemoved == 0) {
|
|
QTabBar::tabRemoved(index);
|
|
return;
|
|
}
|
|
|
|
int sigval1 = index;
|
|
|
|
miqt_exec_callback_QTabBar_tabRemoved(this, handle__tabRemoved, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_tabRemoved(int index) {
|
|
|
|
QTabBar::tabRemoved(static_cast<int>(index));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__tabLayoutChange = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void tabLayoutChange() override {
|
|
if (handle__tabLayoutChange == 0) {
|
|
QTabBar::tabLayoutChange();
|
|
return;
|
|
}
|
|
|
|
|
|
miqt_exec_callback_QTabBar_tabLayoutChange(this, handle__tabLayoutChange);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_tabLayoutChange() {
|
|
|
|
QTabBar::tabLayoutChange();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__event = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual bool event(QEvent* param1) override {
|
|
if (handle__event == 0) {
|
|
return QTabBar::event(param1);
|
|
}
|
|
|
|
QEvent* sigval1 = param1;
|
|
|
|
bool callback_return_value = miqt_exec_callback_QTabBar_event(this, handle__event, sigval1);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
bool virtualbase_event(QEvent* param1) {
|
|
|
|
return QTabBar::event(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__resizeEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void resizeEvent(QResizeEvent* param1) override {
|
|
if (handle__resizeEvent == 0) {
|
|
QTabBar::resizeEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QResizeEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_resizeEvent(this, handle__resizeEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_resizeEvent(QResizeEvent* param1) {
|
|
|
|
QTabBar::resizeEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__showEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void showEvent(QShowEvent* param1) override {
|
|
if (handle__showEvent == 0) {
|
|
QTabBar::showEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QShowEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_showEvent(this, handle__showEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_showEvent(QShowEvent* param1) {
|
|
|
|
QTabBar::showEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__hideEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void hideEvent(QHideEvent* param1) override {
|
|
if (handle__hideEvent == 0) {
|
|
QTabBar::hideEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QHideEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_hideEvent(this, handle__hideEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_hideEvent(QHideEvent* param1) {
|
|
|
|
QTabBar::hideEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__paintEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void paintEvent(QPaintEvent* param1) override {
|
|
if (handle__paintEvent == 0) {
|
|
QTabBar::paintEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QPaintEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_paintEvent(this, handle__paintEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_paintEvent(QPaintEvent* param1) {
|
|
|
|
QTabBar::paintEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__mousePressEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void mousePressEvent(QMouseEvent* param1) override {
|
|
if (handle__mousePressEvent == 0) {
|
|
QTabBar::mousePressEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QMouseEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_mousePressEvent(this, handle__mousePressEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_mousePressEvent(QMouseEvent* param1) {
|
|
|
|
QTabBar::mousePressEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__mouseMoveEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void mouseMoveEvent(QMouseEvent* param1) override {
|
|
if (handle__mouseMoveEvent == 0) {
|
|
QTabBar::mouseMoveEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QMouseEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_mouseMoveEvent(this, handle__mouseMoveEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_mouseMoveEvent(QMouseEvent* param1) {
|
|
|
|
QTabBar::mouseMoveEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__mouseReleaseEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void mouseReleaseEvent(QMouseEvent* param1) override {
|
|
if (handle__mouseReleaseEvent == 0) {
|
|
QTabBar::mouseReleaseEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QMouseEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_mouseReleaseEvent(this, handle__mouseReleaseEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_mouseReleaseEvent(QMouseEvent* param1) {
|
|
|
|
QTabBar::mouseReleaseEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__wheelEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void wheelEvent(QWheelEvent* event) override {
|
|
if (handle__wheelEvent == 0) {
|
|
QTabBar::wheelEvent(event);
|
|
return;
|
|
}
|
|
|
|
QWheelEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_wheelEvent(this, handle__wheelEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_wheelEvent(QWheelEvent* event) {
|
|
|
|
QTabBar::wheelEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__keyPressEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void keyPressEvent(QKeyEvent* param1) override {
|
|
if (handle__keyPressEvent == 0) {
|
|
QTabBar::keyPressEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QKeyEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_keyPressEvent(this, handle__keyPressEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_keyPressEvent(QKeyEvent* param1) {
|
|
|
|
QTabBar::keyPressEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__changeEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void changeEvent(QEvent* param1) override {
|
|
if (handle__changeEvent == 0) {
|
|
QTabBar::changeEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_changeEvent(this, handle__changeEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_changeEvent(QEvent* param1) {
|
|
|
|
QTabBar::changeEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__timerEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void timerEvent(QTimerEvent* event) override {
|
|
if (handle__timerEvent == 0) {
|
|
QTabBar::timerEvent(event);
|
|
return;
|
|
}
|
|
|
|
QTimerEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_timerEvent(this, handle__timerEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_timerEvent(QTimerEvent* event) {
|
|
|
|
QTabBar::timerEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__devType = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual int devType() const override {
|
|
if (handle__devType == 0) {
|
|
return QTabBar::devType();
|
|
}
|
|
|
|
|
|
int callback_return_value = miqt_exec_callback_QTabBar_devType(this, handle__devType);
|
|
|
|
return static_cast<int>(callback_return_value);
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
int virtualbase_devType() const {
|
|
|
|
return QTabBar::devType();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__setVisible = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void setVisible(bool visible) override {
|
|
if (handle__setVisible == 0) {
|
|
QTabBar::setVisible(visible);
|
|
return;
|
|
}
|
|
|
|
bool sigval1 = visible;
|
|
|
|
miqt_exec_callback_QTabBar_setVisible(this, handle__setVisible, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_setVisible(bool visible) {
|
|
|
|
QTabBar::setVisible(visible);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__heightForWidth = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual int heightForWidth(int param1) const override {
|
|
if (handle__heightForWidth == 0) {
|
|
return QTabBar::heightForWidth(param1);
|
|
}
|
|
|
|
int sigval1 = param1;
|
|
|
|
int callback_return_value = miqt_exec_callback_QTabBar_heightForWidth(this, handle__heightForWidth, sigval1);
|
|
|
|
return static_cast<int>(callback_return_value);
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
int virtualbase_heightForWidth(int param1) const {
|
|
|
|
return QTabBar::heightForWidth(static_cast<int>(param1));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__hasHeightForWidth = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual bool hasHeightForWidth() const override {
|
|
if (handle__hasHeightForWidth == 0) {
|
|
return QTabBar::hasHeightForWidth();
|
|
}
|
|
|
|
|
|
bool callback_return_value = miqt_exec_callback_QTabBar_hasHeightForWidth(this, handle__hasHeightForWidth);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
bool virtualbase_hasHeightForWidth() const {
|
|
|
|
return QTabBar::hasHeightForWidth();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__paintEngine = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QPaintEngine* paintEngine() const override {
|
|
if (handle__paintEngine == 0) {
|
|
return QTabBar::paintEngine();
|
|
}
|
|
|
|
|
|
QPaintEngine* callback_return_value = miqt_exec_callback_QTabBar_paintEngine(this, handle__paintEngine);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QPaintEngine* virtualbase_paintEngine() const {
|
|
|
|
return QTabBar::paintEngine();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__mouseDoubleClickEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void mouseDoubleClickEvent(QMouseEvent* event) override {
|
|
if (handle__mouseDoubleClickEvent == 0) {
|
|
QTabBar::mouseDoubleClickEvent(event);
|
|
return;
|
|
}
|
|
|
|
QMouseEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_mouseDoubleClickEvent(this, handle__mouseDoubleClickEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_mouseDoubleClickEvent(QMouseEvent* event) {
|
|
|
|
QTabBar::mouseDoubleClickEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__keyReleaseEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void keyReleaseEvent(QKeyEvent* event) override {
|
|
if (handle__keyReleaseEvent == 0) {
|
|
QTabBar::keyReleaseEvent(event);
|
|
return;
|
|
}
|
|
|
|
QKeyEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_keyReleaseEvent(this, handle__keyReleaseEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_keyReleaseEvent(QKeyEvent* event) {
|
|
|
|
QTabBar::keyReleaseEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__focusInEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void focusInEvent(QFocusEvent* event) override {
|
|
if (handle__focusInEvent == 0) {
|
|
QTabBar::focusInEvent(event);
|
|
return;
|
|
}
|
|
|
|
QFocusEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_focusInEvent(this, handle__focusInEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_focusInEvent(QFocusEvent* event) {
|
|
|
|
QTabBar::focusInEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__focusOutEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void focusOutEvent(QFocusEvent* event) override {
|
|
if (handle__focusOutEvent == 0) {
|
|
QTabBar::focusOutEvent(event);
|
|
return;
|
|
}
|
|
|
|
QFocusEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_focusOutEvent(this, handle__focusOutEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_focusOutEvent(QFocusEvent* event) {
|
|
|
|
QTabBar::focusOutEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__enterEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void enterEvent(QEvent* event) override {
|
|
if (handle__enterEvent == 0) {
|
|
QTabBar::enterEvent(event);
|
|
return;
|
|
}
|
|
|
|
QEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_enterEvent(this, handle__enterEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_enterEvent(QEvent* event) {
|
|
|
|
QTabBar::enterEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__leaveEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void leaveEvent(QEvent* event) override {
|
|
if (handle__leaveEvent == 0) {
|
|
QTabBar::leaveEvent(event);
|
|
return;
|
|
}
|
|
|
|
QEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_leaveEvent(this, handle__leaveEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_leaveEvent(QEvent* event) {
|
|
|
|
QTabBar::leaveEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__moveEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void moveEvent(QMoveEvent* event) override {
|
|
if (handle__moveEvent == 0) {
|
|
QTabBar::moveEvent(event);
|
|
return;
|
|
}
|
|
|
|
QMoveEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_moveEvent(this, handle__moveEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_moveEvent(QMoveEvent* event) {
|
|
|
|
QTabBar::moveEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__closeEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void closeEvent(QCloseEvent* event) override {
|
|
if (handle__closeEvent == 0) {
|
|
QTabBar::closeEvent(event);
|
|
return;
|
|
}
|
|
|
|
QCloseEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_closeEvent(this, handle__closeEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_closeEvent(QCloseEvent* event) {
|
|
|
|
QTabBar::closeEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__contextMenuEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void contextMenuEvent(QContextMenuEvent* event) override {
|
|
if (handle__contextMenuEvent == 0) {
|
|
QTabBar::contextMenuEvent(event);
|
|
return;
|
|
}
|
|
|
|
QContextMenuEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_contextMenuEvent(this, handle__contextMenuEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_contextMenuEvent(QContextMenuEvent* event) {
|
|
|
|
QTabBar::contextMenuEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__tabletEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void tabletEvent(QTabletEvent* event) override {
|
|
if (handle__tabletEvent == 0) {
|
|
QTabBar::tabletEvent(event);
|
|
return;
|
|
}
|
|
|
|
QTabletEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_tabletEvent(this, handle__tabletEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_tabletEvent(QTabletEvent* event) {
|
|
|
|
QTabBar::tabletEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__actionEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void actionEvent(QActionEvent* event) override {
|
|
if (handle__actionEvent == 0) {
|
|
QTabBar::actionEvent(event);
|
|
return;
|
|
}
|
|
|
|
QActionEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_actionEvent(this, handle__actionEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_actionEvent(QActionEvent* event) {
|
|
|
|
QTabBar::actionEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__dragEnterEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void dragEnterEvent(QDragEnterEvent* event) override {
|
|
if (handle__dragEnterEvent == 0) {
|
|
QTabBar::dragEnterEvent(event);
|
|
return;
|
|
}
|
|
|
|
QDragEnterEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_dragEnterEvent(this, handle__dragEnterEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_dragEnterEvent(QDragEnterEvent* event) {
|
|
|
|
QTabBar::dragEnterEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__dragMoveEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void dragMoveEvent(QDragMoveEvent* event) override {
|
|
if (handle__dragMoveEvent == 0) {
|
|
QTabBar::dragMoveEvent(event);
|
|
return;
|
|
}
|
|
|
|
QDragMoveEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_dragMoveEvent(this, handle__dragMoveEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_dragMoveEvent(QDragMoveEvent* event) {
|
|
|
|
QTabBar::dragMoveEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__dragLeaveEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void dragLeaveEvent(QDragLeaveEvent* event) override {
|
|
if (handle__dragLeaveEvent == 0) {
|
|
QTabBar::dragLeaveEvent(event);
|
|
return;
|
|
}
|
|
|
|
QDragLeaveEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_dragLeaveEvent(this, handle__dragLeaveEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_dragLeaveEvent(QDragLeaveEvent* event) {
|
|
|
|
QTabBar::dragLeaveEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__dropEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void dropEvent(QDropEvent* event) override {
|
|
if (handle__dropEvent == 0) {
|
|
QTabBar::dropEvent(event);
|
|
return;
|
|
}
|
|
|
|
QDropEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_dropEvent(this, handle__dropEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_dropEvent(QDropEvent* event) {
|
|
|
|
QTabBar::dropEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__nativeEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual bool nativeEvent(const QByteArray& eventType, void* message, long* result) override {
|
|
if (handle__nativeEvent == 0) {
|
|
return QTabBar::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;
|
|
long* sigval3 = result;
|
|
|
|
bool callback_return_value = miqt_exec_callback_QTabBar_nativeEvent(this, handle__nativeEvent, sigval1, sigval2, sigval3);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
bool virtualbase_nativeEvent(struct miqt_string eventType, void* message, long* result) {
|
|
QByteArray eventType_QByteArray(eventType.data, eventType.len);
|
|
|
|
return QTabBar::nativeEvent(eventType_QByteArray, message, static_cast<long*>(result));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__metric = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual int metric(QPaintDevice::PaintDeviceMetric param1) const override {
|
|
if (handle__metric == 0) {
|
|
return QTabBar::metric(param1);
|
|
}
|
|
|
|
QPaintDevice::PaintDeviceMetric param1_ret = param1;
|
|
int sigval1 = static_cast<int>(param1_ret);
|
|
|
|
int callback_return_value = miqt_exec_callback_QTabBar_metric(this, handle__metric, sigval1);
|
|
|
|
return static_cast<int>(callback_return_value);
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
int virtualbase_metric(int param1) const {
|
|
|
|
return QTabBar::metric(static_cast<QPaintDevice::PaintDeviceMetric>(param1));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__initPainter = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void initPainter(QPainter* painter) const override {
|
|
if (handle__initPainter == 0) {
|
|
QTabBar::initPainter(painter);
|
|
return;
|
|
}
|
|
|
|
QPainter* sigval1 = painter;
|
|
|
|
miqt_exec_callback_QTabBar_initPainter(this, handle__initPainter, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_initPainter(QPainter* painter) const {
|
|
|
|
QTabBar::initPainter(painter);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__redirected = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QPaintDevice* redirected(QPoint* offset) const override {
|
|
if (handle__redirected == 0) {
|
|
return QTabBar::redirected(offset);
|
|
}
|
|
|
|
QPoint* sigval1 = offset;
|
|
|
|
QPaintDevice* callback_return_value = miqt_exec_callback_QTabBar_redirected(this, handle__redirected, sigval1);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QPaintDevice* virtualbase_redirected(QPoint* offset) const {
|
|
|
|
return QTabBar::redirected(offset);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__sharedPainter = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QPainter* sharedPainter() const override {
|
|
if (handle__sharedPainter == 0) {
|
|
return QTabBar::sharedPainter();
|
|
}
|
|
|
|
|
|
QPainter* callback_return_value = miqt_exec_callback_QTabBar_sharedPainter(this, handle__sharedPainter);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QPainter* virtualbase_sharedPainter() const {
|
|
|
|
return QTabBar::sharedPainter();
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__inputMethodEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void inputMethodEvent(QInputMethodEvent* param1) override {
|
|
if (handle__inputMethodEvent == 0) {
|
|
QTabBar::inputMethodEvent(param1);
|
|
return;
|
|
}
|
|
|
|
QInputMethodEvent* sigval1 = param1;
|
|
|
|
miqt_exec_callback_QTabBar_inputMethodEvent(this, handle__inputMethodEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_inputMethodEvent(QInputMethodEvent* param1) {
|
|
|
|
QTabBar::inputMethodEvent(param1);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__inputMethodQuery = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual QVariant inputMethodQuery(Qt::InputMethodQuery param1) const override {
|
|
if (handle__inputMethodQuery == 0) {
|
|
return QTabBar::inputMethodQuery(param1);
|
|
}
|
|
|
|
Qt::InputMethodQuery param1_ret = param1;
|
|
int sigval1 = static_cast<int>(param1_ret);
|
|
|
|
QVariant* callback_return_value = miqt_exec_callback_QTabBar_inputMethodQuery(this, handle__inputMethodQuery, sigval1);
|
|
|
|
return *callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
QVariant* virtualbase_inputMethodQuery(int param1) const {
|
|
|
|
return new QVariant(QTabBar::inputMethodQuery(static_cast<Qt::InputMethodQuery>(param1)));
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__focusNextPrevChild = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual bool focusNextPrevChild(bool next) override {
|
|
if (handle__focusNextPrevChild == 0) {
|
|
return QTabBar::focusNextPrevChild(next);
|
|
}
|
|
|
|
bool sigval1 = next;
|
|
|
|
bool callback_return_value = miqt_exec_callback_QTabBar_focusNextPrevChild(this, handle__focusNextPrevChild, sigval1);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
bool virtualbase_focusNextPrevChild(bool next) {
|
|
|
|
return QTabBar::focusNextPrevChild(next);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__eventFilter = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual bool eventFilter(QObject* watched, QEvent* event) override {
|
|
if (handle__eventFilter == 0) {
|
|
return QTabBar::eventFilter(watched, event);
|
|
}
|
|
|
|
QObject* sigval1 = watched;
|
|
QEvent* sigval2 = event;
|
|
|
|
bool callback_return_value = miqt_exec_callback_QTabBar_eventFilter(this, handle__eventFilter, sigval1, sigval2);
|
|
|
|
return callback_return_value;
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
bool virtualbase_eventFilter(QObject* watched, QEvent* event) {
|
|
|
|
return QTabBar::eventFilter(watched, event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__childEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void childEvent(QChildEvent* event) override {
|
|
if (handle__childEvent == 0) {
|
|
QTabBar::childEvent(event);
|
|
return;
|
|
}
|
|
|
|
QChildEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_childEvent(this, handle__childEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_childEvent(QChildEvent* event) {
|
|
|
|
QTabBar::childEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__customEvent = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void customEvent(QEvent* event) override {
|
|
if (handle__customEvent == 0) {
|
|
QTabBar::customEvent(event);
|
|
return;
|
|
}
|
|
|
|
QEvent* sigval1 = event;
|
|
|
|
miqt_exec_callback_QTabBar_customEvent(this, handle__customEvent, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_customEvent(QEvent* event) {
|
|
|
|
QTabBar::customEvent(event);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__connectNotify = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void connectNotify(const QMetaMethod& signal) override {
|
|
if (handle__connectNotify == 0) {
|
|
QTabBar::connectNotify(signal);
|
|
return;
|
|
}
|
|
|
|
const QMetaMethod& signal_ret = signal;
|
|
// Cast returned reference into pointer
|
|
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
|
|
|
|
miqt_exec_callback_QTabBar_connectNotify(this, handle__connectNotify, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_connectNotify(QMetaMethod* signal) {
|
|
|
|
QTabBar::connectNotify(*signal);
|
|
|
|
}
|
|
|
|
// cgo.Handle value for overwritten implementation
|
|
intptr_t handle__disconnectNotify = 0;
|
|
|
|
// Subclass to allow providing a Go implementation
|
|
virtual void disconnectNotify(const QMetaMethod& signal) override {
|
|
if (handle__disconnectNotify == 0) {
|
|
QTabBar::disconnectNotify(signal);
|
|
return;
|
|
}
|
|
|
|
const QMetaMethod& signal_ret = signal;
|
|
// Cast returned reference into pointer
|
|
QMetaMethod* sigval1 = const_cast<QMetaMethod*>(&signal_ret);
|
|
|
|
miqt_exec_callback_QTabBar_disconnectNotify(this, handle__disconnectNotify, sigval1);
|
|
|
|
|
|
}
|
|
|
|
// Wrapper to allow calling protected method
|
|
void virtualbase_disconnectNotify(QMetaMethod* signal) {
|
|
|
|
QTabBar::disconnectNotify(*signal);
|
|
|
|
}
|
|
|
|
};
|
|
|
|
QTabBar* QTabBar_new(QWidget* parent) {
|
|
return new MiqtVirtualQTabBar(parent);
|
|
}
|
|
|
|
QTabBar* QTabBar_new2() {
|
|
return new MiqtVirtualQTabBar();
|
|
}
|
|
|
|
void QTabBar_virtbase(QTabBar* src, QWidget** outptr_QWidget) {
|
|
*outptr_QWidget = static_cast<QWidget*>(src);
|
|
}
|
|
|
|
QMetaObject* QTabBar_metaObject(const QTabBar* self) {
|
|
return (QMetaObject*) self->metaObject();
|
|
}
|
|
|
|
void* QTabBar_metacast(QTabBar* self, const char* param1) {
|
|
return self->qt_metacast(param1);
|
|
}
|
|
|
|
struct miqt_string QTabBar_tr(const char* s) {
|
|
QString _ret = QTabBar::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;
|
|
}
|
|
|
|
struct miqt_string QTabBar_trUtf8(const char* s) {
|
|
QString _ret = QTabBar::trUtf8(s);
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
|
QByteArray _b = _ret.toUtf8();
|
|
struct miqt_string _ms;
|
|
_ms.len = _b.length();
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
return _ms;
|
|
}
|
|
|
|
int QTabBar_shape(const QTabBar* self) {
|
|
QTabBar::Shape _ret = self->shape();
|
|
return static_cast<int>(_ret);
|
|
}
|
|
|
|
void QTabBar_setShape(QTabBar* self, int shape) {
|
|
self->setShape(static_cast<QTabBar::Shape>(shape));
|
|
}
|
|
|
|
int QTabBar_addTab(QTabBar* self, struct miqt_string text) {
|
|
QString text_QString = QString::fromUtf8(text.data, text.len);
|
|
return self->addTab(text_QString);
|
|
}
|
|
|
|
int QTabBar_addTab2(QTabBar* self, QIcon* icon, struct miqt_string text) {
|
|
QString text_QString = QString::fromUtf8(text.data, text.len);
|
|
return self->addTab(*icon, text_QString);
|
|
}
|
|
|
|
int QTabBar_insertTab(QTabBar* self, int index, struct miqt_string text) {
|
|
QString text_QString = QString::fromUtf8(text.data, text.len);
|
|
return self->insertTab(static_cast<int>(index), text_QString);
|
|
}
|
|
|
|
int QTabBar_insertTab2(QTabBar* self, int index, QIcon* icon, struct miqt_string text) {
|
|
QString text_QString = QString::fromUtf8(text.data, text.len);
|
|
return self->insertTab(static_cast<int>(index), *icon, text_QString);
|
|
}
|
|
|
|
void QTabBar_removeTab(QTabBar* self, int index) {
|
|
self->removeTab(static_cast<int>(index));
|
|
}
|
|
|
|
void QTabBar_moveTab(QTabBar* self, int from, int to) {
|
|
self->moveTab(static_cast<int>(from), static_cast<int>(to));
|
|
}
|
|
|
|
bool QTabBar_isTabEnabled(const QTabBar* self, int index) {
|
|
return self->isTabEnabled(static_cast<int>(index));
|
|
}
|
|
|
|
void QTabBar_setTabEnabled(QTabBar* self, int index, bool enabled) {
|
|
self->setTabEnabled(static_cast<int>(index), enabled);
|
|
}
|
|
|
|
bool QTabBar_isTabVisible(const QTabBar* self, int index) {
|
|
return self->isTabVisible(static_cast<int>(index));
|
|
}
|
|
|
|
void QTabBar_setTabVisible(QTabBar* self, int index, bool visible) {
|
|
self->setTabVisible(static_cast<int>(index), visible);
|
|
}
|
|
|
|
struct miqt_string QTabBar_tabText(const QTabBar* self, int index) {
|
|
QString _ret = self->tabText(static_cast<int>(index));
|
|
// 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;
|
|
}
|
|
|
|
void QTabBar_setTabText(QTabBar* self, int index, struct miqt_string text) {
|
|
QString text_QString = QString::fromUtf8(text.data, text.len);
|
|
self->setTabText(static_cast<int>(index), text_QString);
|
|
}
|
|
|
|
QColor* QTabBar_tabTextColor(const QTabBar* self, int index) {
|
|
return new QColor(self->tabTextColor(static_cast<int>(index)));
|
|
}
|
|
|
|
void QTabBar_setTabTextColor(QTabBar* self, int index, QColor* color) {
|
|
self->setTabTextColor(static_cast<int>(index), *color);
|
|
}
|
|
|
|
QIcon* QTabBar_tabIcon(const QTabBar* self, int index) {
|
|
return new QIcon(self->tabIcon(static_cast<int>(index)));
|
|
}
|
|
|
|
void QTabBar_setTabIcon(QTabBar* self, int index, QIcon* icon) {
|
|
self->setTabIcon(static_cast<int>(index), *icon);
|
|
}
|
|
|
|
int QTabBar_elideMode(const QTabBar* self) {
|
|
Qt::TextElideMode _ret = self->elideMode();
|
|
return static_cast<int>(_ret);
|
|
}
|
|
|
|
void QTabBar_setElideMode(QTabBar* self, int mode) {
|
|
self->setElideMode(static_cast<Qt::TextElideMode>(mode));
|
|
}
|
|
|
|
void QTabBar_setTabToolTip(QTabBar* self, int index, struct miqt_string tip) {
|
|
QString tip_QString = QString::fromUtf8(tip.data, tip.len);
|
|
self->setTabToolTip(static_cast<int>(index), tip_QString);
|
|
}
|
|
|
|
struct miqt_string QTabBar_tabToolTip(const QTabBar* self, int index) {
|
|
QString _ret = self->tabToolTip(static_cast<int>(index));
|
|
// 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;
|
|
}
|
|
|
|
void QTabBar_setTabWhatsThis(QTabBar* self, int index, struct miqt_string text) {
|
|
QString text_QString = QString::fromUtf8(text.data, text.len);
|
|
self->setTabWhatsThis(static_cast<int>(index), text_QString);
|
|
}
|
|
|
|
struct miqt_string QTabBar_tabWhatsThis(const QTabBar* self, int index) {
|
|
QString _ret = self->tabWhatsThis(static_cast<int>(index));
|
|
// 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;
|
|
}
|
|
|
|
void QTabBar_setTabData(QTabBar* self, int index, QVariant* data) {
|
|
self->setTabData(static_cast<int>(index), *data);
|
|
}
|
|
|
|
QVariant* QTabBar_tabData(const QTabBar* self, int index) {
|
|
return new QVariant(self->tabData(static_cast<int>(index)));
|
|
}
|
|
|
|
QRect* QTabBar_tabRect(const QTabBar* self, int index) {
|
|
return new QRect(self->tabRect(static_cast<int>(index)));
|
|
}
|
|
|
|
int QTabBar_tabAt(const QTabBar* self, QPoint* pos) {
|
|
return self->tabAt(*pos);
|
|
}
|
|
|
|
int QTabBar_currentIndex(const QTabBar* self) {
|
|
return self->currentIndex();
|
|
}
|
|
|
|
int QTabBar_count(const QTabBar* self) {
|
|
return self->count();
|
|
}
|
|
|
|
QSize* QTabBar_sizeHint(const QTabBar* self) {
|
|
return new QSize(self->sizeHint());
|
|
}
|
|
|
|
QSize* QTabBar_minimumSizeHint(const QTabBar* self) {
|
|
return new QSize(self->minimumSizeHint());
|
|
}
|
|
|
|
void QTabBar_setDrawBase(QTabBar* self, bool drawTheBase) {
|
|
self->setDrawBase(drawTheBase);
|
|
}
|
|
|
|
bool QTabBar_drawBase(const QTabBar* self) {
|
|
return self->drawBase();
|
|
}
|
|
|
|
QSize* QTabBar_iconSize(const QTabBar* self) {
|
|
return new QSize(self->iconSize());
|
|
}
|
|
|
|
void QTabBar_setIconSize(QTabBar* self, QSize* size) {
|
|
self->setIconSize(*size);
|
|
}
|
|
|
|
bool QTabBar_usesScrollButtons(const QTabBar* self) {
|
|
return self->usesScrollButtons();
|
|
}
|
|
|
|
void QTabBar_setUsesScrollButtons(QTabBar* self, bool useButtons) {
|
|
self->setUsesScrollButtons(useButtons);
|
|
}
|
|
|
|
bool QTabBar_tabsClosable(const QTabBar* self) {
|
|
return self->tabsClosable();
|
|
}
|
|
|
|
void QTabBar_setTabsClosable(QTabBar* self, bool closable) {
|
|
self->setTabsClosable(closable);
|
|
}
|
|
|
|
void QTabBar_setTabButton(QTabBar* self, int index, int position, QWidget* widget) {
|
|
self->setTabButton(static_cast<int>(index), static_cast<QTabBar::ButtonPosition>(position), widget);
|
|
}
|
|
|
|
QWidget* QTabBar_tabButton(const QTabBar* self, int index, int position) {
|
|
return self->tabButton(static_cast<int>(index), static_cast<QTabBar::ButtonPosition>(position));
|
|
}
|
|
|
|
int QTabBar_selectionBehaviorOnRemove(const QTabBar* self) {
|
|
QTabBar::SelectionBehavior _ret = self->selectionBehaviorOnRemove();
|
|
return static_cast<int>(_ret);
|
|
}
|
|
|
|
void QTabBar_setSelectionBehaviorOnRemove(QTabBar* self, int behavior) {
|
|
self->setSelectionBehaviorOnRemove(static_cast<QTabBar::SelectionBehavior>(behavior));
|
|
}
|
|
|
|
bool QTabBar_expanding(const QTabBar* self) {
|
|
return self->expanding();
|
|
}
|
|
|
|
void QTabBar_setExpanding(QTabBar* self, bool enabled) {
|
|
self->setExpanding(enabled);
|
|
}
|
|
|
|
bool QTabBar_isMovable(const QTabBar* self) {
|
|
return self->isMovable();
|
|
}
|
|
|
|
void QTabBar_setMovable(QTabBar* self, bool movable) {
|
|
self->setMovable(movable);
|
|
}
|
|
|
|
bool QTabBar_documentMode(const QTabBar* self) {
|
|
return self->documentMode();
|
|
}
|
|
|
|
void QTabBar_setDocumentMode(QTabBar* self, bool set) {
|
|
self->setDocumentMode(set);
|
|
}
|
|
|
|
bool QTabBar_autoHide(const QTabBar* self) {
|
|
return self->autoHide();
|
|
}
|
|
|
|
void QTabBar_setAutoHide(QTabBar* self, bool hide) {
|
|
self->setAutoHide(hide);
|
|
}
|
|
|
|
bool QTabBar_changeCurrentOnDrag(const QTabBar* self) {
|
|
return self->changeCurrentOnDrag();
|
|
}
|
|
|
|
void QTabBar_setChangeCurrentOnDrag(QTabBar* self, bool change) {
|
|
self->setChangeCurrentOnDrag(change);
|
|
}
|
|
|
|
struct miqt_string QTabBar_accessibleTabName(const QTabBar* self, int index) {
|
|
QString _ret = self->accessibleTabName(static_cast<int>(index));
|
|
// 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;
|
|
}
|
|
|
|
void QTabBar_setAccessibleTabName(QTabBar* self, int index, struct miqt_string name) {
|
|
QString name_QString = QString::fromUtf8(name.data, name.len);
|
|
self->setAccessibleTabName(static_cast<int>(index), name_QString);
|
|
}
|
|
|
|
void QTabBar_setCurrentIndex(QTabBar* self, int index) {
|
|
self->setCurrentIndex(static_cast<int>(index));
|
|
}
|
|
|
|
void QTabBar_currentChanged(QTabBar* self, int index) {
|
|
self->currentChanged(static_cast<int>(index));
|
|
}
|
|
|
|
void QTabBar_connect_currentChanged(QTabBar* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar::connect(self, static_cast<void (QTabBar::*)(int)>(&QTabBar::currentChanged), self, [=](int index) {
|
|
int sigval1 = index;
|
|
miqt_exec_callback_QTabBar_currentChanged(slot, sigval1);
|
|
});
|
|
}
|
|
|
|
void QTabBar_tabCloseRequested(QTabBar* self, int index) {
|
|
self->tabCloseRequested(static_cast<int>(index));
|
|
}
|
|
|
|
void QTabBar_connect_tabCloseRequested(QTabBar* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar::connect(self, static_cast<void (QTabBar::*)(int)>(&QTabBar::tabCloseRequested), self, [=](int index) {
|
|
int sigval1 = index;
|
|
miqt_exec_callback_QTabBar_tabCloseRequested(slot, sigval1);
|
|
});
|
|
}
|
|
|
|
void QTabBar_tabMoved(QTabBar* self, int from, int to) {
|
|
self->tabMoved(static_cast<int>(from), static_cast<int>(to));
|
|
}
|
|
|
|
void QTabBar_connect_tabMoved(QTabBar* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar::connect(self, static_cast<void (QTabBar::*)(int, int)>(&QTabBar::tabMoved), self, [=](int from, int to) {
|
|
int sigval1 = from;
|
|
int sigval2 = to;
|
|
miqt_exec_callback_QTabBar_tabMoved(slot, sigval1, sigval2);
|
|
});
|
|
}
|
|
|
|
void QTabBar_tabBarClicked(QTabBar* self, int index) {
|
|
self->tabBarClicked(static_cast<int>(index));
|
|
}
|
|
|
|
void QTabBar_connect_tabBarClicked(QTabBar* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar::connect(self, static_cast<void (QTabBar::*)(int)>(&QTabBar::tabBarClicked), self, [=](int index) {
|
|
int sigval1 = index;
|
|
miqt_exec_callback_QTabBar_tabBarClicked(slot, sigval1);
|
|
});
|
|
}
|
|
|
|
void QTabBar_tabBarDoubleClicked(QTabBar* self, int index) {
|
|
self->tabBarDoubleClicked(static_cast<int>(index));
|
|
}
|
|
|
|
void QTabBar_connect_tabBarDoubleClicked(QTabBar* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar::connect(self, static_cast<void (QTabBar::*)(int)>(&QTabBar::tabBarDoubleClicked), self, [=](int index) {
|
|
int sigval1 = index;
|
|
miqt_exec_callback_QTabBar_tabBarDoubleClicked(slot, sigval1);
|
|
});
|
|
}
|
|
|
|
struct miqt_string QTabBar_tr2(const char* s, const char* c) {
|
|
QString _ret = QTabBar::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;
|
|
}
|
|
|
|
struct miqt_string QTabBar_tr3(const char* s, const char* c, int n) {
|
|
QString _ret = QTabBar::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;
|
|
}
|
|
|
|
struct miqt_string QTabBar_trUtf82(const char* s, const char* c) {
|
|
QString _ret = QTabBar::trUtf8(s, c);
|
|
// Convert QString from UTF-16 in C++ RAII memory to UTF-8 in manually-managed C memory
|
|
QByteArray _b = _ret.toUtf8();
|
|
struct miqt_string _ms;
|
|
_ms.len = _b.length();
|
|
_ms.data = static_cast<char*>(malloc(_ms.len));
|
|
memcpy(_ms.data, _b.data(), _ms.len);
|
|
return _ms;
|
|
}
|
|
|
|
struct miqt_string QTabBar_trUtf83(const char* s, const char* c, int n) {
|
|
QString _ret = QTabBar::trUtf8(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;
|
|
}
|
|
|
|
bool QTabBar_override_virtual_sizeHint(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__sizeHint = slot;
|
|
return true;
|
|
}
|
|
|
|
QSize* QTabBar_virtualbase_sizeHint(const void* self) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_sizeHint();
|
|
}
|
|
|
|
bool QTabBar_override_virtual_minimumSizeHint(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__minimumSizeHint = slot;
|
|
return true;
|
|
}
|
|
|
|
QSize* QTabBar_virtualbase_minimumSizeHint(const void* self) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_minimumSizeHint();
|
|
}
|
|
|
|
bool QTabBar_override_virtual_tabSizeHint(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__tabSizeHint = slot;
|
|
return true;
|
|
}
|
|
|
|
QSize* QTabBar_virtualbase_tabSizeHint(const void* self, int index) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_tabSizeHint(index);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_minimumTabSizeHint(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__minimumTabSizeHint = slot;
|
|
return true;
|
|
}
|
|
|
|
QSize* QTabBar_virtualbase_minimumTabSizeHint(const void* self, int index) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_minimumTabSizeHint(index);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_tabInserted(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__tabInserted = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_tabInserted(void* self, int index) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_tabInserted(index);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_tabRemoved(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__tabRemoved = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_tabRemoved(void* self, int index) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_tabRemoved(index);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_tabLayoutChange(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__tabLayoutChange = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_tabLayoutChange(void* self) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_tabLayoutChange();
|
|
}
|
|
|
|
bool QTabBar_override_virtual_event(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__event = slot;
|
|
return true;
|
|
}
|
|
|
|
bool QTabBar_virtualbase_event(void* self, QEvent* param1) {
|
|
return ( (MiqtVirtualQTabBar*)(self) )->virtualbase_event(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_resizeEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__resizeEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_resizeEvent(void* self, QResizeEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_resizeEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_showEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__showEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_showEvent(void* self, QShowEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_showEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_hideEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__hideEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_hideEvent(void* self, QHideEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_hideEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_paintEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__paintEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_paintEvent(void* self, QPaintEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_paintEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_mousePressEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__mousePressEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_mousePressEvent(void* self, QMouseEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_mousePressEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_mouseMoveEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__mouseMoveEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_mouseMoveEvent(void* self, QMouseEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_mouseMoveEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_mouseReleaseEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__mouseReleaseEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_mouseReleaseEvent(void* self, QMouseEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_mouseReleaseEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_wheelEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__wheelEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_wheelEvent(void* self, QWheelEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_wheelEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_keyPressEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__keyPressEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_keyPressEvent(void* self, QKeyEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_keyPressEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_changeEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__changeEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_changeEvent(void* self, QEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_changeEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_timerEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__timerEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_timerEvent(void* self, QTimerEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_timerEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_devType(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__devType = slot;
|
|
return true;
|
|
}
|
|
|
|
int QTabBar_virtualbase_devType(const void* self) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_devType();
|
|
}
|
|
|
|
bool QTabBar_override_virtual_setVisible(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__setVisible = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_setVisible(void* self, bool visible) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_setVisible(visible);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_heightForWidth(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__heightForWidth = slot;
|
|
return true;
|
|
}
|
|
|
|
int QTabBar_virtualbase_heightForWidth(const void* self, int param1) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_heightForWidth(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_hasHeightForWidth(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__hasHeightForWidth = slot;
|
|
return true;
|
|
}
|
|
|
|
bool QTabBar_virtualbase_hasHeightForWidth(const void* self) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_hasHeightForWidth();
|
|
}
|
|
|
|
bool QTabBar_override_virtual_paintEngine(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__paintEngine = slot;
|
|
return true;
|
|
}
|
|
|
|
QPaintEngine* QTabBar_virtualbase_paintEngine(const void* self) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_paintEngine();
|
|
}
|
|
|
|
bool QTabBar_override_virtual_mouseDoubleClickEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__mouseDoubleClickEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_mouseDoubleClickEvent(void* self, QMouseEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_mouseDoubleClickEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_keyReleaseEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__keyReleaseEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_keyReleaseEvent(void* self, QKeyEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_keyReleaseEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_focusInEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__focusInEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_focusInEvent(void* self, QFocusEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_focusInEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_focusOutEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__focusOutEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_focusOutEvent(void* self, QFocusEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_focusOutEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_enterEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__enterEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_enterEvent(void* self, QEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_enterEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_leaveEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__leaveEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_leaveEvent(void* self, QEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_leaveEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_moveEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__moveEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_moveEvent(void* self, QMoveEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_moveEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_closeEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__closeEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_closeEvent(void* self, QCloseEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_closeEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_contextMenuEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__contextMenuEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_contextMenuEvent(void* self, QContextMenuEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_contextMenuEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_tabletEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__tabletEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_tabletEvent(void* self, QTabletEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_tabletEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_actionEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__actionEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_actionEvent(void* self, QActionEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_actionEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_dragEnterEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__dragEnterEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_dragEnterEvent(void* self, QDragEnterEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_dragEnterEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_dragMoveEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__dragMoveEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_dragMoveEvent(void* self, QDragMoveEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_dragMoveEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_dragLeaveEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__dragLeaveEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_dragLeaveEvent(void* self, QDragLeaveEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_dragLeaveEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_dropEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__dropEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_dropEvent(void* self, QDropEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_dropEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_nativeEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__nativeEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
bool QTabBar_virtualbase_nativeEvent(void* self, struct miqt_string eventType, void* message, long* result) {
|
|
return ( (MiqtVirtualQTabBar*)(self) )->virtualbase_nativeEvent(eventType, message, result);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_metric(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__metric = slot;
|
|
return true;
|
|
}
|
|
|
|
int QTabBar_virtualbase_metric(const void* self, int param1) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_metric(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_initPainter(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__initPainter = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_initPainter(const void* self, QPainter* painter) {
|
|
( (const MiqtVirtualQTabBar*)(self) )->virtualbase_initPainter(painter);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_redirected(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__redirected = slot;
|
|
return true;
|
|
}
|
|
|
|
QPaintDevice* QTabBar_virtualbase_redirected(const void* self, QPoint* offset) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_redirected(offset);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_sharedPainter(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__sharedPainter = slot;
|
|
return true;
|
|
}
|
|
|
|
QPainter* QTabBar_virtualbase_sharedPainter(const void* self) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_sharedPainter();
|
|
}
|
|
|
|
bool QTabBar_override_virtual_inputMethodEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__inputMethodEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_inputMethodEvent(void* self, QInputMethodEvent* param1) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_inputMethodEvent(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_inputMethodQuery(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__inputMethodQuery = slot;
|
|
return true;
|
|
}
|
|
|
|
QVariant* QTabBar_virtualbase_inputMethodQuery(const void* self, int param1) {
|
|
return ( (const MiqtVirtualQTabBar*)(self) )->virtualbase_inputMethodQuery(param1);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_focusNextPrevChild(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__focusNextPrevChild = slot;
|
|
return true;
|
|
}
|
|
|
|
bool QTabBar_virtualbase_focusNextPrevChild(void* self, bool next) {
|
|
return ( (MiqtVirtualQTabBar*)(self) )->virtualbase_focusNextPrevChild(next);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_eventFilter(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__eventFilter = slot;
|
|
return true;
|
|
}
|
|
|
|
bool QTabBar_virtualbase_eventFilter(void* self, QObject* watched, QEvent* event) {
|
|
return ( (MiqtVirtualQTabBar*)(self) )->virtualbase_eventFilter(watched, event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_childEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__childEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_childEvent(void* self, QChildEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_childEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_customEvent(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__customEvent = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_customEvent(void* self, QEvent* event) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_customEvent(event);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_connectNotify(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__connectNotify = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_connectNotify(void* self, QMetaMethod* signal) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_connectNotify(signal);
|
|
}
|
|
|
|
bool QTabBar_override_virtual_disconnectNotify(void* self, intptr_t slot) {
|
|
MiqtVirtualQTabBar* self_cast = dynamic_cast<MiqtVirtualQTabBar*>( (QTabBar*)(self) );
|
|
if (self_cast == nullptr) {
|
|
return false;
|
|
}
|
|
|
|
self_cast->handle__disconnectNotify = slot;
|
|
return true;
|
|
}
|
|
|
|
void QTabBar_virtualbase_disconnectNotify(void* self, QMetaMethod* signal) {
|
|
( (MiqtVirtualQTabBar*)(self) )->virtualbase_disconnectNotify(signal);
|
|
}
|
|
|
|
void QTabBar_delete(QTabBar* self) {
|
|
delete self;
|
|
}
|
|
|